From 7d1d2910ee5d12fb324f9fd392d2394ce5c68979 Mon Sep 17 00:00:00 2001 From: ismagom Date: Wed, 18 Mar 2015 13:16:28 +0100 Subject: [PATCH] Changed directory names to srslte and removed uppler layers directories --- CMakeLists.txt | 5 +- common/include/{liblte => srslte}/config.h | 0 cuhd/include/{liblte => srslte}/cuhd/cuhd.h | 4 +- .../{liblte => srslte}/cuhd/cuhd_utils.h | 2 +- cuhd/lib/cuhd_utils.c | 6 +- .../{liblte => srslte}/graphics/plot.h | 10 +- .../graphics/plot/plot_complex.h | 2 +- .../graphics/plot/plot_real.h | 2 +- .../graphics/plot/plot_scatter.h | 2 +- .../graphics/plot/plot_waterfall.h | 2 +- graphics/lib/scatterplot/Scatterplot.h | 2 +- lte/CMakeLists.txt | 30 - lte/mac/CMakeLists.txt | 21 - lte/pdcp/CMakeLists.txt | 21 - lte/phy/include/liblte/phy/phy.h | 126 -- lte/rlc/CMakeLists.txt | 21 - lte/rrc/CMakeLists.txt | 48 - .../include/liblte/rrc/asn/AC-BarringConfig.h | 73 - .../liblte/rrc/asn/AC-BarringConfig1XRTT-r9.h | 47 - .../liblte/rrc/asn/ARFCN-ValueCDMA2000.h | 41 - .../include/liblte/rrc/asn/ARFCN-ValueEUTRA.h | 41 - .../include/liblte/rrc/asn/ARFCN-ValueGERAN.h | 41 - .../include/liblte/rrc/asn/ARFCN-ValueUTRA.h | 41 - lte/rrc/include/liblte/rrc/asn/AS-Config.h | 64 - lte/rrc/include/liblte/rrc/asn/AS-Context.h | 42 - .../liblte/rrc/asn/AbsoluteTimeInfo-r10.h | 41 - .../liblte/rrc/asn/AccessStratumRelease.h | 56 - .../liblte/rrc/asn/AdditionalReestabInfo.h | 41 - .../rrc/asn/AdditionalReestabInfoList.h | 43 - .../liblte/rrc/asn/AdditionalSI-Info-r9.h | 46 - .../rrc/asn/AdditionalSpectrumEmission.h | 41 - .../liblte/rrc/asn/AllowedMeasBandwidth.h | 51 - .../liblte/rrc/asn/AntennaInfoCommon.h | 47 - .../liblte/rrc/asn/AntennaInfoDedicated-r10.h | 83 - .../rrc/asn/AntennaInfoDedicated-v920.h | 55 - .../liblte/rrc/asn/AntennaInfoDedicated.h | 101 - .../liblte/rrc/asn/AntennaInfoUL-r10.h | 56 - .../liblte/rrc/asn/AreaConfiguration-r10.h | 50 - .../include/liblte/rrc/asn/BCCH-BCH-Message.h | 38 - .../liblte/rrc/asn/BCCH-BCH-MessageType.h | 41 - lte/rrc/include/liblte/rrc/asn/BCCH-Config.h | 47 - .../liblte/rrc/asn/BCCH-DL-SCH-Message.h | 38 - .../liblte/rrc/asn/BCCH-DL-SCH-MessageType.h | 69 - lte/rrc/include/liblte/rrc/asn/BIT_STRING.h | 33 - lte/rrc/include/liblte/rrc/asn/BOOLEAN.h | 36 - .../liblte/rrc/asn/BandClassInfoCDMA2000.h | 47 - .../liblte/rrc/asn/BandClassListCDMA2000.h | 44 - .../liblte/rrc/asn/BandClassPriority1XRTT.h | 40 - .../liblte/rrc/asn/BandClassPriorityHRPD.h | 40 - .../rrc/asn/BandClassPriorityList1XRTT.h | 44 - .../rrc/asn/BandClassPriorityListHRPD.h | 44 - .../rrc/asn/BandCombinationListEUTRA-r10.h | 44 - .../rrc/asn/BandCombinationParameters-r10.h | 44 - .../liblte/rrc/asn/BandIndicatorGERAN.h | 47 - .../include/liblte/rrc/asn/BandInfoEUTRA.h | 45 - .../include/liblte/rrc/asn/BandListEUTRA.h | 44 - .../liblte/rrc/asn/BandParameters-r10.h | 48 - .../liblte/rrc/asn/BandParametersDL-r10.h | 44 - .../liblte/rrc/asn/BandParametersUL-r10.h | 44 - .../liblte/rrc/asn/BandclassCDMA2000.h | 80 - .../liblte/rrc/asn/BetaOffset-CA-Index.h | 41 - .../liblte/rrc/asn/BlackCellsToAddMod.h | 40 - .../liblte/rrc/asn/BlackCellsToAddModList.h | 44 - lte/rrc/include/liblte/rrc/asn/C-RNTI.h | 41 - .../liblte/rrc/asn/CA-BandwidthClass-r10.h | 54 - .../liblte/rrc/asn/CA-MIMO-ParametersDL-r10.h | 40 - .../liblte/rrc/asn/CA-MIMO-ParametersUL-r10.h | 40 - lte/rrc/include/liblte/rrc/asn/CA-RNTI.h | 41 - .../rrc/asn/CA-semiPersistSchedIntervalUL.h | 61 - .../include/liblte/rrc/asn/CDMA2000-Type.h | 47 - .../liblte/rrc/asn/CQI-ReportAperiodic-r10.h | 75 - .../liblte/rrc/asn/CQI-ReportConfig-r10.h | 80 - .../liblte/rrc/asn/CQI-ReportConfig-v920.h | 49 - .../include/liblte/rrc/asn/CQI-ReportConfig.h | 47 - .../rrc/asn/CQI-ReportConfigSCell-r10.h | 55 - .../liblte/rrc/asn/CQI-ReportModeAperiodic.h | 53 - .../liblte/rrc/asn/CQI-ReportPeriodic-r10.h | 124 - .../liblte/rrc/asn/CQI-ReportPeriodic.h | 80 - .../asn/CSFB-RegistrationParam1XRTT-v920.h | 44 - .../rrc/asn/CSFB-RegistrationParam1XRTT.h | 51 - .../CSFBParametersRequestCDMA2000-r8-IEs.h | 43 - .../CSFBParametersRequestCDMA2000-v8a0-IEs.h | 43 - .../rrc/asn/CSFBParametersRequestCDMA2000.h | 59 - .../CSFBParametersResponseCDMA2000-r8-IEs.h | 47 - .../CSFBParametersResponseCDMA2000-v8a0-IEs.h | 43 - .../rrc/asn/CSFBParametersResponseCDMA2000.h | 61 - .../rrc/asn/CSG-AllowedReportingCells-r9.h | 43 - lte/rrc/include/liblte/rrc/asn/CSG-Identity.h | 41 - .../CSG-ProximityIndicationParameters-r9.h | 54 - .../liblte/rrc/asn/CSI-RS-Config-r10.h | 94 - lte/rrc/include/liblte/rrc/asn/CShift.h | 41 - .../liblte/rrc/asn/CarrierBandwidthEUTRA.h | 79 - .../liblte/rrc/asn/CarrierFreqCDMA2000.h | 40 - .../include/liblte/rrc/asn/CarrierFreqEUTRA.h | 39 - .../include/liblte/rrc/asn/CarrierFreqGERAN.h | 40 - .../liblte/rrc/asn/CarrierFreqListUTRA-FDD.h | 44 - .../rrc/asn/CarrierFreqListUTRA-TDD-r10.h | 39 - .../liblte/rrc/asn/CarrierFreqListUTRA-TDD.h | 44 - .../liblte/rrc/asn/CarrierFreqUTRA-FDD.h | 55 - .../liblte/rrc/asn/CarrierFreqUTRA-TDD.h | 50 - .../liblte/rrc/asn/CarrierFreqsGERAN.h | 69 - .../liblte/rrc/asn/CarrierFreqsInfoGERAN.h | 57 - .../rrc/asn/CarrierFreqsInfoListGERAN.h | 44 - .../include/liblte/rrc/asn/CellChangeOrder.h | 88 - .../liblte/rrc/asn/CellGlobalIdCDMA2000.h | 49 - .../liblte/rrc/asn/CellGlobalIdEUTRA.h | 40 - .../liblte/rrc/asn/CellGlobalIdGERAN.h | 41 - .../liblte/rrc/asn/CellGlobalIdList-r10.h | 44 - .../include/liblte/rrc/asn/CellGlobalIdUTRA.h | 40 - lte/rrc/include/liblte/rrc/asn/CellIdentity.h | 41 - lte/rrc/include/liblte/rrc/asn/CellIndex.h | 41 - .../include/liblte/rrc/asn/CellIndexList.h | 39 - .../include/liblte/rrc/asn/CellInfoGERAN-r9.h | 42 - .../liblte/rrc/asn/CellInfoListGERAN-r9.h | 44 - .../liblte/rrc/asn/CellInfoListUTRA-FDD-r9.h | 44 - .../liblte/rrc/asn/CellInfoListUTRA-TDD-r10.h | 44 - .../liblte/rrc/asn/CellInfoListUTRA-TDD-r9.h | 44 - .../liblte/rrc/asn/CellInfoUTRA-FDD-r9.h | 40 - .../liblte/rrc/asn/CellInfoUTRA-TDD-r10.h | 42 - .../liblte/rrc/asn/CellInfoUTRA-TDD-r9.h | 40 - .../CellReselectionParametersCDMA2000-v920.h | 38 - .../asn/CellReselectionParametersCDMA2000.h | 49 - .../liblte/rrc/asn/CellReselectionPriority.h | 41 - .../liblte/rrc/asn/CellSelectionInfo-v920.h | 40 - .../include/liblte/rrc/asn/CellsToAddMod.h | 42 - .../liblte/rrc/asn/CellsToAddModCDMA2000.h | 40 - .../liblte/rrc/asn/CellsToAddModList.h | 44 - .../rrc/asn/CellsToAddModListCDMA2000.h | 44 - .../rrc/asn/CellsToAddModListUTRA-FDD.h | 44 - .../rrc/asn/CellsToAddModListUTRA-TDD.h | 44 - .../liblte/rrc/asn/CellsToAddModUTRA-FDD.h | 40 - .../liblte/rrc/asn/CellsToAddModUTRA-TDD.h | 40 - .../liblte/rrc/asn/CellsTriggeredList.h | 85 - .../rrc/asn/CommonSF-AllocPatternList-r9.h | 44 - .../liblte/rrc/asn/CounterCheck-r8-IEs.h | 45 - .../liblte/rrc/asn/CounterCheck-v8a0-IEs.h | 43 - lte/rrc/include/liblte/rrc/asn/CounterCheck.h | 80 - .../rrc/asn/CounterCheckResponse-r8-IEs.h | 45 - .../rrc/asn/CounterCheckResponse-v8a0-IEs.h | 43 - .../liblte/rrc/asn/CounterCheckResponse.h | 61 - .../liblte/rrc/asn/CountingRequestInfo-r10.h | 42 - .../liblte/rrc/asn/CountingRequestList-r10.h | 44 - .../liblte/rrc/asn/CountingResponseInfo-r10.h | 42 - .../liblte/rrc/asn/CountingResponseList-r10.h | 44 - .../asn/CrossCarrierSchedulingConfig-r10.h | 68 - lte/rrc/include/liblte/rrc/asn/DL-AM-RLC.h | 40 - .../include/liblte/rrc/asn/DL-CCCH-Message.h | 38 - .../liblte/rrc/asn/DL-CCCH-MessageType.h | 75 - .../include/liblte/rrc/asn/DL-DCCH-Message.h | 38 - .../liblte/rrc/asn/DL-DCCH-MessageType.h | 108 - lte/rrc/include/liblte/rrc/asn/DL-UM-RLC.h | 40 - .../rrc/asn/DLInformationTransfer-r8-IEs.h | 65 - .../rrc/asn/DLInformationTransfer-v8a0-IEs.h | 43 - .../liblte/rrc/asn/DLInformationTransfer.h | 80 - .../include/liblte/rrc/asn/DRB-CountInfo.h | 43 - .../liblte/rrc/asn/DRB-CountInfoList.h | 44 - .../liblte/rrc/asn/DRB-CountMSB-Info.h | 41 - .../liblte/rrc/asn/DRB-CountMSB-InfoList.h | 44 - lte/rrc/include/liblte/rrc/asn/DRB-Identity.h | 41 - lte/rrc/include/liblte/rrc/asn/DRB-ToAddMod.h | 58 - .../include/liblte/rrc/asn/DRB-ToAddModList.h | 44 - .../liblte/rrc/asn/DRB-ToReleaseList.h | 39 - lte/rrc/include/liblte/rrc/asn/DRX-Config.h | 193 -- .../liblte/rrc/asn/DedicatedInfoCDMA2000.h | 41 - .../include/liblte/rrc/asn/DedicatedInfoNAS.h | 41 - .../include/liblte/rrc/asn/DeltaFList-PUCCH.h | 75 - .../rrc/asn/DeltaTxD-OffsetListPUCCH-r10.h | 67 - lte/rrc/include/liblte/rrc/asn/E-CSFB-r9.h | 55 - .../liblte/rrc/asn/EstablishmentCause.h | 53 - .../liblte/rrc/asn/ExplicitListOfARFCNs.h | 39 - .../liblte/rrc/asn/FilterCoefficient.h | 64 - .../liblte/rrc/asn/FreqPriorityEUTRA.h | 40 - .../liblte/rrc/asn/FreqPriorityListEUTRA.h | 44 - .../liblte/rrc/asn/FreqPriorityListUTRA-FDD.h | 44 - .../liblte/rrc/asn/FreqPriorityListUTRA-TDD.h | 44 - .../liblte/rrc/asn/FreqPriorityUTRA-FDD.h | 40 - .../liblte/rrc/asn/FreqPriorityUTRA-TDD.h | 40 - .../liblte/rrc/asn/FreqsPriorityGERAN.h | 40 - .../liblte/rrc/asn/FreqsPriorityListGERAN.h | 44 - lte/rrc/include/liblte/rrc/asn/Handover.h | 64 - .../liblte/rrc/asn/HandoverCommand-r8-IEs.h | 42 - .../include/liblte/rrc/asn/HandoverCommand.h | 85 - ...ndoverFromEUTRAPreparationRequest-r8-IEs.h | 49 - ...verFromEUTRAPreparationRequest-v1020-IEs.h | 56 - ...overFromEUTRAPreparationRequest-v890-IEs.h | 45 - ...overFromEUTRAPreparationRequest-v920-IEs.h | 45 - .../asn/HandoverFromEUTRAPreparationRequest.h | 80 - .../HandoverPreparationInformation-r8-IEs.h | 53 - .../HandoverPreparationInformation-v920-IEs.h | 58 - .../rrc/asn/HandoverPreparationInformation.h | 85 - lte/rrc/include/liblte/rrc/asn/Hysteresis.h | 41 - lte/rrc/include/liblte/rrc/asn/IMSI-Digit.h | 41 - lte/rrc/include/liblte/rrc/asn/IMSI.h | 39 - lte/rrc/include/liblte/rrc/asn/INTEGER.h | 69 - .../asn/IRAT-ParametersCDMA2000-1XRTT-v1020.h | 44 - .../asn/IRAT-ParametersCDMA2000-1XRTT-v920.h | 49 - .../rrc/asn/IRAT-ParametersCDMA2000-1XRTT.h | 53 - .../rrc/asn/IRAT-ParametersCDMA2000-HRPD.h | 53 - .../rrc/asn/IRAT-ParametersGERAN-v920.h | 49 - .../liblte/rrc/asn/IRAT-ParametersGERAN.h | 40 - .../liblte/rrc/asn/IRAT-ParametersUTRA-FDD.h | 38 - .../rrc/asn/IRAT-ParametersUTRA-TDD-v1020.h | 44 - .../rrc/asn/IRAT-ParametersUTRA-TDD128.h | 38 - .../rrc/asn/IRAT-ParametersUTRA-TDD384.h | 38 - .../rrc/asn/IRAT-ParametersUTRA-TDD768.h | 38 - .../liblte/rrc/asn/IRAT-ParametersUTRA-v920.h | 44 - .../rrc/asn/IdleModeMobilityControlInfo.h | 77 - .../liblte/rrc/asn/InitialUE-Identity.h | 50 - .../liblte/rrc/asn/InterFreqBandInfo.h | 38 - .../liblte/rrc/asn/InterFreqBandList.h | 44 - .../liblte/rrc/asn/InterFreqBlackCellList.h | 44 - .../liblte/rrc/asn/InterFreqCarrierFreqInfo.h | 80 - .../liblte/rrc/asn/InterFreqCarrierFreqList.h | 44 - .../liblte/rrc/asn/InterFreqNeighCellInfo.h | 40 - .../liblte/rrc/asn/InterFreqNeighCellList.h | 44 - ...terFreqRSTDMeasurementIndication-r10-IEs.h | 68 - .../InterFreqRSTDMeasurementIndication-r10.h | 78 - .../liblte/rrc/asn/InterRAT-BandInfo.h | 38 - .../liblte/rrc/asn/InterRAT-BandList.h | 44 - .../liblte/rrc/asn/IntraFreqBlackCellList.h | 44 - .../liblte/rrc/asn/IntraFreqNeighCellInfo.h | 44 - .../liblte/rrc/asn/IntraFreqNeighCellList.h | 44 - .../include/liblte/rrc/asn/Key-eNodeB-Star.h | 40 - .../include/liblte/rrc/asn/LocationInfo-r10.h | 67 - .../include/liblte/rrc/asn/LogMeasInfo-r10.h | 77 - .../liblte/rrc/asn/LogMeasInfoList-r10.h | 44 - .../liblte/rrc/asn/LogMeasReport-r10.h | 57 - .../LoggedMeasurementConfiguration-r10-IEs.h | 59 - .../asn/LoggedMeasurementConfiguration-r10.h | 78 - .../liblte/rrc/asn/LoggingDuration-r10.h | 53 - .../liblte/rrc/asn/LoggingInterval-r10.h | 53 - .../liblte/rrc/asn/LogicalChannelConfig.h | 84 - .../include/liblte/rrc/asn/MAC-MainConfig.h | 189 -- .../rrc/asn/MBMS-NotificationConfig-r9.h | 48 - .../liblte/rrc/asn/MBMS-SessionInfo-r9.h | 46 - .../liblte/rrc/asn/MBMS-SessionInfoList-r9.h | 44 - .../liblte/rrc/asn/MBMSCountingRequest-r10.h | 45 - .../rrc/asn/MBMSCountingResponse-r10-IEs.h | 52 - .../liblte/rrc/asn/MBMSCountingResponse-r10.h | 78 - .../liblte/rrc/asn/MBSFN-AreaInfo-r9.h | 82 - .../liblte/rrc/asn/MBSFN-AreaInfoList-r9.h | 44 - .../liblte/rrc/asn/MBSFN-SubframeConfig.h | 68 - .../liblte/rrc/asn/MBSFN-SubframeConfigList.h | 44 - .../rrc/asn/MBSFNAreaConfiguration-r9.h | 61 - .../rrc/asn/MBSFNAreaConfiguration-v930-IEs.h | 43 - .../include/liblte/rrc/asn/MCC-MNC-Digit.h | 41 - lte/rrc/include/liblte/rrc/asn/MCC.h | 39 - lte/rrc/include/liblte/rrc/asn/MCCH-Message.h | 38 - .../include/liblte/rrc/asn/MCCH-MessageType.h | 93 - .../liblte/rrc/asn/MIMO-CapabilityDL-r10.h | 48 - .../liblte/rrc/asn/MIMO-CapabilityUL-r10.h | 47 - lte/rrc/include/liblte/rrc/asn/MMEC.h | 41 - lte/rrc/include/liblte/rrc/asn/MNC.h | 39 - .../liblte/rrc/asn/MasterInformationBlock.h | 54 - lte/rrc/include/liblte/rrc/asn/MeasConfig.h | 100 - .../liblte/rrc/asn/MeasCycleSCell-r10.h | 53 - .../include/liblte/rrc/asn/MeasGapConfig.h | 76 - lte/rrc/include/liblte/rrc/asn/MeasId.h | 41 - .../include/liblte/rrc/asn/MeasIdToAddMod.h | 42 - .../liblte/rrc/asn/MeasIdToAddModList.h | 44 - .../liblte/rrc/asn/MeasIdToRemoveList.h | 39 - .../liblte/rrc/asn/MeasObjectCDMA2000.h | 60 - .../include/liblte/rrc/asn/MeasObjectEUTRA.h | 67 - .../include/liblte/rrc/asn/MeasObjectGERAN.h | 53 - lte/rrc/include/liblte/rrc/asn/MeasObjectId.h | 41 - .../liblte/rrc/asn/MeasObjectToAddMod.h | 70 - .../liblte/rrc/asn/MeasObjectToAddModList.h | 44 - .../liblte/rrc/asn/MeasObjectToRemoveList.h | 39 - .../include/liblte/rrc/asn/MeasObjectUTRA.h | 87 - .../liblte/rrc/asn/MeasParameters-v1020.h | 38 - .../include/liblte/rrc/asn/MeasParameters.h | 38 - .../liblte/rrc/asn/MeasResult2CDMA2000-r9.h | 40 - .../liblte/rrc/asn/MeasResult2EUTRA-r9.h | 40 - .../liblte/rrc/asn/MeasResult2UTRA-r9.h | 40 - .../liblte/rrc/asn/MeasResultCDMA2000.h | 57 - .../include/liblte/rrc/asn/MeasResultEUTRA.h | 66 - .../liblte/rrc/asn/MeasResultForECID-r9.h | 40 - .../include/liblte/rrc/asn/MeasResultGERAN.h | 60 - .../rrc/asn/MeasResultList2CDMA2000-r9.h | 44 - .../liblte/rrc/asn/MeasResultList2EUTRA-r9.h | 44 - .../liblte/rrc/asn/MeasResultList2GERAN-r10.h | 44 - .../liblte/rrc/asn/MeasResultList2UTRA-r9.h | 44 - .../liblte/rrc/asn/MeasResultListCDMA2000.h | 44 - .../liblte/rrc/asn/MeasResultListEUTRA.h | 44 - .../liblte/rrc/asn/MeasResultListGERAN.h | 44 - .../liblte/rrc/asn/MeasResultListUTRA.h | 44 - .../liblte/rrc/asn/MeasResultServFreq-r10.h | 60 - .../rrc/asn/MeasResultServFreqList-r10.h | 44 - .../include/liblte/rrc/asn/MeasResultUTRA.h | 84 - lte/rrc/include/liblte/rrc/asn/MeasResults.h | 92 - .../liblte/rrc/asn/MeasResultsCDMA2000.h | 40 - .../liblte/rrc/asn/MeasSubframeCellList-r10.h | 44 - .../liblte/rrc/asn/MeasSubframePattern-r10.h | 77 - .../asn/MeasSubframePatternConfigNeigh-r10.h | 63 - .../rrc/asn/MeasSubframePatternPCell-r10.h | 50 - .../liblte/rrc/asn/MeasurementReport-r8-IEs.h | 45 - .../rrc/asn/MeasurementReport-v8a0-IEs.h | 43 - .../liblte/rrc/asn/MeasurementReport.h | 86 - .../liblte/rrc/asn/MobilityControlInfo.h | 76 - .../rrc/asn/MobilityFromEUTRACommand-r8-IEs.h | 65 - .../rrc/asn/MobilityFromEUTRACommand-r9-IEs.h | 74 - .../asn/MobilityFromEUTRACommand-v8a0-IEs.h | 45 - .../asn/MobilityFromEUTRACommand-v8d0-IEs.h | 43 - .../asn/MobilityFromEUTRACommand-v930-IEs.h | 45 - .../asn/MobilityFromEUTRACommand-v960-IEs.h | 43 - .../liblte/rrc/asn/MobilityFromEUTRACommand.h | 81 - .../rrc/asn/MobilityParametersCDMA2000.h | 41 - .../liblte/rrc/asn/MobilityStateParameters.h | 66 - .../rrc/asn/N1-PUCCH-AN-PersistentList.h | 38 - .../liblte/rrc/asn/N1PUCCH-AN-CS-r10.h | 39 - .../rrc/asn/N1PUCCH-AN-PersistentList.h | 39 - lte/rrc/include/liblte/rrc/asn/NULL.h | 33 - .../include/liblte/rrc/asn/NativeEnumerated.h | 32 - .../include/liblte/rrc/asn/NativeInteger.h | 37 - .../liblte/rrc/asn/NeighCellCDMA2000-v920.h | 38 - .../liblte/rrc/asn/NeighCellCDMA2000.h | 40 - .../include/liblte/rrc/asn/NeighCellConfig.h | 41 - .../rrc/asn/NeighCellListCDMA2000-v920.h | 44 - .../liblte/rrc/asn/NeighCellListCDMA2000.h | 44 - .../NeighCellSI-AcquisitionParameters-r9.h | 54 - .../asn/NeighCellsPerBandclassCDMA2000-v920.h | 38 - .../rrc/asn/NeighCellsPerBandclassCDMA2000.h | 40 - .../NeighCellsPerBandclassListCDMA2000-v920.h | 44 - .../asn/NeighCellsPerBandclassListCDMA2000.h | 44 - .../liblte/rrc/asn/NextHopChainingCount.h | 41 - .../NonContiguousUL-RA-WithinCC-List-r10.h | 44 - .../rrc/asn/NonContiguousUL-RA-WithinCC-r10.h | 44 - lte/rrc/include/liblte/rrc/asn/OCTET_STRING.h | 86 - .../include/liblte/rrc/asn/OtherConfig-r9.h | 47 - lte/rrc/include/liblte/rrc/asn/P-Max.h | 41 - lte/rrc/include/liblte/rrc/asn/PCCH-Config.h | 59 - lte/rrc/include/liblte/rrc/asn/PCCH-Message.h | 38 - .../include/liblte/rrc/asn/PCCH-MessageType.h | 66 - lte/rrc/include/liblte/rrc/asn/PDCP-Config.h | 115 - .../include/liblte/rrc/asn/PDCP-Parameters.h | 78 - .../liblte/rrc/asn/PDSCH-ConfigCommon.h | 39 - .../liblte/rrc/asn/PDSCH-ConfigDedicated.h | 51 - lte/rrc/include/liblte/rrc/asn/PHICH-Config.h | 53 - .../include/liblte/rrc/asn/PLMN-Identity.h | 45 - .../liblte/rrc/asn/PLMN-IdentityInfo.h | 47 - .../liblte/rrc/asn/PLMN-IdentityList.h | 44 - .../liblte/rrc/asn/PLMN-IdentityList2.h | 44 - .../include/liblte/rrc/asn/PMCH-Config-r9.h | 58 - lte/rrc/include/liblte/rrc/asn/PMCH-Info-r9.h | 44 - .../include/liblte/rrc/asn/PMCH-InfoList-r9.h | 44 - lte/rrc/include/liblte/rrc/asn/PRACH-Config.h | 45 - .../include/liblte/rrc/asn/PRACH-ConfigInfo.h | 42 - .../liblte/rrc/asn/PRACH-ConfigSCell-r10.h | 38 - .../include/liblte/rrc/asn/PRACH-ConfigSIB.h | 40 - .../liblte/rrc/asn/PUCCH-ConfigCommon.h | 50 - .../rrc/asn/PUCCH-ConfigDedicated-v1020.h | 140 -- .../liblte/rrc/asn/PUCCH-ConfigDedicated.h | 76 - .../rrc/asn/PUSCH-CAConfigDedicated-vlola.h | 40 - .../liblte/rrc/asn/PUSCH-ConfigCommon.h | 57 - .../rrc/asn/PUSCH-ConfigDedicated-v1020.h | 58 - .../liblte/rrc/asn/PUSCH-ConfigDedicated.h | 40 - .../rrc/asn/PUSCH-ConfigDedicatedSCell-r10.h | 49 - .../include/liblte/rrc/asn/Paging-v890-IEs.h | 45 - .../include/liblte/rrc/asn/Paging-v920-IEs.h | 49 - lte/rrc/include/liblte/rrc/asn/Paging.h | 59 - lte/rrc/include/liblte/rrc/asn/PagingRecord.h | 51 - .../include/liblte/rrc/asn/PagingRecordList.h | 44 - .../liblte/rrc/asn/PagingUE-Identity.h | 56 - .../liblte/rrc/asn/PhyLayerParameters-v1020.h | 76 - .../liblte/rrc/asn/PhyLayerParameters-v920.h | 49 - .../liblte/rrc/asn/PhyLayerParameters.h | 39 - lte/rrc/include/liblte/rrc/asn/PhysCellId.h | 41 - .../liblte/rrc/asn/PhysCellIdCDMA2000.h | 41 - .../include/liblte/rrc/asn/PhysCellIdGERAN.h | 39 - .../rrc/asn/PhysCellIdListCDMA2000-v920.h | 39 - .../liblte/rrc/asn/PhysCellIdListCDMA2000.h | 39 - .../include/liblte/rrc/asn/PhysCellIdRange.h | 61 - .../rrc/asn/PhysCellIdRangeUTRA-FDD-r9.h | 40 - .../rrc/asn/PhysCellIdRangeUTRA-FDDList-r9.h | 44 - .../liblte/rrc/asn/PhysCellIdUTRA-FDD.h | 41 - .../liblte/rrc/asn/PhysCellIdUTRA-TDD.h | 41 - .../liblte/rrc/asn/PhysicalConfigDedicated.h | 139 -- .../asn/PhysicalConfigDedicatedSCell-r10.h | 87 - lte/rrc/include/liblte/rrc/asn/PollByte.h | 61 - lte/rrc/include/liblte/rrc/asn/PollPDU.h | 53 - .../liblte/rrc/asn/PreRegistrationInfoHRPD.h | 47 - .../rrc/asn/PreRegistrationZoneIdHRPD.h | 41 - .../liblte/rrc/asn/PresenceAntennaPort1.h | 41 - .../rrc/asn/ProximityIndication-r9-IEs.h | 76 - .../liblte/rrc/asn/ProximityIndication-r9.h | 78 - .../rrc/asn/ProximityIndication-v930-IEs.h | 43 - .../include/liblte/rrc/asn/Q-OffsetRange.h | 76 - .../liblte/rrc/asn/Q-OffsetRangeInterRAT.h | 41 - lte/rrc/include/liblte/rrc/asn/Q-QualMin-r9.h | 41 - lte/rrc/include/liblte/rrc/asn/Q-RxLevMin.h | 41 - .../include/liblte/rrc/asn/QuantityConfig.h | 55 - .../liblte/rrc/asn/QuantityConfigCDMA2000.h | 45 - .../liblte/rrc/asn/QuantityConfigEUTRA.h | 39 - .../liblte/rrc/asn/QuantityConfigGERAN.h | 46 - .../liblte/rrc/asn/QuantityConfigUTRA-v1020.h | 38 - .../liblte/rrc/asn/QuantityConfigUTRA.h | 52 - .../liblte/rrc/asn/RACH-ConfigCommon.h | 195 -- .../liblte/rrc/asn/RACH-ConfigDedicated.h | 39 - .../include/liblte/rrc/asn/RAND-CDMA2000.h | 41 - lte/rrc/include/liblte/rrc/asn/RAT-Type.h | 56 - .../liblte/rrc/asn/RF-Parameters-v1020.h | 38 - .../include/liblte/rrc/asn/RF-Parameters.h | 38 - lte/rrc/include/liblte/rrc/asn/RLC-Config.h | 85 - .../include/liblte/rrc/asn/RLF-Report-r9.h | 109 - .../rrc/asn/RLF-TimersAndConstants-r9.h | 117 - .../liblte/rrc/asn/RN-SubframeConfig-r10.h | 179 -- .../liblte/rrc/asn/RN-SystemInfo-r10.h | 49 - .../rrc/asn/RNReconfiguration-r10-IEs.h | 53 - .../liblte/rrc/asn/RNReconfiguration-r10.h | 80 - .../asn/RNReconfigurationComplete-r10-IEs.h | 43 - .../rrc/asn/RNReconfigurationComplete-r10.h | 80 - .../rrc/asn/RRC-TransactionIdentifier.h | 41 - .../asn/RRCConnectionReconfiguration-r8-IEs.h | 64 - .../RRCConnectionReconfiguration-v1020-IEs.h | 51 - .../RRCConnectionReconfiguration-v890-IEs.h | 45 - .../RRCConnectionReconfiguration-v920-IEs.h | 54 - .../rrc/asn/RRCConnectionReconfiguration.h | 88 - ...ConnectionReconfigurationComplete-r8-IEs.h | 43 - ...nectionReconfigurationComplete-v1020-IEs.h | 54 - ...nnectionReconfigurationComplete-v8a0-IEs.h | 45 - .../RRCConnectionReconfigurationComplete.h | 61 - .../asn/RRCConnectionReestablishment-r8-IEs.h | 47 - .../RRCConnectionReestablishment-v8a0-IEs.h | 43 - .../rrc/asn/RRCConnectionReestablishment.h | 88 - ...ConnectionReestablishmentComplete-r8-IEs.h | 43 - ...nectionReestablishmentComplete-v1020-IEs.h | 49 - ...nnectionReestablishmentComplete-v8a0-IEs.h | 45 - ...nnectionReestablishmentComplete-v920-IEs.h | 51 - .../RRCConnectionReestablishmentComplete.h | 61 - ...RCConnectionReestablishmentReject-r8-IEs.h | 43 - ...ConnectionReestablishmentReject-v8a0-IEs.h | 43 - .../asn/RRCConnectionReestablishmentReject.h | 59 - ...CConnectionReestablishmentRequest-r8-IEs.h | 42 - .../asn/RRCConnectionReestablishmentRequest.h | 59 - .../rrc/asn/RRCConnectionReject-r8-IEs.h | 45 - .../rrc/asn/RRCConnectionReject-v1020-IEs.h | 43 - .../rrc/asn/RRCConnectionReject-v8a0-IEs.h | 45 - .../liblte/rrc/asn/RRCConnectionReject.h | 78 - .../rrc/asn/RRCConnectionRelease-r8-IEs.h | 51 - .../rrc/asn/RRCConnectionRelease-v1020-IEs.h | 43 - .../rrc/asn/RRCConnectionRelease-v890-IEs.h | 45 - .../rrc/asn/RRCConnectionRelease-v920-IEs.h | 74 - .../liblte/rrc/asn/RRCConnectionRelease.h | 80 - .../rrc/asn/RRCConnectionRequest-r8-IEs.h | 42 - .../liblte/rrc/asn/RRCConnectionRequest.h | 59 - .../rrc/asn/RRCConnectionSetup-r8-IEs.h | 45 - .../rrc/asn/RRCConnectionSetup-v8a0-IEs.h | 43 - .../liblte/rrc/asn/RRCConnectionSetup.h | 88 - .../asn/RRCConnectionSetupComplete-r8-IEs.h | 50 - .../RRCConnectionSetupComplete-v1020-IEs.h | 66 - .../asn/RRCConnectionSetupComplete-v8a0-IEs.h | 45 - .../rrc/asn/RRCConnectionSetupComplete.h | 80 - lte/rrc/include/liblte/rrc/asn/RRM-Config.h | 110 - lte/rrc/include/liblte/rrc/asn/RSRP-Range.h | 41 - lte/rrc/include/liblte/rrc/asn/RSRQ-Range.h | 41 - .../liblte/rrc/asn/RSTD-InterFreqInfo-r10.h | 44 - .../rrc/asn/RSTD-InterFreqInfoList-r10.h | 44 - .../rrc/asn/RadioResourceConfigCommon.h | 75 - .../asn/RadioResourceConfigCommonSCell-r10.h | 111 - .../rrc/asn/RadioResourceConfigCommonSIB.h | 63 - .../rrc/asn/RadioResourceConfigDedicated.h | 84 - .../RadioResourceConfigDedicatedSCell-r10.h | 47 - .../liblte/rrc/asn/RedirectedCarrierInfo.h | 68 - .../liblte/rrc/asn/ReestabUE-Identity.h | 42 - .../liblte/rrc/asn/ReestablishmentCause.h | 49 - .../liblte/rrc/asn/ReestablishmentInfo.h | 50 - .../include/liblte/rrc/asn/RegisteredMME.h | 47 - lte/rrc/include/liblte/rrc/asn/ReleaseCause.h | 49 - .../liblte/rrc/asn/ReportConfigEUTRA.h | 184 -- .../include/liblte/rrc/asn/ReportConfigId.h | 41 - .../liblte/rrc/asn/ReportConfigInterRAT.h | 168 -- .../liblte/rrc/asn/ReportConfigToAddMod.h | 58 - .../liblte/rrc/asn/ReportConfigToAddModList.h | 44 - .../liblte/rrc/asn/ReportConfigToRemoveList.h | 39 - .../include/liblte/rrc/asn/ReportInterval.h | 61 - .../liblte/rrc/asn/ReportProximityConfig-r9.h | 49 - .../liblte/rrc/asn/ReselectionThreshold.h | 41 - .../liblte/rrc/asn/ReselectionThresholdQ-r9.h | 41 - lte/rrc/include/liblte/rrc/asn/S-TMSI.h | 40 - .../include/liblte/rrc/asn/SCellIndex-r10.h | 41 - .../liblte/rrc/asn/SCellToAddMod-r10.h | 61 - .../liblte/rrc/asn/SCellToAddModList-r10.h | 44 - .../liblte/rrc/asn/SCellToReleaseList-r10.h | 39 - .../include/liblte/rrc/asn/SI-OrPSI-GERAN.h | 49 - .../include/liblte/rrc/asn/SIB-MappingInfo.h | 39 - lte/rrc/include/liblte/rrc/asn/SIB-Type.h | 64 - .../include/liblte/rrc/asn/SN-FieldLength.h | 47 - .../liblte/rrc/asn/SON-Parameters-r9.h | 44 - lte/rrc/include/liblte/rrc/asn/SPS-Config.h | 48 - lte/rrc/include/liblte/rrc/asn/SPS-ConfigDL.h | 99 - lte/rrc/include/liblte/rrc/asn/SPS-ConfigUL.h | 100 - .../liblte/rrc/asn/SPS-RA-ConfigList-rlola.h | 40 - lte/rrc/include/liblte/rrc/asn/SRB-ToAddMod.h | 78 - .../include/liblte/rrc/asn/SRB-ToAddModList.h | 44 - .../include/liblte/rrc/asn/SRS-ConfigAp-r10.h | 70 - .../include/liblte/rrc/asn/SchedulingInfo.h | 52 - .../liblte/rrc/asn/SchedulingInfoList.h | 44 - .../rrc/asn/SchedulingRequestConfig-v1020.h | 38 - .../liblte/rrc/asn/SchedulingRequestConfig.h | 70 - .../SecondaryPreRegistrationZoneIdListHRPD.h | 39 - .../liblte/rrc/asn/SecurityAlgorithmConfig.h | 69 - .../include/liblte/rrc/asn/SecurityConfigHO.h | 81 - .../liblte/rrc/asn/SecurityConfigSMC.h | 42 - .../rrc/asn/SecurityModeCommand-r8-IEs.h | 45 - .../rrc/asn/SecurityModeCommand-v8a0-IEs.h | 43 - .../liblte/rrc/asn/SecurityModeCommand.h | 80 - .../rrc/asn/SecurityModeComplete-r8-IEs.h | 43 - .../rrc/asn/SecurityModeComplete-v8a0-IEs.h | 43 - .../liblte/rrc/asn/SecurityModeComplete.h | 61 - .../rrc/asn/SecurityModeFailure-r8-IEs.h | 43 - .../rrc/asn/SecurityModeFailure-v8a0-IEs.h | 43 - .../liblte/rrc/asn/SecurityModeFailure.h | 61 - .../liblte/rrc/asn/ServCellIndex-r10.h | 41 - lte/rrc/include/liblte/rrc/asn/ShortMAC-I.h | 41 - .../rrc/asn/SoundingRS-UL-ConfigCommon.h | 94 - .../asn/SoundingRS-UL-ConfigDedicated-v1020.h | 47 - .../rrc/asn/SoundingRS-UL-ConfigDedicated.h | 89 - ...undingRS-UL-ConfigDedicatedAperiodic-r10.h | 96 - .../liblte/rrc/asn/SpeedStateScaleFactors.h | 55 - .../rrc/asn/SupportedBandCombination-r10.h | 44 - .../liblte/rrc/asn/SupportedBandEUTRA.h | 40 - .../liblte/rrc/asn/SupportedBandGERAN.h | 64 - .../liblte/rrc/asn/SupportedBandList1XRTT.h | 39 - .../liblte/rrc/asn/SupportedBandListEUTRA.h | 44 - .../liblte/rrc/asn/SupportedBandListGERAN.h | 39 - .../liblte/rrc/asn/SupportedBandListHRPD.h | 39 - .../rrc/asn/SupportedBandListUTRA-FDD.h | 39 - .../rrc/asn/SupportedBandListUTRA-TDD128.h | 39 - .../rrc/asn/SupportedBandListUTRA-TDD384.h | 39 - .../rrc/asn/SupportedBandListUTRA-TDD768.h | 39 - .../liblte/rrc/asn/SupportedBandUTRA-FDD.h | 80 - .../liblte/rrc/asn/SupportedBandUTRA-TDD128.h | 64 - .../liblte/rrc/asn/SupportedBandUTRA-TDD384.h | 64 - .../liblte/rrc/asn/SupportedBandUTRA-TDD768.h | 64 - .../liblte/rrc/asn/SystemInfoListGERAN.h | 39 - .../liblte/rrc/asn/SystemInformation-r8-IEs.h | 107 - .../rrc/asn/SystemInformation-v8a0-IEs.h | 43 - .../liblte/rrc/asn/SystemInformation.h | 59 - .../SystemInformationBlockType1-v890-IEs.h | 45 - .../SystemInformationBlockType1-v920-IEs.h | 56 - .../rrc/asn/SystemInformationBlockType1.h | 102 - .../rrc/asn/SystemInformationBlockType10.h | 47 - .../rrc/asn/SystemInformationBlockType11.h | 58 - .../rrc/asn/SystemInformationBlockType12-r9.h | 58 - .../rrc/asn/SystemInformationBlockType13-r9.h | 46 - .../rrc/asn/SystemInformationBlockType2.h | 87 - .../rrc/asn/SystemInformationBlockType3.h | 147 -- .../rrc/asn/SystemInformationBlockType4.h | 55 - .../rrc/asn/SystemInformationBlockType5.h | 44 - .../rrc/asn/SystemInformationBlockType6.h | 57 - .../rrc/asn/SystemInformationBlockType7.h | 54 - .../rrc/asn/SystemInformationBlockType8.h | 88 - .../rrc/asn/SystemInformationBlockType9.h | 43 - .../liblte/rrc/asn/SystemTimeInfoCDMA2000.h | 57 - .../include/liblte/rrc/asn/T-PollRetransmit.h | 109 - lte/rrc/include/liblte/rrc/asn/T-Reordering.h | 77 - .../include/liblte/rrc/asn/T-Reselection.h | 41 - .../include/liblte/rrc/asn/T-StatusProhibit.h | 109 - lte/rrc/include/liblte/rrc/asn/TDD-Config.h | 63 - lte/rrc/include/liblte/rrc/asn/TMGI-r9.h | 58 - lte/rrc/include/liblte/rrc/asn/TPC-Index.h | 49 - .../include/liblte/rrc/asn/TPC-PDCCH-Config.h | 58 - .../liblte/rrc/asn/ThresholdCDMA2000.h | 41 - .../include/liblte/rrc/asn/ThresholdEUTRA.h | 50 - .../include/liblte/rrc/asn/ThresholdGERAN.h | 41 - .../include/liblte/rrc/asn/ThresholdUTRA.h | 49 - .../liblte/rrc/asn/TimeAlignmentTimer.h | 53 - .../include/liblte/rrc/asn/TimeToTrigger.h | 61 - .../liblte/rrc/asn/TraceReference-r10.h | 40 - .../include/liblte/rrc/asn/TrackingAreaCode.h | 41 - .../liblte/rrc/asn/TrackingAreaCodeList-r10.h | 39 - .../asn/UE-BasedNetwPerfMeasParameters-r10.h | 49 - .../rrc/asn/UE-CapabilityRAT-Container.h | 40 - .../rrc/asn/UE-CapabilityRAT-ContainerList.h | 44 - .../liblte/rrc/asn/UE-CapabilityRequest.h | 39 - .../rrc/asn/UE-EUTRA-Capability-v1020-IEs.h | 67 - .../rrc/asn/UE-EUTRA-Capability-v920-IEs.h | 67 - .../rrc/asn/UE-EUTRA-Capability-v940-IEs.h | 45 - .../liblte/rrc/asn/UE-EUTRA-Capability.h | 83 - .../liblte/rrc/asn/UE-TimersAndConstants.h | 113 - .../rrc/asn/UECapabilityEnquiry-r8-IEs.h | 45 - .../rrc/asn/UECapabilityEnquiry-v8a0-IEs.h | 43 - .../liblte/rrc/asn/UECapabilityEnquiry.h | 80 - .../rrc/asn/UECapabilityInformation-r8-IEs.h | 45 - .../asn/UECapabilityInformation-v8a0-IEs.h | 43 - .../liblte/rrc/asn/UECapabilityInformation.h | 88 - .../rrc/asn/UEInformationRequest-r9-IEs.h | 46 - .../liblte/rrc/asn/UEInformationRequest-r9.h | 80 - .../rrc/asn/UEInformationRequest-v1020-IEs.h | 49 - .../rrc/asn/UEInformationRequest-v930-IEs.h | 45 - .../rrc/asn/UEInformationResponse-r9-IEs.h | 55 - .../liblte/rrc/asn/UEInformationResponse-r9.h | 80 - .../rrc/asn/UEInformationResponse-v1020-IEs.h | 48 - .../rrc/asn/UEInformationResponse-v930-IEs.h | 45 - ...ERadioAccessCapabilityInformation-r8-IEs.h | 42 - .../asn/UERadioAccessCapabilityInformation.h | 85 - lte/rrc/include/liblte/rrc/asn/UL-AM-RLC.h | 57 - .../include/liblte/rrc/asn/UL-CCCH-Message.h | 38 - .../liblte/rrc/asn/UL-CCCH-MessageType.h | 69 - .../liblte/rrc/asn/UL-CyclicPrefixLength.h | 47 - .../include/liblte/rrc/asn/UL-DCCH-Message.h | 38 - .../liblte/rrc/asn/UL-DCCH-MessageType.h | 111 - .../liblte/rrc/asn/UL-ReferenceSignalsPUSCH.h | 42 - lte/rrc/include/liblte/rrc/asn/UL-UM-RLC.h | 38 - .../ULHandoverPreparationTransfer-r8-IEs.h | 49 - .../ULHandoverPreparationTransfer-v8a0-IEs.h | 43 - .../rrc/asn/ULHandoverPreparationTransfer.h | 78 - .../rrc/asn/ULInformationTransfer-r8-IEs.h | 65 - .../rrc/asn/ULInformationTransfer-v8a0-IEs.h | 43 - .../liblte/rrc/asn/ULInformationTransfer.h | 78 - .../rrc/asn/UplinkPowerControlCommon-v1020.h | 59 - .../liblte/rrc/asn/UplinkPowerControlCommon.h | 57 - .../asn/UplinkPowerControlCommonSCell-r10.h | 53 - .../asn/UplinkPowerControlDedicated-v1020.h | 45 - .../rrc/asn/UplinkPowerControlDedicated.h | 53 - .../UplinkPowerControlDedicatedSCell-r10.h | 59 - .../include/liblte/rrc/asn/VarMeasConfig.h | 80 - .../include/liblte/rrc/asn/VarMeasReport.h | 46 - .../liblte/rrc/asn/VarMeasReportList.h | 43 - .../liblte/rrc/asn/VarShortMAC-Input.h | 41 - .../include/liblte/rrc/asn/asn_SEQUENCE_OF.h | 52 - lte/rrc/include/liblte/rrc/asn/asn_SET_OF.h | 62 - .../include/liblte/rrc/asn/asn_application.h | 47 - lte/rrc/include/liblte/rrc/asn/asn_codecs.h | 109 - .../include/liblte/rrc/asn/asn_codecs_prim.h | 53 - lte/rrc/include/liblte/rrc/asn/asn_internal.h | 122 - lte/rrc/include/liblte/rrc/asn/asn_system.h | 125 -- lte/rrc/include/liblte/rrc/asn/ber_decoder.h | 64 - .../include/liblte/rrc/asn/ber_tlv_length.h | 50 - lte/rrc/include/liblte/rrc/asn/ber_tlv_tag.h | 60 - .../include/liblte/rrc/asn/constr_CHOICE.h | 57 - .../include/liblte/rrc/asn/constr_SEQUENCE.h | 60 - .../liblte/rrc/asn/constr_SEQUENCE_OF.h | 33 - .../include/liblte/rrc/asn/constr_SET_OF.h | 42 - lte/rrc/include/liblte/rrc/asn/constr_TYPE.h | 180 -- lte/rrc/include/liblte/rrc/asn/constraints.h | 63 - lte/rrc/include/liblte/rrc/asn/der_encoder.h | 68 - lte/rrc/include/liblte/rrc/asn/per_decoder.h | 56 - lte/rrc/include/liblte/rrc/asn/per_encoder.h | 69 - lte/rrc/include/liblte/rrc/asn/per_opentype.h | 22 - lte/rrc/include/liblte/rrc/asn/per_support.h | 128 -- lte/rrc/include/liblte/rrc/asn/rrc_asn.h | 33 - lte/rrc/include/liblte/rrc/asn/xer_decoder.h | 106 - lte/rrc/include/liblte/rrc/asn/xer_encoder.h | 59 - lte/rrc/include/liblte/rrc/asn/xer_support.h | 55 - .../include/liblte/rrc/common/rrc_common.h | 56 - lte/rrc/include/liblte/rrc/messages/bcch.h | 64 - lte/rrc/include/liblte/rrc/messages/sib1.h | 62 - lte/rrc/include/liblte/rrc/messages/sib4.h | 45 - lte/rrc/include/liblte/rrc/rrc.h | 50 - lte/rrc/lib/CMakeLists.txt | 56 - lte/rrc/lib/asn/src/AC-BarringConfig.c | 434 ---- .../lib/asn/src/AC-BarringConfig1XRTT-r9.c | 450 ---- lte/rrc/lib/asn/src/ARFCN-ValueCDMA2000.c | 146 -- lte/rrc/lib/asn/src/ARFCN-ValueEUTRA.c | 146 -- lte/rrc/lib/asn/src/ARFCN-ValueGERAN.c | 146 -- lte/rrc/lib/asn/src/ARFCN-ValueUTRA.c | 146 -- lte/rrc/lib/asn/src/AS-Config.c | 210 -- lte/rrc/lib/asn/src/AS-Context.c | 61 - lte/rrc/lib/asn/src/AbsoluteTimeInfo-r10.c | 152 -- lte/rrc/lib/asn/src/AccessStratumRelease.c | 160 -- lte/rrc/lib/asn/src/AdditionalReestabInfo.c | 79 - .../lib/asn/src/AdditionalReestabInfoList.c | 57 - lte/rrc/lib/asn/src/AdditionalSI-Info-r9.c | 209 -- .../lib/asn/src/AdditionalSpectrumEmission.c | 146 -- lte/rrc/lib/asn/src/AllowedMeasBandwidth.c | 154 -- lte/rrc/lib/asn/src/AntennaInfoCommon.c | 203 -- .../lib/asn/src/AntennaInfoDedicated-r10.c | 451 ---- .../lib/asn/src/AntennaInfoDedicated-v920.c | 197 -- lte/rrc/lib/asn/src/AntennaInfoDedicated.c | 846 ------- lte/rrc/lib/asn/src/AntennaInfoUL-r10.c | 360 --- lte/rrc/lib/asn/src/AreaConfiguration-r10.c | 71 - lte/rrc/lib/asn/src/BCCH-BCH-Message.c | 60 - lte/rrc/lib/asn/src/BCCH-BCH-MessageType.c | 124 - lte/rrc/lib/asn/src/BCCH-Config.c | 203 -- lte/rrc/lib/asn/src/BCCH-DL-SCH-Message.c | 60 - lte/rrc/lib/asn/src/BCCH-DL-SCH-MessageType.c | 172 -- lte/rrc/lib/asn/src/BIT_STRING.c | 189 -- lte/rrc/lib/asn/src/BOOLEAN.c | 284 --- lte/rrc/lib/asn/src/BandClassInfoCDMA2000.c | 152 -- lte/rrc/lib/asn/src/BandClassListCDMA2000.c | 58 - lte/rrc/lib/asn/src/BandClassPriority1XRTT.c | 70 - lte/rrc/lib/asn/src/BandClassPriorityHRPD.c | 70 - .../lib/asn/src/BandClassPriorityList1XRTT.c | 58 - .../lib/asn/src/BandClassPriorityListHRPD.c | 58 - .../asn/src/BandCombinationListEUTRA-r10.c | 58 - .../asn/src/BandCombinationParameters-r10.c | 58 - lte/rrc/lib/asn/src/BandIndicatorGERAN.c | 146 -- lte/rrc/lib/asn/src/BandInfoEUTRA.c | 72 - lte/rrc/lib/asn/src/BandListEUTRA.c | 58 - lte/rrc/lib/asn/src/BandParameters-r10.c | 112 - lte/rrc/lib/asn/src/BandParametersDL-r10.c | 58 - lte/rrc/lib/asn/src/BandParametersUL-r10.c | 58 - lte/rrc/lib/asn/src/BandclassCDMA2000.c | 208 -- lte/rrc/lib/asn/src/BetaOffset-CA-Index.c | 124 - lte/rrc/lib/asn/src/BlackCellsToAddMod.c | 100 - lte/rrc/lib/asn/src/BlackCellsToAddModList.c | 58 - lte/rrc/lib/asn/src/C-RNTI.c | 152 -- lte/rrc/lib/asn/src/CA-BandwidthClass-r10.c | 156 -- .../lib/asn/src/CA-MIMO-ParametersDL-r10.c | 72 - .../lib/asn/src/CA-MIMO-ParametersUL-r10.c | 72 - lte/rrc/lib/asn/src/CA-RNTI.c | 152 -- .../asn/src/CA-semiPersistSchedIntervalUL.c | 174 -- lte/rrc/lib/asn/src/CDMA2000-Type.c | 146 -- lte/rrc/lib/asn/src/CQI-ReportAperiodic-r10.c | 422 ---- lte/rrc/lib/asn/src/CQI-ReportConfig-r10.c | 395 ---- lte/rrc/lib/asn/src/CQI-ReportConfig-v920.c | 346 --- lte/rrc/lib/asn/src/CQI-ReportConfig.c | 112 - .../lib/asn/src/CQI-ReportConfigSCell-r10.c | 259 --- lte/rrc/lib/asn/src/CQI-ReportModeAperiodic.c | 158 -- lte/rrc/lib/asn/src/CQI-ReportPeriodic-r10.c | 1130 ---------- lte/rrc/lib/asn/src/CQI-ReportPeriodic.c | 402 ---- .../src/CSFB-RegistrationParam1XRTT-v920.c | 197 -- .../lib/asn/src/CSFB-RegistrationParam1XRTT.c | 396 ---- .../CSFBParametersRequestCDMA2000-r8-IEs.c | 62 - .../CSFBParametersRequestCDMA2000-v8a0-IEs.c | 110 - .../asn/src/CSFBParametersRequestCDMA2000.c | 161 -- .../CSFBParametersResponseCDMA2000-r8-IEs.c | 82 - .../CSFBParametersResponseCDMA2000-v8a0-IEs.c | 110 - .../asn/src/CSFBParametersResponseCDMA2000.c | 171 -- .../asn/src/CSG-AllowedReportingCells-r9.c | 62 - lte/rrc/lib/asn/src/CSG-Identity.c | 152 -- .../CSG-ProximityIndicationParameters-r9.c | 493 ---- lte/rrc/lib/asn/src/CSI-RS-Config-r10.c | 643 ------ lte/rrc/lib/asn/src/CShift.c | 124 - lte/rrc/lib/asn/src/CarrierBandwidthEUTRA.c | 406 ---- lte/rrc/lib/asn/src/CarrierFreqCDMA2000.c | 70 - lte/rrc/lib/asn/src/CarrierFreqEUTRA.c | 72 - lte/rrc/lib/asn/src/CarrierFreqGERAN.c | 70 - lte/rrc/lib/asn/src/CarrierFreqListUTRA-FDD.c | 58 - .../lib/asn/src/CarrierFreqListUTRA-TDD-r10.c | 58 - lte/rrc/lib/asn/src/CarrierFreqListUTRA-TDD.c | 58 - lte/rrc/lib/asn/src/CarrierFreqUTRA-FDD.c | 285 --- lte/rrc/lib/asn/src/CarrierFreqUTRA-TDD.c | 172 -- lte/rrc/lib/asn/src/CarrierFreqsGERAN.c | 307 --- lte/rrc/lib/asn/src/CarrierFreqsInfoGERAN.c | 271 --- .../lib/asn/src/CarrierFreqsInfoListGERAN.c | 58 - lte/rrc/lib/asn/src/CellChangeOrder.c | 395 ---- lte/rrc/lib/asn/src/CellGlobalIdCDMA2000.c | 143 -- lte/rrc/lib/asn/src/CellGlobalIdEUTRA.c | 70 - lte/rrc/lib/asn/src/CellGlobalIdGERAN.c | 152 -- lte/rrc/lib/asn/src/CellGlobalIdList-r10.c | 58 - lte/rrc/lib/asn/src/CellGlobalIdUTRA.c | 106 - lte/rrc/lib/asn/src/CellIdentity.c | 152 -- lte/rrc/lib/asn/src/CellIndex.c | 146 -- lte/rrc/lib/asn/src/CellIndexList.c | 58 - lte/rrc/lib/asn/src/CellInfoGERAN-r9.c | 80 - lte/rrc/lib/asn/src/CellInfoListGERAN-r9.c | 58 - lte/rrc/lib/asn/src/CellInfoListUTRA-FDD-r9.c | 58 - .../lib/asn/src/CellInfoListUTRA-TDD-r10.c | 58 - lte/rrc/lib/asn/src/CellInfoListUTRA-TDD-r9.c | 58 - lte/rrc/lib/asn/src/CellInfoUTRA-FDD-r9.c | 70 - lte/rrc/lib/asn/src/CellInfoUTRA-TDD-r10.c | 80 - lte/rrc/lib/asn/src/CellInfoUTRA-TDD-r9.c | 70 - .../CellReselectionParametersCDMA2000-v920.c | 60 - .../src/CellReselectionParametersCDMA2000.c | 92 - lte/rrc/lib/asn/src/CellReselectionPriority.c | 146 -- lte/rrc/lib/asn/src/CellSelectionInfo-v920.c | 102 - lte/rrc/lib/asn/src/CellsToAddMod.c | 110 - lte/rrc/lib/asn/src/CellsToAddModCDMA2000.c | 100 - lte/rrc/lib/asn/src/CellsToAddModList.c | 58 - .../lib/asn/src/CellsToAddModListCDMA2000.c | 58 - .../lib/asn/src/CellsToAddModListUTRA-FDD.c | 58 - .../lib/asn/src/CellsToAddModListUTRA-TDD.c | 58 - lte/rrc/lib/asn/src/CellsToAddModUTRA-FDD.c | 100 - lte/rrc/lib/asn/src/CellsToAddModUTRA-TDD.c | 100 - lte/rrc/lib/asn/src/CellsTriggeredList.c | 266 --- .../asn/src/CommonSF-AllocPatternList-r9.c | 58 - lte/rrc/lib/asn/src/CounterCheck-r8-IEs.c | 72 - lte/rrc/lib/asn/src/CounterCheck-v8a0-IEs.c | 110 - lte/rrc/lib/asn/src/CounterCheck.c | 254 --- .../lib/asn/src/CounterCheckResponse-r8-IEs.c | 72 - .../asn/src/CounterCheckResponse-v8a0-IEs.c | 110 - lte/rrc/lib/asn/src/CounterCheckResponse.c | 171 -- lte/rrc/lib/asn/src/CountingRequestInfo-r10.c | 60 - lte/rrc/lib/asn/src/CountingRequestList-r10.c | 58 - .../lib/asn/src/CountingResponseInfo-r10.c | 90 - .../lib/asn/src/CountingResponseList-r10.c | 58 - .../src/CrossCarrierSchedulingConfig-r10.c | 269 --- lte/rrc/lib/asn/src/DL-AM-RLC.c | 70 - lte/rrc/lib/asn/src/DL-CCCH-Message.c | 60 - lte/rrc/lib/asn/src/DL-CCCH-MessageType.c | 192 -- lte/rrc/lib/asn/src/DL-DCCH-Message.c | 60 - lte/rrc/lib/asn/src/DL-DCCH-MessageType.c | 312 --- lte/rrc/lib/asn/src/DL-UM-RLC.c | 70 - .../asn/src/DLInformationTransfer-r8-IEs.c | 145 -- .../asn/src/DLInformationTransfer-v8a0-IEs.c | 110 - lte/rrc/lib/asn/src/DLInformationTransfer.c | 254 --- lte/rrc/lib/asn/src/DRB-CountInfo.c | 400 ---- lte/rrc/lib/asn/src/DRB-CountInfoList.c | 58 - lte/rrc/lib/asn/src/DRB-CountMSB-Info.c | 140 -- lte/rrc/lib/asn/src/DRB-CountMSB-InfoList.c | 58 - lte/rrc/lib/asn/src/DRB-Identity.c | 146 -- lte/rrc/lib/asn/src/DRB-ToAddMod.c | 172 -- lte/rrc/lib/asn/src/DRB-ToAddModList.c | 58 - lte/rrc/lib/asn/src/DRB-ToReleaseList.c | 58 - lte/rrc/lib/asn/src/DRX-Config.c | 1626 -------------- lte/rrc/lib/asn/src/DedicatedInfoCDMA2000.c | 124 - lte/rrc/lib/asn/src/DedicatedInfoNAS.c | 124 - lte/rrc/lib/asn/src/DeltaFList-PUCCH.c | 807 ------- .../asn/src/DeltaTxD-OffsetListPUCCH-r10.c | 646 ------ lte/rrc/lib/asn/src/E-CSFB-r9.c | 231 -- lte/rrc/lib/asn/src/EstablishmentCause.c | 158 -- lte/rrc/lib/asn/src/ExplicitListOfARFCNs.c | 58 - lte/rrc/lib/asn/src/FilterCoefficient.c | 176 -- lte/rrc/lib/asn/src/FreqPriorityEUTRA.c | 70 - lte/rrc/lib/asn/src/FreqPriorityListEUTRA.c | 58 - .../lib/asn/src/FreqPriorityListUTRA-FDD.c | 58 - .../lib/asn/src/FreqPriorityListUTRA-TDD.c | 58 - lte/rrc/lib/asn/src/FreqPriorityUTRA-FDD.c | 70 - lte/rrc/lib/asn/src/FreqPriorityUTRA-TDD.c | 70 - lte/rrc/lib/asn/src/FreqsPriorityGERAN.c | 70 - lte/rrc/lib/asn/src/FreqsPriorityListGERAN.c | 58 - lte/rrc/lib/asn/src/Handover.c | 276 --- lte/rrc/lib/asn/src/HandoverCommand-r8-IEs.c | 134 -- lte/rrc/lib/asn/src/HandoverCommand.c | 283 --- ...ndoverFromEUTRAPreparationRequest-r8-IEs.c | 92 - ...verFromEUTRAPreparationRequest-v1020-IEs.c | 257 --- ...overFromEUTRAPreparationRequest-v890-IEs.c | 72 - ...overFromEUTRAPreparationRequest-v920-IEs.c | 72 - .../src/HandoverFromEUTRAPreparationRequest.c | 254 --- .../HandoverPreparationInformation-r8-IEs.c | 101 - .../HandoverPreparationInformation-v920-IEs.c | 263 --- .../asn/src/HandoverPreparationInformation.c | 283 --- lte/rrc/lib/asn/src/Hysteresis.c | 146 -- lte/rrc/lib/asn/src/IMSI-Digit.c | 146 -- lte/rrc/lib/asn/src/IMSI.c | 58 - lte/rrc/lib/asn/src/INTEGER.c | 937 -------- .../src/IRAT-ParametersCDMA2000-1XRTT-v1020.c | 197 -- .../src/IRAT-ParametersCDMA2000-1XRTT-v920.c | 346 --- .../asn/src/IRAT-ParametersCDMA2000-1XRTT.c | 358 --- .../asn/src/IRAT-ParametersCDMA2000-HRPD.c | 358 --- .../lib/asn/src/IRAT-ParametersGERAN-v920.c | 346 --- lte/rrc/lib/asn/src/IRAT-ParametersGERAN.c | 70 - lte/rrc/lib/asn/src/IRAT-ParametersUTRA-FDD.c | 60 - .../asn/src/IRAT-ParametersUTRA-TDD-v1020.c | 197 -- .../lib/asn/src/IRAT-ParametersUTRA-TDD128.c | 60 - .../lib/asn/src/IRAT-ParametersUTRA-TDD384.c | 60 - .../lib/asn/src/IRAT-ParametersUTRA-TDD768.c | 60 - .../lib/asn/src/IRAT-ParametersUTRA-v920.c | 197 -- .../lib/asn/src/IdleModeMobilityControlInfo.c | 273 --- lte/rrc/lib/asn/src/InitialUE-Identity.c | 107 - lte/rrc/lib/asn/src/InterFreqBandInfo.c | 60 - lte/rrc/lib/asn/src/InterFreqBandList.c | 58 - lte/rrc/lib/asn/src/InterFreqBlackCellList.c | 58 - .../lib/asn/src/InterFreqCarrierFreqInfo.c | 293 --- .../lib/asn/src/InterFreqCarrierFreqList.c | 58 - lte/rrc/lib/asn/src/InterFreqNeighCellInfo.c | 70 - lte/rrc/lib/asn/src/InterFreqNeighCellList.c | 58 - ...terFreqRSTDMeasurementIndication-r10-IEs.c | 236 -- .../InterFreqRSTDMeasurementIndication-r10.c | 244 -- lte/rrc/lib/asn/src/InterRAT-BandInfo.c | 60 - lte/rrc/lib/asn/src/InterRAT-BandList.c | 58 - lte/rrc/lib/asn/src/IntraFreqBlackCellList.c | 58 - lte/rrc/lib/asn/src/IntraFreqNeighCellInfo.c | 70 - lte/rrc/lib/asn/src/IntraFreqNeighCellList.c | 58 - lte/rrc/lib/asn/src/Key-eNodeB-Star.c | 152 -- lte/rrc/lib/asn/src/LocationInfo-r10.c | 145 -- lte/rrc/lib/asn/src/LogMeasInfo-r10.c | 280 --- lte/rrc/lib/asn/src/LogMeasInfoList-r10.c | 58 - lte/rrc/lib/asn/src/LogMeasReport-r10.c | 311 --- .../LoggedMeasurementConfiguration-r10-IEs.c | 232 -- .../src/LoggedMeasurementConfiguration-r10.c | 244 -- lte/rrc/lib/asn/src/LoggingDuration-r10.c | 158 -- lte/rrc/lib/asn/src/LoggingInterval-r10.c | 158 -- lte/rrc/lib/asn/src/LogicalChannelConfig.c | 672 ------ lte/rrc/lib/asn/src/MAC-MainConfig.c | 1793 --------------- .../lib/asn/src/MBMS-NotificationConfig-r9.c | 279 --- lte/rrc/lib/asn/src/MBMS-SessionInfo-r9.c | 143 -- lte/rrc/lib/asn/src/MBMS-SessionInfoList-r9.c | 58 - lte/rrc/lib/asn/src/MBMSCountingRequest-r10.c | 120 - .../asn/src/MBMSCountingResponse-r10-IEs.c | 160 -- .../lib/asn/src/MBMSCountingResponse-r10.c | 244 -- lte/rrc/lib/asn/src/MBSFN-AreaInfo-r9.c | 873 ------- lte/rrc/lib/asn/src/MBSFN-AreaInfoList-r9.c | 58 - lte/rrc/lib/asn/src/MBSFN-SubframeConfig.c | 392 ---- .../lib/asn/src/MBSFN-SubframeConfigList.c | 58 - .../lib/asn/src/MBSFNAreaConfiguration-r9.c | 241 -- .../asn/src/MBSFNAreaConfiguration-v930-IEs.c | 110 - lte/rrc/lib/asn/src/MCC-MNC-Digit.c | 146 -- lte/rrc/lib/asn/src/MCC.c | 58 - lte/rrc/lib/asn/src/MCCH-Message.c | 60 - lte/rrc/lib/asn/src/MCCH-MessageType.c | 278 --- lte/rrc/lib/asn/src/MIMO-CapabilityDL-r10.c | 148 -- lte/rrc/lib/asn/src/MIMO-CapabilityUL-r10.c | 146 -- lte/rrc/lib/asn/src/MMEC.c | 152 -- lte/rrc/lib/asn/src/MNC.c | 58 - lte/rrc/lib/asn/src/MasterInformationBlock.c | 309 --- lte/rrc/lib/asn/src/MeasConfig.c | 288 --- lte/rrc/lib/asn/src/MeasCycleSCell-r10.c | 158 -- lte/rrc/lib/asn/src/MeasGapConfig.c | 247 -- lte/rrc/lib/asn/src/MeasId.c | 146 -- lte/rrc/lib/asn/src/MeasIdToAddMod.c | 80 - lte/rrc/lib/asn/src/MeasIdToAddModList.c | 58 - lte/rrc/lib/asn/src/MeasIdToRemoveList.c | 58 - lte/rrc/lib/asn/src/MeasObjectCDMA2000.c | 170 -- lte/rrc/lib/asn/src/MeasObjectEUTRA.c | 190 -- lte/rrc/lib/asn/src/MeasObjectGERAN.c | 146 -- lte/rrc/lib/asn/src/MeasObjectId.c | 146 -- lte/rrc/lib/asn/src/MeasObjectToAddMod.c | 153 -- lte/rrc/lib/asn/src/MeasObjectToAddModList.c | 58 - lte/rrc/lib/asn/src/MeasObjectToRemoveList.c | 58 - lte/rrc/lib/asn/src/MeasObjectUTRA.c | 256 --- lte/rrc/lib/asn/src/MeasParameters-v1020.c | 60 - lte/rrc/lib/asn/src/MeasParameters.c | 60 - lte/rrc/lib/asn/src/MeasResult2CDMA2000-r9.c | 70 - lte/rrc/lib/asn/src/MeasResult2EUTRA-r9.c | 70 - lte/rrc/lib/asn/src/MeasResult2UTRA-r9.c | 70 - lte/rrc/lib/asn/src/MeasResultCDMA2000.c | 207 -- lte/rrc/lib/asn/src/MeasResultEUTRA.c | 232 -- lte/rrc/lib/asn/src/MeasResultForECID-r9.c | 136 -- lte/rrc/lib/asn/src/MeasResultGERAN.c | 276 --- .../lib/asn/src/MeasResultList2CDMA2000-r9.c | 58 - lte/rrc/lib/asn/src/MeasResultList2EUTRA-r9.c | 58 - .../lib/asn/src/MeasResultList2GERAN-r10.c | 58 - lte/rrc/lib/asn/src/MeasResultList2UTRA-r9.c | 58 - lte/rrc/lib/asn/src/MeasResultListCDMA2000.c | 58 - lte/rrc/lib/asn/src/MeasResultListEUTRA.c | 58 - lte/rrc/lib/asn/src/MeasResultListGERAN.c | 58 - lte/rrc/lib/asn/src/MeasResultListUTRA.c | 58 - lte/rrc/lib/asn/src/MeasResultServFreq-r10.c | 218 -- .../lib/asn/src/MeasResultServFreqList-r10.c | 58 - lte/rrc/lib/asn/src/MeasResultUTRA.c | 437 ---- lte/rrc/lib/asn/src/MeasResults.c | 258 --- lte/rrc/lib/asn/src/MeasResultsCDMA2000.c | 70 - .../lib/asn/src/MeasSubframeCellList-r10.c | 58 - lte/rrc/lib/asn/src/MeasSubframePattern-r10.c | 288 --- .../src/MeasSubframePatternConfigNeigh-r10.c | 136 -- .../asn/src/MeasSubframePatternPCell-r10.c | 71 - .../lib/asn/src/MeasurementReport-r8-IEs.c | 72 - .../lib/asn/src/MeasurementReport-v8a0-IEs.c | 110 - lte/rrc/lib/asn/src/MeasurementReport.c | 284 --- lte/rrc/lib/asn/src/MobilityControlInfo.c | 283 --- .../asn/src/MobilityFromEUTRACommand-r8-IEs.c | 145 -- .../asn/src/MobilityFromEUTRACommand-r9-IEs.c | 155 -- .../src/MobilityFromEUTRACommand-v8a0-IEs.c | 72 - .../src/MobilityFromEUTRACommand-v8d0-IEs.c | 110 - .../src/MobilityFromEUTRACommand-v930-IEs.c | 72 - .../src/MobilityFromEUTRACommand-v960-IEs.c | 110 - .../lib/asn/src/MobilityFromEUTRACommand.c | 254 --- .../lib/asn/src/MobilityParametersCDMA2000.c | 124 - lte/rrc/lib/asn/src/MobilityStateParameters.c | 452 ---- .../lib/asn/src/N1-PUCCH-AN-PersistentList.c | 87 - lte/rrc/lib/asn/src/N1PUCCH-AN-CS-r10.c | 88 - .../lib/asn/src/N1PUCCH-AN-PersistentList.c | 88 - lte/rrc/lib/asn/src/NULL.c | 147 -- lte/rrc/lib/asn/src/NativeEnumerated.c | 208 -- lte/rrc/lib/asn/src/NativeInteger.c | 332 --- lte/rrc/lib/asn/src/NeighCellCDMA2000-v920.c | 60 - lte/rrc/lib/asn/src/NeighCellCDMA2000.c | 70 - lte/rrc/lib/asn/src/NeighCellConfig.c | 152 -- .../lib/asn/src/NeighCellListCDMA2000-v920.c | 58 - lte/rrc/lib/asn/src/NeighCellListCDMA2000.c | 58 - .../NeighCellSI-AcquisitionParameters-r9.c | 493 ---- .../src/NeighCellsPerBandclassCDMA2000-v920.c | 60 - .../asn/src/NeighCellsPerBandclassCDMA2000.c | 70 - .../NeighCellsPerBandclassListCDMA2000-v920.c | 58 - .../src/NeighCellsPerBandclassListCDMA2000.c | 58 - lte/rrc/lib/asn/src/NextHopChainingCount.c | 146 -- .../NonContiguousUL-RA-WithinCC-List-r10.c | 58 - .../asn/src/NonContiguousUL-RA-WithinCC-r10.c | 199 -- lte/rrc/lib/asn/src/OCTET_STRING.c | 1804 --------------- lte/rrc/lib/asn/src/OtherConfig-r9.c | 62 - lte/rrc/lib/asn/src/P-Max.c | 146 -- lte/rrc/lib/asn/src/PCCH-Config.c | 364 --- lte/rrc/lib/asn/src/PCCH-Message.c | 60 - lte/rrc/lib/asn/src/PCCH-MessageType.c | 162 -- lte/rrc/lib/asn/src/PDCP-Config.c | 944 -------- lte/rrc/lib/asn/src/PDCP-Parameters.c | 390 ---- lte/rrc/lib/asn/src/PDSCH-ConfigCommon.c | 130 -- lte/rrc/lib/asn/src/PDSCH-ConfigDedicated.c | 211 -- lte/rrc/lib/asn/src/PHICH-Config.c | 352 --- lte/rrc/lib/asn/src/PLMN-Identity.c | 72 - lte/rrc/lib/asn/src/PLMN-IdentityInfo.c | 209 -- lte/rrc/lib/asn/src/PLMN-IdentityList.c | 58 - lte/rrc/lib/asn/src/PLMN-IdentityList2.c | 58 - lte/rrc/lib/asn/src/PMCH-Config-r9.c | 291 --- lte/rrc/lib/asn/src/PMCH-Info-r9.c | 70 - lte/rrc/lib/asn/src/PMCH-InfoList-r9.c | 58 - lte/rrc/lib/asn/src/PRACH-Config.c | 102 - lte/rrc/lib/asn/src/PRACH-ConfigInfo.c | 180 -- lte/rrc/lib/asn/src/PRACH-ConfigSCell-r10.c | 90 - lte/rrc/lib/asn/src/PRACH-ConfigSIB.c | 100 - lte/rrc/lib/asn/src/PUCCH-ConfigCommon.c | 321 --- .../lib/asn/src/PUCCH-ConfigDedicated-v1020.c | 1117 --------- lte/rrc/lib/asn/src/PUCCH-ConfigDedicated.c | 510 ----- .../asn/src/PUSCH-CAConfigDedicated-vlola.c | 72 - lte/rrc/lib/asn/src/PUSCH-ConfigCommon.c | 352 --- .../lib/asn/src/PUSCH-ConfigDedicated-v1020.c | 519 ----- lte/rrc/lib/asn/src/PUSCH-ConfigDedicated.c | 170 -- .../asn/src/PUSCH-ConfigDedicatedSCell-r10.c | 346 --- lte/rrc/lib/asn/src/Paging-v890-IEs.c | 72 - lte/rrc/lib/asn/src/Paging-v920-IEs.c | 247 -- lte/rrc/lib/asn/src/Paging.c | 366 --- lte/rrc/lib/asn/src/PagingRecord.c | 209 -- lte/rrc/lib/asn/src/PagingRecordList.c | 58 - lte/rrc/lib/asn/src/PagingUE-Identity.c | 71 - .../lib/asn/src/PhyLayerParameters-v1020.c | 944 -------- lte/rrc/lib/asn/src/PhyLayerParameters-v920.c | 346 --- lte/rrc/lib/asn/src/PhyLayerParameters.c | 70 - lte/rrc/lib/asn/src/PhysCellId.c | 146 -- lte/rrc/lib/asn/src/PhysCellIdCDMA2000.c | 146 -- lte/rrc/lib/asn/src/PhysCellIdGERAN.c | 142 -- .../lib/asn/src/PhysCellIdListCDMA2000-v920.c | 58 - lte/rrc/lib/asn/src/PhysCellIdListCDMA2000.c | 58 - lte/rrc/lib/asn/src/PhysCellIdRange.c | 239 -- .../lib/asn/src/PhysCellIdRangeUTRA-FDD-r9.c | 102 - .../asn/src/PhysCellIdRangeUTRA-FDDList-r9.c | 58 - lte/rrc/lib/asn/src/PhysCellIdUTRA-FDD.c | 146 -- lte/rrc/lib/asn/src/PhysCellIdUTRA-TDD.c | 146 -- lte/rrc/lib/asn/src/PhysicalConfigDedicated.c | 418 ---- .../src/PhysicalConfigDedicatedSCell-r10.c | 272 --- lte/rrc/lib/asn/src/PollByte.c | 174 -- lte/rrc/lib/asn/src/PollPDU.c | 158 -- lte/rrc/lib/asn/src/PreRegistrationInfoHRPD.c | 82 - .../lib/asn/src/PreRegistrationZoneIdHRPD.c | 146 -- lte/rrc/lib/asn/src/PresenceAntennaPort1.c | 124 - .../lib/asn/src/ProximityIndication-r9-IEs.c | 284 --- lte/rrc/lib/asn/src/ProximityIndication-r9.c | 244 -- .../asn/src/ProximityIndication-v930-IEs.c | 110 - lte/rrc/lib/asn/src/Q-OffsetRange.c | 204 -- lte/rrc/lib/asn/src/Q-OffsetRangeInterRAT.c | 146 -- lte/rrc/lib/asn/src/Q-QualMin-r9.c | 146 -- lte/rrc/lib/asn/src/Q-RxLevMin.c | 146 -- lte/rrc/lib/asn/src/QuantityConfig.c | 102 - lte/rrc/lib/asn/src/QuantityConfigCDMA2000.c | 199 -- lte/rrc/lib/asn/src/QuantityConfigEUTRA.c | 108 - lte/rrc/lib/asn/src/QuantityConfigGERAN.c | 227 -- .../lib/asn/src/QuantityConfigUTRA-v1020.c | 80 - lte/rrc/lib/asn/src/QuantityConfigUTRA.c | 376 ---- lte/rrc/lib/asn/src/RACH-ConfigCommon.c | 1789 --------------- lte/rrc/lib/asn/src/RACH-ConfigDedicated.c | 130 -- lte/rrc/lib/asn/src/RAND-CDMA2000.c | 152 -- lte/rrc/lib/asn/src/RAT-Type.c | 160 -- lte/rrc/lib/asn/src/RF-Parameters-v1020.c | 60 - lte/rrc/lib/asn/src/RF-Parameters.c | 60 - lte/rrc/lib/asn/src/RLC-Config.c | 323 --- lte/rrc/lib/asn/src/RLF-Report-r9.c | 577 ----- .../lib/asn/src/RLF-TimersAndConstants-r9.c | 915 -------- lte/rrc/lib/asn/src/RN-SubframeConfig-r10.c | 1638 -------------- lte/rrc/lib/asn/src/RN-SystemInfo-r10.c | 97 - .../lib/asn/src/RNReconfiguration-r10-IEs.c | 130 -- lte/rrc/lib/asn/src/RNReconfiguration-r10.c | 254 --- .../src/RNReconfigurationComplete-r10-IEs.c | 110 - .../asn/src/RNReconfigurationComplete-r10.c | 254 --- .../lib/asn/src/RRC-TransactionIdentifier.c | 146 -- .../src/RRCConnectionReconfiguration-r8-IEs.c | 194 -- .../RRCConnectionReconfiguration-v1020-IEs.c | 120 - .../RRCConnectionReconfiguration-v890-IEs.c | 72 - .../RRCConnectionReconfiguration-v920-IEs.c | 219 -- .../asn/src/RRCConnectionReconfiguration.c | 294 --- ...ConnectionReconfigurationComplete-r8-IEs.c | 62 - ...nectionReconfigurationComplete-v1020-IEs.c | 394 ---- ...nnectionReconfigurationComplete-v8a0-IEs.c | 72 - .../RRCConnectionReconfigurationComplete.c | 171 -- .../src/RRCConnectionReestablishment-r8-IEs.c | 82 - .../RRCConnectionReestablishment-v8a0-IEs.c | 110 - .../asn/src/RRCConnectionReestablishment.c | 294 --- ...ConnectionReestablishmentComplete-r8-IEs.c | 62 - ...nectionReestablishmentComplete-v1020-IEs.c | 247 -- ...nnectionReestablishmentComplete-v8a0-IEs.c | 72 - ...nnectionReestablishmentComplete-v920-IEs.c | 209 -- .../RRCConnectionReestablishmentComplete.c | 171 -- ...RCConnectionReestablishmentReject-r8-IEs.c | 62 - ...ConnectionReestablishmentReject-v8a0-IEs.c | 110 - .../src/RRCConnectionReestablishmentReject.c | 161 -- ...CConnectionReestablishmentRequest-r8-IEs.c | 116 - .../src/RRCConnectionReestablishmentRequest.c | 161 -- .../lib/asn/src/RRCConnectionReject-r8-IEs.c | 102 - .../asn/src/RRCConnectionReject-v1020-IEs.c | 140 -- .../asn/src/RRCConnectionReject-v8a0-IEs.c | 72 - lte/rrc/lib/asn/src/RRCConnectionReject.c | 244 -- .../lib/asn/src/RRCConnectionRelease-r8-IEs.c | 92 - .../asn/src/RRCConnectionRelease-v1020-IEs.c | 140 -- .../asn/src/RRCConnectionRelease-v890-IEs.c | 72 - .../asn/src/RRCConnectionRelease-v920-IEs.c | 155 -- lte/rrc/lib/asn/src/RRCConnectionRelease.c | 254 --- .../lib/asn/src/RRCConnectionRequest-r8-IEs.c | 116 - lte/rrc/lib/asn/src/RRCConnectionRequest.c | 161 -- .../lib/asn/src/RRCConnectionSetup-r8-IEs.c | 72 - .../lib/asn/src/RRCConnectionSetup-v8a0-IEs.c | 110 - lte/rrc/lib/asn/src/RRCConnectionSetup.c | 294 --- .../src/RRCConnectionSetupComplete-r8-IEs.c | 122 - .../RRCConnectionSetupComplete-v1020-IEs.c | 692 ------ .../src/RRCConnectionSetupComplete-v8a0-IEs.c | 72 - .../lib/asn/src/RRCConnectionSetupComplete.c | 254 --- lte/rrc/lib/asn/src/RRM-Config.c | 325 --- lte/rrc/lib/asn/src/RSRP-Range.c | 146 -- lte/rrc/lib/asn/src/RSRQ-Range.c | 146 -- lte/rrc/lib/asn/src/RSTD-InterFreqInfo-r10.c | 100 - .../lib/asn/src/RSTD-InterFreqInfoList-r10.c | 58 - .../lib/asn/src/RadioResourceConfigCommon.c | 182 -- .../src/RadioResourceConfigCommonSCell-r10.c | 661 ------ .../asn/src/RadioResourceConfigCommonSIB.c | 162 -- .../asn/src/RadioResourceConfigDedicated.c | 205 -- .../RadioResourceConfigDedicatedSCell-r10.c | 62 - lte/rrc/lib/asn/src/RedirectedCarrierInfo.c | 121 - lte/rrc/lib/asn/src/ReestabUE-Identity.c | 80 - lte/rrc/lib/asn/src/ReestablishmentCause.c | 150 -- lte/rrc/lib/asn/src/ReestablishmentInfo.c | 81 - lte/rrc/lib/asn/src/RegisteredMME.c | 118 - lte/rrc/lib/asn/src/ReleaseCause.c | 150 -- lte/rrc/lib/asn/src/ReportConfigEUTRA.c | 1998 ----------------- lte/rrc/lib/asn/src/ReportConfigId.c | 146 -- lte/rrc/lib/asn/src/ReportConfigInterRAT.c | 1222 ---------- lte/rrc/lib/asn/src/ReportConfigToAddMod.c | 133 -- .../lib/asn/src/ReportConfigToAddModList.c | 58 - .../lib/asn/src/ReportConfigToRemoveList.c | 58 - lte/rrc/lib/asn/src/ReportInterval.c | 174 -- .../lib/asn/src/ReportProximityConfig-r9.c | 346 --- lte/rrc/lib/asn/src/ReselectionThreshold.c | 146 -- .../lib/asn/src/ReselectionThresholdQ-r9.c | 146 -- lte/rrc/lib/asn/src/S-TMSI.c | 106 - lte/rrc/lib/asn/src/SCellIndex-r10.c | 146 -- lte/rrc/lib/asn/src/SCellToAddMod-r10.c | 155 -- lte/rrc/lib/asn/src/SCellToAddModList-r10.c | 58 - lte/rrc/lib/asn/src/SCellToReleaseList-r10.c | 58 - lte/rrc/lib/asn/src/SI-OrPSI-GERAN.c | 71 - lte/rrc/lib/asn/src/SIB-MappingInfo.c | 58 - lte/rrc/lib/asn/src/SIB-Type.c | 176 -- lte/rrc/lib/asn/src/SN-FieldLength.c | 146 -- lte/rrc/lib/asn/src/SON-Parameters-r9.c | 199 -- lte/rrc/lib/asn/src/SPS-Config.c | 82 - lte/rrc/lib/asn/src/SPS-ConfigDL.c | 469 ---- lte/rrc/lib/asn/src/SPS-ConfigUL.c | 726 ------ lte/rrc/lib/asn/src/SPS-RA-ConfigList-rlola.c | 72 - lte/rrc/lib/asn/src/SRB-ToAddMod.c | 238 -- lte/rrc/lib/asn/src/SRB-ToAddModList.c | 58 - lte/rrc/lib/asn/src/SRS-ConfigAp-r10.c | 597 ----- lte/rrc/lib/asn/src/SchedulingInfo.c | 219 -- lte/rrc/lib/asn/src/SchedulingInfoList.c | 58 - .../asn/src/SchedulingRequestConfig-v1020.c | 92 - lte/rrc/lib/asn/src/SchedulingRequestConfig.c | 355 --- .../SecondaryPreRegistrationZoneIdListHRPD.c | 58 - lte/rrc/lib/asn/src/SecurityAlgorithmConfig.c | 376 ---- lte/rrc/lib/asn/src/SecurityConfigHO.c | 292 --- lte/rrc/lib/asn/src/SecurityConfigSMC.c | 60 - .../lib/asn/src/SecurityModeCommand-r8-IEs.c | 72 - .../asn/src/SecurityModeCommand-v8a0-IEs.c | 110 - lte/rrc/lib/asn/src/SecurityModeCommand.c | 254 --- .../lib/asn/src/SecurityModeComplete-r8-IEs.c | 62 - .../asn/src/SecurityModeComplete-v8a0-IEs.c | 110 - lte/rrc/lib/asn/src/SecurityModeComplete.c | 171 -- .../lib/asn/src/SecurityModeFailure-r8-IEs.c | 62 - .../asn/src/SecurityModeFailure-v8a0-IEs.c | 110 - lte/rrc/lib/asn/src/SecurityModeFailure.c | 171 -- lte/rrc/lib/asn/src/ServCellIndex-r10.c | 146 -- lte/rrc/lib/asn/src/ShortMAC-I.c | 152 -- .../lib/asn/src/SoundingRS-UL-ConfigCommon.c | 611 ----- .../src/SoundingRS-UL-ConfigDedicated-v1020.c | 203 -- .../asn/src/SoundingRS-UL-ConfigDedicated.c | 711 ------ ...undingRS-UL-ConfigDedicatedAperiodic-r10.c | 384 ---- lte/rrc/lib/asn/src/SpeedStateScaleFactors.c | 356 --- .../asn/src/SupportedBandCombination-r10.c | 58 - lte/rrc/lib/asn/src/SupportedBandEUTRA.c | 100 - lte/rrc/lib/asn/src/SupportedBandGERAN.c | 176 -- lte/rrc/lib/asn/src/SupportedBandList1XRTT.c | 58 - lte/rrc/lib/asn/src/SupportedBandListEUTRA.c | 58 - lte/rrc/lib/asn/src/SupportedBandListGERAN.c | 58 - lte/rrc/lib/asn/src/SupportedBandListHRPD.c | 58 - .../lib/asn/src/SupportedBandListUTRA-FDD.c | 58 - .../asn/src/SupportedBandListUTRA-TDD128.c | 58 - .../asn/src/SupportedBandListUTRA-TDD384.c | 58 - .../asn/src/SupportedBandListUTRA-TDD768.c | 58 - lte/rrc/lib/asn/src/SupportedBandUTRA-FDD.c | 208 -- .../lib/asn/src/SupportedBandUTRA-TDD128.c | 176 -- .../lib/asn/src/SupportedBandUTRA-TDD384.c | 176 -- .../lib/asn/src/SupportedBandUTRA-TDD768.c | 176 -- lte/rrc/lib/asn/src/SystemInfoListGERAN.c | 89 - .../lib/asn/src/SystemInformation-r8-IEs.c | 317 --- .../lib/asn/src/SystemInformation-v8a0-IEs.c | 110 - lte/rrc/lib/asn/src/SystemInformation.c | 161 -- .../SystemInformationBlockType1-v890-IEs.c | 72 - .../SystemInformationBlockType1-v920-IEs.c | 257 --- .../lib/asn/src/SystemInformationBlockType1.c | 839 ------- .../asn/src/SystemInformationBlockType10.c | 236 -- .../asn/src/SystemInformationBlockType11.c | 394 ---- .../asn/src/SystemInformationBlockType12-r9.c | 394 ---- .../asn/src/SystemInformationBlockType13-r9.c | 82 - .../lib/asn/src/SystemInformationBlockType2.c | 449 ---- .../lib/asn/src/SystemInformationBlockType3.c | 1102 --------- .../lib/asn/src/SystemInformationBlockType4.c | 92 - .../lib/asn/src/SystemInformationBlockType5.c | 72 - .../lib/asn/src/SystemInformationBlockType6.c | 102 - .../lib/asn/src/SystemInformationBlockType7.c | 92 - .../lib/asn/src/SystemInformationBlockType8.c | 505 ----- .../lib/asn/src/SystemInformationBlockType9.c | 103 - lte/rrc/lib/asn/src/SystemTimeInfoCDMA2000.c | 205 -- lte/rrc/lib/asn/src/T-PollRetransmit.c | 270 --- lte/rrc/lib/asn/src/T-Reordering.c | 206 -- lte/rrc/lib/asn/src/T-Reselection.c | 146 -- lte/rrc/lib/asn/src/T-StatusProhibit.c | 270 --- lte/rrc/lib/asn/src/TDD-Config.c | 372 --- lte/rrc/lib/asn/src/TMGI-r9.c | 194 -- lte/rrc/lib/asn/src/TPC-Index.c | 131 -- lte/rrc/lib/asn/src/TPC-PDCCH-Config.c | 170 -- lte/rrc/lib/asn/src/ThresholdCDMA2000.c | 146 -- lte/rrc/lib/asn/src/ThresholdEUTRA.c | 71 - lte/rrc/lib/asn/src/ThresholdGERAN.c | 146 -- lte/rrc/lib/asn/src/ThresholdUTRA.c | 131 -- lte/rrc/lib/asn/src/TimeAlignmentTimer.c | 158 -- lte/rrc/lib/asn/src/TimeToTrigger.c | 174 -- lte/rrc/lib/asn/src/TraceReference-r10.c | 101 - lte/rrc/lib/asn/src/TrackingAreaCode.c | 152 -- .../lib/asn/src/TrackingAreaCodeList-r10.c | 58 - .../src/UE-BasedNetwPerfMeasParameters-r10.c | 346 --- .../lib/asn/src/UE-CapabilityRAT-Container.c | 70 - .../asn/src/UE-CapabilityRAT-ContainerList.c | 58 - lte/rrc/lib/asn/src/UE-CapabilityRequest.c | 58 - .../asn/src/UE-EUTRA-Capability-v1020-IEs.c | 246 -- .../asn/src/UE-EUTRA-Capability-v920-IEs.c | 279 --- .../asn/src/UE-EUTRA-Capability-v940-IEs.c | 72 - lte/rrc/lib/asn/src/UE-EUTRA-Capability.c | 323 --- lte/rrc/lib/asn/src/UE-TimersAndConstants.c | 1012 --------- .../lib/asn/src/UECapabilityEnquiry-r8-IEs.c | 72 - .../asn/src/UECapabilityEnquiry-v8a0-IEs.c | 110 - lte/rrc/lib/asn/src/UECapabilityEnquiry.c | 254 --- .../asn/src/UECapabilityInformation-r8-IEs.c | 72 - .../src/UECapabilityInformation-v8a0-IEs.c | 110 - lte/rrc/lib/asn/src/UECapabilityInformation.c | 294 --- .../lib/asn/src/UEInformationRequest-r9-IEs.c | 82 - lte/rrc/lib/asn/src/UEInformationRequest-r9.c | 254 --- .../asn/src/UEInformationRequest-v1020-IEs.c | 247 -- .../asn/src/UEInformationRequest-v930-IEs.c | 72 - .../asn/src/UEInformationResponse-r9-IEs.c | 175 -- .../lib/asn/src/UEInformationResponse-r9.c | 254 --- .../asn/src/UEInformationResponse-v1020-IEs.c | 110 - .../asn/src/UEInformationResponse-v930-IEs.c | 72 - ...ERadioAccessCapabilityInformation-r8-IEs.c | 134 -- .../src/UERadioAccessCapabilityInformation.c | 283 --- lte/rrc/lib/asn/src/UL-AM-RLC.c | 241 -- lte/rrc/lib/asn/src/UL-CCCH-Message.c | 60 - lte/rrc/lib/asn/src/UL-CCCH-MessageType.c | 172 -- lte/rrc/lib/asn/src/UL-CyclicPrefixLength.c | 146 -- lte/rrc/lib/asn/src/UL-DCCH-Message.c | 60 - lte/rrc/lib/asn/src/UL-DCCH-MessageType.c | 312 --- .../lib/asn/src/UL-ReferenceSignalsPUSCH.c | 150 -- lte/rrc/lib/asn/src/UL-UM-RLC.c | 60 - .../ULHandoverPreparationTransfer-r8-IEs.c | 128 -- .../ULHandoverPreparationTransfer-v8a0-IEs.c | 110 - .../asn/src/ULHandoverPreparationTransfer.c | 244 -- .../asn/src/ULInformationTransfer-r8-IEs.c | 145 -- .../asn/src/ULInformationTransfer-v8a0-IEs.c | 110 - lte/rrc/lib/asn/src/ULInformationTransfer.c | 244 -- .../asn/src/UplinkPowerControlCommon-v1020.c | 364 --- .../lib/asn/src/UplinkPowerControlCommon.c | 341 --- .../src/UplinkPowerControlCommonSCell-r10.c | 251 --- .../src/UplinkPowerControlDedicated-v1020.c | 102 - .../lib/asn/src/UplinkPowerControlDedicated.c | 359 --- .../UplinkPowerControlDedicatedSCell-r10.c | 508 ----- lte/rrc/lib/asn/src/VarMeasConfig.c | 237 -- lte/rrc/lib/asn/src/VarMeasReport.c | 81 - lte/rrc/lib/asn/src/VarMeasReportList.c | 57 - lte/rrc/lib/asn/src/VarShortMAC-Input.c | 79 - lte/rrc/lib/asn/src/asn_SEQUENCE_OF.c | 41 - lte/rrc/lib/asn/src/asn_SET_OF.c | 89 - lte/rrc/lib/asn/src/asn_codecs_prim.c | 294 --- lte/rrc/lib/asn/src/ber_decoder.c | 283 --- lte/rrc/lib/asn/src/ber_tlv_length.c | 178 -- lte/rrc/lib/asn/src/ber_tlv_tag.c | 142 -- lte/rrc/lib/asn/src/constr_CHOICE.c | 1110 --------- lte/rrc/lib/asn/src/constr_SEQUENCE.c | 1423 ------------ lte/rrc/lib/asn/src/constr_SEQUENCE_OF.c | 208 -- lte/rrc/lib/asn/src/constr_SET_OF.c | 953 -------- lte/rrc/lib/asn/src/constr_TYPE.c | 77 - lte/rrc/lib/asn/src/constraints.c | 93 - lte/rrc/lib/asn/src/converter-sample.c | 834 ------- lte/rrc/lib/asn/src/der_encoder.c | 216 -- lte/rrc/lib/asn/src/per_decoder.c | 93 - lte/rrc/lib/asn/src/per_encoder.c | 151 -- lte/rrc/lib/asn/src/per_opentype.c | 373 --- lte/rrc/lib/asn/src/per_support.c | 425 ---- lte/rrc/lib/asn/src/xer_decoder.c | 363 --- lte/rrc/lib/asn/src/xer_encoder.c | 67 - lte/rrc/lib/asn/src/xer_support.c | 233 -- lte/rrc/lib/messages/src/bcch.c | 234 -- lte/rrc/lib/messages/src/sib1.c | 222 -- lte/rrc/lib/messages/src/sib4.c | 56 - lte/rrc/lib/messages/test/CMakeLists.txt | 34 - lte/rrc/lib/messages/test/bcch_bch_test.c | 51 - lte/rrc/lib/messages/test/bcch_dlsch_test.c | 58 - mex/include/{liblte => srslte}/mex/mexutils.h | 2 +- mex/lib/mexutils.c | 6 +- {lte/phy => srslte}/CMakeLists.txt | 0 {lte => srslte}/examples/CMakeLists.txt | 0 {lte => srslte}/examples/cell_measurement.c | 6 +- {lte => srslte}/examples/cell_search.c | 4 +- {lte => srslte}/examples/cuhd_utils.c | 6 +- {lte => srslte}/examples/cuhd_utils.h | 2 +- {lte => srslte}/examples/hl_example.c | 2 +- {lte => srslte}/examples/ll_example.c | 2 +- {lte => srslte}/examples/pdsch_enodeb.c | 6 +- {lte => srslte}/examples/pdsch_ue.c | 8 +- {lte => srslte}/examples/prach_ue.c | 6 +- {lte => srslte}/examples/synch_file.c | 2 +- .../include/srslte}/phy/agc/agc.h | 2 +- .../srslte}/phy/ch_estimation/chest_dl.h | 10 +- .../srslte}/phy/ch_estimation/refsignal_dl.h | 4 +- .../srslte}/phy/ch_estimation/refsignal_ul.h | 6 +- .../include/srslte}/phy/channel/ch_awgn.h | 2 +- .../include/srslte}/phy/common/fft.h | 6 +- .../include/srslte}/phy/common/phy_common.h | 2 +- .../include/srslte}/phy/common/sequence.h | 4 +- .../include/srslte}/phy/common/timestamp.h | 2 +- .../include/srslte}/phy/fec/convcoder.h | 2 +- .../include/srslte}/phy/fec/crc.h | 2 +- .../include/srslte}/phy/fec/rm_conv.h | 2 +- .../include/srslte}/phy/fec/rm_turbo.h | 4 +- .../include/srslte}/phy/fec/tc_interl.h | 2 +- .../include/srslte}/phy/fec/turbocoder.h | 4 +- .../include/srslte}/phy/fec/turbodecoder.h | 4 +- .../include/srslte}/phy/fec/viterbi.h | 2 +- .../srslte}/phy/filter/dft_precoding.h | 6 +- .../include/srslte}/phy/filter/filter2d.h | 2 +- .../include/srslte}/phy/io/binsource.h | 2 +- .../include/srslte}/phy/io/filesink.h | 4 +- .../include/srslte}/phy/io/filesource.h | 4 +- .../include/srslte}/phy/io/format.h | 0 .../include/srslte}/phy/io/netsink.h | 2 +- .../include/srslte}/phy/io/netsource.h | 2 +- .../include/srslte}/phy/mimo/layermap.h | 2 +- .../include/srslte}/phy/mimo/precoding.h | 2 +- .../include/srslte}/phy/modem/demod_hard.h | 2 +- .../include/srslte}/phy/modem/demod_soft.h | 2 +- .../include/srslte}/phy/modem/mod.h | 2 +- .../include/srslte}/phy/modem/modem_table.h | 4 +- .../include/srslte}/phy/phch/cqi.h | 4 +- .../include/srslte}/phy/phch/dci.h | 6 +- .../include/srslte}/phy/phch/harq.h | 6 +- .../include/srslte}/phy/phch/pbch.h | 22 +- .../include/srslte}/phy/phch/pcfich.h | 16 +- .../include/srslte}/phy/phch/pdcch.h | 26 +- .../include/srslte}/phy/phch/pdsch.h | 22 +- .../include/srslte}/phy/phch/phich.h | 14 +- .../include/srslte}/phy/phch/prach.h | 4 +- .../include/srslte}/phy/phch/pucch.h | 22 +- .../include/srslte}/phy/phch/pusch.h | 22 +- .../include/srslte}/phy/phch/ra.h | 2 +- .../include/srslte}/phy/phch/regs.h | 4 +- .../include/srslte}/phy/phch/sch.h | 16 +- .../include/srslte}/phy/phch/uci.h | 8 +- srslte/include/srslte/phy/phy.h | 126 ++ .../include/srslte}/phy/resampling/decim.h | 2 +- .../include/srslte}/phy/resampling/interp.h | 2 +- .../srslte}/phy/resampling/resample_arb.h | 2 +- .../srslte}/phy/scrambling/scrambling.h | 6 +- .../include/srslte}/phy/sync/cfo.h | 4 +- .../include/srslte}/phy/sync/pss.h | 6 +- .../include/srslte}/phy/sync/sfo.h | 2 +- .../include/srslte}/phy/sync/sss.h | 6 +- .../include/srslte}/phy/sync/sync.h | 8 +- .../include/srslte}/phy/ue/ue_cell_search.h | 14 +- .../include/srslte}/phy/ue/ue_dl.h | 26 +- .../include/srslte}/phy/ue/ue_mac_itf.h | 0 .../include/srslte}/phy/ue/ue_mib.h | 12 +- .../include/srslte}/phy/ue/ue_phy.h | 2 +- .../include/srslte}/phy/ue/ue_sync.h | 16 +- .../include/srslte}/phy/ue/ue_ul.h | 20 +- .../include/srslte}/phy/utils/bit.h | 2 +- .../include/srslte}/phy/utils/cexptab.h | 2 +- .../include/srslte}/phy/utils/convolution.h | 4 +- .../include/srslte}/phy/utils/debug.h | 2 +- .../include/srslte}/phy/utils/dft.h | 2 +- .../include/srslte}/phy/utils/matrix.h | 2 +- .../include/srslte}/phy/utils/mux.h | 2 +- .../include/srslte}/phy/utils/pack.h | 2 +- .../include/srslte}/phy/utils/queue.h | 0 .../include/srslte}/phy/utils/vector.h | 2 +- {lte/phy => srslte}/lib/CMakeLists.txt | 0 {lte/phy => srslte}/lib/agc/src/agc.c | 8 +- .../lib/ch_estimation/src/chest_dl.c | 8 +- .../lib/ch_estimation/src/refsignal_dl.c | 10 +- .../lib/ch_estimation/src/refsignal_ul.c | 10 +- .../lib/ch_estimation/src/ul_rs_tables.h | 0 .../lib/ch_estimation/test/CMakeLists.txt | 0 .../lib/ch_estimation/test/chest_test_dl.c | 2 +- .../ch_estimation/test/chest_test_dl_mex.c | 4 +- .../test/chest_test_dl_mex.mexa64 | Bin .../ch_estimation/test/refsignal_pusch_mex.c | 6 +- .../ch_estimation/test/refsignal_ul_test.c | 2 +- {lte/phy => srslte}/lib/channel/src/ch_awgn.c | 2 +- {lte/phy => srslte}/lib/channel/src/gauss.c | 0 {lte/phy => srslte}/lib/channel/src/gauss.h | 0 {lte/phy => srslte}/lib/common/src/fft.c | 10 +- .../lib/common/src/phy_common.c | 2 +- {lte/phy => srslte}/lib/common/src/sequence.c | 2 +- .../phy => srslte}/lib/common/src/timestamp.c | 2 +- .../lib/common/test/CMakeLists.txt | 0 .../phy => srslte}/lib/common/test/fft_test.c | 2 +- {lte/phy => srslte}/lib/fec/src/convcoder.c | 2 +- {lte/phy => srslte}/lib/fec/src/crc.c | 4 +- {lte/phy => srslte}/lib/fec/src/parity.c | 0 {lte/phy => srslte}/lib/fec/src/parity.h | 0 {lte/phy => srslte}/lib/fec/src/rm_conv.c | 2 +- {lte/phy => srslte}/lib/fec/src/rm_turbo.c | 2 +- .../lib/fec/src/tc_interl_lte.c | 8 +- .../lib/fec/src/tc_interl_umts.c | 4 +- {lte/phy => srslte}/lib/fec/src/turbocoder.c | 2 +- .../phy => srslte}/lib/fec/src/turbodecoder.c | 4 +- {lte/phy => srslte}/lib/fec/src/viterbi.c | 4 +- {lte/phy => srslte}/lib/fec/src/viterbi37.h | 0 .../lib/fec/src/viterbi37_port.c | 0 {lte/phy => srslte}/lib/fec/src/viterbi39.h | 0 .../lib/fec/src/viterbi39_port.c | 0 .../lib/fec/test/CMakeLists.txt | 0 {lte/phy => srslte}/lib/fec/test/crc_test.c | 2 +- {lte/phy => srslte}/lib/fec/test/crc_test.h | 2 +- .../lib/fec/test/rm_conv_test.c | 2 +- .../lib/fec/test/rm_turbo_rx_mex.c | 6 +- .../lib/fec/test/rm_turbo_test.c | 2 +- .../lib/fec/test/turbodecoder_test.c | 2 +- .../lib/fec/test/turbodecoder_test.h | 0 .../lib/fec/test/turbodecoder_test_mex.c | 6 +- .../lib/fec/test/viterbi_test.c | 2 +- .../lib/fec/test/viterbi_test.h | 0 .../lib/fec/test/viterbi_test_mex.c | 6 +- .../lib/filter/src/dft_precoding.c | 10 +- {lte/phy => srslte}/lib/filter/src/filter2d.c | 12 +- {lte/phy => srslte}/lib/io/src/binsource.c | 4 +- {lte/phy => srslte}/lib/io/src/filesink.c | 2 +- {lte/phy => srslte}/lib/io/src/filesource.c | 2 +- {lte/phy => srslte}/lib/io/src/netsink.c | 2 +- {lte/phy => srslte}/lib/io/src/netsource.c | 2 +- {lte/phy => srslte}/lib/mimo/src/layermap.c | 4 +- {lte/phy => srslte}/lib/mimo/src/precoding.c | 6 +- .../lib/mimo/test/CMakeLists.txt | 0 .../lib/mimo/test/layermap_test.c | 2 +- .../lib/mimo/test/precoding_test.c | 2 +- .../phy => srslte}/lib/modem/src/demod_hard.c | 2 +- .../phy => srslte}/lib/modem/src/demod_soft.c | 6 +- .../lib/modem/src/hard_demod_lte.c | 2 +- .../lib/modem/src/hard_demod_lte.h | 0 .../phy => srslte}/lib/modem/src/lte_tables.c | 2 +- .../phy => srslte}/lib/modem/src/lte_tables.h | 0 {lte/phy => srslte}/lib/modem/src/mod.c | 4 +- .../lib/modem/src/modem_table.c | 4 +- {lte/phy => srslte}/lib/modem/src/soft_algs.c | 2 +- {lte/phy => srslte}/lib/modem/src/soft_algs.h | 0 .../lib/modem/test/CMakeLists.txt | 0 .../lib/modem/test/modem_test.c | 2 +- .../lib/modem/test/soft_demod_test.c | 2 +- {lte/phy => srslte}/lib/phch/src/cqi.c | 10 +- {lte/phy => srslte}/lib/phch/src/dci.c | 10 +- {lte/phy => srslte}/lib/phch/src/harq.c | 12 +- {lte/phy => srslte}/lib/phch/src/pbch.c | 10 +- {lte/phy => srslte}/lib/phch/src/pcfich.c | 12 +- {lte/phy => srslte}/lib/phch/src/pdcch.c | 14 +- {lte/phy => srslte}/lib/phch/src/pdsch.c | 10 +- {lte/phy => srslte}/lib/phch/src/phich.c | 12 +- {lte/phy => srslte}/lib/phch/src/prach.c | 6 +- {lte/phy => srslte}/lib/phch/src/prb_dl.c | 2 +- {lte/phy => srslte}/lib/phch/src/prb_dl.h | 0 {lte/phy => srslte}/lib/phch/src/pucch.c | 14 +- {lte/phy => srslte}/lib/phch/src/pusch.c | 14 +- {lte/phy => srslte}/lib/phch/src/ra.c | 12 +- {lte/phy => srslte}/lib/phch/src/regs.c | 6 +- {lte/phy => srslte}/lib/phch/src/sch.c | 14 +- {lte/phy => srslte}/lib/phch/src/sequences.c | 4 +- {lte/phy => srslte}/lib/phch/src/tbs_tables.h | 0 {lte/phy => srslte}/lib/phch/src/uci.c | 16 +- .../lib/phch/test/CMakeLists.txt | 0 .../lib/phch/test/dci_unpacking.c | 2 +- .../lib/phch/test/dlsch_encode_test_mex.c | 6 +- .../lib/phch/test/pbch_file_test.c | 2 +- {lte/phy => srslte}/lib/phch/test/pbch_test.c | 2 +- .../lib/phch/test/pbch_test_mex.c | 6 +- .../lib/phch/test/pcfich_file_test.c | 2 +- .../lib/phch/test/pcfich_test.c | 2 +- .../lib/phch/test/pcfich_test_mex.c | 6 +- .../lib/phch/test/pdcch_file_test.c | 2 +- .../phy => srslte}/lib/phch/test/pdcch_test.c | 2 +- .../lib/phch/test/pdcch_test_mex.c | 6 +- .../lib/phch/test/pdsch_file_test.c | 2 +- .../phy => srslte}/lib/phch/test/pdsch_test.c | 2 +- .../lib/phch/test/pdsch_test_mex.c | 6 +- .../lib/phch/test/phich_file_test.c | 2 +- .../phy => srslte}/lib/phch/test/phich_test.c | 2 +- .../phy => srslte}/lib/phch/test/prach_test.c | 2 +- .../lib/phch/test/prach_test_mex.c | 6 +- .../lib/phch/test/prach_test_multi.c | 2 +- .../lib/phch/test/pusch_encode_test_mex.c | 6 +- .../phy => srslte}/lib/phch/test/pusch_test.c | 2 +- .../lib/phch/test/signal.1.92M.amar.dat | Bin .../lib/phch/test/signal.1.92M.dat | Bin .../lib/phch/test/signal.10M.dat | Bin .../lib/phch/test/ulsch_encode_test_mex.c | 6 +- .../phy => srslte}/lib/resampling/src/decim.c | 4 +- .../lib/resampling/src/interp.c | 6 +- .../lib/resampling/src/resample_arb.c | 4 +- .../lib/resampling/test/CMakeLists.txt | 0 .../lib/resampling/test/resample_arb_bench.c | 4 +- .../lib/resampling/test/resample_arb_test.c | 4 +- .../lib/scrambling/src/scrambling.c | 2 +- .../lib/scrambling/test/CMakeLists.txt | 0 .../lib/scrambling/test/scrambling_test.c | 2 +- {lte/phy => srslte}/lib/sync/src/cfo.c | 8 +- {lte/phy => srslte}/lib/sync/src/cp.c | 0 {lte/phy => srslte}/lib/sync/src/find_sss.c | 4 +- {lte/phy => srslte}/lib/sync/src/gen_sss.c | 2 +- {lte/phy => srslte}/lib/sync/src/pss.c | 10 +- {lte/phy => srslte}/lib/sync/src/sfo.c | 2 +- {lte/phy => srslte}/lib/sync/src/sss.c | 8 +- {lte/phy => srslte}/lib/sync/src/sync.c | 10 +- .../lib/sync/test/CMakeLists.txt | 0 {lte/phy => srslte}/lib/sync/test/cfo_test.c | 2 +- {lte/phy => srslte}/lib/sync/test/pss_mex.c | 6 +- {lte/phy => srslte}/lib/sync/test/pss_usrp.c | 6 +- {lte/phy => srslte}/lib/sync/test/sss_mex.c | 6 +- {lte/phy => srslte}/lib/sync/test/sync_test.c | 2 +- .../lib/ue/src/ue_cell_search.c | 6 +- {lte/phy => srslte}/lib/ue/src/ue_dl.c | 2 +- {lte/phy => srslte}/lib/ue/src/ue_mib.c | 6 +- {lte/phy => srslte}/lib/ue/src/ue_phy.cc | 0 {lte/phy => srslte}/lib/ue/src/ue_sync.c | 8 +- {lte/phy => srslte}/lib/ue/src/ue_ul.c | 2 +- {lte/phy => srslte}/lib/utils/src/bit.c | 2 +- {lte/phy => srslte}/lib/utils/src/cexptab.c | 2 +- .../lib/utils/src/convolution.c | 6 +- {lte/phy => srslte}/lib/utils/src/debug.c | 2 +- {lte/phy => srslte}/lib/utils/src/dft.c | 4 +- {lte/phy => srslte}/lib/utils/src/matrix.c | 2 +- {lte/phy => srslte}/lib/utils/src/mux.c | 0 {lte/phy => srslte}/lib/utils/src/pack.c | 2 +- {lte/phy => srslte}/lib/utils/src/vector.c | 4 +- .../lib/utils/test/CMakeLists.txt | 0 {lte/phy => srslte}/lib/utils/test/dft_test.c | 2 +- 1526 files changed, 690 insertions(+), 163385 deletions(-) rename common/include/{liblte => srslte}/config.h (100%) rename cuhd/include/{liblte => srslte}/cuhd/cuhd.h (98%) rename cuhd/include/{liblte => srslte}/cuhd/cuhd_utils.h (97%) rename graphics/include/{liblte => srslte}/graphics/plot.h (83%) rename graphics/include/{liblte => srslte}/graphics/plot/plot_complex.h (98%) rename graphics/include/{liblte => srslte}/graphics/plot/plot_real.h (98%) rename graphics/include/{liblte => srslte}/graphics/plot/plot_scatter.h (98%) rename graphics/include/{liblte => srslte}/graphics/plot/plot_waterfall.h (98%) delete mode 100644 lte/CMakeLists.txt delete mode 100644 lte/mac/CMakeLists.txt delete mode 100644 lte/pdcp/CMakeLists.txt delete mode 100644 lte/phy/include/liblte/phy/phy.h delete mode 100644 lte/rlc/CMakeLists.txt delete mode 100644 lte/rrc/CMakeLists.txt delete mode 100644 lte/rrc/include/liblte/rrc/asn/AC-BarringConfig.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/AC-BarringConfig1XRTT-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ARFCN-ValueCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ARFCN-ValueEUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ARFCN-ValueGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ARFCN-ValueUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/AS-Config.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/AS-Context.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/AbsoluteTimeInfo-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/AccessStratumRelease.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/AdditionalReestabInfo.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/AdditionalReestabInfoList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/AdditionalSI-Info-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/AdditionalSpectrumEmission.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/AllowedMeasBandwidth.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/AntennaInfoCommon.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/AntennaInfoDedicated-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/AntennaInfoDedicated-v920.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/AntennaInfoDedicated.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/AntennaInfoUL-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/AreaConfiguration-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BCCH-BCH-Message.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BCCH-BCH-MessageType.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BCCH-Config.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BCCH-DL-SCH-Message.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BCCH-DL-SCH-MessageType.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BIT_STRING.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BOOLEAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BandClassInfoCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BandClassListCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BandClassPriority1XRTT.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BandClassPriorityHRPD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BandClassPriorityList1XRTT.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BandClassPriorityListHRPD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BandCombinationListEUTRA-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BandCombinationParameters-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BandIndicatorGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BandInfoEUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BandListEUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BandParameters-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BandParametersDL-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BandParametersUL-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BandclassCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BetaOffset-CA-Index.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BlackCellsToAddMod.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/BlackCellsToAddModList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/C-RNTI.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CA-BandwidthClass-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CA-MIMO-ParametersDL-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CA-MIMO-ParametersUL-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CA-RNTI.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CA-semiPersistSchedIntervalUL.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CDMA2000-Type.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CQI-ReportAperiodic-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CQI-ReportConfig-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CQI-ReportConfig-v920.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CQI-ReportConfig.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CQI-ReportConfigSCell-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CQI-ReportModeAperiodic.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CQI-ReportPeriodic-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CQI-ReportPeriodic.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CSFB-RegistrationParam1XRTT-v920.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CSFB-RegistrationParam1XRTT.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CSFBParametersRequestCDMA2000-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CSFBParametersRequestCDMA2000-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CSFBParametersRequestCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CSFBParametersResponseCDMA2000-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CSFBParametersResponseCDMA2000-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CSFBParametersResponseCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CSG-AllowedReportingCells-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CSG-Identity.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CSG-ProximityIndicationParameters-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CSI-RS-Config-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CShift.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CarrierBandwidthEUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CarrierFreqCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CarrierFreqEUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CarrierFreqGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CarrierFreqListUTRA-FDD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CarrierFreqListUTRA-TDD-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CarrierFreqListUTRA-TDD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CarrierFreqUTRA-FDD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CarrierFreqUTRA-TDD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CarrierFreqsGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CarrierFreqsInfoGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CarrierFreqsInfoListGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellChangeOrder.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellGlobalIdCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellGlobalIdEUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellGlobalIdGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellGlobalIdList-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellGlobalIdUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellIdentity.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellIndex.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellIndexList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellInfoGERAN-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellInfoListGERAN-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellInfoListUTRA-FDD-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellInfoListUTRA-TDD-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellInfoListUTRA-TDD-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellInfoUTRA-FDD-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellInfoUTRA-TDD-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellInfoUTRA-TDD-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellReselectionParametersCDMA2000-v920.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellReselectionParametersCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellReselectionPriority.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellSelectionInfo-v920.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellsToAddMod.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellsToAddModCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellsToAddModList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellsToAddModListCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellsToAddModListUTRA-FDD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellsToAddModListUTRA-TDD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellsToAddModUTRA-FDD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellsToAddModUTRA-TDD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CellsTriggeredList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CommonSF-AllocPatternList-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CounterCheck-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CounterCheck-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CounterCheck.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CounterCheckResponse-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CounterCheckResponse-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CounterCheckResponse.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CountingRequestInfo-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CountingRequestList-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CountingResponseInfo-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CountingResponseList-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/CrossCarrierSchedulingConfig-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DL-AM-RLC.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DL-CCCH-Message.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DL-CCCH-MessageType.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DL-DCCH-Message.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DL-DCCH-MessageType.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DL-UM-RLC.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DLInformationTransfer-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DLInformationTransfer-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DLInformationTransfer.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DRB-CountInfo.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DRB-CountInfoList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DRB-CountMSB-Info.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DRB-CountMSB-InfoList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DRB-Identity.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DRB-ToAddMod.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DRB-ToAddModList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DRB-ToReleaseList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DRX-Config.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DedicatedInfoCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DedicatedInfoNAS.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DeltaFList-PUCCH.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/DeltaTxD-OffsetListPUCCH-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/E-CSFB-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/EstablishmentCause.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ExplicitListOfARFCNs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/FilterCoefficient.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/FreqPriorityEUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/FreqPriorityListEUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/FreqPriorityListUTRA-FDD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/FreqPriorityListUTRA-TDD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/FreqPriorityUTRA-FDD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/FreqPriorityUTRA-TDD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/FreqsPriorityGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/FreqsPriorityListGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/Handover.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/HandoverCommand-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/HandoverCommand.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-v1020-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-v890-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-v920-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/HandoverPreparationInformation-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/HandoverPreparationInformation-v920-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/HandoverPreparationInformation.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/Hysteresis.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/IMSI-Digit.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/IMSI.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/INTEGER.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/IRAT-ParametersCDMA2000-1XRTT-v1020.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/IRAT-ParametersCDMA2000-1XRTT-v920.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/IRAT-ParametersCDMA2000-1XRTT.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/IRAT-ParametersCDMA2000-HRPD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/IRAT-ParametersGERAN-v920.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/IRAT-ParametersGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-FDD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-TDD-v1020.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-TDD128.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-TDD384.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-TDD768.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-v920.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/IdleModeMobilityControlInfo.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/InitialUE-Identity.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/InterFreqBandInfo.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/InterFreqBandList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/InterFreqBlackCellList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/InterFreqCarrierFreqInfo.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/InterFreqCarrierFreqList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/InterFreqNeighCellInfo.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/InterFreqNeighCellList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/InterFreqRSTDMeasurementIndication-r10-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/InterFreqRSTDMeasurementIndication-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/InterRAT-BandInfo.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/InterRAT-BandList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/IntraFreqBlackCellList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/IntraFreqNeighCellInfo.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/IntraFreqNeighCellList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/Key-eNodeB-Star.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/LocationInfo-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/LogMeasInfo-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/LogMeasInfoList-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/LogMeasReport-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/LoggedMeasurementConfiguration-r10-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/LoggedMeasurementConfiguration-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/LoggingDuration-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/LoggingInterval-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/LogicalChannelConfig.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MAC-MainConfig.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MBMS-NotificationConfig-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MBMS-SessionInfo-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MBMS-SessionInfoList-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MBMSCountingRequest-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MBMSCountingResponse-r10-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MBMSCountingResponse-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MBSFN-AreaInfo-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MBSFN-AreaInfoList-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MBSFN-SubframeConfig.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MBSFN-SubframeConfigList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MBSFNAreaConfiguration-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MBSFNAreaConfiguration-v930-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MCC-MNC-Digit.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MCC.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MCCH-Message.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MCCH-MessageType.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MIMO-CapabilityDL-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MIMO-CapabilityUL-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MMEC.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MNC.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MasterInformationBlock.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasConfig.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasCycleSCell-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasGapConfig.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasId.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasIdToAddMod.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasIdToAddModList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasIdToRemoveList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasObjectCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasObjectEUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasObjectGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasObjectId.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasObjectToAddMod.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasObjectToAddModList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasObjectToRemoveList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasObjectUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasParameters-v1020.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasParameters.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResult2CDMA2000-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResult2EUTRA-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResult2UTRA-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResultCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResultEUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResultForECID-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResultGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResultList2CDMA2000-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResultList2EUTRA-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResultList2GERAN-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResultList2UTRA-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResultListCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResultListEUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResultListGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResultListUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResultServFreq-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResultServFreqList-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResultUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResults.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasResultsCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasSubframeCellList-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasSubframePattern-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasSubframePatternConfigNeigh-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasSubframePatternPCell-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasurementReport-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasurementReport-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MeasurementReport.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MobilityControlInfo.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-r9-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-v8d0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-v930-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-v960-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MobilityParametersCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/MobilityStateParameters.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/N1-PUCCH-AN-PersistentList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/N1PUCCH-AN-CS-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/N1PUCCH-AN-PersistentList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/NULL.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/NativeEnumerated.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/NativeInteger.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/NeighCellCDMA2000-v920.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/NeighCellCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/NeighCellConfig.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/NeighCellListCDMA2000-v920.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/NeighCellListCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/NeighCellSI-AcquisitionParameters-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/NeighCellsPerBandclassCDMA2000-v920.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/NeighCellsPerBandclassCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/NeighCellsPerBandclassListCDMA2000-v920.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/NeighCellsPerBandclassListCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/NextHopChainingCount.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/NonContiguousUL-RA-WithinCC-List-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/NonContiguousUL-RA-WithinCC-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/OCTET_STRING.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/OtherConfig-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/P-Max.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PCCH-Config.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PCCH-Message.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PCCH-MessageType.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PDCP-Config.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PDCP-Parameters.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PDSCH-ConfigCommon.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PDSCH-ConfigDedicated.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PHICH-Config.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PLMN-Identity.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PLMN-IdentityInfo.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PLMN-IdentityList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PLMN-IdentityList2.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PMCH-Config-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PMCH-Info-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PMCH-InfoList-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PRACH-Config.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PRACH-ConfigInfo.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PRACH-ConfigSCell-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PRACH-ConfigSIB.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PUCCH-ConfigCommon.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PUCCH-ConfigDedicated-v1020.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PUCCH-ConfigDedicated.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PUSCH-CAConfigDedicated-vlola.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PUSCH-ConfigCommon.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PUSCH-ConfigDedicated-v1020.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PUSCH-ConfigDedicated.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PUSCH-ConfigDedicatedSCell-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/Paging-v890-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/Paging-v920-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/Paging.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PagingRecord.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PagingRecordList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PagingUE-Identity.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PhyLayerParameters-v1020.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PhyLayerParameters-v920.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PhyLayerParameters.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PhysCellId.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PhysCellIdCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PhysCellIdGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PhysCellIdListCDMA2000-v920.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PhysCellIdListCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PhysCellIdRange.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PhysCellIdRangeUTRA-FDD-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PhysCellIdRangeUTRA-FDDList-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PhysCellIdUTRA-FDD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PhysCellIdUTRA-TDD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PhysicalConfigDedicated.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PhysicalConfigDedicatedSCell-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PollByte.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PollPDU.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PreRegistrationInfoHRPD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PreRegistrationZoneIdHRPD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/PresenceAntennaPort1.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ProximityIndication-r9-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ProximityIndication-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ProximityIndication-v930-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/Q-OffsetRange.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/Q-OffsetRangeInterRAT.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/Q-QualMin-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/Q-RxLevMin.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/QuantityConfig.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/QuantityConfigCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/QuantityConfigEUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/QuantityConfigGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/QuantityConfigUTRA-v1020.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/QuantityConfigUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RACH-ConfigCommon.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RACH-ConfigDedicated.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RAND-CDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RAT-Type.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RF-Parameters-v1020.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RF-Parameters.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RLC-Config.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RLF-Report-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RLF-TimersAndConstants-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RN-SubframeConfig-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RN-SystemInfo-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RNReconfiguration-r10-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RNReconfiguration-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RNReconfigurationComplete-r10-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RNReconfigurationComplete-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRC-TransactionIdentifier.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration-v1020-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration-v890-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration-v920-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfigurationComplete-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfigurationComplete-v1020-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfigurationComplete-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfigurationComplete.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishment-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishment-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishment.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete-v1020-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete-v920-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentReject-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentReject-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentReject.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentRequest-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentRequest.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReject-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReject-v1020-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReject-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionReject.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease-v1020-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease-v890-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease-v920-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionRequest-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionRequest.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionSetup-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionSetup-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionSetup.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionSetupComplete-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionSetupComplete-v1020-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionSetupComplete-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRCConnectionSetupComplete.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RRM-Config.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RSRP-Range.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RSRQ-Range.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RSTD-InterFreqInfo-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RSTD-InterFreqInfoList-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RadioResourceConfigCommon.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RadioResourceConfigCommonSCell-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RadioResourceConfigCommonSIB.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RadioResourceConfigDedicated.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RadioResourceConfigDedicatedSCell-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RedirectedCarrierInfo.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ReestabUE-Identity.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ReestablishmentCause.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ReestablishmentInfo.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/RegisteredMME.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ReleaseCause.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ReportConfigEUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ReportConfigId.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ReportConfigInterRAT.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ReportConfigToAddMod.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ReportConfigToAddModList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ReportConfigToRemoveList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ReportInterval.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ReportProximityConfig-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ReselectionThreshold.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ReselectionThresholdQ-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/S-TMSI.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SCellIndex-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SCellToAddMod-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SCellToAddModList-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SCellToReleaseList-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SI-OrPSI-GERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SIB-MappingInfo.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SIB-Type.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SN-FieldLength.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SON-Parameters-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SPS-Config.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SPS-ConfigDL.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SPS-ConfigUL.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SPS-RA-ConfigList-rlola.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SRB-ToAddMod.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SRB-ToAddModList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SRS-ConfigAp-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SchedulingInfo.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SchedulingInfoList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SchedulingRequestConfig-v1020.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SchedulingRequestConfig.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SecondaryPreRegistrationZoneIdListHRPD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SecurityAlgorithmConfig.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SecurityConfigHO.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SecurityConfigSMC.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SecurityModeCommand-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SecurityModeCommand-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SecurityModeCommand.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SecurityModeComplete-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SecurityModeComplete-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SecurityModeComplete.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SecurityModeFailure-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SecurityModeFailure-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SecurityModeFailure.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ServCellIndex-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ShortMAC-I.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SoundingRS-UL-ConfigCommon.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SoundingRS-UL-ConfigDedicated-v1020.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SoundingRS-UL-ConfigDedicated.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SoundingRS-UL-ConfigDedicatedAperiodic-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SpeedStateScaleFactors.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SupportedBandCombination-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SupportedBandEUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SupportedBandGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SupportedBandList1XRTT.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SupportedBandListEUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SupportedBandListGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SupportedBandListHRPD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SupportedBandListUTRA-FDD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SupportedBandListUTRA-TDD128.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SupportedBandListUTRA-TDD384.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SupportedBandListUTRA-TDD768.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SupportedBandUTRA-FDD.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SupportedBandUTRA-TDD128.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SupportedBandUTRA-TDD384.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SupportedBandUTRA-TDD768.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInfoListGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInformation-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInformation-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInformation.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType1-v890-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType1-v920-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType1.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType11.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType12-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType13-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType2.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType3.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType4.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType5.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType6.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType7.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType8.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/SystemTimeInfoCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/T-PollRetransmit.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/T-Reordering.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/T-Reselection.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/T-StatusProhibit.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/TDD-Config.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/TMGI-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/TPC-Index.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/TPC-PDCCH-Config.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ThresholdCDMA2000.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ThresholdEUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ThresholdGERAN.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ThresholdUTRA.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/TimeAlignmentTimer.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/TimeToTrigger.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/TraceReference-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/TrackingAreaCode.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/TrackingAreaCodeList-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UE-BasedNetwPerfMeasParameters-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UE-CapabilityRAT-Container.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UE-CapabilityRAT-ContainerList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UE-CapabilityRequest.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UE-EUTRA-Capability-v1020-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UE-EUTRA-Capability-v920-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UE-EUTRA-Capability-v940-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UE-EUTRA-Capability.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UE-TimersAndConstants.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UECapabilityEnquiry-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UECapabilityEnquiry-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UECapabilityEnquiry.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UECapabilityInformation-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UECapabilityInformation-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UECapabilityInformation.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UEInformationRequest-r9-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UEInformationRequest-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UEInformationRequest-v1020-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UEInformationRequest-v930-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UEInformationResponse-r9-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UEInformationResponse-r9.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UEInformationResponse-v1020-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UEInformationResponse-v930-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UERadioAccessCapabilityInformation-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UERadioAccessCapabilityInformation.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UL-AM-RLC.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UL-CCCH-Message.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UL-CCCH-MessageType.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UL-CyclicPrefixLength.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UL-DCCH-Message.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UL-DCCH-MessageType.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UL-ReferenceSignalsPUSCH.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UL-UM-RLC.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ULHandoverPreparationTransfer-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ULHandoverPreparationTransfer-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ULHandoverPreparationTransfer.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ULInformationTransfer-r8-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ULInformationTransfer-v8a0-IEs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ULInformationTransfer.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UplinkPowerControlCommon-v1020.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UplinkPowerControlCommon.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UplinkPowerControlCommonSCell-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UplinkPowerControlDedicated-v1020.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UplinkPowerControlDedicated.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/UplinkPowerControlDedicatedSCell-r10.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/VarMeasConfig.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/VarMeasReport.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/VarMeasReportList.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/VarShortMAC-Input.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/asn_SEQUENCE_OF.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/asn_SET_OF.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/asn_application.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/asn_codecs.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/asn_codecs_prim.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/asn_internal.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/asn_system.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ber_decoder.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ber_tlv_length.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/ber_tlv_tag.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/constr_CHOICE.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/constr_SEQUENCE.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/constr_SEQUENCE_OF.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/constr_SET_OF.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/constr_TYPE.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/constraints.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/der_encoder.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/per_decoder.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/per_encoder.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/per_opentype.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/per_support.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/rrc_asn.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/xer_decoder.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/xer_encoder.h delete mode 100644 lte/rrc/include/liblte/rrc/asn/xer_support.h delete mode 100644 lte/rrc/include/liblte/rrc/common/rrc_common.h delete mode 100644 lte/rrc/include/liblte/rrc/messages/bcch.h delete mode 100644 lte/rrc/include/liblte/rrc/messages/sib1.h delete mode 100644 lte/rrc/include/liblte/rrc/messages/sib4.h delete mode 100644 lte/rrc/include/liblte/rrc/rrc.h delete mode 100644 lte/rrc/lib/CMakeLists.txt delete mode 100644 lte/rrc/lib/asn/src/AC-BarringConfig.c delete mode 100644 lte/rrc/lib/asn/src/AC-BarringConfig1XRTT-r9.c delete mode 100644 lte/rrc/lib/asn/src/ARFCN-ValueCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/ARFCN-ValueEUTRA.c delete mode 100644 lte/rrc/lib/asn/src/ARFCN-ValueGERAN.c delete mode 100644 lte/rrc/lib/asn/src/ARFCN-ValueUTRA.c delete mode 100644 lte/rrc/lib/asn/src/AS-Config.c delete mode 100644 lte/rrc/lib/asn/src/AS-Context.c delete mode 100644 lte/rrc/lib/asn/src/AbsoluteTimeInfo-r10.c delete mode 100644 lte/rrc/lib/asn/src/AccessStratumRelease.c delete mode 100644 lte/rrc/lib/asn/src/AdditionalReestabInfo.c delete mode 100644 lte/rrc/lib/asn/src/AdditionalReestabInfoList.c delete mode 100644 lte/rrc/lib/asn/src/AdditionalSI-Info-r9.c delete mode 100644 lte/rrc/lib/asn/src/AdditionalSpectrumEmission.c delete mode 100644 lte/rrc/lib/asn/src/AllowedMeasBandwidth.c delete mode 100644 lte/rrc/lib/asn/src/AntennaInfoCommon.c delete mode 100644 lte/rrc/lib/asn/src/AntennaInfoDedicated-r10.c delete mode 100644 lte/rrc/lib/asn/src/AntennaInfoDedicated-v920.c delete mode 100644 lte/rrc/lib/asn/src/AntennaInfoDedicated.c delete mode 100644 lte/rrc/lib/asn/src/AntennaInfoUL-r10.c delete mode 100644 lte/rrc/lib/asn/src/AreaConfiguration-r10.c delete mode 100644 lte/rrc/lib/asn/src/BCCH-BCH-Message.c delete mode 100644 lte/rrc/lib/asn/src/BCCH-BCH-MessageType.c delete mode 100644 lte/rrc/lib/asn/src/BCCH-Config.c delete mode 100644 lte/rrc/lib/asn/src/BCCH-DL-SCH-Message.c delete mode 100644 lte/rrc/lib/asn/src/BCCH-DL-SCH-MessageType.c delete mode 100644 lte/rrc/lib/asn/src/BIT_STRING.c delete mode 100644 lte/rrc/lib/asn/src/BOOLEAN.c delete mode 100644 lte/rrc/lib/asn/src/BandClassInfoCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/BandClassListCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/BandClassPriority1XRTT.c delete mode 100644 lte/rrc/lib/asn/src/BandClassPriorityHRPD.c delete mode 100644 lte/rrc/lib/asn/src/BandClassPriorityList1XRTT.c delete mode 100644 lte/rrc/lib/asn/src/BandClassPriorityListHRPD.c delete mode 100644 lte/rrc/lib/asn/src/BandCombinationListEUTRA-r10.c delete mode 100644 lte/rrc/lib/asn/src/BandCombinationParameters-r10.c delete mode 100644 lte/rrc/lib/asn/src/BandIndicatorGERAN.c delete mode 100644 lte/rrc/lib/asn/src/BandInfoEUTRA.c delete mode 100644 lte/rrc/lib/asn/src/BandListEUTRA.c delete mode 100644 lte/rrc/lib/asn/src/BandParameters-r10.c delete mode 100644 lte/rrc/lib/asn/src/BandParametersDL-r10.c delete mode 100644 lte/rrc/lib/asn/src/BandParametersUL-r10.c delete mode 100644 lte/rrc/lib/asn/src/BandclassCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/BetaOffset-CA-Index.c delete mode 100644 lte/rrc/lib/asn/src/BlackCellsToAddMod.c delete mode 100644 lte/rrc/lib/asn/src/BlackCellsToAddModList.c delete mode 100644 lte/rrc/lib/asn/src/C-RNTI.c delete mode 100644 lte/rrc/lib/asn/src/CA-BandwidthClass-r10.c delete mode 100644 lte/rrc/lib/asn/src/CA-MIMO-ParametersDL-r10.c delete mode 100644 lte/rrc/lib/asn/src/CA-MIMO-ParametersUL-r10.c delete mode 100644 lte/rrc/lib/asn/src/CA-RNTI.c delete mode 100644 lte/rrc/lib/asn/src/CA-semiPersistSchedIntervalUL.c delete mode 100644 lte/rrc/lib/asn/src/CDMA2000-Type.c delete mode 100644 lte/rrc/lib/asn/src/CQI-ReportAperiodic-r10.c delete mode 100644 lte/rrc/lib/asn/src/CQI-ReportConfig-r10.c delete mode 100644 lte/rrc/lib/asn/src/CQI-ReportConfig-v920.c delete mode 100644 lte/rrc/lib/asn/src/CQI-ReportConfig.c delete mode 100644 lte/rrc/lib/asn/src/CQI-ReportConfigSCell-r10.c delete mode 100644 lte/rrc/lib/asn/src/CQI-ReportModeAperiodic.c delete mode 100644 lte/rrc/lib/asn/src/CQI-ReportPeriodic-r10.c delete mode 100644 lte/rrc/lib/asn/src/CQI-ReportPeriodic.c delete mode 100644 lte/rrc/lib/asn/src/CSFB-RegistrationParam1XRTT-v920.c delete mode 100644 lte/rrc/lib/asn/src/CSFB-RegistrationParam1XRTT.c delete mode 100644 lte/rrc/lib/asn/src/CSFBParametersRequestCDMA2000-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/CSFBParametersRequestCDMA2000-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/CSFBParametersRequestCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/CSFBParametersResponseCDMA2000-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/CSFBParametersResponseCDMA2000-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/CSFBParametersResponseCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/CSG-AllowedReportingCells-r9.c delete mode 100644 lte/rrc/lib/asn/src/CSG-Identity.c delete mode 100644 lte/rrc/lib/asn/src/CSG-ProximityIndicationParameters-r9.c delete mode 100644 lte/rrc/lib/asn/src/CSI-RS-Config-r10.c delete mode 100644 lte/rrc/lib/asn/src/CShift.c delete mode 100644 lte/rrc/lib/asn/src/CarrierBandwidthEUTRA.c delete mode 100644 lte/rrc/lib/asn/src/CarrierFreqCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/CarrierFreqEUTRA.c delete mode 100644 lte/rrc/lib/asn/src/CarrierFreqGERAN.c delete mode 100644 lte/rrc/lib/asn/src/CarrierFreqListUTRA-FDD.c delete mode 100644 lte/rrc/lib/asn/src/CarrierFreqListUTRA-TDD-r10.c delete mode 100644 lte/rrc/lib/asn/src/CarrierFreqListUTRA-TDD.c delete mode 100644 lte/rrc/lib/asn/src/CarrierFreqUTRA-FDD.c delete mode 100644 lte/rrc/lib/asn/src/CarrierFreqUTRA-TDD.c delete mode 100644 lte/rrc/lib/asn/src/CarrierFreqsGERAN.c delete mode 100644 lte/rrc/lib/asn/src/CarrierFreqsInfoGERAN.c delete mode 100644 lte/rrc/lib/asn/src/CarrierFreqsInfoListGERAN.c delete mode 100644 lte/rrc/lib/asn/src/CellChangeOrder.c delete mode 100644 lte/rrc/lib/asn/src/CellGlobalIdCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/CellGlobalIdEUTRA.c delete mode 100644 lte/rrc/lib/asn/src/CellGlobalIdGERAN.c delete mode 100644 lte/rrc/lib/asn/src/CellGlobalIdList-r10.c delete mode 100644 lte/rrc/lib/asn/src/CellGlobalIdUTRA.c delete mode 100644 lte/rrc/lib/asn/src/CellIdentity.c delete mode 100644 lte/rrc/lib/asn/src/CellIndex.c delete mode 100644 lte/rrc/lib/asn/src/CellIndexList.c delete mode 100644 lte/rrc/lib/asn/src/CellInfoGERAN-r9.c delete mode 100644 lte/rrc/lib/asn/src/CellInfoListGERAN-r9.c delete mode 100644 lte/rrc/lib/asn/src/CellInfoListUTRA-FDD-r9.c delete mode 100644 lte/rrc/lib/asn/src/CellInfoListUTRA-TDD-r10.c delete mode 100644 lte/rrc/lib/asn/src/CellInfoListUTRA-TDD-r9.c delete mode 100644 lte/rrc/lib/asn/src/CellInfoUTRA-FDD-r9.c delete mode 100644 lte/rrc/lib/asn/src/CellInfoUTRA-TDD-r10.c delete mode 100644 lte/rrc/lib/asn/src/CellInfoUTRA-TDD-r9.c delete mode 100644 lte/rrc/lib/asn/src/CellReselectionParametersCDMA2000-v920.c delete mode 100644 lte/rrc/lib/asn/src/CellReselectionParametersCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/CellReselectionPriority.c delete mode 100644 lte/rrc/lib/asn/src/CellSelectionInfo-v920.c delete mode 100644 lte/rrc/lib/asn/src/CellsToAddMod.c delete mode 100644 lte/rrc/lib/asn/src/CellsToAddModCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/CellsToAddModList.c delete mode 100644 lte/rrc/lib/asn/src/CellsToAddModListCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/CellsToAddModListUTRA-FDD.c delete mode 100644 lte/rrc/lib/asn/src/CellsToAddModListUTRA-TDD.c delete mode 100644 lte/rrc/lib/asn/src/CellsToAddModUTRA-FDD.c delete mode 100644 lte/rrc/lib/asn/src/CellsToAddModUTRA-TDD.c delete mode 100644 lte/rrc/lib/asn/src/CellsTriggeredList.c delete mode 100644 lte/rrc/lib/asn/src/CommonSF-AllocPatternList-r9.c delete mode 100644 lte/rrc/lib/asn/src/CounterCheck-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/CounterCheck-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/CounterCheck.c delete mode 100644 lte/rrc/lib/asn/src/CounterCheckResponse-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/CounterCheckResponse-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/CounterCheckResponse.c delete mode 100644 lte/rrc/lib/asn/src/CountingRequestInfo-r10.c delete mode 100644 lte/rrc/lib/asn/src/CountingRequestList-r10.c delete mode 100644 lte/rrc/lib/asn/src/CountingResponseInfo-r10.c delete mode 100644 lte/rrc/lib/asn/src/CountingResponseList-r10.c delete mode 100644 lte/rrc/lib/asn/src/CrossCarrierSchedulingConfig-r10.c delete mode 100644 lte/rrc/lib/asn/src/DL-AM-RLC.c delete mode 100644 lte/rrc/lib/asn/src/DL-CCCH-Message.c delete mode 100644 lte/rrc/lib/asn/src/DL-CCCH-MessageType.c delete mode 100644 lte/rrc/lib/asn/src/DL-DCCH-Message.c delete mode 100644 lte/rrc/lib/asn/src/DL-DCCH-MessageType.c delete mode 100644 lte/rrc/lib/asn/src/DL-UM-RLC.c delete mode 100644 lte/rrc/lib/asn/src/DLInformationTransfer-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/DLInformationTransfer-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/DLInformationTransfer.c delete mode 100644 lte/rrc/lib/asn/src/DRB-CountInfo.c delete mode 100644 lte/rrc/lib/asn/src/DRB-CountInfoList.c delete mode 100644 lte/rrc/lib/asn/src/DRB-CountMSB-Info.c delete mode 100644 lte/rrc/lib/asn/src/DRB-CountMSB-InfoList.c delete mode 100644 lte/rrc/lib/asn/src/DRB-Identity.c delete mode 100644 lte/rrc/lib/asn/src/DRB-ToAddMod.c delete mode 100644 lte/rrc/lib/asn/src/DRB-ToAddModList.c delete mode 100644 lte/rrc/lib/asn/src/DRB-ToReleaseList.c delete mode 100644 lte/rrc/lib/asn/src/DRX-Config.c delete mode 100644 lte/rrc/lib/asn/src/DedicatedInfoCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/DedicatedInfoNAS.c delete mode 100644 lte/rrc/lib/asn/src/DeltaFList-PUCCH.c delete mode 100644 lte/rrc/lib/asn/src/DeltaTxD-OffsetListPUCCH-r10.c delete mode 100644 lte/rrc/lib/asn/src/E-CSFB-r9.c delete mode 100644 lte/rrc/lib/asn/src/EstablishmentCause.c delete mode 100644 lte/rrc/lib/asn/src/ExplicitListOfARFCNs.c delete mode 100644 lte/rrc/lib/asn/src/FilterCoefficient.c delete mode 100644 lte/rrc/lib/asn/src/FreqPriorityEUTRA.c delete mode 100644 lte/rrc/lib/asn/src/FreqPriorityListEUTRA.c delete mode 100644 lte/rrc/lib/asn/src/FreqPriorityListUTRA-FDD.c delete mode 100644 lte/rrc/lib/asn/src/FreqPriorityListUTRA-TDD.c delete mode 100644 lte/rrc/lib/asn/src/FreqPriorityUTRA-FDD.c delete mode 100644 lte/rrc/lib/asn/src/FreqPriorityUTRA-TDD.c delete mode 100644 lte/rrc/lib/asn/src/FreqsPriorityGERAN.c delete mode 100644 lte/rrc/lib/asn/src/FreqsPriorityListGERAN.c delete mode 100644 lte/rrc/lib/asn/src/Handover.c delete mode 100644 lte/rrc/lib/asn/src/HandoverCommand-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/HandoverCommand.c delete mode 100644 lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest-v1020-IEs.c delete mode 100644 lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest-v890-IEs.c delete mode 100644 lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest-v920-IEs.c delete mode 100644 lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest.c delete mode 100644 lte/rrc/lib/asn/src/HandoverPreparationInformation-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/HandoverPreparationInformation-v920-IEs.c delete mode 100644 lte/rrc/lib/asn/src/HandoverPreparationInformation.c delete mode 100644 lte/rrc/lib/asn/src/Hysteresis.c delete mode 100644 lte/rrc/lib/asn/src/IMSI-Digit.c delete mode 100644 lte/rrc/lib/asn/src/IMSI.c delete mode 100644 lte/rrc/lib/asn/src/INTEGER.c delete mode 100644 lte/rrc/lib/asn/src/IRAT-ParametersCDMA2000-1XRTT-v1020.c delete mode 100644 lte/rrc/lib/asn/src/IRAT-ParametersCDMA2000-1XRTT-v920.c delete mode 100644 lte/rrc/lib/asn/src/IRAT-ParametersCDMA2000-1XRTT.c delete mode 100644 lte/rrc/lib/asn/src/IRAT-ParametersCDMA2000-HRPD.c delete mode 100644 lte/rrc/lib/asn/src/IRAT-ParametersGERAN-v920.c delete mode 100644 lte/rrc/lib/asn/src/IRAT-ParametersGERAN.c delete mode 100644 lte/rrc/lib/asn/src/IRAT-ParametersUTRA-FDD.c delete mode 100644 lte/rrc/lib/asn/src/IRAT-ParametersUTRA-TDD-v1020.c delete mode 100644 lte/rrc/lib/asn/src/IRAT-ParametersUTRA-TDD128.c delete mode 100644 lte/rrc/lib/asn/src/IRAT-ParametersUTRA-TDD384.c delete mode 100644 lte/rrc/lib/asn/src/IRAT-ParametersUTRA-TDD768.c delete mode 100644 lte/rrc/lib/asn/src/IRAT-ParametersUTRA-v920.c delete mode 100644 lte/rrc/lib/asn/src/IdleModeMobilityControlInfo.c delete mode 100644 lte/rrc/lib/asn/src/InitialUE-Identity.c delete mode 100644 lte/rrc/lib/asn/src/InterFreqBandInfo.c delete mode 100644 lte/rrc/lib/asn/src/InterFreqBandList.c delete mode 100644 lte/rrc/lib/asn/src/InterFreqBlackCellList.c delete mode 100644 lte/rrc/lib/asn/src/InterFreqCarrierFreqInfo.c delete mode 100644 lte/rrc/lib/asn/src/InterFreqCarrierFreqList.c delete mode 100644 lte/rrc/lib/asn/src/InterFreqNeighCellInfo.c delete mode 100644 lte/rrc/lib/asn/src/InterFreqNeighCellList.c delete mode 100644 lte/rrc/lib/asn/src/InterFreqRSTDMeasurementIndication-r10-IEs.c delete mode 100644 lte/rrc/lib/asn/src/InterFreqRSTDMeasurementIndication-r10.c delete mode 100644 lte/rrc/lib/asn/src/InterRAT-BandInfo.c delete mode 100644 lte/rrc/lib/asn/src/InterRAT-BandList.c delete mode 100644 lte/rrc/lib/asn/src/IntraFreqBlackCellList.c delete mode 100644 lte/rrc/lib/asn/src/IntraFreqNeighCellInfo.c delete mode 100644 lte/rrc/lib/asn/src/IntraFreqNeighCellList.c delete mode 100644 lte/rrc/lib/asn/src/Key-eNodeB-Star.c delete mode 100644 lte/rrc/lib/asn/src/LocationInfo-r10.c delete mode 100644 lte/rrc/lib/asn/src/LogMeasInfo-r10.c delete mode 100644 lte/rrc/lib/asn/src/LogMeasInfoList-r10.c delete mode 100644 lte/rrc/lib/asn/src/LogMeasReport-r10.c delete mode 100644 lte/rrc/lib/asn/src/LoggedMeasurementConfiguration-r10-IEs.c delete mode 100644 lte/rrc/lib/asn/src/LoggedMeasurementConfiguration-r10.c delete mode 100644 lte/rrc/lib/asn/src/LoggingDuration-r10.c delete mode 100644 lte/rrc/lib/asn/src/LoggingInterval-r10.c delete mode 100644 lte/rrc/lib/asn/src/LogicalChannelConfig.c delete mode 100644 lte/rrc/lib/asn/src/MAC-MainConfig.c delete mode 100644 lte/rrc/lib/asn/src/MBMS-NotificationConfig-r9.c delete mode 100644 lte/rrc/lib/asn/src/MBMS-SessionInfo-r9.c delete mode 100644 lte/rrc/lib/asn/src/MBMS-SessionInfoList-r9.c delete mode 100644 lte/rrc/lib/asn/src/MBMSCountingRequest-r10.c delete mode 100644 lte/rrc/lib/asn/src/MBMSCountingResponse-r10-IEs.c delete mode 100644 lte/rrc/lib/asn/src/MBMSCountingResponse-r10.c delete mode 100644 lte/rrc/lib/asn/src/MBSFN-AreaInfo-r9.c delete mode 100644 lte/rrc/lib/asn/src/MBSFN-AreaInfoList-r9.c delete mode 100644 lte/rrc/lib/asn/src/MBSFN-SubframeConfig.c delete mode 100644 lte/rrc/lib/asn/src/MBSFN-SubframeConfigList.c delete mode 100644 lte/rrc/lib/asn/src/MBSFNAreaConfiguration-r9.c delete mode 100644 lte/rrc/lib/asn/src/MBSFNAreaConfiguration-v930-IEs.c delete mode 100644 lte/rrc/lib/asn/src/MCC-MNC-Digit.c delete mode 100644 lte/rrc/lib/asn/src/MCC.c delete mode 100644 lte/rrc/lib/asn/src/MCCH-Message.c delete mode 100644 lte/rrc/lib/asn/src/MCCH-MessageType.c delete mode 100644 lte/rrc/lib/asn/src/MIMO-CapabilityDL-r10.c delete mode 100644 lte/rrc/lib/asn/src/MIMO-CapabilityUL-r10.c delete mode 100644 lte/rrc/lib/asn/src/MMEC.c delete mode 100644 lte/rrc/lib/asn/src/MNC.c delete mode 100644 lte/rrc/lib/asn/src/MasterInformationBlock.c delete mode 100644 lte/rrc/lib/asn/src/MeasConfig.c delete mode 100644 lte/rrc/lib/asn/src/MeasCycleSCell-r10.c delete mode 100644 lte/rrc/lib/asn/src/MeasGapConfig.c delete mode 100644 lte/rrc/lib/asn/src/MeasId.c delete mode 100644 lte/rrc/lib/asn/src/MeasIdToAddMod.c delete mode 100644 lte/rrc/lib/asn/src/MeasIdToAddModList.c delete mode 100644 lte/rrc/lib/asn/src/MeasIdToRemoveList.c delete mode 100644 lte/rrc/lib/asn/src/MeasObjectCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/MeasObjectEUTRA.c delete mode 100644 lte/rrc/lib/asn/src/MeasObjectGERAN.c delete mode 100644 lte/rrc/lib/asn/src/MeasObjectId.c delete mode 100644 lte/rrc/lib/asn/src/MeasObjectToAddMod.c delete mode 100644 lte/rrc/lib/asn/src/MeasObjectToAddModList.c delete mode 100644 lte/rrc/lib/asn/src/MeasObjectToRemoveList.c delete mode 100644 lte/rrc/lib/asn/src/MeasObjectUTRA.c delete mode 100644 lte/rrc/lib/asn/src/MeasParameters-v1020.c delete mode 100644 lte/rrc/lib/asn/src/MeasParameters.c delete mode 100644 lte/rrc/lib/asn/src/MeasResult2CDMA2000-r9.c delete mode 100644 lte/rrc/lib/asn/src/MeasResult2EUTRA-r9.c delete mode 100644 lte/rrc/lib/asn/src/MeasResult2UTRA-r9.c delete mode 100644 lte/rrc/lib/asn/src/MeasResultCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/MeasResultEUTRA.c delete mode 100644 lte/rrc/lib/asn/src/MeasResultForECID-r9.c delete mode 100644 lte/rrc/lib/asn/src/MeasResultGERAN.c delete mode 100644 lte/rrc/lib/asn/src/MeasResultList2CDMA2000-r9.c delete mode 100644 lte/rrc/lib/asn/src/MeasResultList2EUTRA-r9.c delete mode 100644 lte/rrc/lib/asn/src/MeasResultList2GERAN-r10.c delete mode 100644 lte/rrc/lib/asn/src/MeasResultList2UTRA-r9.c delete mode 100644 lte/rrc/lib/asn/src/MeasResultListCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/MeasResultListEUTRA.c delete mode 100644 lte/rrc/lib/asn/src/MeasResultListGERAN.c delete mode 100644 lte/rrc/lib/asn/src/MeasResultListUTRA.c delete mode 100644 lte/rrc/lib/asn/src/MeasResultServFreq-r10.c delete mode 100644 lte/rrc/lib/asn/src/MeasResultServFreqList-r10.c delete mode 100644 lte/rrc/lib/asn/src/MeasResultUTRA.c delete mode 100644 lte/rrc/lib/asn/src/MeasResults.c delete mode 100644 lte/rrc/lib/asn/src/MeasResultsCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/MeasSubframeCellList-r10.c delete mode 100644 lte/rrc/lib/asn/src/MeasSubframePattern-r10.c delete mode 100644 lte/rrc/lib/asn/src/MeasSubframePatternConfigNeigh-r10.c delete mode 100644 lte/rrc/lib/asn/src/MeasSubframePatternPCell-r10.c delete mode 100644 lte/rrc/lib/asn/src/MeasurementReport-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/MeasurementReport-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/MeasurementReport.c delete mode 100644 lte/rrc/lib/asn/src/MobilityControlInfo.c delete mode 100644 lte/rrc/lib/asn/src/MobilityFromEUTRACommand-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/MobilityFromEUTRACommand-r9-IEs.c delete mode 100644 lte/rrc/lib/asn/src/MobilityFromEUTRACommand-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/MobilityFromEUTRACommand-v8d0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/MobilityFromEUTRACommand-v930-IEs.c delete mode 100644 lte/rrc/lib/asn/src/MobilityFromEUTRACommand-v960-IEs.c delete mode 100644 lte/rrc/lib/asn/src/MobilityFromEUTRACommand.c delete mode 100644 lte/rrc/lib/asn/src/MobilityParametersCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/MobilityStateParameters.c delete mode 100644 lte/rrc/lib/asn/src/N1-PUCCH-AN-PersistentList.c delete mode 100644 lte/rrc/lib/asn/src/N1PUCCH-AN-CS-r10.c delete mode 100644 lte/rrc/lib/asn/src/N1PUCCH-AN-PersistentList.c delete mode 100644 lte/rrc/lib/asn/src/NULL.c delete mode 100644 lte/rrc/lib/asn/src/NativeEnumerated.c delete mode 100644 lte/rrc/lib/asn/src/NativeInteger.c delete mode 100644 lte/rrc/lib/asn/src/NeighCellCDMA2000-v920.c delete mode 100644 lte/rrc/lib/asn/src/NeighCellCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/NeighCellConfig.c delete mode 100644 lte/rrc/lib/asn/src/NeighCellListCDMA2000-v920.c delete mode 100644 lte/rrc/lib/asn/src/NeighCellListCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/NeighCellSI-AcquisitionParameters-r9.c delete mode 100644 lte/rrc/lib/asn/src/NeighCellsPerBandclassCDMA2000-v920.c delete mode 100644 lte/rrc/lib/asn/src/NeighCellsPerBandclassCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/NeighCellsPerBandclassListCDMA2000-v920.c delete mode 100644 lte/rrc/lib/asn/src/NeighCellsPerBandclassListCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/NextHopChainingCount.c delete mode 100644 lte/rrc/lib/asn/src/NonContiguousUL-RA-WithinCC-List-r10.c delete mode 100644 lte/rrc/lib/asn/src/NonContiguousUL-RA-WithinCC-r10.c delete mode 100644 lte/rrc/lib/asn/src/OCTET_STRING.c delete mode 100644 lte/rrc/lib/asn/src/OtherConfig-r9.c delete mode 100644 lte/rrc/lib/asn/src/P-Max.c delete mode 100644 lte/rrc/lib/asn/src/PCCH-Config.c delete mode 100644 lte/rrc/lib/asn/src/PCCH-Message.c delete mode 100644 lte/rrc/lib/asn/src/PCCH-MessageType.c delete mode 100644 lte/rrc/lib/asn/src/PDCP-Config.c delete mode 100644 lte/rrc/lib/asn/src/PDCP-Parameters.c delete mode 100644 lte/rrc/lib/asn/src/PDSCH-ConfigCommon.c delete mode 100644 lte/rrc/lib/asn/src/PDSCH-ConfigDedicated.c delete mode 100644 lte/rrc/lib/asn/src/PHICH-Config.c delete mode 100644 lte/rrc/lib/asn/src/PLMN-Identity.c delete mode 100644 lte/rrc/lib/asn/src/PLMN-IdentityInfo.c delete mode 100644 lte/rrc/lib/asn/src/PLMN-IdentityList.c delete mode 100644 lte/rrc/lib/asn/src/PLMN-IdentityList2.c delete mode 100644 lte/rrc/lib/asn/src/PMCH-Config-r9.c delete mode 100644 lte/rrc/lib/asn/src/PMCH-Info-r9.c delete mode 100644 lte/rrc/lib/asn/src/PMCH-InfoList-r9.c delete mode 100644 lte/rrc/lib/asn/src/PRACH-Config.c delete mode 100644 lte/rrc/lib/asn/src/PRACH-ConfigInfo.c delete mode 100644 lte/rrc/lib/asn/src/PRACH-ConfigSCell-r10.c delete mode 100644 lte/rrc/lib/asn/src/PRACH-ConfigSIB.c delete mode 100644 lte/rrc/lib/asn/src/PUCCH-ConfigCommon.c delete mode 100644 lte/rrc/lib/asn/src/PUCCH-ConfigDedicated-v1020.c delete mode 100644 lte/rrc/lib/asn/src/PUCCH-ConfigDedicated.c delete mode 100644 lte/rrc/lib/asn/src/PUSCH-CAConfigDedicated-vlola.c delete mode 100644 lte/rrc/lib/asn/src/PUSCH-ConfigCommon.c delete mode 100644 lte/rrc/lib/asn/src/PUSCH-ConfigDedicated-v1020.c delete mode 100644 lte/rrc/lib/asn/src/PUSCH-ConfigDedicated.c delete mode 100644 lte/rrc/lib/asn/src/PUSCH-ConfigDedicatedSCell-r10.c delete mode 100644 lte/rrc/lib/asn/src/Paging-v890-IEs.c delete mode 100644 lte/rrc/lib/asn/src/Paging-v920-IEs.c delete mode 100644 lte/rrc/lib/asn/src/Paging.c delete mode 100644 lte/rrc/lib/asn/src/PagingRecord.c delete mode 100644 lte/rrc/lib/asn/src/PagingRecordList.c delete mode 100644 lte/rrc/lib/asn/src/PagingUE-Identity.c delete mode 100644 lte/rrc/lib/asn/src/PhyLayerParameters-v1020.c delete mode 100644 lte/rrc/lib/asn/src/PhyLayerParameters-v920.c delete mode 100644 lte/rrc/lib/asn/src/PhyLayerParameters.c delete mode 100644 lte/rrc/lib/asn/src/PhysCellId.c delete mode 100644 lte/rrc/lib/asn/src/PhysCellIdCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/PhysCellIdGERAN.c delete mode 100644 lte/rrc/lib/asn/src/PhysCellIdListCDMA2000-v920.c delete mode 100644 lte/rrc/lib/asn/src/PhysCellIdListCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/PhysCellIdRange.c delete mode 100644 lte/rrc/lib/asn/src/PhysCellIdRangeUTRA-FDD-r9.c delete mode 100644 lte/rrc/lib/asn/src/PhysCellIdRangeUTRA-FDDList-r9.c delete mode 100644 lte/rrc/lib/asn/src/PhysCellIdUTRA-FDD.c delete mode 100644 lte/rrc/lib/asn/src/PhysCellIdUTRA-TDD.c delete mode 100644 lte/rrc/lib/asn/src/PhysicalConfigDedicated.c delete mode 100644 lte/rrc/lib/asn/src/PhysicalConfigDedicatedSCell-r10.c delete mode 100644 lte/rrc/lib/asn/src/PollByte.c delete mode 100644 lte/rrc/lib/asn/src/PollPDU.c delete mode 100644 lte/rrc/lib/asn/src/PreRegistrationInfoHRPD.c delete mode 100644 lte/rrc/lib/asn/src/PreRegistrationZoneIdHRPD.c delete mode 100644 lte/rrc/lib/asn/src/PresenceAntennaPort1.c delete mode 100644 lte/rrc/lib/asn/src/ProximityIndication-r9-IEs.c delete mode 100644 lte/rrc/lib/asn/src/ProximityIndication-r9.c delete mode 100644 lte/rrc/lib/asn/src/ProximityIndication-v930-IEs.c delete mode 100644 lte/rrc/lib/asn/src/Q-OffsetRange.c delete mode 100644 lte/rrc/lib/asn/src/Q-OffsetRangeInterRAT.c delete mode 100644 lte/rrc/lib/asn/src/Q-QualMin-r9.c delete mode 100644 lte/rrc/lib/asn/src/Q-RxLevMin.c delete mode 100644 lte/rrc/lib/asn/src/QuantityConfig.c delete mode 100644 lte/rrc/lib/asn/src/QuantityConfigCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/QuantityConfigEUTRA.c delete mode 100644 lte/rrc/lib/asn/src/QuantityConfigGERAN.c delete mode 100644 lte/rrc/lib/asn/src/QuantityConfigUTRA-v1020.c delete mode 100644 lte/rrc/lib/asn/src/QuantityConfigUTRA.c delete mode 100644 lte/rrc/lib/asn/src/RACH-ConfigCommon.c delete mode 100644 lte/rrc/lib/asn/src/RACH-ConfigDedicated.c delete mode 100644 lte/rrc/lib/asn/src/RAND-CDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/RAT-Type.c delete mode 100644 lte/rrc/lib/asn/src/RF-Parameters-v1020.c delete mode 100644 lte/rrc/lib/asn/src/RF-Parameters.c delete mode 100644 lte/rrc/lib/asn/src/RLC-Config.c delete mode 100644 lte/rrc/lib/asn/src/RLF-Report-r9.c delete mode 100644 lte/rrc/lib/asn/src/RLF-TimersAndConstants-r9.c delete mode 100644 lte/rrc/lib/asn/src/RN-SubframeConfig-r10.c delete mode 100644 lte/rrc/lib/asn/src/RN-SystemInfo-r10.c delete mode 100644 lte/rrc/lib/asn/src/RNReconfiguration-r10-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RNReconfiguration-r10.c delete mode 100644 lte/rrc/lib/asn/src/RNReconfigurationComplete-r10-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RNReconfigurationComplete-r10.c delete mode 100644 lte/rrc/lib/asn/src/RRC-TransactionIdentifier.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReconfiguration-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReconfiguration-v1020-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReconfiguration-v890-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReconfiguration-v920-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReconfiguration.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReconfigurationComplete-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReconfigurationComplete-v1020-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReconfigurationComplete-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReconfigurationComplete.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReestablishment-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReestablishment-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReestablishment.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete-v1020-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete-v920-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReestablishmentReject-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReestablishmentReject-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReestablishmentReject.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReestablishmentRequest-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReestablishmentRequest.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReject-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReject-v1020-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReject-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionReject.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionRelease-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionRelease-v1020-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionRelease-v890-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionRelease-v920-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionRelease.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionRequest-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionRequest.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionSetup-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionSetup-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionSetup.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionSetupComplete-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionSetupComplete-v1020-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionSetupComplete-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/RRCConnectionSetupComplete.c delete mode 100644 lte/rrc/lib/asn/src/RRM-Config.c delete mode 100644 lte/rrc/lib/asn/src/RSRP-Range.c delete mode 100644 lte/rrc/lib/asn/src/RSRQ-Range.c delete mode 100644 lte/rrc/lib/asn/src/RSTD-InterFreqInfo-r10.c delete mode 100644 lte/rrc/lib/asn/src/RSTD-InterFreqInfoList-r10.c delete mode 100644 lte/rrc/lib/asn/src/RadioResourceConfigCommon.c delete mode 100644 lte/rrc/lib/asn/src/RadioResourceConfigCommonSCell-r10.c delete mode 100644 lte/rrc/lib/asn/src/RadioResourceConfigCommonSIB.c delete mode 100644 lte/rrc/lib/asn/src/RadioResourceConfigDedicated.c delete mode 100644 lte/rrc/lib/asn/src/RadioResourceConfigDedicatedSCell-r10.c delete mode 100644 lte/rrc/lib/asn/src/RedirectedCarrierInfo.c delete mode 100644 lte/rrc/lib/asn/src/ReestabUE-Identity.c delete mode 100644 lte/rrc/lib/asn/src/ReestablishmentCause.c delete mode 100644 lte/rrc/lib/asn/src/ReestablishmentInfo.c delete mode 100644 lte/rrc/lib/asn/src/RegisteredMME.c delete mode 100644 lte/rrc/lib/asn/src/ReleaseCause.c delete mode 100644 lte/rrc/lib/asn/src/ReportConfigEUTRA.c delete mode 100644 lte/rrc/lib/asn/src/ReportConfigId.c delete mode 100644 lte/rrc/lib/asn/src/ReportConfigInterRAT.c delete mode 100644 lte/rrc/lib/asn/src/ReportConfigToAddMod.c delete mode 100644 lte/rrc/lib/asn/src/ReportConfigToAddModList.c delete mode 100644 lte/rrc/lib/asn/src/ReportConfigToRemoveList.c delete mode 100644 lte/rrc/lib/asn/src/ReportInterval.c delete mode 100644 lte/rrc/lib/asn/src/ReportProximityConfig-r9.c delete mode 100644 lte/rrc/lib/asn/src/ReselectionThreshold.c delete mode 100644 lte/rrc/lib/asn/src/ReselectionThresholdQ-r9.c delete mode 100644 lte/rrc/lib/asn/src/S-TMSI.c delete mode 100644 lte/rrc/lib/asn/src/SCellIndex-r10.c delete mode 100644 lte/rrc/lib/asn/src/SCellToAddMod-r10.c delete mode 100644 lte/rrc/lib/asn/src/SCellToAddModList-r10.c delete mode 100644 lte/rrc/lib/asn/src/SCellToReleaseList-r10.c delete mode 100644 lte/rrc/lib/asn/src/SI-OrPSI-GERAN.c delete mode 100644 lte/rrc/lib/asn/src/SIB-MappingInfo.c delete mode 100644 lte/rrc/lib/asn/src/SIB-Type.c delete mode 100644 lte/rrc/lib/asn/src/SN-FieldLength.c delete mode 100644 lte/rrc/lib/asn/src/SON-Parameters-r9.c delete mode 100644 lte/rrc/lib/asn/src/SPS-Config.c delete mode 100644 lte/rrc/lib/asn/src/SPS-ConfigDL.c delete mode 100644 lte/rrc/lib/asn/src/SPS-ConfigUL.c delete mode 100644 lte/rrc/lib/asn/src/SPS-RA-ConfigList-rlola.c delete mode 100644 lte/rrc/lib/asn/src/SRB-ToAddMod.c delete mode 100644 lte/rrc/lib/asn/src/SRB-ToAddModList.c delete mode 100644 lte/rrc/lib/asn/src/SRS-ConfigAp-r10.c delete mode 100644 lte/rrc/lib/asn/src/SchedulingInfo.c delete mode 100644 lte/rrc/lib/asn/src/SchedulingInfoList.c delete mode 100644 lte/rrc/lib/asn/src/SchedulingRequestConfig-v1020.c delete mode 100644 lte/rrc/lib/asn/src/SchedulingRequestConfig.c delete mode 100644 lte/rrc/lib/asn/src/SecondaryPreRegistrationZoneIdListHRPD.c delete mode 100644 lte/rrc/lib/asn/src/SecurityAlgorithmConfig.c delete mode 100644 lte/rrc/lib/asn/src/SecurityConfigHO.c delete mode 100644 lte/rrc/lib/asn/src/SecurityConfigSMC.c delete mode 100644 lte/rrc/lib/asn/src/SecurityModeCommand-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/SecurityModeCommand-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/SecurityModeCommand.c delete mode 100644 lte/rrc/lib/asn/src/SecurityModeComplete-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/SecurityModeComplete-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/SecurityModeComplete.c delete mode 100644 lte/rrc/lib/asn/src/SecurityModeFailure-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/SecurityModeFailure-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/SecurityModeFailure.c delete mode 100644 lte/rrc/lib/asn/src/ServCellIndex-r10.c delete mode 100644 lte/rrc/lib/asn/src/ShortMAC-I.c delete mode 100644 lte/rrc/lib/asn/src/SoundingRS-UL-ConfigCommon.c delete mode 100644 lte/rrc/lib/asn/src/SoundingRS-UL-ConfigDedicated-v1020.c delete mode 100644 lte/rrc/lib/asn/src/SoundingRS-UL-ConfigDedicated.c delete mode 100644 lte/rrc/lib/asn/src/SoundingRS-UL-ConfigDedicatedAperiodic-r10.c delete mode 100644 lte/rrc/lib/asn/src/SpeedStateScaleFactors.c delete mode 100644 lte/rrc/lib/asn/src/SupportedBandCombination-r10.c delete mode 100644 lte/rrc/lib/asn/src/SupportedBandEUTRA.c delete mode 100644 lte/rrc/lib/asn/src/SupportedBandGERAN.c delete mode 100644 lte/rrc/lib/asn/src/SupportedBandList1XRTT.c delete mode 100644 lte/rrc/lib/asn/src/SupportedBandListEUTRA.c delete mode 100644 lte/rrc/lib/asn/src/SupportedBandListGERAN.c delete mode 100644 lte/rrc/lib/asn/src/SupportedBandListHRPD.c delete mode 100644 lte/rrc/lib/asn/src/SupportedBandListUTRA-FDD.c delete mode 100644 lte/rrc/lib/asn/src/SupportedBandListUTRA-TDD128.c delete mode 100644 lte/rrc/lib/asn/src/SupportedBandListUTRA-TDD384.c delete mode 100644 lte/rrc/lib/asn/src/SupportedBandListUTRA-TDD768.c delete mode 100644 lte/rrc/lib/asn/src/SupportedBandUTRA-FDD.c delete mode 100644 lte/rrc/lib/asn/src/SupportedBandUTRA-TDD128.c delete mode 100644 lte/rrc/lib/asn/src/SupportedBandUTRA-TDD384.c delete mode 100644 lte/rrc/lib/asn/src/SupportedBandUTRA-TDD768.c delete mode 100644 lte/rrc/lib/asn/src/SystemInfoListGERAN.c delete mode 100644 lte/rrc/lib/asn/src/SystemInformation-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/SystemInformation-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/SystemInformation.c delete mode 100644 lte/rrc/lib/asn/src/SystemInformationBlockType1-v890-IEs.c delete mode 100644 lte/rrc/lib/asn/src/SystemInformationBlockType1-v920-IEs.c delete mode 100644 lte/rrc/lib/asn/src/SystemInformationBlockType1.c delete mode 100644 lte/rrc/lib/asn/src/SystemInformationBlockType10.c delete mode 100644 lte/rrc/lib/asn/src/SystemInformationBlockType11.c delete mode 100644 lte/rrc/lib/asn/src/SystemInformationBlockType12-r9.c delete mode 100644 lte/rrc/lib/asn/src/SystemInformationBlockType13-r9.c delete mode 100644 lte/rrc/lib/asn/src/SystemInformationBlockType2.c delete mode 100644 lte/rrc/lib/asn/src/SystemInformationBlockType3.c delete mode 100644 lte/rrc/lib/asn/src/SystemInformationBlockType4.c delete mode 100644 lte/rrc/lib/asn/src/SystemInformationBlockType5.c delete mode 100644 lte/rrc/lib/asn/src/SystemInformationBlockType6.c delete mode 100644 lte/rrc/lib/asn/src/SystemInformationBlockType7.c delete mode 100644 lte/rrc/lib/asn/src/SystemInformationBlockType8.c delete mode 100644 lte/rrc/lib/asn/src/SystemInformationBlockType9.c delete mode 100644 lte/rrc/lib/asn/src/SystemTimeInfoCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/T-PollRetransmit.c delete mode 100644 lte/rrc/lib/asn/src/T-Reordering.c delete mode 100644 lte/rrc/lib/asn/src/T-Reselection.c delete mode 100644 lte/rrc/lib/asn/src/T-StatusProhibit.c delete mode 100644 lte/rrc/lib/asn/src/TDD-Config.c delete mode 100644 lte/rrc/lib/asn/src/TMGI-r9.c delete mode 100644 lte/rrc/lib/asn/src/TPC-Index.c delete mode 100644 lte/rrc/lib/asn/src/TPC-PDCCH-Config.c delete mode 100644 lte/rrc/lib/asn/src/ThresholdCDMA2000.c delete mode 100644 lte/rrc/lib/asn/src/ThresholdEUTRA.c delete mode 100644 lte/rrc/lib/asn/src/ThresholdGERAN.c delete mode 100644 lte/rrc/lib/asn/src/ThresholdUTRA.c delete mode 100644 lte/rrc/lib/asn/src/TimeAlignmentTimer.c delete mode 100644 lte/rrc/lib/asn/src/TimeToTrigger.c delete mode 100644 lte/rrc/lib/asn/src/TraceReference-r10.c delete mode 100644 lte/rrc/lib/asn/src/TrackingAreaCode.c delete mode 100644 lte/rrc/lib/asn/src/TrackingAreaCodeList-r10.c delete mode 100644 lte/rrc/lib/asn/src/UE-BasedNetwPerfMeasParameters-r10.c delete mode 100644 lte/rrc/lib/asn/src/UE-CapabilityRAT-Container.c delete mode 100644 lte/rrc/lib/asn/src/UE-CapabilityRAT-ContainerList.c delete mode 100644 lte/rrc/lib/asn/src/UE-CapabilityRequest.c delete mode 100644 lte/rrc/lib/asn/src/UE-EUTRA-Capability-v1020-IEs.c delete mode 100644 lte/rrc/lib/asn/src/UE-EUTRA-Capability-v920-IEs.c delete mode 100644 lte/rrc/lib/asn/src/UE-EUTRA-Capability-v940-IEs.c delete mode 100644 lte/rrc/lib/asn/src/UE-EUTRA-Capability.c delete mode 100644 lte/rrc/lib/asn/src/UE-TimersAndConstants.c delete mode 100644 lte/rrc/lib/asn/src/UECapabilityEnquiry-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/UECapabilityEnquiry-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/UECapabilityEnquiry.c delete mode 100644 lte/rrc/lib/asn/src/UECapabilityInformation-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/UECapabilityInformation-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/UECapabilityInformation.c delete mode 100644 lte/rrc/lib/asn/src/UEInformationRequest-r9-IEs.c delete mode 100644 lte/rrc/lib/asn/src/UEInformationRequest-r9.c delete mode 100644 lte/rrc/lib/asn/src/UEInformationRequest-v1020-IEs.c delete mode 100644 lte/rrc/lib/asn/src/UEInformationRequest-v930-IEs.c delete mode 100644 lte/rrc/lib/asn/src/UEInformationResponse-r9-IEs.c delete mode 100644 lte/rrc/lib/asn/src/UEInformationResponse-r9.c delete mode 100644 lte/rrc/lib/asn/src/UEInformationResponse-v1020-IEs.c delete mode 100644 lte/rrc/lib/asn/src/UEInformationResponse-v930-IEs.c delete mode 100644 lte/rrc/lib/asn/src/UERadioAccessCapabilityInformation-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/UERadioAccessCapabilityInformation.c delete mode 100644 lte/rrc/lib/asn/src/UL-AM-RLC.c delete mode 100644 lte/rrc/lib/asn/src/UL-CCCH-Message.c delete mode 100644 lte/rrc/lib/asn/src/UL-CCCH-MessageType.c delete mode 100644 lte/rrc/lib/asn/src/UL-CyclicPrefixLength.c delete mode 100644 lte/rrc/lib/asn/src/UL-DCCH-Message.c delete mode 100644 lte/rrc/lib/asn/src/UL-DCCH-MessageType.c delete mode 100644 lte/rrc/lib/asn/src/UL-ReferenceSignalsPUSCH.c delete mode 100644 lte/rrc/lib/asn/src/UL-UM-RLC.c delete mode 100644 lte/rrc/lib/asn/src/ULHandoverPreparationTransfer-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/ULHandoverPreparationTransfer-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/ULHandoverPreparationTransfer.c delete mode 100644 lte/rrc/lib/asn/src/ULInformationTransfer-r8-IEs.c delete mode 100644 lte/rrc/lib/asn/src/ULInformationTransfer-v8a0-IEs.c delete mode 100644 lte/rrc/lib/asn/src/ULInformationTransfer.c delete mode 100644 lte/rrc/lib/asn/src/UplinkPowerControlCommon-v1020.c delete mode 100644 lte/rrc/lib/asn/src/UplinkPowerControlCommon.c delete mode 100644 lte/rrc/lib/asn/src/UplinkPowerControlCommonSCell-r10.c delete mode 100644 lte/rrc/lib/asn/src/UplinkPowerControlDedicated-v1020.c delete mode 100644 lte/rrc/lib/asn/src/UplinkPowerControlDedicated.c delete mode 100644 lte/rrc/lib/asn/src/UplinkPowerControlDedicatedSCell-r10.c delete mode 100644 lte/rrc/lib/asn/src/VarMeasConfig.c delete mode 100644 lte/rrc/lib/asn/src/VarMeasReport.c delete mode 100644 lte/rrc/lib/asn/src/VarMeasReportList.c delete mode 100644 lte/rrc/lib/asn/src/VarShortMAC-Input.c delete mode 100644 lte/rrc/lib/asn/src/asn_SEQUENCE_OF.c delete mode 100644 lte/rrc/lib/asn/src/asn_SET_OF.c delete mode 100644 lte/rrc/lib/asn/src/asn_codecs_prim.c delete mode 100644 lte/rrc/lib/asn/src/ber_decoder.c delete mode 100644 lte/rrc/lib/asn/src/ber_tlv_length.c delete mode 100644 lte/rrc/lib/asn/src/ber_tlv_tag.c delete mode 100644 lte/rrc/lib/asn/src/constr_CHOICE.c delete mode 100644 lte/rrc/lib/asn/src/constr_SEQUENCE.c delete mode 100644 lte/rrc/lib/asn/src/constr_SEQUENCE_OF.c delete mode 100644 lte/rrc/lib/asn/src/constr_SET_OF.c delete mode 100644 lte/rrc/lib/asn/src/constr_TYPE.c delete mode 100644 lte/rrc/lib/asn/src/constraints.c delete mode 100644 lte/rrc/lib/asn/src/converter-sample.c delete mode 100644 lte/rrc/lib/asn/src/der_encoder.c delete mode 100644 lte/rrc/lib/asn/src/per_decoder.c delete mode 100644 lte/rrc/lib/asn/src/per_encoder.c delete mode 100644 lte/rrc/lib/asn/src/per_opentype.c delete mode 100644 lte/rrc/lib/asn/src/per_support.c delete mode 100644 lte/rrc/lib/asn/src/xer_decoder.c delete mode 100644 lte/rrc/lib/asn/src/xer_encoder.c delete mode 100644 lte/rrc/lib/asn/src/xer_support.c delete mode 100644 lte/rrc/lib/messages/src/bcch.c delete mode 100644 lte/rrc/lib/messages/src/sib1.c delete mode 100644 lte/rrc/lib/messages/src/sib4.c delete mode 100644 lte/rrc/lib/messages/test/CMakeLists.txt delete mode 100644 lte/rrc/lib/messages/test/bcch_bch_test.c delete mode 100644 lte/rrc/lib/messages/test/bcch_dlsch_test.c rename mex/include/{liblte => srslte}/mex/mexutils.h (99%) rename {lte/phy => srslte}/CMakeLists.txt (100%) rename {lte => srslte}/examples/CMakeLists.txt (100%) rename {lte => srslte}/examples/cell_measurement.c (99%) rename {lte => srslte}/examples/cell_search.c (98%) rename {lte => srslte}/examples/cuhd_utils.c (98%) rename {lte => srslte}/examples/cuhd_utils.h (98%) rename {lte => srslte}/examples/hl_example.c (99%) rename {lte => srslte}/examples/ll_example.c (97%) rename {lte => srslte}/examples/pdsch_enodeb.c (99%) rename {lte => srslte}/examples/pdsch_ue.c (99%) rename {lte => srslte}/examples/prach_ue.c (99%) rename {lte => srslte}/examples/synch_file.c (99%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/agc/agc.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/ch_estimation/chest_dl.h (94%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/ch_estimation/refsignal_dl.h (97%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/ch_estimation/refsignal_ul.h (97%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/channel/ch_awgn.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/common/fft.h (96%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/common/phy_common.h (99%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/common/sequence.h (97%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/common/timestamp.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/fec/convcoder.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/fec/crc.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/fec/rm_conv.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/fec/rm_turbo.h (97%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/fec/tc_interl.h (94%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/fec/turbocoder.h (91%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/fec/turbodecoder.h (93%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/fec/viterbi.h (99%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/filter/dft_precoding.h (94%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/filter/filter2d.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/io/binsource.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/io/filesink.h (96%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/io/filesource.h (96%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/io/format.h (100%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/io/netsink.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/io/netsource.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/mimo/layermap.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/mimo/precoding.h (99%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/modem/demod_hard.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/modem/demod_soft.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/modem/mod.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/modem/modem_table.h (97%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/phch/cqi.h (97%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/phch/dci.h (97%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/phch/harq.h (95%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/phch/pbch.h (87%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/phch/pcfich.h (88%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/phch/pdcch.h (88%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/phch/pdsch.h (87%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/phch/phich.h (91%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/phch/prach.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/phch/pucch.h (87%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/phch/pusch.h (89%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/phch/ra.h (99%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/phch/regs.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/phch/sch.h (90%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/phch/uci.h (95%) create mode 100644 srslte/include/srslte/phy/phy.h rename {lte/phy/include/liblte => srslte/include/srslte}/phy/resampling/decim.h (97%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/resampling/interp.h (99%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/resampling/resample_arb.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/scrambling/scrambling.h (96%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/sync/cfo.h (96%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/sync/pss.h (97%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/sync/sfo.h (97%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/sync/sss.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/sync/sync.h (97%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/ue/ue_cell_search.h (93%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/ue/ue_dl.h (88%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/ue/ue_mac_itf.h (100%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/ue/ue_mib.h (94%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/ue/ue_phy.h (99%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/ue/ue_sync.h (93%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/ue/ue_ul.h (90%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/utils/bit.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/utils/cexptab.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/utils/convolution.h (97%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/utils/debug.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/utils/dft.h (99%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/utils/matrix.h (98%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/utils/mux.h (97%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/utils/pack.h (97%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/utils/queue.h (100%) rename {lte/phy/include/liblte => srslte/include/srslte}/phy/utils/vector.h (99%) rename {lte/phy => srslte}/lib/CMakeLists.txt (100%) rename {lte/phy => srslte}/lib/agc/src/agc.c (94%) rename {lte/phy => srslte}/lib/ch_estimation/src/chest_dl.c (98%) rename {lte/phy => srslte}/lib/ch_estimation/src/refsignal_dl.c (97%) rename {lte/phy => srslte}/lib/ch_estimation/src/refsignal_ul.c (98%) rename {lte/phy => srslte}/lib/ch_estimation/src/ul_rs_tables.h (100%) rename {lte/phy => srslte}/lib/ch_estimation/test/CMakeLists.txt (100%) rename {lte/phy => srslte}/lib/ch_estimation/test/chest_test_dl.c (99%) rename {lte/phy => srslte}/lib/ch_estimation/test/chest_test_dl_mex.c (98%) rename {lte/phy => srslte}/lib/ch_estimation/test/chest_test_dl_mex.mexa64 (100%) rename {lte/phy => srslte}/lib/ch_estimation/test/refsignal_pusch_mex.c (97%) rename {lte/phy => srslte}/lib/ch_estimation/test/refsignal_ul_test.c (99%) rename {lte/phy => srslte}/lib/channel/src/ch_awgn.c (97%) rename {lte/phy => srslte}/lib/channel/src/gauss.c (100%) rename {lte/phy => srslte}/lib/channel/src/gauss.h (100%) rename {lte/phy => srslte}/lib/common/src/fft.c (96%) rename {lte/phy => srslte}/lib/common/src/phy_common.c (99%) rename {lte/phy => srslte}/lib/common/src/sequence.c (98%) rename {lte/phy => srslte}/lib/common/src/timestamp.c (98%) rename {lte/phy => srslte}/lib/common/test/CMakeLists.txt (100%) rename {lte/phy => srslte}/lib/common/test/fft_test.c (99%) rename {lte/phy => srslte}/lib/fec/src/convcoder.c (98%) rename {lte/phy => srslte}/lib/fec/src/crc.c (98%) rename {lte/phy => srslte}/lib/fec/src/parity.c (100%) rename {lte/phy => srslte}/lib/fec/src/parity.h (100%) rename {lte/phy => srslte}/lib/fec/src/rm_conv.c (99%) rename {lte/phy => srslte}/lib/fec/src/rm_turbo.c (99%) rename {lte/phy => srslte}/lib/fec/src/tc_interl_lte.c (93%) rename {lte/phy => srslte}/lib/fec/src/tc_interl_umts.c (94%) rename {lte/phy => srslte}/lib/fec/src/turbocoder.c (93%) rename {lte/phy => srslte}/lib/fec/src/turbodecoder.c (94%) rename {lte/phy => srslte}/lib/fec/src/viterbi.c (98%) rename {lte/phy => srslte}/lib/fec/src/viterbi37.h (100%) rename {lte/phy => srslte}/lib/fec/src/viterbi37_port.c (100%) rename {lte/phy => srslte}/lib/fec/src/viterbi39.h (100%) rename {lte/phy => srslte}/lib/fec/src/viterbi39_port.c (100%) rename {lte/phy => srslte}/lib/fec/test/CMakeLists.txt (100%) rename {lte/phy => srslte}/lib/fec/test/crc_test.c (99%) rename {lte/phy => srslte}/lib/fec/test/crc_test.h (98%) rename {lte/phy => srslte}/lib/fec/test/rm_conv_test.c (99%) rename {lte/phy => srslte}/lib/fec/test/rm_turbo_rx_mex.c (95%) rename {lte/phy => srslte}/lib/fec/test/rm_turbo_test.c (99%) rename {lte/phy => srslte}/lib/fec/test/turbodecoder_test.c (99%) rename {lte/phy => srslte}/lib/fec/test/turbodecoder_test.h (100%) rename {lte/phy => srslte}/lib/fec/test/turbodecoder_test_mex.c (95%) rename {lte/phy => srslte}/lib/fec/test/viterbi_test.c (99%) rename {lte/phy => srslte}/lib/fec/test/viterbi_test.h (100%) rename {lte/phy => srslte}/lib/fec/test/viterbi_test_mex.c (94%) rename {lte/phy => srslte}/lib/filter/src/dft_precoding.c (94%) rename {lte/phy => srslte}/lib/filter/src/filter2d.c (95%) rename {lte/phy => srslte}/lib/io/src/binsource.c (98%) rename {lte/phy => srslte}/lib/io/src/filesink.c (98%) rename {lte/phy => srslte}/lib/io/src/filesource.c (98%) rename {lte/phy => srslte}/lib/io/src/netsink.c (98%) rename {lte/phy => srslte}/lib/io/src/netsource.c (98%) rename {lte/phy => srslte}/lib/mimo/src/layermap.c (98%) rename {lte/phy => srslte}/lib/mimo/src/precoding.c (98%) rename {lte/phy => srslte}/lib/mimo/test/CMakeLists.txt (100%) rename {lte/phy => srslte}/lib/mimo/test/layermap_test.c (99%) rename {lte/phy => srslte}/lib/mimo/test/precoding_test.c (99%) rename {lte/phy => srslte}/lib/modem/src/demod_hard.c (98%) rename {lte/phy => srslte}/lib/modem/src/demod_soft.c (96%) rename {lte/phy => srslte}/lib/modem/src/hard_demod_lte.c (99%) rename {lte/phy => srslte}/lib/modem/src/hard_demod_lte.h (100%) rename {lte/phy => srslte}/lib/modem/src/lte_tables.c (99%) rename {lte/phy => srslte}/lib/modem/src/lte_tables.h (100%) rename {lte/phy => srslte}/lib/modem/src/mod.c (96%) rename {lte/phy => srslte}/lib/modem/src/modem_table.c (97%) rename {lte/phy => srslte}/lib/modem/src/soft_algs.c (99%) rename {lte/phy => srslte}/lib/modem/src/soft_algs.h (100%) rename {lte/phy => srslte}/lib/modem/test/CMakeLists.txt (100%) rename {lte/phy => srslte}/lib/modem/test/modem_test.c (99%) rename {lte/phy => srslte}/lib/modem/test/soft_demod_test.c (99%) rename {lte/phy => srslte}/lib/phch/src/cqi.c (91%) rename {lte/phy => srslte}/lib/phch/src/dci.c (99%) rename {lte/phy => srslte}/lib/phch/src/harq.c (96%) rename {lte/phy => srslte}/lib/phch/src/pbch.c (98%) rename {lte/phy => srslte}/lib/phch/src/pcfich.c (97%) rename {lte/phy => srslte}/lib/phch/src/pdcch.c (98%) rename {lte/phy => srslte}/lib/phch/src/pdsch.c (98%) rename {lte/phy => srslte}/lib/phch/src/phich.c (98%) rename {lte/phy => srslte}/lib/phch/src/prach.c (99%) rename {lte/phy => srslte}/lib/phch/src/prb_dl.c (98%) rename {lte/phy => srslte}/lib/phch/src/prb_dl.h (100%) rename {lte/phy => srslte}/lib/phch/src/pucch.c (95%) rename {lte/phy => srslte}/lib/phch/src/pusch.c (98%) rename {lte/phy => srslte}/lib/phch/src/ra.c (98%) rename {lte/phy => srslte}/lib/phch/src/regs.c (99%) rename {lte/phy => srslte}/lib/phch/src/sch.c (98%) rename {lte/phy => srslte}/lib/phch/src/sequences.c (96%) rename {lte/phy => srslte}/lib/phch/src/tbs_tables.h (100%) rename {lte/phy => srslte}/lib/phch/src/uci.c (97%) rename {lte/phy => srslte}/lib/phch/test/CMakeLists.txt (100%) rename {lte/phy => srslte}/lib/phch/test/dci_unpacking.c (98%) rename {lte/phy => srslte}/lib/phch/test/dlsch_encode_test_mex.c (95%) rename {lte/phy => srslte}/lib/phch/test/pbch_file_test.c (99%) rename {lte/phy => srslte}/lib/phch/test/pbch_test.c (99%) rename {lte/phy => srslte}/lib/phch/test/pbch_test_mex.c (96%) rename {lte/phy => srslte}/lib/phch/test/pcfich_file_test.c (99%) rename {lte/phy => srslte}/lib/phch/test/pcfich_test.c (99%) rename {lte/phy => srslte}/lib/phch/test/pcfich_test_mex.c (96%) rename {lte/phy => srslte}/lib/phch/test/pdcch_file_test.c (99%) rename {lte/phy => srslte}/lib/phch/test/pdcch_test.c (99%) rename {lte/phy => srslte}/lib/phch/test/pdcch_test_mex.c (97%) rename {lte/phy => srslte}/lib/phch/test/pdsch_file_test.c (99%) rename {lte/phy => srslte}/lib/phch/test/pdsch_test.c (99%) rename {lte/phy => srslte}/lib/phch/test/pdsch_test_mex.c (97%) rename {lte/phy => srslte}/lib/phch/test/phich_file_test.c (99%) rename {lte/phy => srslte}/lib/phch/test/phich_test.c (99%) rename {lte/phy => srslte}/lib/phch/test/prach_test.c (98%) rename {lte/phy => srslte}/lib/phch/test/prach_test_mex.c (96%) rename {lte/phy => srslte}/lib/phch/test/prach_test_multi.c (98%) rename {lte/phy => srslte}/lib/phch/test/pusch_encode_test_mex.c (98%) rename {lte/phy => srslte}/lib/phch/test/pusch_test.c (99%) rename {lte/phy => srslte}/lib/phch/test/signal.1.92M.amar.dat (100%) rename {lte/phy => srslte}/lib/phch/test/signal.1.92M.dat (100%) rename {lte/phy => srslte}/lib/phch/test/signal.10M.dat (100%) rename {lte/phy => srslte}/lib/phch/test/ulsch_encode_test_mex.c (97%) rename {lte/phy => srslte}/lib/resampling/src/decim.c (94%) rename {lte/phy => srslte}/lib/resampling/src/interp.c (98%) rename {lte/phy => srslte}/lib/resampling/src/resample_arb.c (98%) rename {lte/phy => srslte}/lib/resampling/test/CMakeLists.txt (100%) rename {lte/phy => srslte}/lib/resampling/test/resample_arb_bench.c (91%) rename {lte/phy => srslte}/lib/resampling/test/resample_arb_test.c (94%) rename {lte/phy => srslte}/lib/scrambling/src/scrambling.c (98%) rename {lte/phy => srslte}/lib/scrambling/test/CMakeLists.txt (100%) rename {lte/phy => srslte}/lib/scrambling/test/scrambling_test.c (99%) rename {lte/phy => srslte}/lib/sync/src/cfo.c (94%) rename {lte/phy => srslte}/lib/sync/src/cp.c (100%) rename {lte/phy => srslte}/lib/sync/src/find_sss.c (98%) rename {lte/phy => srslte}/lib/sync/src/gen_sss.c (99%) rename {lte/phy => srslte}/lib/sync/src/pss.c (98%) rename {lte/phy => srslte}/lib/sync/src/sfo.c (97%) rename {lte/phy => srslte}/lib/sync/src/sss.c (96%) rename {lte/phy => srslte}/lib/sync/src/sync.c (98%) rename {lte/phy => srslte}/lib/sync/test/CMakeLists.txt (100%) rename {lte/phy => srslte}/lib/sync/test/cfo_test.c (98%) rename {lte/phy => srslte}/lib/sync/test/pss_mex.c (94%) rename {lte/phy => srslte}/lib/sync/test/pss_usrp.c (99%) rename {lte/phy => srslte}/lib/sync/test/sss_mex.c (96%) rename {lte/phy => srslte}/lib/sync/test/sync_test.c (99%) rename {lte/phy => srslte}/lib/ue/src/ue_cell_search.c (98%) rename {lte/phy => srslte}/lib/ue/src/ue_dl.c (99%) rename {lte/phy => srslte}/lib/ue/src/ue_mib.c (98%) rename {lte/phy => srslte}/lib/ue/src/ue_phy.cc (100%) rename {lte/phy => srslte}/lib/ue/src/ue_sync.c (98%) rename {lte/phy => srslte}/lib/ue/src/ue_ul.c (99%) rename {lte/phy => srslte}/lib/utils/src/bit.c (98%) rename {lte/phy => srslte}/lib/utils/src/cexptab.c (98%) rename {lte/phy => srslte}/lib/utils/src/convolution.c (97%) rename {lte/phy => srslte}/lib/utils/src/debug.c (97%) rename {lte/phy => srslte}/lib/utils/src/dft.c (98%) rename {lte/phy => srslte}/lib/utils/src/matrix.c (98%) rename {lte/phy => srslte}/lib/utils/src/mux.c (100%) rename {lte/phy => srslte}/lib/utils/src/pack.c (97%) rename {lte/phy => srslte}/lib/utils/src/vector.c (99%) rename {lte/phy => srslte}/lib/utils/test/CMakeLists.txt (100%) rename {lte/phy => srslte}/lib/utils/test/dft_test.c (98%) diff --git a/CMakeLists.txt b/CMakeLists.txt index c04b01919..d5c10dc95 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -157,8 +157,7 @@ MESSAGE(STATUS "Building for version: ${VERSION}") # Add general includes and dependencies ######################################################################## INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/common/include) -INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/lte/phy/include/) -INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/lte/rrc/include/) +INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/srslte/include/) INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/cuhd/include) INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/mex/include) INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/graphics/include) @@ -169,5 +168,5 @@ INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/graphics/include) ADD_SUBDIRECTORY(common) ADD_SUBDIRECTORY(cuhd) ADD_SUBDIRECTORY(graphics) -ADD_SUBDIRECTORY(lte) +ADD_SUBDIRECTORY(srslte) add_subdirectory(mex) diff --git a/common/include/liblte/config.h b/common/include/srslte/config.h similarity index 100% rename from common/include/liblte/config.h rename to common/include/srslte/config.h diff --git a/cuhd/include/liblte/cuhd/cuhd.h b/cuhd/include/srslte/cuhd/cuhd.h similarity index 98% rename from cuhd/include/liblte/cuhd/cuhd.h rename to cuhd/include/srslte/cuhd/cuhd.h index 52652a831..d9b8cbe36 100644 --- a/cuhd/include/liblte/cuhd/cuhd.h +++ b/cuhd/include/srslte/cuhd/cuhd.h @@ -33,8 +33,8 @@ extern "C" { #include #include -#include "liblte/config.h" -#include "liblte/cuhd/cuhd_utils.h" +#include "srslte/config.h" +#include "srslte/cuhd/cuhd_utils.h" LIBLTE_API int cuhd_open(char *args, void **handler); diff --git a/cuhd/include/liblte/cuhd/cuhd_utils.h b/cuhd/include/srslte/cuhd/cuhd_utils.h similarity index 97% rename from cuhd/include/liblte/cuhd/cuhd_utils.h rename to cuhd/include/srslte/cuhd/cuhd_utils.h index ea30ac66a..f9e2341b7 100644 --- a/cuhd/include/liblte/cuhd/cuhd_utils.h +++ b/cuhd/include/srslte/cuhd/cuhd_utils.h @@ -25,6 +25,6 @@ * */ -#include "liblte/config.h" +#include "srslte/config.h" LIBLTE_API int cuhd_rssi_scan(void *uhd, float *freqs, float *rssi, int nof_bands, double fs, int nsamp); diff --git a/cuhd/lib/cuhd_utils.c b/cuhd/lib/cuhd_utils.c index b6dfcfa24..36a0788ab 100644 --- a/cuhd/lib/cuhd_utils.c +++ b/cuhd/lib/cuhd_utils.c @@ -31,9 +31,9 @@ #include -#include "liblte/cuhd/cuhd.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/cuhd/cuhd.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" int cuhd_rssi_scan(void *uhd, float *freqs, float *rssi, int nof_bands, double fs, int nsamp) { int i, j; diff --git a/graphics/include/liblte/graphics/plot.h b/graphics/include/srslte/graphics/plot.h similarity index 83% rename from graphics/include/liblte/graphics/plot.h rename to graphics/include/srslte/graphics/plot.h index 7170f6d01..c7fa403d1 100644 --- a/graphics/include/liblte/graphics/plot.h +++ b/graphics/include/srslte/graphics/plot.h @@ -33,12 +33,12 @@ extern "C" { #endif -#include "liblte/config.h" +#include "srslte/config.h" -#include "liblte/graphics/plot/plot_real.h" -#include "liblte/graphics/plot/plot_scatter.h" -#include "liblte/graphics/plot/plot_complex.h" -#include "liblte/graphics/plot/plot_waterfall.h" +#include "srslte/graphics/plot/plot_real.h" +#include "srslte/graphics/plot/plot_scatter.h" +#include "srslte/graphics/plot/plot_complex.h" +#include "srslte/graphics/plot/plot_waterfall.h" LIBLTE_API int plot_init(); LIBLTE_API void plot_exit(); diff --git a/graphics/include/liblte/graphics/plot/plot_complex.h b/graphics/include/srslte/graphics/plot/plot_complex.h similarity index 98% rename from graphics/include/liblte/graphics/plot/plot_complex.h rename to graphics/include/srslte/graphics/plot/plot_complex.h index 61a6d8d23..f140ce63e 100644 --- a/graphics/include/liblte/graphics/plot/plot_complex.h +++ b/graphics/include/srslte/graphics/plot/plot_complex.h @@ -35,7 +35,7 @@ extern "C" { #endif #include -#include "liblte/config.h" +#include "srslte/config.h" typedef enum { Ip, Q, Magnitude, Phase diff --git a/graphics/include/liblte/graphics/plot/plot_real.h b/graphics/include/srslte/graphics/plot/plot_real.h similarity index 98% rename from graphics/include/liblte/graphics/plot/plot_real.h rename to graphics/include/srslte/graphics/plot/plot_real.h index 8de53d593..3897fe32d 100644 --- a/graphics/include/liblte/graphics/plot/plot_real.h +++ b/graphics/include/srslte/graphics/plot/plot_real.h @@ -34,7 +34,7 @@ extern "C" { #endif #include -#include "liblte/config.h" +#include "srslte/config.h" typedef void* plot_real_t; diff --git a/graphics/include/liblte/graphics/plot/plot_scatter.h b/graphics/include/srslte/graphics/plot/plot_scatter.h similarity index 98% rename from graphics/include/liblte/graphics/plot/plot_scatter.h rename to graphics/include/srslte/graphics/plot/plot_scatter.h index d3d0f63b7..42469dc5f 100644 --- a/graphics/include/liblte/graphics/plot/plot_scatter.h +++ b/graphics/include/srslte/graphics/plot/plot_scatter.h @@ -34,7 +34,7 @@ extern "C" { #endif #include -#include "liblte/config.h" +#include "srslte/config.h" typedef void* plot_scatter_t; diff --git a/graphics/include/liblte/graphics/plot/plot_waterfall.h b/graphics/include/srslte/graphics/plot/plot_waterfall.h similarity index 98% rename from graphics/include/liblte/graphics/plot/plot_waterfall.h rename to graphics/include/srslte/graphics/plot/plot_waterfall.h index 0d569f76c..28be35c75 100644 --- a/graphics/include/liblte/graphics/plot/plot_waterfall.h +++ b/graphics/include/srslte/graphics/plot/plot_waterfall.h @@ -34,7 +34,7 @@ extern "C" { #endif #include -#include "liblte/config.h" +#include "srslte/config.h" typedef void* plot_waterfall_t; diff --git a/graphics/lib/scatterplot/Scatterplot.h b/graphics/lib/scatterplot/Scatterplot.h index e14d04842..68e7288b6 100644 --- a/graphics/lib/scatterplot/Scatterplot.h +++ b/graphics/lib/scatterplot/Scatterplot.h @@ -3,7 +3,7 @@ #include #include -#include "liblte/config.h" +#include "srslte/config.h" class ScatterplotWrapper; diff --git a/lte/CMakeLists.txt b/lte/CMakeLists.txt deleted file mode 100644 index 454ca6d77..000000000 --- a/lte/CMakeLists.txt +++ /dev/null @@ -1,30 +0,0 @@ -# -# Copyright 2012-2013 The libLTE Developers. See the -# COPYRIGHT file at the top-level directory of this distribution. -# -# This file is part of the libLTE library. -# -# libLTE is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# libLTE is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# A copy of the GNU Lesser General Public License can be found in -# the LICENSE file in the top-level directory of this distribution -# and at http://www.gnu.org/licenses/. -# - -######################################################################## -# Add the subdirectories -######################################################################## -ADD_SUBDIRECTORY(phy) -ADD_SUBDIRECTORY(mac) -ADD_SUBDIRECTORY(rlc) -ADD_SUBDIRECTORY(rrc) -ADD_SUBDIRECTORY(pdcp) -ADD_SUBDIRECTORY(examples) diff --git a/lte/mac/CMakeLists.txt b/lte/mac/CMakeLists.txt deleted file mode 100644 index 44f566d64..000000000 --- a/lte/mac/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# -# Copyright 2012-2013 The libLTE Developers. See the -# COPYRIGHT file at the top-level directory of this distribution. -# -# This file is part of the libLTE library. -# -# libLTE is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# libLTE is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# A copy of the GNU Lesser General Public License can be found in -# the LICENSE file in the top-level directory of this distribution -# and at http://www.gnu.org/licenses/. -# - diff --git a/lte/pdcp/CMakeLists.txt b/lte/pdcp/CMakeLists.txt deleted file mode 100644 index 44f566d64..000000000 --- a/lte/pdcp/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# -# Copyright 2012-2013 The libLTE Developers. See the -# COPYRIGHT file at the top-level directory of this distribution. -# -# This file is part of the libLTE library. -# -# libLTE is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# libLTE is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# A copy of the GNU Lesser General Public License can be found in -# the LICENSE file in the top-level directory of this distribution -# and at http://www.gnu.org/licenses/. -# - diff --git a/lte/phy/include/liblte/phy/phy.h b/lte/phy/include/liblte/phy/phy.h deleted file mode 100644 index 2096d02d1..000000000 --- a/lte/phy/include/liblte/phy/phy.h +++ /dev/null @@ -1,126 +0,0 @@ -/** - * - * \section COPYRIGHT - * - * Copyright 2013-2014 The libLTE Developers. See the - * COPYRIGHT file at the top-level directory of this distribution. - * - * \section LICENSE - * - * This file is part of the libLTE library. - * - * libLTE is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * libLTE is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * A copy of the GNU Lesser General Public License can be found in - * the LICENSE file in the top-level directory of this distribution - * and at http://www.gnu.org/licenses/. - * - */ - - -#ifndef _LTE_ -#define _LTE_ - -#ifdef __cplusplus - extern "C" { -#endif - -#include -#include - -#include "liblte/config.h" - -#include "liblte/phy/utils/bit.h" -#include "liblte/phy/utils/convolution.h" -#include "liblte/phy/utils/debug.h" -#include "liblte/phy/utils/dft.h" -#include "liblte/phy/utils/matrix.h" -#include "liblte/phy/utils/mux.h" -#include "liblte/phy/utils/cexptab.h" -#include "liblte/phy/utils/pack.h" -#include "liblte/phy/utils/vector.h" - -#include "liblte/phy/common/timestamp.h" -#include "liblte/phy/common/sequence.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/common/fft.h" - -#include "liblte/phy/ch_estimation/chest_dl.h" -#include "liblte/phy/ch_estimation/refsignal_dl.h" -#include "liblte/phy/ch_estimation/refsignal_ul.h" - -#include "liblte/phy/resampling/interp.h" -#include "liblte/phy/resampling/decim.h" -#include "liblte/phy/resampling/resample_arb.h" - -#include "liblte/phy/channel/ch_awgn.h" - -#include "liblte/phy/fec/viterbi.h" -#include "liblte/phy/fec/convcoder.h" -#include "liblte/phy/fec/crc.h" -#include "liblte/phy/fec/tc_interl.h" -#include "liblte/phy/fec/turbocoder.h" -#include "liblte/phy/fec/turbodecoder.h" -#include "liblte/phy/fec/rm_conv.h" -#include "liblte/phy/fec/rm_turbo.h" - -#include "liblte/phy/filter/filter2d.h" -#include "liblte/phy/filter/dft_precoding.h" - -#include "liblte/phy/io/binsource.h" -#include "liblte/phy/io/filesink.h" -#include "liblte/phy/io/filesource.h" -#include "liblte/phy/io/netsink.h" -#include "liblte/phy/io/netsource.h" - -#include "liblte/phy/modem/demod_hard.h" -#include "liblte/phy/modem/demod_soft.h" -#include "liblte/phy/modem/mod.h" -#include "liblte/phy/modem/modem_table.h" - -#include "liblte/phy/mimo/precoding.h" -#include "liblte/phy/mimo/layermap.h" - -#include "liblte/phy/phch/cqi.h" -#include "liblte/phy/phch/dci.h" -#include "liblte/phy/phch/harq.h" -#include "liblte/phy/phch/pbch.h" -#include "liblte/phy/phch/pcfich.h" -#include "liblte/phy/phch/pdcch.h" -#include "liblte/phy/phch/pdsch.h" -#include "liblte/phy/phch/phich.h" -#include "liblte/phy/phch/pusch.h" -#include "liblte/phy/phch/prach.h" -#include "liblte/phy/phch/ra.h" -#include "liblte/phy/phch/regs.h" -#include "liblte/phy/phch/sch.h" -#include "liblte/phy/phch/uci.h" - -#include "liblte/phy/ue/ue_sync.h" -#include "liblte/phy/ue/ue_mib.h" -#include "liblte/phy/ue/ue_cell_search.h" -#include "liblte/phy/ue/ue_dl.h" -#include "liblte/phy/ue/ue_ul.h" - -#include "liblte/phy/scrambling/scrambling.h" - -#include "liblte/phy/sync/pss.h" -#include "liblte/phy/sync/sfo.h" -#include "liblte/phy/sync/sss.h" -#include "liblte/phy/sync/sync.h" -#include "liblte/phy/sync/cfo.h" - -#ifdef __cplusplus -} -#undef I // Fix complex.h #define I nastiness when using C++ -#endif - -#endif diff --git a/lte/rlc/CMakeLists.txt b/lte/rlc/CMakeLists.txt deleted file mode 100644 index 44f566d64..000000000 --- a/lte/rlc/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# -# Copyright 2012-2013 The libLTE Developers. See the -# COPYRIGHT file at the top-level directory of this distribution. -# -# This file is part of the libLTE library. -# -# libLTE is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# libLTE is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# A copy of the GNU Lesser General Public License can be found in -# the LICENSE file in the top-level directory of this distribution -# and at http://www.gnu.org/licenses/. -# - diff --git a/lte/rrc/CMakeLists.txt b/lte/rrc/CMakeLists.txt deleted file mode 100644 index c1e2faf49..000000000 --- a/lte/rrc/CMakeLists.txt +++ /dev/null @@ -1,48 +0,0 @@ -# -# Copyright 2012-2013 The libLTE Developers. See the -# COPYRIGHT file at the top-level directory of this distribution. -# -# This file is part of the libLTE library. -# -# libLTE is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# libLTE is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# A copy of the GNU Lesser General Public License can be found in -# the LICENSE file in the top-level directory of this distribution -# and at http://www.gnu.org/licenses/. -# - -######################################################################## -# Install headers -######################################################################## -INSTALL(DIRECTORY include/ - DESTINATION "${INCLUDE_DIR}" - FILES_MATCHING PATTERN "*.h" - PATTERN ".svn" EXCLUDE -) - -######################################################################## -# Add headers to cmake project (useful for IDEs) -######################################################################## -SET(HEADERS_ALL "") -FILE(GLOB headers *) -FOREACH (_header ${headers}) - IF(IS_DIRECTORY ${_header}) - FILE(GLOB_RECURSE tmp "${_header}/*.h") - LIST(APPEND HEADERS_ALL ${tmp}) - ENDIF(IS_DIRECTORY ${_header}) -ENDFOREACH() -ADD_CUSTOM_TARGET (add_lte_rrc_headers SOURCES ${HEADERS_ALL}) - - -######################################################################## -# Add subdirectories -######################################################################## -add_subdirectory(lib) diff --git a/lte/rrc/include/liblte/rrc/asn/AC-BarringConfig.h b/lte/rrc/include/liblte/rrc/asn/AC-BarringConfig.h deleted file mode 100644 index d3c29c928..000000000 --- a/lte/rrc/include/liblte/rrc/asn/AC-BarringConfig.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _AC_BarringConfig_H_ -#define _AC_BarringConfig_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum AC_BarringConfig__ac_BarringFactor { - AC_BarringConfig__ac_BarringFactor_p00 = 0, - AC_BarringConfig__ac_BarringFactor_p05 = 1, - AC_BarringConfig__ac_BarringFactor_p10 = 2, - AC_BarringConfig__ac_BarringFactor_p15 = 3, - AC_BarringConfig__ac_BarringFactor_p20 = 4, - AC_BarringConfig__ac_BarringFactor_p25 = 5, - AC_BarringConfig__ac_BarringFactor_p30 = 6, - AC_BarringConfig__ac_BarringFactor_p40 = 7, - AC_BarringConfig__ac_BarringFactor_p50 = 8, - AC_BarringConfig__ac_BarringFactor_p60 = 9, - AC_BarringConfig__ac_BarringFactor_p70 = 10, - AC_BarringConfig__ac_BarringFactor_p75 = 11, - AC_BarringConfig__ac_BarringFactor_p80 = 12, - AC_BarringConfig__ac_BarringFactor_p85 = 13, - AC_BarringConfig__ac_BarringFactor_p90 = 14, - AC_BarringConfig__ac_BarringFactor_p95 = 15 -} e_AC_BarringConfig__ac_BarringFactor; -typedef enum AC_BarringConfig__ac_BarringTime { - AC_BarringConfig__ac_BarringTime_s4 = 0, - AC_BarringConfig__ac_BarringTime_s8 = 1, - AC_BarringConfig__ac_BarringTime_s16 = 2, - AC_BarringConfig__ac_BarringTime_s32 = 3, - AC_BarringConfig__ac_BarringTime_s64 = 4, - AC_BarringConfig__ac_BarringTime_s128 = 5, - AC_BarringConfig__ac_BarringTime_s256 = 6, - AC_BarringConfig__ac_BarringTime_s512 = 7 -} e_AC_BarringConfig__ac_BarringTime; - -/* AC-BarringConfig */ -typedef struct AC_BarringConfig { - long ac_BarringFactor; - long ac_BarringTime; - BIT_STRING_t ac_BarringForSpecialAC; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AC_BarringConfig_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_ac_BarringFactor_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_ac_BarringTime_19; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_AC_BarringConfig; - -#ifdef __cplusplus -} -#endif - -#endif /* _AC_BarringConfig_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/AC-BarringConfig1XRTT-r9.h b/lte/rrc/include/liblte/rrc/asn/AC-BarringConfig1XRTT-r9.h deleted file mode 100644 index 4df2ca99c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/AC-BarringConfig1XRTT-r9.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _AC_BarringConfig1XRTT_r9_H_ -#define _AC_BarringConfig1XRTT_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* AC-BarringConfig1XRTT-r9 */ -typedef struct AC_BarringConfig1XRTT_r9 { - long ac_Barring0to9_r9; - long ac_Barring10_r9; - long ac_Barring11_r9; - long ac_Barring12_r9; - long ac_Barring13_r9; - long ac_Barring14_r9; - long ac_Barring15_r9; - long ac_BarringMsg_r9; - long ac_BarringReg_r9; - long ac_BarringEmg_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AC_BarringConfig1XRTT_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AC_BarringConfig1XRTT_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _AC_BarringConfig1XRTT_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ARFCN-ValueCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/ARFCN-ValueCDMA2000.h deleted file mode 100644 index 46b04b534..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ARFCN-ValueCDMA2000.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ARFCN_ValueCDMA2000_H_ -#define _ARFCN_ValueCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ARFCN-ValueCDMA2000 */ -typedef long ARFCN_ValueCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ARFCN_ValueCDMA2000; -asn_struct_free_f ARFCN_ValueCDMA2000_free; -asn_struct_print_f ARFCN_ValueCDMA2000_print; -asn_constr_check_f ARFCN_ValueCDMA2000_constraint; -ber_type_decoder_f ARFCN_ValueCDMA2000_decode_ber; -der_type_encoder_f ARFCN_ValueCDMA2000_encode_der; -xer_type_decoder_f ARFCN_ValueCDMA2000_decode_xer; -xer_type_encoder_f ARFCN_ValueCDMA2000_encode_xer; -per_type_decoder_f ARFCN_ValueCDMA2000_decode_uper; -per_type_encoder_f ARFCN_ValueCDMA2000_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _ARFCN_ValueCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ARFCN-ValueEUTRA.h b/lte/rrc/include/liblte/rrc/asn/ARFCN-ValueEUTRA.h deleted file mode 100644 index 839b89091..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ARFCN-ValueEUTRA.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ARFCN_ValueEUTRA_H_ -#define _ARFCN_ValueEUTRA_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ARFCN-ValueEUTRA */ -typedef long ARFCN_ValueEUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ARFCN_ValueEUTRA; -asn_struct_free_f ARFCN_ValueEUTRA_free; -asn_struct_print_f ARFCN_ValueEUTRA_print; -asn_constr_check_f ARFCN_ValueEUTRA_constraint; -ber_type_decoder_f ARFCN_ValueEUTRA_decode_ber; -der_type_encoder_f ARFCN_ValueEUTRA_encode_der; -xer_type_decoder_f ARFCN_ValueEUTRA_decode_xer; -xer_type_encoder_f ARFCN_ValueEUTRA_encode_xer; -per_type_decoder_f ARFCN_ValueEUTRA_decode_uper; -per_type_encoder_f ARFCN_ValueEUTRA_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _ARFCN_ValueEUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ARFCN-ValueGERAN.h b/lte/rrc/include/liblte/rrc/asn/ARFCN-ValueGERAN.h deleted file mode 100644 index 291e15bd9..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ARFCN-ValueGERAN.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ARFCN_ValueGERAN_H_ -#define _ARFCN_ValueGERAN_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ARFCN-ValueGERAN */ -typedef long ARFCN_ValueGERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ARFCN_ValueGERAN; -asn_struct_free_f ARFCN_ValueGERAN_free; -asn_struct_print_f ARFCN_ValueGERAN_print; -asn_constr_check_f ARFCN_ValueGERAN_constraint; -ber_type_decoder_f ARFCN_ValueGERAN_decode_ber; -der_type_encoder_f ARFCN_ValueGERAN_encode_der; -xer_type_decoder_f ARFCN_ValueGERAN_decode_xer; -xer_type_encoder_f ARFCN_ValueGERAN_encode_xer; -per_type_decoder_f ARFCN_ValueGERAN_decode_uper; -per_type_encoder_f ARFCN_ValueGERAN_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _ARFCN_ValueGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ARFCN-ValueUTRA.h b/lte/rrc/include/liblte/rrc/asn/ARFCN-ValueUTRA.h deleted file mode 100644 index 366311669..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ARFCN-ValueUTRA.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ARFCN_ValueUTRA_H_ -#define _ARFCN_ValueUTRA_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ARFCN-ValueUTRA */ -typedef long ARFCN_ValueUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ARFCN_ValueUTRA; -asn_struct_free_f ARFCN_ValueUTRA_free; -asn_struct_print_f ARFCN_ValueUTRA_print; -asn_constr_check_f ARFCN_ValueUTRA_constraint; -ber_type_decoder_f ARFCN_ValueUTRA_decode_ber; -der_type_encoder_f ARFCN_ValueUTRA_encode_der; -xer_type_decoder_f ARFCN_ValueUTRA_decode_xer; -xer_type_encoder_f ARFCN_ValueUTRA_encode_xer; -per_type_decoder_f ARFCN_ValueUTRA_decode_uper; -per_type_encoder_f ARFCN_ValueUTRA_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _ARFCN_ValueUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/AS-Config.h b/lte/rrc/include/liblte/rrc/asn/AS-Config.h deleted file mode 100644 index 47c4c4e8a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/AS-Config.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#ifndef _AS_Config_H_ -#define _AS_Config_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MeasConfig.h" -#include "liblte/rrc/asn/RadioResourceConfigDedicated.h" -#include "liblte/rrc/asn/SecurityAlgorithmConfig.h" -#include "liblte/rrc/asn/C-RNTI.h" -#include "liblte/rrc/asn/MasterInformationBlock.h" -#include "liblte/rrc/asn/SystemInformationBlockType1.h" -#include "liblte/rrc/asn/SystemInformationBlockType2.h" -#include "liblte/rrc/asn/AntennaInfoCommon.h" -#include "liblte/rrc/asn/ARFCN-ValueEUTRA.h" -#include -#include "liblte/rrc/asn/OtherConfig-r9.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct OtherConfig_r9; - -/* AS-Config */ -typedef struct AS_Config { - MeasConfig_t sourceMeasConfig; - RadioResourceConfigDedicated_t sourceRadioResourceConfig; - SecurityAlgorithmConfig_t sourceSecurityAlgorithmConfig; - C_RNTI_t sourceUE_Identity; - MasterInformationBlock_t sourceMasterInformationBlock; - SystemInformationBlockType1_t sourceSystemInformationBlockType1; - SystemInformationBlockType2_t sourceSystemInformationBlockType2; - AntennaInfoCommon_t antennaInfoCommon; - ARFCN_ValueEUTRA_t sourceDl_CarrierFreq; - /* - * This type is extensible, - * possible extensions are below. - */ - OCTET_STRING_t *sourceSystemInformationBlockType1Ext /* OPTIONAL */; - struct OtherConfig_r9 *sourceOtherConfig_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AS_Config_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AS_Config; - -#ifdef __cplusplus -} -#endif - -#endif /* _AS_Config_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/AS-Context.h b/lte/rrc/include/liblte/rrc/asn/AS-Context.h deleted file mode 100644 index ef3e53d67..000000000 --- a/lte/rrc/include/liblte/rrc/asn/AS-Context.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#ifndef _AS_Context_H_ -#define _AS_Context_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct ReestablishmentInfo; - -/* AS-Context */ -typedef struct AS_Context { - struct ReestablishmentInfo *reestablishmentInfo /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AS_Context_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AS_Context; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/ReestablishmentInfo.h" - -#endif /* _AS_Context_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/AbsoluteTimeInfo-r10.h b/lte/rrc/include/liblte/rrc/asn/AbsoluteTimeInfo-r10.h deleted file mode 100644 index 001ebf746..000000000 --- a/lte/rrc/include/liblte/rrc/asn/AbsoluteTimeInfo-r10.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _AbsoluteTimeInfo_r10_H_ -#define _AbsoluteTimeInfo_r10_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* AbsoluteTimeInfo-r10 */ -typedef BIT_STRING_t AbsoluteTimeInfo_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AbsoluteTimeInfo_r10; -asn_struct_free_f AbsoluteTimeInfo_r10_free; -asn_struct_print_f AbsoluteTimeInfo_r10_print; -asn_constr_check_f AbsoluteTimeInfo_r10_constraint; -ber_type_decoder_f AbsoluteTimeInfo_r10_decode_ber; -der_type_encoder_f AbsoluteTimeInfo_r10_encode_der; -xer_type_decoder_f AbsoluteTimeInfo_r10_decode_xer; -xer_type_encoder_f AbsoluteTimeInfo_r10_encode_xer; -per_type_decoder_f AbsoluteTimeInfo_r10_decode_uper; -per_type_encoder_f AbsoluteTimeInfo_r10_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _AbsoluteTimeInfo_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/AccessStratumRelease.h b/lte/rrc/include/liblte/rrc/asn/AccessStratumRelease.h deleted file mode 100644 index 54fcaeedf..000000000 --- a/lte/rrc/include/liblte/rrc/asn/AccessStratumRelease.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _AccessStratumRelease_H_ -#define _AccessStratumRelease_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum AccessStratumRelease { - AccessStratumRelease_rel8 = 0, - AccessStratumRelease_rel9 = 1, - AccessStratumRelease_rel10 = 2, - AccessStratumRelease_spare5 = 3, - AccessStratumRelease_spare4 = 4, - AccessStratumRelease_spare3 = 5, - AccessStratumRelease_spare2 = 6, - AccessStratumRelease_spare1 = 7 - /* - * Enumeration is extensible - */ -} e_AccessStratumRelease; - -/* AccessStratumRelease */ -typedef long AccessStratumRelease_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AccessStratumRelease; -asn_struct_free_f AccessStratumRelease_free; -asn_struct_print_f AccessStratumRelease_print; -asn_constr_check_f AccessStratumRelease_constraint; -ber_type_decoder_f AccessStratumRelease_decode_ber; -der_type_encoder_f AccessStratumRelease_encode_der; -xer_type_decoder_f AccessStratumRelease_decode_xer; -xer_type_encoder_f AccessStratumRelease_encode_xer; -per_type_decoder_f AccessStratumRelease_decode_uper; -per_type_encoder_f AccessStratumRelease_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _AccessStratumRelease_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/AdditionalReestabInfo.h b/lte/rrc/include/liblte/rrc/asn/AdditionalReestabInfo.h deleted file mode 100644 index 7fca6a30e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/AdditionalReestabInfo.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#ifndef _AdditionalReestabInfo_H_ -#define _AdditionalReestabInfo_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CellIdentity.h" -#include "liblte/rrc/asn/Key-eNodeB-Star.h" -#include "liblte/rrc/asn/ShortMAC-I.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* AdditionalReestabInfo */ -typedef struct AdditionalReestabInfo { - CellIdentity_t cellIdentity; - Key_eNodeB_Star_t key_eNodeB_Star; - ShortMAC_I_t shortMAC_I; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AdditionalReestabInfo_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AdditionalReestabInfo; - -#ifdef __cplusplus -} -#endif - -#endif /* _AdditionalReestabInfo_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/AdditionalReestabInfoList.h b/lte/rrc/include/liblte/rrc/asn/AdditionalReestabInfoList.h deleted file mode 100644 index 85eac9836..000000000 --- a/lte/rrc/include/liblte/rrc/asn/AdditionalReestabInfoList.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#ifndef _AdditionalReestabInfoList_H_ -#define _AdditionalReestabInfoList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct AdditionalReestabInfo; - -/* AdditionalReestabInfoList */ -typedef struct AdditionalReestabInfoList { - A_SEQUENCE_OF(struct AdditionalReestabInfo) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AdditionalReestabInfoList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AdditionalReestabInfoList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/AdditionalReestabInfo.h" - -#endif /* _AdditionalReestabInfoList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/AdditionalSI-Info-r9.h b/lte/rrc/include/liblte/rrc/asn/AdditionalSI-Info-r9.h deleted file mode 100644 index 959f2daa8..000000000 --- a/lte/rrc/include/liblte/rrc/asn/AdditionalSI-Info-r9.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _AdditionalSI_Info_r9_H_ -#define _AdditionalSI_Info_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/CSG-Identity.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum AdditionalSI_Info_r9__csg_MemberStatus_r9 { - AdditionalSI_Info_r9__csg_MemberStatus_r9_member = 0 -} e_AdditionalSI_Info_r9__csg_MemberStatus_r9; - -/* AdditionalSI-Info-r9 */ -typedef struct AdditionalSI_Info_r9 { - long *csg_MemberStatus_r9 /* OPTIONAL */; - CSG_Identity_t *csg_Identity_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AdditionalSI_Info_r9_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_csg_MemberStatus_r9_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_AdditionalSI_Info_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _AdditionalSI_Info_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/AdditionalSpectrumEmission.h b/lte/rrc/include/liblte/rrc/asn/AdditionalSpectrumEmission.h deleted file mode 100644 index a50ea23cc..000000000 --- a/lte/rrc/include/liblte/rrc/asn/AdditionalSpectrumEmission.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _AdditionalSpectrumEmission_H_ -#define _AdditionalSpectrumEmission_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* AdditionalSpectrumEmission */ -typedef long AdditionalSpectrumEmission_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AdditionalSpectrumEmission; -asn_struct_free_f AdditionalSpectrumEmission_free; -asn_struct_print_f AdditionalSpectrumEmission_print; -asn_constr_check_f AdditionalSpectrumEmission_constraint; -ber_type_decoder_f AdditionalSpectrumEmission_decode_ber; -der_type_encoder_f AdditionalSpectrumEmission_encode_der; -xer_type_decoder_f AdditionalSpectrumEmission_decode_xer; -xer_type_encoder_f AdditionalSpectrumEmission_encode_xer; -per_type_decoder_f AdditionalSpectrumEmission_decode_uper; -per_type_encoder_f AdditionalSpectrumEmission_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _AdditionalSpectrumEmission_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/AllowedMeasBandwidth.h b/lte/rrc/include/liblte/rrc/asn/AllowedMeasBandwidth.h deleted file mode 100644 index d48e84326..000000000 --- a/lte/rrc/include/liblte/rrc/asn/AllowedMeasBandwidth.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _AllowedMeasBandwidth_H_ -#define _AllowedMeasBandwidth_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum AllowedMeasBandwidth { - AllowedMeasBandwidth_mbw6 = 0, - AllowedMeasBandwidth_mbw15 = 1, - AllowedMeasBandwidth_mbw25 = 2, - AllowedMeasBandwidth_mbw50 = 3, - AllowedMeasBandwidth_mbw75 = 4, - AllowedMeasBandwidth_mbw100 = 5 -} e_AllowedMeasBandwidth; - -/* AllowedMeasBandwidth */ -typedef long AllowedMeasBandwidth_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AllowedMeasBandwidth; -asn_struct_free_f AllowedMeasBandwidth_free; -asn_struct_print_f AllowedMeasBandwidth_print; -asn_constr_check_f AllowedMeasBandwidth_constraint; -ber_type_decoder_f AllowedMeasBandwidth_decode_ber; -der_type_encoder_f AllowedMeasBandwidth_encode_der; -xer_type_decoder_f AllowedMeasBandwidth_decode_xer; -xer_type_encoder_f AllowedMeasBandwidth_encode_xer; -per_type_decoder_f AllowedMeasBandwidth_decode_uper; -per_type_encoder_f AllowedMeasBandwidth_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _AllowedMeasBandwidth_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/AntennaInfoCommon.h b/lte/rrc/include/liblte/rrc/asn/AntennaInfoCommon.h deleted file mode 100644 index 9659650e1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/AntennaInfoCommon.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _AntennaInfoCommon_H_ -#define _AntennaInfoCommon_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum AntennaInfoCommon__antennaPortsCount { - AntennaInfoCommon__antennaPortsCount_an1 = 0, - AntennaInfoCommon__antennaPortsCount_an2 = 1, - AntennaInfoCommon__antennaPortsCount_an4 = 2, - AntennaInfoCommon__antennaPortsCount_spare1 = 3 -} e_AntennaInfoCommon__antennaPortsCount; - -/* AntennaInfoCommon */ -typedef struct AntennaInfoCommon { - long antennaPortsCount; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AntennaInfoCommon_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_antennaPortsCount_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_AntennaInfoCommon; - -#ifdef __cplusplus -} -#endif - -#endif /* _AntennaInfoCommon_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/AntennaInfoDedicated-r10.h b/lte/rrc/include/liblte/rrc/asn/AntennaInfoDedicated-r10.h deleted file mode 100644 index 36b1c4c03..000000000 --- a/lte/rrc/include/liblte/rrc/asn/AntennaInfoDedicated-r10.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _AntennaInfoDedicated_r10_H_ -#define _AntennaInfoDedicated_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum AntennaInfoDedicated_r10__transmissionMode_r10 { - AntennaInfoDedicated_r10__transmissionMode_r10_tm1 = 0, - AntennaInfoDedicated_r10__transmissionMode_r10_tm2 = 1, - AntennaInfoDedicated_r10__transmissionMode_r10_tm3 = 2, - AntennaInfoDedicated_r10__transmissionMode_r10_tm4 = 3, - AntennaInfoDedicated_r10__transmissionMode_r10_tm5 = 4, - AntennaInfoDedicated_r10__transmissionMode_r10_tm6 = 5, - AntennaInfoDedicated_r10__transmissionMode_r10_tm7 = 6, - AntennaInfoDedicated_r10__transmissionMode_r10_tm8_v920 = 7, - AntennaInfoDedicated_r10__transmissionMode_r10_tm9_v1020 = 8, - AntennaInfoDedicated_r10__transmissionMode_r10_spare7 = 9, - AntennaInfoDedicated_r10__transmissionMode_r10_spare6 = 10, - AntennaInfoDedicated_r10__transmissionMode_r10_spare5 = 11, - AntennaInfoDedicated_r10__transmissionMode_r10_spare4 = 12, - AntennaInfoDedicated_r10__transmissionMode_r10_spare3 = 13, - AntennaInfoDedicated_r10__transmissionMode_r10_spare2 = 14, - AntennaInfoDedicated_r10__transmissionMode_r10_spare1 = 15 -} e_AntennaInfoDedicated_r10__transmissionMode_r10; -typedef enum AntennaInfoDedicated_r10__ue_TransmitAntennaSelection_PR { - AntennaInfoDedicated_r10__ue_TransmitAntennaSelection_PR_NOTHING, /* No components present */ - AntennaInfoDedicated_r10__ue_TransmitAntennaSelection_PR_release, - AntennaInfoDedicated_r10__ue_TransmitAntennaSelection_PR_setup -} AntennaInfoDedicated_r10__ue_TransmitAntennaSelection_PR; -typedef enum AntennaInfoDedicated_r10__ue_TransmitAntennaSelection__setup { - AntennaInfoDedicated_r10__ue_TransmitAntennaSelection__setup_closedLoop = 0, - AntennaInfoDedicated_r10__ue_TransmitAntennaSelection__setup_openLoop = 1 -} e_AntennaInfoDedicated_r10__ue_TransmitAntennaSelection__setup; - -/* AntennaInfoDedicated-r10 */ -typedef struct AntennaInfoDedicated_r10 { - long transmissionMode_r10; - BIT_STRING_t *codebookSubsetRestriction_r10 /* OPTIONAL */; - struct AntennaInfoDedicated_r10__ue_TransmitAntennaSelection { - AntennaInfoDedicated_r10__ue_TransmitAntennaSelection_PR present; - union AntennaInfoDedicated_r10__ue_TransmitAntennaSelection_u { - NULL_t release; - long setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } ue_TransmitAntennaSelection; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AntennaInfoDedicated_r10_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_transmissionMode_r10_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_setup_22; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_AntennaInfoDedicated_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _AntennaInfoDedicated_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/AntennaInfoDedicated-v920.h b/lte/rrc/include/liblte/rrc/asn/AntennaInfoDedicated-v920.h deleted file mode 100644 index a9aed0691..000000000 --- a/lte/rrc/include/liblte/rrc/asn/AntennaInfoDedicated-v920.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _AntennaInfoDedicated_v920_H_ -#define _AntennaInfoDedicated_v920_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum AntennaInfoDedicated_v920__codebookSubsetRestriction_v920_PR { - AntennaInfoDedicated_v920__codebookSubsetRestriction_v920_PR_NOTHING, /* No components present */ - AntennaInfoDedicated_v920__codebookSubsetRestriction_v920_PR_n2TxAntenna_tm8_r9, - AntennaInfoDedicated_v920__codebookSubsetRestriction_v920_PR_n4TxAntenna_tm8_r9 -} AntennaInfoDedicated_v920__codebookSubsetRestriction_v920_PR; - -/* AntennaInfoDedicated-v920 */ -typedef struct AntennaInfoDedicated_v920 { - struct AntennaInfoDedicated_v920__codebookSubsetRestriction_v920 { - AntennaInfoDedicated_v920__codebookSubsetRestriction_v920_PR present; - union AntennaInfoDedicated_v920__codebookSubsetRestriction_v920_u { - BIT_STRING_t n2TxAntenna_tm8_r9; - BIT_STRING_t n4TxAntenna_tm8_r9; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *codebookSubsetRestriction_v920; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AntennaInfoDedicated_v920_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AntennaInfoDedicated_v920; - -#ifdef __cplusplus -} -#endif - -#endif /* _AntennaInfoDedicated_v920_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/AntennaInfoDedicated.h b/lte/rrc/include/liblte/rrc/asn/AntennaInfoDedicated.h deleted file mode 100644 index 4f88da944..000000000 --- a/lte/rrc/include/liblte/rrc/asn/AntennaInfoDedicated.h +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _AntennaInfoDedicated_H_ -#define _AntennaInfoDedicated_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum AntennaInfoDedicated__transmissionMode { - AntennaInfoDedicated__transmissionMode_tm1 = 0, - AntennaInfoDedicated__transmissionMode_tm2 = 1, - AntennaInfoDedicated__transmissionMode_tm3 = 2, - AntennaInfoDedicated__transmissionMode_tm4 = 3, - AntennaInfoDedicated__transmissionMode_tm5 = 4, - AntennaInfoDedicated__transmissionMode_tm6 = 5, - AntennaInfoDedicated__transmissionMode_tm7 = 6, - AntennaInfoDedicated__transmissionMode_tm8_v920 = 7 -} e_AntennaInfoDedicated__transmissionMode; -typedef enum AntennaInfoDedicated__codebookSubsetRestriction_PR { - AntennaInfoDedicated__codebookSubsetRestriction_PR_NOTHING, /* No components present */ - AntennaInfoDedicated__codebookSubsetRestriction_PR_n2TxAntenna_tm3, - AntennaInfoDedicated__codebookSubsetRestriction_PR_n4TxAntenna_tm3, - AntennaInfoDedicated__codebookSubsetRestriction_PR_n2TxAntenna_tm4, - AntennaInfoDedicated__codebookSubsetRestriction_PR_n4TxAntenna_tm4, - AntennaInfoDedicated__codebookSubsetRestriction_PR_n2TxAntenna_tm5, - AntennaInfoDedicated__codebookSubsetRestriction_PR_n4TxAntenna_tm5, - AntennaInfoDedicated__codebookSubsetRestriction_PR_n2TxAntenna_tm6, - AntennaInfoDedicated__codebookSubsetRestriction_PR_n4TxAntenna_tm6 -} AntennaInfoDedicated__codebookSubsetRestriction_PR; -typedef enum AntennaInfoDedicated__ue_TransmitAntennaSelection_PR { - AntennaInfoDedicated__ue_TransmitAntennaSelection_PR_NOTHING, /* No components present */ - AntennaInfoDedicated__ue_TransmitAntennaSelection_PR_release, - AntennaInfoDedicated__ue_TransmitAntennaSelection_PR_setup -} AntennaInfoDedicated__ue_TransmitAntennaSelection_PR; -typedef enum AntennaInfoDedicated__ue_TransmitAntennaSelection__setup { - AntennaInfoDedicated__ue_TransmitAntennaSelection__setup_closedLoop = 0, - AntennaInfoDedicated__ue_TransmitAntennaSelection__setup_openLoop = 1 -} e_AntennaInfoDedicated__ue_TransmitAntennaSelection__setup; - -/* AntennaInfoDedicated */ -typedef struct AntennaInfoDedicated { - long transmissionMode; - struct AntennaInfoDedicated__codebookSubsetRestriction { - AntennaInfoDedicated__codebookSubsetRestriction_PR present; - union AntennaInfoDedicated__codebookSubsetRestriction_u { - BIT_STRING_t n2TxAntenna_tm3; - BIT_STRING_t n4TxAntenna_tm3; - BIT_STRING_t n2TxAntenna_tm4; - BIT_STRING_t n4TxAntenna_tm4; - BIT_STRING_t n2TxAntenna_tm5; - BIT_STRING_t n4TxAntenna_tm5; - BIT_STRING_t n2TxAntenna_tm6; - BIT_STRING_t n4TxAntenna_tm6; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *codebookSubsetRestriction; - struct AntennaInfoDedicated__ue_TransmitAntennaSelection { - AntennaInfoDedicated__ue_TransmitAntennaSelection_PR present; - union AntennaInfoDedicated__ue_TransmitAntennaSelection_u { - NULL_t release; - long setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } ue_TransmitAntennaSelection; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AntennaInfoDedicated_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_transmissionMode_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_setup_22; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_AntennaInfoDedicated; - -#ifdef __cplusplus -} -#endif - -#endif /* _AntennaInfoDedicated_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/AntennaInfoUL-r10.h b/lte/rrc/include/liblte/rrc/asn/AntennaInfoUL-r10.h deleted file mode 100644 index 5bb45dc32..000000000 --- a/lte/rrc/include/liblte/rrc/asn/AntennaInfoUL-r10.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _AntennaInfoUL_r10_H_ -#define _AntennaInfoUL_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum AntennaInfoUL_r10__transmissionModeUL_r10 { - AntennaInfoUL_r10__transmissionModeUL_r10_tm1 = 0, - AntennaInfoUL_r10__transmissionModeUL_r10_tm2 = 1, - AntennaInfoUL_r10__transmissionModeUL_r10_spare6 = 2, - AntennaInfoUL_r10__transmissionModeUL_r10_spare5 = 3, - AntennaInfoUL_r10__transmissionModeUL_r10_spare4 = 4, - AntennaInfoUL_r10__transmissionModeUL_r10_spare3 = 5, - AntennaInfoUL_r10__transmissionModeUL_r10_spare2 = 6, - AntennaInfoUL_r10__transmissionModeUL_r10_spare1 = 7 -} e_AntennaInfoUL_r10__transmissionModeUL_r10; -typedef enum AntennaInfoUL_r10__fourAntennaPortActivated_r10 { - AntennaInfoUL_r10__fourAntennaPortActivated_r10_setup = 0 -} e_AntennaInfoUL_r10__fourAntennaPortActivated_r10; - -/* AntennaInfoUL-r10 */ -typedef struct AntennaInfoUL_r10 { - long *transmissionModeUL_r10 /* OPTIONAL */; - long *fourAntennaPortActivated_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AntennaInfoUL_r10_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_transmissionModeUL_r10_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_fourAntennaPortActivated_r10_11; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_AntennaInfoUL_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _AntennaInfoUL_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/AreaConfiguration-r10.h b/lte/rrc/include/liblte/rrc/asn/AreaConfiguration-r10.h deleted file mode 100644 index b4951e5fc..000000000 --- a/lte/rrc/include/liblte/rrc/asn/AreaConfiguration-r10.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _AreaConfiguration_r10_H_ -#define _AreaConfiguration_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CellGlobalIdList-r10.h" -#include "liblte/rrc/asn/TrackingAreaCodeList-r10.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum AreaConfiguration_r10_PR { - AreaConfiguration_r10_PR_NOTHING, /* No components present */ - AreaConfiguration_r10_PR_cellGlobalIdList_r10, - AreaConfiguration_r10_PR_trackingAreaCodeList_r10 -} AreaConfiguration_r10_PR; - -/* AreaConfiguration-r10 */ -typedef struct AreaConfiguration_r10 { - AreaConfiguration_r10_PR present; - union AreaConfiguration_r10_u { - CellGlobalIdList_r10_t cellGlobalIdList_r10; - TrackingAreaCodeList_r10_t trackingAreaCodeList_r10; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AreaConfiguration_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AreaConfiguration_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _AreaConfiguration_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BCCH-BCH-Message.h b/lte/rrc/include/liblte/rrc/asn/BCCH-BCH-Message.h deleted file mode 100644 index b776d1299..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BCCH-BCH-Message.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BCCH_BCH_Message_H_ -#define _BCCH_BCH_Message_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/BCCH-BCH-MessageType.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* BCCH-BCH-Message */ -typedef struct BCCH_BCH_Message { - BCCH_BCH_MessageType_t message; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BCCH_BCH_Message_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BCCH_BCH_Message; - -#ifdef __cplusplus -} -#endif - -#endif /* _BCCH_BCH_Message_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BCCH-BCH-MessageType.h b/lte/rrc/include/liblte/rrc/asn/BCCH-BCH-MessageType.h deleted file mode 100644 index a289843fd..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BCCH-BCH-MessageType.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BCCH_BCH_MessageType_H_ -#define _BCCH_BCH_MessageType_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MasterInformationBlock.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* BCCH-BCH-MessageType */ -typedef MasterInformationBlock_t BCCH_BCH_MessageType_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BCCH_BCH_MessageType; -asn_struct_free_f BCCH_BCH_MessageType_free; -asn_struct_print_f BCCH_BCH_MessageType_print; -asn_constr_check_f BCCH_BCH_MessageType_constraint; -ber_type_decoder_f BCCH_BCH_MessageType_decode_ber; -der_type_encoder_f BCCH_BCH_MessageType_encode_der; -xer_type_decoder_f BCCH_BCH_MessageType_decode_xer; -xer_type_encoder_f BCCH_BCH_MessageType_encode_xer; -per_type_decoder_f BCCH_BCH_MessageType_decode_uper; -per_type_encoder_f BCCH_BCH_MessageType_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _BCCH_BCH_MessageType_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BCCH-Config.h b/lte/rrc/include/liblte/rrc/asn/BCCH-Config.h deleted file mode 100644 index b6f6c7ae1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BCCH-Config.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BCCH_Config_H_ -#define _BCCH_Config_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum BCCH_Config__modificationPeriodCoeff { - BCCH_Config__modificationPeriodCoeff_n2 = 0, - BCCH_Config__modificationPeriodCoeff_n4 = 1, - BCCH_Config__modificationPeriodCoeff_n8 = 2, - BCCH_Config__modificationPeriodCoeff_n16 = 3 -} e_BCCH_Config__modificationPeriodCoeff; - -/* BCCH-Config */ -typedef struct BCCH_Config { - long modificationPeriodCoeff; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BCCH_Config_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_modificationPeriodCoeff_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_BCCH_Config; - -#ifdef __cplusplus -} -#endif - -#endif /* _BCCH_Config_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BCCH-DL-SCH-Message.h b/lte/rrc/include/liblte/rrc/asn/BCCH-DL-SCH-Message.h deleted file mode 100644 index 7e07b36d9..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BCCH-DL-SCH-Message.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BCCH_DL_SCH_Message_H_ -#define _BCCH_DL_SCH_Message_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/BCCH-DL-SCH-MessageType.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* BCCH-DL-SCH-Message */ -typedef struct BCCH_DL_SCH_Message { - BCCH_DL_SCH_MessageType_t message; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BCCH_DL_SCH_Message_t; - -/* Implementation */ -LIBLTE_API extern asn_TYPE_descriptor_t asn_DEF_BCCH_DL_SCH_Message; - -#ifdef __cplusplus -} -#endif - -#endif /* _BCCH_DL_SCH_Message_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BCCH-DL-SCH-MessageType.h b/lte/rrc/include/liblte/rrc/asn/BCCH-DL-SCH-MessageType.h deleted file mode 100644 index a5544426f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BCCH-DL-SCH-MessageType.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BCCH_DL_SCH_MessageType_H_ -#define _BCCH_DL_SCH_MessageType_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SystemInformation.h" -#include "liblte/rrc/asn/SystemInformationBlockType1.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum BCCH_DL_SCH_MessageType_PR { - BCCH_DL_SCH_MessageType_PR_NOTHING, /* No components present */ - BCCH_DL_SCH_MessageType_PR_c1, - BCCH_DL_SCH_MessageType_PR_messageClassExtension -} BCCH_DL_SCH_MessageType_PR; -typedef enum BCCH_DL_SCH_MessageType__c1_PR { - BCCH_DL_SCH_MessageType__c1_PR_NOTHING, /* No components present */ - BCCH_DL_SCH_MessageType__c1_PR_systemInformation, - BCCH_DL_SCH_MessageType__c1_PR_systemInformationBlockType1 -} BCCH_DL_SCH_MessageType__c1_PR; - -/* BCCH-DL-SCH-MessageType */ -typedef struct BCCH_DL_SCH_MessageType { - BCCH_DL_SCH_MessageType_PR present; - union BCCH_DL_SCH_MessageType_u { - struct BCCH_DL_SCH_MessageType__c1 { - BCCH_DL_SCH_MessageType__c1_PR present; - union BCCH_DL_SCH_MessageType__c1_u { - SystemInformation_t systemInformation; - SystemInformationBlockType1_t systemInformationBlockType1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct BCCH_DL_SCH_MessageType__messageClassExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } messageClassExtension; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BCCH_DL_SCH_MessageType_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BCCH_DL_SCH_MessageType; - -#ifdef __cplusplus -} -#endif - -#endif /* _BCCH_DL_SCH_MessageType_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BIT_STRING.h b/lte/rrc/include/liblte/rrc/asn/BIT_STRING.h deleted file mode 100644 index 5d7d558e0..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BIT_STRING.h +++ /dev/null @@ -1,33 +0,0 @@ -/*- - * Copyright (c) 2003 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _BIT_STRING_H_ -#define _BIT_STRING_H_ - -#include /* Some help from OCTET STRING */ - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct BIT_STRING_s { - uint8_t *buf; /* BIT STRING body */ - int size; /* Size of the above buffer */ - - int bits_unused;/* Unused trailing bits in the last octet (0..7) */ - - asn_struct_ctx_t _asn_ctx; /* Parsing across buffer boundaries */ -} BIT_STRING_t; - -extern asn_TYPE_descriptor_t asn_DEF_BIT_STRING; - -asn_struct_print_f BIT_STRING_print; /* Human-readable output */ -asn_constr_check_f BIT_STRING_constraint; -xer_type_encoder_f BIT_STRING_encode_xer; - -#ifdef __cplusplus -} -#endif - -#endif /* _BIT_STRING_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/BOOLEAN.h b/lte/rrc/include/liblte/rrc/asn/BOOLEAN.h deleted file mode 100644 index f89c39869..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BOOLEAN.h +++ /dev/null @@ -1,36 +0,0 @@ -/*- - * Copyright (c) 2003 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _BOOLEAN_H_ -#define _BOOLEAN_H_ - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* - * The underlying integer may contain various values, but everything - * non-zero is capped to 0xff by the DER encoder. The BER decoder may - * yield non-zero values different from 1, beware. - */ -typedef int BOOLEAN_t; - -extern asn_TYPE_descriptor_t asn_DEF_BOOLEAN; - -asn_struct_free_f BOOLEAN_free; -asn_struct_print_f BOOLEAN_print; -ber_type_decoder_f BOOLEAN_decode_ber; -der_type_encoder_f BOOLEAN_encode_der; -xer_type_decoder_f BOOLEAN_decode_xer; -xer_type_encoder_f BOOLEAN_encode_xer; -per_type_decoder_f BOOLEAN_decode_uper; -per_type_encoder_f BOOLEAN_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _BOOLEAN_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/BandClassInfoCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/BandClassInfoCDMA2000.h deleted file mode 100644 index 4e1e2ec3c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BandClassInfoCDMA2000.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BandClassInfoCDMA2000_H_ -#define _BandClassInfoCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/BandclassCDMA2000.h" -#include "liblte/rrc/asn/CellReselectionPriority.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* BandClassInfoCDMA2000 */ -typedef struct BandClassInfoCDMA2000 { - BandclassCDMA2000_t bandClass; - CellReselectionPriority_t *cellReselectionPriority /* OPTIONAL */; - long threshX_High; - long threshX_Low; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BandClassInfoCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BandClassInfoCDMA2000; - -#ifdef __cplusplus -} -#endif - -#endif /* _BandClassInfoCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BandClassListCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/BandClassListCDMA2000.h deleted file mode 100644 index a2b4b9f9e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BandClassListCDMA2000.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BandClassListCDMA2000_H_ -#define _BandClassListCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct BandClassInfoCDMA2000; - -/* BandClassListCDMA2000 */ -typedef struct BandClassListCDMA2000 { - A_SEQUENCE_OF(struct BandClassInfoCDMA2000) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BandClassListCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BandClassListCDMA2000; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/BandClassInfoCDMA2000.h" - -#endif /* _BandClassListCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BandClassPriority1XRTT.h b/lte/rrc/include/liblte/rrc/asn/BandClassPriority1XRTT.h deleted file mode 100644 index 48ab82510..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BandClassPriority1XRTT.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BandClassPriority1XRTT_H_ -#define _BandClassPriority1XRTT_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/BandclassCDMA2000.h" -#include "liblte/rrc/asn/CellReselectionPriority.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* BandClassPriority1XRTT */ -typedef struct BandClassPriority1XRTT { - BandclassCDMA2000_t bandClass; - CellReselectionPriority_t cellReselectionPriority; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BandClassPriority1XRTT_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BandClassPriority1XRTT; - -#ifdef __cplusplus -} -#endif - -#endif /* _BandClassPriority1XRTT_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BandClassPriorityHRPD.h b/lte/rrc/include/liblte/rrc/asn/BandClassPriorityHRPD.h deleted file mode 100644 index b97965c25..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BandClassPriorityHRPD.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BandClassPriorityHRPD_H_ -#define _BandClassPriorityHRPD_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/BandclassCDMA2000.h" -#include "liblte/rrc/asn/CellReselectionPriority.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* BandClassPriorityHRPD */ -typedef struct BandClassPriorityHRPD { - BandclassCDMA2000_t bandClass; - CellReselectionPriority_t cellReselectionPriority; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BandClassPriorityHRPD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BandClassPriorityHRPD; - -#ifdef __cplusplus -} -#endif - -#endif /* _BandClassPriorityHRPD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BandClassPriorityList1XRTT.h b/lte/rrc/include/liblte/rrc/asn/BandClassPriorityList1XRTT.h deleted file mode 100644 index cb4b32853..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BandClassPriorityList1XRTT.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BandClassPriorityList1XRTT_H_ -#define _BandClassPriorityList1XRTT_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct BandClassPriority1XRTT; - -/* BandClassPriorityList1XRTT */ -typedef struct BandClassPriorityList1XRTT { - A_SEQUENCE_OF(struct BandClassPriority1XRTT) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BandClassPriorityList1XRTT_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BandClassPriorityList1XRTT; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/BandClassPriority1XRTT.h" - -#endif /* _BandClassPriorityList1XRTT_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BandClassPriorityListHRPD.h b/lte/rrc/include/liblte/rrc/asn/BandClassPriorityListHRPD.h deleted file mode 100644 index b9cd6601d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BandClassPriorityListHRPD.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BandClassPriorityListHRPD_H_ -#define _BandClassPriorityListHRPD_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct BandClassPriorityHRPD; - -/* BandClassPriorityListHRPD */ -typedef struct BandClassPriorityListHRPD { - A_SEQUENCE_OF(struct BandClassPriorityHRPD) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BandClassPriorityListHRPD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BandClassPriorityListHRPD; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/BandClassPriorityHRPD.h" - -#endif /* _BandClassPriorityListHRPD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BandCombinationListEUTRA-r10.h b/lte/rrc/include/liblte/rrc/asn/BandCombinationListEUTRA-r10.h deleted file mode 100644 index 577b6f4b9..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BandCombinationListEUTRA-r10.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BandCombinationListEUTRA_r10_H_ -#define _BandCombinationListEUTRA_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct BandInfoEUTRA; - -/* BandCombinationListEUTRA-r10 */ -typedef struct BandCombinationListEUTRA_r10 { - A_SEQUENCE_OF(struct BandInfoEUTRA) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BandCombinationListEUTRA_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BandCombinationListEUTRA_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/BandInfoEUTRA.h" - -#endif /* _BandCombinationListEUTRA_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BandCombinationParameters-r10.h b/lte/rrc/include/liblte/rrc/asn/BandCombinationParameters-r10.h deleted file mode 100644 index 5e14df76a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BandCombinationParameters-r10.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BandCombinationParameters_r10_H_ -#define _BandCombinationParameters_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct BandParameters_r10; - -/* BandCombinationParameters-r10 */ -typedef struct BandCombinationParameters_r10 { - A_SEQUENCE_OF(struct BandParameters_r10) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BandCombinationParameters_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BandCombinationParameters_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/BandParameters-r10.h" - -#endif /* _BandCombinationParameters_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BandIndicatorGERAN.h b/lte/rrc/include/liblte/rrc/asn/BandIndicatorGERAN.h deleted file mode 100644 index 28ce9c5e0..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BandIndicatorGERAN.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BandIndicatorGERAN_H_ -#define _BandIndicatorGERAN_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum BandIndicatorGERAN { - BandIndicatorGERAN_dcs1800 = 0, - BandIndicatorGERAN_pcs1900 = 1 -} e_BandIndicatorGERAN; - -/* BandIndicatorGERAN */ -typedef long BandIndicatorGERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BandIndicatorGERAN; -asn_struct_free_f BandIndicatorGERAN_free; -asn_struct_print_f BandIndicatorGERAN_print; -asn_constr_check_f BandIndicatorGERAN_constraint; -ber_type_decoder_f BandIndicatorGERAN_decode_ber; -der_type_encoder_f BandIndicatorGERAN_encode_der; -xer_type_decoder_f BandIndicatorGERAN_decode_xer; -xer_type_encoder_f BandIndicatorGERAN_encode_xer; -per_type_decoder_f BandIndicatorGERAN_decode_uper; -per_type_encoder_f BandIndicatorGERAN_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _BandIndicatorGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BandInfoEUTRA.h b/lte/rrc/include/liblte/rrc/asn/BandInfoEUTRA.h deleted file mode 100644 index c8b9d954a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BandInfoEUTRA.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BandInfoEUTRA_H_ -#define _BandInfoEUTRA_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/InterFreqBandList.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct InterRAT_BandList; - -/* BandInfoEUTRA */ -typedef struct BandInfoEUTRA { - InterFreqBandList_t interFreqBandList; - struct InterRAT_BandList *interRAT_BandList /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BandInfoEUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BandInfoEUTRA; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/InterRAT-BandList.h" - -#endif /* _BandInfoEUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BandListEUTRA.h b/lte/rrc/include/liblte/rrc/asn/BandListEUTRA.h deleted file mode 100644 index 3b9a3ba05..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BandListEUTRA.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BandListEUTRA_H_ -#define _BandListEUTRA_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct BandInfoEUTRA; - -/* BandListEUTRA */ -typedef struct BandListEUTRA { - A_SEQUENCE_OF(struct BandInfoEUTRA) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BandListEUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BandListEUTRA; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/BandInfoEUTRA.h" - -#endif /* _BandListEUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BandParameters-r10.h b/lte/rrc/include/liblte/rrc/asn/BandParameters-r10.h deleted file mode 100644 index 18d11c8c3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BandParameters-r10.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BandParameters_r10_H_ -#define _BandParameters_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct BandParametersUL_r10; -struct BandParametersDL_r10; - -/* BandParameters-r10 */ -typedef struct BandParameters_r10 { - long bandEUTRA_r10; - struct BandParametersUL_r10 *bandParametersUL_r10 /* OPTIONAL */; - struct BandParametersDL_r10 *bandParametersDL_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BandParameters_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BandParameters_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/BandParametersUL-r10.h" -#include "liblte/rrc/asn/BandParametersDL-r10.h" - -#endif /* _BandParameters_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BandParametersDL-r10.h b/lte/rrc/include/liblte/rrc/asn/BandParametersDL-r10.h deleted file mode 100644 index e46877b22..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BandParametersDL-r10.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BandParametersDL_r10_H_ -#define _BandParametersDL_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CA_MIMO_ParametersDL_r10; - -/* BandParametersDL-r10 */ -typedef struct BandParametersDL_r10 { - A_SEQUENCE_OF(struct CA_MIMO_ParametersDL_r10) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BandParametersDL_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BandParametersDL_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CA-MIMO-ParametersDL-r10.h" - -#endif /* _BandParametersDL_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BandParametersUL-r10.h b/lte/rrc/include/liblte/rrc/asn/BandParametersUL-r10.h deleted file mode 100644 index 8051e680d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BandParametersUL-r10.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BandParametersUL_r10_H_ -#define _BandParametersUL_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CA_MIMO_ParametersUL_r10; - -/* BandParametersUL-r10 */ -typedef struct BandParametersUL_r10 { - A_SEQUENCE_OF(struct CA_MIMO_ParametersUL_r10) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BandParametersUL_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BandParametersUL_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CA-MIMO-ParametersUL-r10.h" - -#endif /* _BandParametersUL_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BandclassCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/BandclassCDMA2000.h deleted file mode 100644 index e2a30ddf1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BandclassCDMA2000.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BandclassCDMA2000_H_ -#define _BandclassCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum BandclassCDMA2000 { - BandclassCDMA2000_bc0 = 0, - BandclassCDMA2000_bc1 = 1, - BandclassCDMA2000_bc2 = 2, - BandclassCDMA2000_bc3 = 3, - BandclassCDMA2000_bc4 = 4, - BandclassCDMA2000_bc5 = 5, - BandclassCDMA2000_bc6 = 6, - BandclassCDMA2000_bc7 = 7, - BandclassCDMA2000_bc8 = 8, - BandclassCDMA2000_bc9 = 9, - BandclassCDMA2000_bc10 = 10, - BandclassCDMA2000_bc11 = 11, - BandclassCDMA2000_bc12 = 12, - BandclassCDMA2000_bc13 = 13, - BandclassCDMA2000_bc14 = 14, - BandclassCDMA2000_bc15 = 15, - BandclassCDMA2000_bc16 = 16, - BandclassCDMA2000_bc17 = 17, - BandclassCDMA2000_spare14 = 18, - BandclassCDMA2000_spare13 = 19, - BandclassCDMA2000_spare12 = 20, - BandclassCDMA2000_spare11 = 21, - BandclassCDMA2000_spare10 = 22, - BandclassCDMA2000_spare9 = 23, - BandclassCDMA2000_spare8 = 24, - BandclassCDMA2000_spare7 = 25, - BandclassCDMA2000_spare6 = 26, - BandclassCDMA2000_spare5 = 27, - BandclassCDMA2000_spare4 = 28, - BandclassCDMA2000_spare3 = 29, - BandclassCDMA2000_spare2 = 30, - BandclassCDMA2000_spare1 = 31 - /* - * Enumeration is extensible - */ -} e_BandclassCDMA2000; - -/* BandclassCDMA2000 */ -typedef long BandclassCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BandclassCDMA2000; -asn_struct_free_f BandclassCDMA2000_free; -asn_struct_print_f BandclassCDMA2000_print; -asn_constr_check_f BandclassCDMA2000_constraint; -ber_type_decoder_f BandclassCDMA2000_decode_ber; -der_type_encoder_f BandclassCDMA2000_encode_der; -xer_type_decoder_f BandclassCDMA2000_decode_xer; -xer_type_encoder_f BandclassCDMA2000_encode_xer; -per_type_decoder_f BandclassCDMA2000_decode_uper; -per_type_encoder_f BandclassCDMA2000_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _BandclassCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BetaOffset-CA-Index.h b/lte/rrc/include/liblte/rrc/asn/BetaOffset-CA-Index.h deleted file mode 100644 index 7ff5e5210..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BetaOffset-CA-Index.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BetaOffset_CA_Index_H_ -#define _BetaOffset_CA_Index_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* BetaOffset-CA-Index */ -typedef long BetaOffset_CA_Index_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BetaOffset_CA_Index; -asn_struct_free_f BetaOffset_CA_Index_free; -asn_struct_print_f BetaOffset_CA_Index_print; -asn_constr_check_f BetaOffset_CA_Index_constraint; -ber_type_decoder_f BetaOffset_CA_Index_decode_ber; -der_type_encoder_f BetaOffset_CA_Index_encode_der; -xer_type_decoder_f BetaOffset_CA_Index_decode_xer; -xer_type_encoder_f BetaOffset_CA_Index_encode_xer; -per_type_decoder_f BetaOffset_CA_Index_decode_uper; -per_type_encoder_f BetaOffset_CA_Index_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _BetaOffset_CA_Index_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BlackCellsToAddMod.h b/lte/rrc/include/liblte/rrc/asn/BlackCellsToAddMod.h deleted file mode 100644 index 75e8b2d92..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BlackCellsToAddMod.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BlackCellsToAddMod_H_ -#define _BlackCellsToAddMod_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/PhysCellIdRange.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* BlackCellsToAddMod */ -typedef struct BlackCellsToAddMod { - long cellIndex; - PhysCellIdRange_t physCellIdRange; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BlackCellsToAddMod_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BlackCellsToAddMod; - -#ifdef __cplusplus -} -#endif - -#endif /* _BlackCellsToAddMod_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/BlackCellsToAddModList.h b/lte/rrc/include/liblte/rrc/asn/BlackCellsToAddModList.h deleted file mode 100644 index a63a6e7e1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/BlackCellsToAddModList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _BlackCellsToAddModList_H_ -#define _BlackCellsToAddModList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct BlackCellsToAddMod; - -/* BlackCellsToAddModList */ -typedef struct BlackCellsToAddModList { - A_SEQUENCE_OF(struct BlackCellsToAddMod) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BlackCellsToAddModList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BlackCellsToAddModList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/BlackCellsToAddMod.h" - -#endif /* _BlackCellsToAddModList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/C-RNTI.h b/lte/rrc/include/liblte/rrc/asn/C-RNTI.h deleted file mode 100644 index 06e496df1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/C-RNTI.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _C_RNTI_H_ -#define _C_RNTI_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* C-RNTI */ -typedef BIT_STRING_t C_RNTI_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_C_RNTI; -asn_struct_free_f C_RNTI_free; -asn_struct_print_f C_RNTI_print; -asn_constr_check_f C_RNTI_constraint; -ber_type_decoder_f C_RNTI_decode_ber; -der_type_encoder_f C_RNTI_encode_der; -xer_type_decoder_f C_RNTI_decode_xer; -xer_type_encoder_f C_RNTI_encode_xer; -per_type_decoder_f C_RNTI_decode_uper; -per_type_encoder_f C_RNTI_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _C_RNTI_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CA-BandwidthClass-r10.h b/lte/rrc/include/liblte/rrc/asn/CA-BandwidthClass-r10.h deleted file mode 100644 index d634f2f23..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CA-BandwidthClass-r10.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CA_BandwidthClass_r10_H_ -#define _CA_BandwidthClass_r10_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CA_BandwidthClass_r10 { - CA_BandwidthClass_r10_a = 0, - CA_BandwidthClass_r10_b = 1, - CA_BandwidthClass_r10_c = 2, - CA_BandwidthClass_r10_d = 3, - CA_BandwidthClass_r10_e = 4, - CA_BandwidthClass_r10_f = 5 - /* - * Enumeration is extensible - */ -} e_CA_BandwidthClass_r10; - -/* CA-BandwidthClass-r10 */ -typedef long CA_BandwidthClass_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CA_BandwidthClass_r10; -asn_struct_free_f CA_BandwidthClass_r10_free; -asn_struct_print_f CA_BandwidthClass_r10_print; -asn_constr_check_f CA_BandwidthClass_r10_constraint; -ber_type_decoder_f CA_BandwidthClass_r10_decode_ber; -der_type_encoder_f CA_BandwidthClass_r10_encode_der; -xer_type_decoder_f CA_BandwidthClass_r10_decode_xer; -xer_type_encoder_f CA_BandwidthClass_r10_encode_xer; -per_type_decoder_f CA_BandwidthClass_r10_decode_uper; -per_type_encoder_f CA_BandwidthClass_r10_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _CA_BandwidthClass_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CA-MIMO-ParametersDL-r10.h b/lte/rrc/include/liblte/rrc/asn/CA-MIMO-ParametersDL-r10.h deleted file mode 100644 index 2563b430f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CA-MIMO-ParametersDL-r10.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CA_MIMO_ParametersDL_r10_H_ -#define _CA_MIMO_ParametersDL_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CA-BandwidthClass-r10.h" -#include "liblte/rrc/asn/MIMO-CapabilityDL-r10.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CA-MIMO-ParametersDL-r10 */ -typedef struct CA_MIMO_ParametersDL_r10 { - CA_BandwidthClass_r10_t ca_BandwidthClassDL_r10; - MIMO_CapabilityDL_r10_t *supportedMIMO_CapabilityDL_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CA_MIMO_ParametersDL_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CA_MIMO_ParametersDL_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _CA_MIMO_ParametersDL_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CA-MIMO-ParametersUL-r10.h b/lte/rrc/include/liblte/rrc/asn/CA-MIMO-ParametersUL-r10.h deleted file mode 100644 index 4bed66f09..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CA-MIMO-ParametersUL-r10.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CA_MIMO_ParametersUL_r10_H_ -#define _CA_MIMO_ParametersUL_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CA-BandwidthClass-r10.h" -#include "liblte/rrc/asn/MIMO-CapabilityUL-r10.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CA-MIMO-ParametersUL-r10 */ -typedef struct CA_MIMO_ParametersUL_r10 { - CA_BandwidthClass_r10_t ca_BandwidthClassUL_r10; - MIMO_CapabilityUL_r10_t *supportedMIMO_CapabilityUL_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CA_MIMO_ParametersUL_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CA_MIMO_ParametersUL_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _CA_MIMO_ParametersUL_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CA-RNTI.h b/lte/rrc/include/liblte/rrc/asn/CA-RNTI.h deleted file mode 100644 index 7aebb7de4..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CA-RNTI.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CA_RNTI_H_ -#define _CA_RNTI_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CA-RNTI */ -typedef BIT_STRING_t CA_RNTI_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CA_RNTI; -asn_struct_free_f CA_RNTI_free; -asn_struct_print_f CA_RNTI_print; -asn_constr_check_f CA_RNTI_constraint; -ber_type_decoder_f CA_RNTI_decode_ber; -der_type_encoder_f CA_RNTI_encode_der; -xer_type_decoder_f CA_RNTI_decode_xer; -xer_type_encoder_f CA_RNTI_encode_xer; -per_type_decoder_f CA_RNTI_decode_uper; -per_type_encoder_f CA_RNTI_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _CA_RNTI_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CA-semiPersistSchedIntervalUL.h b/lte/rrc/include/liblte/rrc/asn/CA-semiPersistSchedIntervalUL.h deleted file mode 100644 index c1333fc22..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CA-semiPersistSchedIntervalUL.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CA_semiPersistSchedIntervalUL_H_ -#define _CA_semiPersistSchedIntervalUL_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CA_semiPersistSchedIntervalUL { - CA_semiPersistSchedIntervalUL_sf10 = 0, - CA_semiPersistSchedIntervalUL_sf20 = 1, - CA_semiPersistSchedIntervalUL_sf32 = 2, - CA_semiPersistSchedIntervalUL_sf40 = 3, - CA_semiPersistSchedIntervalUL_sf64 = 4, - CA_semiPersistSchedIntervalUL_sf80 = 5, - CA_semiPersistSchedIntervalUL_sf128 = 6, - CA_semiPersistSchedIntervalUL_sf160 = 7, - CA_semiPersistSchedIntervalUL_sf320 = 8, - CA_semiPersistSchedIntervalUL_sf640 = 9, - CA_semiPersistSchedIntervalUL_spare6 = 10, - CA_semiPersistSchedIntervalUL_spare5 = 11, - CA_semiPersistSchedIntervalUL_spare4 = 12, - CA_semiPersistSchedIntervalUL_spare3 = 13, - CA_semiPersistSchedIntervalUL_spare2 = 14, - CA_semiPersistSchedIntervalUL_spare1 = 15 -} e_CA_semiPersistSchedIntervalUL; - -/* CA-semiPersistSchedIntervalUL */ -typedef long CA_semiPersistSchedIntervalUL_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CA_semiPersistSchedIntervalUL; -asn_struct_free_f CA_semiPersistSchedIntervalUL_free; -asn_struct_print_f CA_semiPersistSchedIntervalUL_print; -asn_constr_check_f CA_semiPersistSchedIntervalUL_constraint; -ber_type_decoder_f CA_semiPersistSchedIntervalUL_decode_ber; -der_type_encoder_f CA_semiPersistSchedIntervalUL_encode_der; -xer_type_decoder_f CA_semiPersistSchedIntervalUL_decode_xer; -xer_type_encoder_f CA_semiPersistSchedIntervalUL_encode_xer; -per_type_decoder_f CA_semiPersistSchedIntervalUL_decode_uper; -per_type_encoder_f CA_semiPersistSchedIntervalUL_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _CA_semiPersistSchedIntervalUL_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CDMA2000-Type.h b/lte/rrc/include/liblte/rrc/asn/CDMA2000-Type.h deleted file mode 100644 index 0e2fea8d5..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CDMA2000-Type.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CDMA2000_Type_H_ -#define _CDMA2000_Type_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CDMA2000_Type { - CDMA2000_Type_type1XRTT = 0, - CDMA2000_Type_typeHRPD = 1 -} e_CDMA2000_Type; - -/* CDMA2000-Type */ -typedef long CDMA2000_Type_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CDMA2000_Type; -asn_struct_free_f CDMA2000_Type_free; -asn_struct_print_f CDMA2000_Type_print; -asn_constr_check_f CDMA2000_Type_constraint; -ber_type_decoder_f CDMA2000_Type_decode_ber; -der_type_encoder_f CDMA2000_Type_encode_der; -xer_type_decoder_f CDMA2000_Type_decode_xer; -xer_type_encoder_f CDMA2000_Type_encode_xer; -per_type_decoder_f CDMA2000_Type_decode_uper; -per_type_encoder_f CDMA2000_Type_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _CDMA2000_Type_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CQI-ReportAperiodic-r10.h b/lte/rrc/include/liblte/rrc/asn/CQI-ReportAperiodic-r10.h deleted file mode 100644 index e176a65e2..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CQI-ReportAperiodic-r10.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CQI_ReportAperiodic_r10_H_ -#define _CQI_ReportAperiodic_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CQI_ReportAperiodic_r10_PR { - CQI_ReportAperiodic_r10_PR_NOTHING, /* No components present */ - CQI_ReportAperiodic_r10_PR_release, - CQI_ReportAperiodic_r10_PR_setup -} CQI_ReportAperiodic_r10_PR; -typedef enum CQI_ReportAperiodic_r10__setup__cqi_ReportModeAperiodic_r10 { - CQI_ReportAperiodic_r10__setup__cqi_ReportModeAperiodic_r10_rm12 = 0, - CQI_ReportAperiodic_r10__setup__cqi_ReportModeAperiodic_r10_rm20 = 1, - CQI_ReportAperiodic_r10__setup__cqi_ReportModeAperiodic_r10_rm22 = 2, - CQI_ReportAperiodic_r10__setup__cqi_ReportModeAperiodic_r10_rm30 = 3, - CQI_ReportAperiodic_r10__setup__cqi_ReportModeAperiodic_r10_rm31 = 4, - CQI_ReportAperiodic_r10__setup__cqi_ReportModeAperiodic_r10_spare3 = 5, - CQI_ReportAperiodic_r10__setup__cqi_ReportModeAperiodic_r10_spare2 = 6, - CQI_ReportAperiodic_r10__setup__cqi_ReportModeAperiodic_r10_spare1 = 7 -} e_CQI_ReportAperiodic_r10__setup__cqi_ReportModeAperiodic_r10; - -/* CQI-ReportAperiodic-r10 */ -typedef struct CQI_ReportAperiodic_r10 { - CQI_ReportAperiodic_r10_PR present; - union CQI_ReportAperiodic_r10_u { - NULL_t release; - struct CQI_ReportAperiodic_r10__setup { - long cqi_ReportModeAperiodic_r10; - struct CQI_ReportAperiodic_r10__setup__aperiodicCSI_Trigger_r10 { - BIT_STRING_t trigger1_r10; - BIT_STRING_t trigger2_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *aperiodicCSI_Trigger_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CQI_ReportAperiodic_r10_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_cqi_ReportModeAperiodic_r10_4; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_CQI_ReportAperiodic_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _CQI_ReportAperiodic_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CQI-ReportConfig-r10.h b/lte/rrc/include/liblte/rrc/asn/CQI-ReportConfig-r10.h deleted file mode 100644 index 6a6739575..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CQI-ReportConfig-r10.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CQI_ReportConfig_r10_H_ -#define _CQI_ReportConfig_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include "liblte/rrc/asn/MeasSubframePattern-r10.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CQI_ReportConfig_r10__pmi_RI_Report_r9 { - CQI_ReportConfig_r10__pmi_RI_Report_r9_setup = 0 -} e_CQI_ReportConfig_r10__pmi_RI_Report_r9; -typedef enum CQI_ReportConfig_r10__csi_SubframePatternConfig_r10_PR { - CQI_ReportConfig_r10__csi_SubframePatternConfig_r10_PR_NOTHING, /* No components present */ - CQI_ReportConfig_r10__csi_SubframePatternConfig_r10_PR_release, - CQI_ReportConfig_r10__csi_SubframePatternConfig_r10_PR_setup -} CQI_ReportConfig_r10__csi_SubframePatternConfig_r10_PR; - -/* Forward declarations */ -struct CQI_ReportAperiodic_r10; -struct CQI_ReportPeriodic_r10; - -/* CQI-ReportConfig-r10 */ -typedef struct CQI_ReportConfig_r10 { - struct CQI_ReportAperiodic_r10 *cqi_ReportAperiodic_r10 /* OPTIONAL */; - long nomPDSCH_RS_EPRE_Offset; - struct CQI_ReportPeriodic_r10 *cqi_ReportPeriodic_r10 /* OPTIONAL */; - long *pmi_RI_Report_r9 /* OPTIONAL */; - struct CQI_ReportConfig_r10__csi_SubframePatternConfig_r10 { - CQI_ReportConfig_r10__csi_SubframePatternConfig_r10_PR present; - union CQI_ReportConfig_r10__csi_SubframePatternConfig_r10_u { - NULL_t release; - struct CQI_ReportConfig_r10__csi_SubframePatternConfig_r10__setup { - MeasSubframePattern_r10_t csi_MeasSubframeSet1_r10; - MeasSubframePattern_r10_t csi_MeasSubframeSet2_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *csi_SubframePatternConfig_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CQI_ReportConfig_r10_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_pmi_RI_Report_r9_5; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_CQI_ReportConfig_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CQI-ReportAperiodic-r10.h" -#include "liblte/rrc/asn/CQI-ReportPeriodic-r10.h" - -#endif /* _CQI_ReportConfig_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CQI-ReportConfig-v920.h b/lte/rrc/include/liblte/rrc/asn/CQI-ReportConfig-v920.h deleted file mode 100644 index 870d1255b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CQI-ReportConfig-v920.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CQI_ReportConfig_v920_H_ -#define _CQI_ReportConfig_v920_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CQI_ReportConfig_v920__cqi_Mask_r9 { - CQI_ReportConfig_v920__cqi_Mask_r9_setup = 0 -} e_CQI_ReportConfig_v920__cqi_Mask_r9; -typedef enum CQI_ReportConfig_v920__pmi_RI_Report_r9 { - CQI_ReportConfig_v920__pmi_RI_Report_r9_setup = 0 -} e_CQI_ReportConfig_v920__pmi_RI_Report_r9; - -/* CQI-ReportConfig-v920 */ -typedef struct CQI_ReportConfig_v920 { - long *cqi_Mask_r9 /* OPTIONAL */; - long *pmi_RI_Report_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CQI_ReportConfig_v920_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_cqi_Mask_r9_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_pmi_RI_Report_r9_4; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_CQI_ReportConfig_v920; - -#ifdef __cplusplus -} -#endif - -#endif /* _CQI_ReportConfig_v920_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CQI-ReportConfig.h b/lte/rrc/include/liblte/rrc/asn/CQI-ReportConfig.h deleted file mode 100644 index d83207e1c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CQI-ReportConfig.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CQI_ReportConfig_H_ -#define _CQI_ReportConfig_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CQI-ReportModeAperiodic.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CQI_ReportPeriodic; - -/* CQI-ReportConfig */ -typedef struct CQI_ReportConfig { - CQI_ReportModeAperiodic_t *cqi_ReportModeAperiodic /* OPTIONAL */; - long nomPDSCH_RS_EPRE_Offset; - struct CQI_ReportPeriodic *cqi_ReportPeriodic /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CQI_ReportConfig_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CQI_ReportConfig; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CQI-ReportPeriodic.h" - -#endif /* _CQI_ReportConfig_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CQI-ReportConfigSCell-r10.h b/lte/rrc/include/liblte/rrc/asn/CQI-ReportConfigSCell-r10.h deleted file mode 100644 index 2d19678e8..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CQI-ReportConfigSCell-r10.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CQI_ReportConfigSCell_r10_H_ -#define _CQI_ReportConfigSCell_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CQI-ReportModeAperiodic.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CQI_ReportConfigSCell_r10__pmi_RI_Report_r10 { - CQI_ReportConfigSCell_r10__pmi_RI_Report_r10_setup = 0 -} e_CQI_ReportConfigSCell_r10__pmi_RI_Report_r10; - -/* Forward declarations */ -struct CQI_ReportPeriodic_r10; - -/* CQI-ReportConfigSCell-r10 */ -typedef struct CQI_ReportConfigSCell_r10 { - CQI_ReportModeAperiodic_t *cqi_ReportModeAperiodic_r10 /* OPTIONAL */; - long nomPDSCH_RS_EPRE_Offset_r10; - struct CQI_ReportPeriodic_r10 *cqi_ReportPeriodicSCell_r10 /* OPTIONAL */; - long *pmi_RI_Report_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CQI_ReportConfigSCell_r10_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_pmi_RI_Report_r10_5; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_CQI_ReportConfigSCell_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CQI-ReportPeriodic-r10.h" - -#endif /* _CQI_ReportConfigSCell_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CQI-ReportModeAperiodic.h b/lte/rrc/include/liblte/rrc/asn/CQI-ReportModeAperiodic.h deleted file mode 100644 index 98d132cae..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CQI-ReportModeAperiodic.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CQI_ReportModeAperiodic_H_ -#define _CQI_ReportModeAperiodic_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CQI_ReportModeAperiodic { - CQI_ReportModeAperiodic_rm12 = 0, - CQI_ReportModeAperiodic_rm20 = 1, - CQI_ReportModeAperiodic_rm22 = 2, - CQI_ReportModeAperiodic_rm30 = 3, - CQI_ReportModeAperiodic_rm31 = 4, - CQI_ReportModeAperiodic_spare3 = 5, - CQI_ReportModeAperiodic_spare2 = 6, - CQI_ReportModeAperiodic_spare1 = 7 -} e_CQI_ReportModeAperiodic; - -/* CQI-ReportModeAperiodic */ -typedef long CQI_ReportModeAperiodic_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CQI_ReportModeAperiodic; -asn_struct_free_f CQI_ReportModeAperiodic_free; -asn_struct_print_f CQI_ReportModeAperiodic_print; -asn_constr_check_f CQI_ReportModeAperiodic_constraint; -ber_type_decoder_f CQI_ReportModeAperiodic_decode_ber; -der_type_encoder_f CQI_ReportModeAperiodic_encode_der; -xer_type_decoder_f CQI_ReportModeAperiodic_decode_xer; -xer_type_encoder_f CQI_ReportModeAperiodic_encode_xer; -per_type_decoder_f CQI_ReportModeAperiodic_decode_uper; -per_type_encoder_f CQI_ReportModeAperiodic_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _CQI_ReportModeAperiodic_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CQI-ReportPeriodic-r10.h b/lte/rrc/include/liblte/rrc/asn/CQI-ReportPeriodic-r10.h deleted file mode 100644 index a084cc9cd..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CQI-ReportPeriodic-r10.h +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CQI_ReportPeriodic_r10_H_ -#define _CQI_ReportPeriodic_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CQI_ReportPeriodic_r10_PR { - CQI_ReportPeriodic_r10_PR_NOTHING, /* No components present */ - CQI_ReportPeriodic_r10_PR_release, - CQI_ReportPeriodic_r10_PR_setup -} CQI_ReportPeriodic_r10_PR; -typedef enum CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10_PR { - CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10_PR_NOTHING, /* No components present */ - CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10_PR_widebandCQI_r10, - CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10_PR_subbandCQI_r10 -} CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10_PR; -typedef enum CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10__widebandCQI_r10__csi_ReportMode_r10 { - CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10__widebandCQI_r10__csi_ReportMode_r10_submode1 = 0, - CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10__widebandCQI_r10__csi_ReportMode_r10_submode2 = 1 -} e_CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10__widebandCQI_r10__csi_ReportMode_r10; -typedef enum CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10__subbandCQI_r10__periodicityFactor_r10 { - CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10__subbandCQI_r10__periodicityFactor_r10_n2 = 0, - CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10__subbandCQI_r10__periodicityFactor_r10_n4 = 1 -} e_CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10__subbandCQI_r10__periodicityFactor_r10; -typedef enum CQI_ReportPeriodic_r10__setup__cqi_Mask_r9 { - CQI_ReportPeriodic_r10__setup__cqi_Mask_r9_setup = 0 -} e_CQI_ReportPeriodic_r10__setup__cqi_Mask_r9; -typedef enum CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10_PR { - CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10_PR_NOTHING, /* No components present */ - CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10_PR_release, - CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10_PR_setup -} CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10_PR; - -/* CQI-ReportPeriodic-r10 */ -typedef struct CQI_ReportPeriodic_r10 { - CQI_ReportPeriodic_r10_PR present; - union CQI_ReportPeriodic_r10_u { - NULL_t release; - struct CQI_ReportPeriodic_r10__setup { - long cqi_PUCCH_ResourceIndex_r10; - long *cqi_PUCCH_ResourceIndexP1_r10 /* OPTIONAL */; - long cqi_pmi_ConfigIndex; - struct CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10 { - CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10_PR present; - union CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10_u { - struct CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10__widebandCQI_r10 { - long *csi_ReportMode_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } widebandCQI_r10; - struct CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10__subbandCQI_r10 { - long k; - long periodicityFactor_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } subbandCQI_r10; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } cqi_FormatIndicatorPeriodic_r10; - long *ri_ConfigIndex /* OPTIONAL */; - BOOLEAN_t simultaneousAckNackAndCQI; - long *cqi_Mask_r9 /* OPTIONAL */; - struct CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10 { - CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10_PR present; - union CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10_u { - NULL_t release; - struct CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10__setup { - long cqi_pmi_ConfigIndex2_r10; - long *ri_ConfigIndex2_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *csi_ConfigIndex_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CQI_ReportPeriodic_r10_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_csi_ReportMode_r10_9; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_periodicityFactor_r10_14; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_cqi_Mask_r9_19; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_CQI_ReportPeriodic_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _CQI_ReportPeriodic_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CQI-ReportPeriodic.h b/lte/rrc/include/liblte/rrc/asn/CQI-ReportPeriodic.h deleted file mode 100644 index af3c3f406..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CQI-ReportPeriodic.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CQI_ReportPeriodic_H_ -#define _CQI_ReportPeriodic_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CQI_ReportPeriodic_PR { - CQI_ReportPeriodic_PR_NOTHING, /* No components present */ - CQI_ReportPeriodic_PR_release, - CQI_ReportPeriodic_PR_setup -} CQI_ReportPeriodic_PR; -typedef enum CQI_ReportPeriodic__setup__cqi_FormatIndicatorPeriodic_PR { - CQI_ReportPeriodic__setup__cqi_FormatIndicatorPeriodic_PR_NOTHING, /* No components present */ - CQI_ReportPeriodic__setup__cqi_FormatIndicatorPeriodic_PR_widebandCQI, - CQI_ReportPeriodic__setup__cqi_FormatIndicatorPeriodic_PR_subbandCQI -} CQI_ReportPeriodic__setup__cqi_FormatIndicatorPeriodic_PR; - -/* CQI-ReportPeriodic */ -typedef struct CQI_ReportPeriodic { - CQI_ReportPeriodic_PR present; - union CQI_ReportPeriodic_u { - NULL_t release; - struct CQI_ReportPeriodic__setup { - long cqi_PUCCH_ResourceIndex; - long cqi_pmi_ConfigIndex; - struct CQI_ReportPeriodic__setup__cqi_FormatIndicatorPeriodic { - CQI_ReportPeriodic__setup__cqi_FormatIndicatorPeriodic_PR present; - union CQI_ReportPeriodic__setup__cqi_FormatIndicatorPeriodic_u { - NULL_t widebandCQI; - struct CQI_ReportPeriodic__setup__cqi_FormatIndicatorPeriodic__subbandCQI { - long k; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } subbandCQI; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } cqi_FormatIndicatorPeriodic; - long *ri_ConfigIndex /* OPTIONAL */; - BOOLEAN_t simultaneousAckNackAndCQI; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CQI_ReportPeriodic_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CQI_ReportPeriodic; - -#ifdef __cplusplus -} -#endif - -#endif /* _CQI_ReportPeriodic_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CSFB-RegistrationParam1XRTT-v920.h b/lte/rrc/include/liblte/rrc/asn/CSFB-RegistrationParam1XRTT-v920.h deleted file mode 100644 index 78c393b89..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CSFB-RegistrationParam1XRTT-v920.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CSFB_RegistrationParam1XRTT_v920_H_ -#define _CSFB_RegistrationParam1XRTT_v920_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CSFB_RegistrationParam1XRTT_v920__powerDownReg_r9 { - CSFB_RegistrationParam1XRTT_v920__powerDownReg_r9_true = 0 -} e_CSFB_RegistrationParam1XRTT_v920__powerDownReg_r9; - -/* CSFB-RegistrationParam1XRTT-v920 */ -typedef struct CSFB_RegistrationParam1XRTT_v920 { - long powerDownReg_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CSFB_RegistrationParam1XRTT_v920_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_powerDownReg_r9_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_CSFB_RegistrationParam1XRTT_v920; - -#ifdef __cplusplus -} -#endif - -#endif /* _CSFB_RegistrationParam1XRTT_v920_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CSFB-RegistrationParam1XRTT.h b/lte/rrc/include/liblte/rrc/asn/CSFB-RegistrationParam1XRTT.h deleted file mode 100644 index 6e0be89ae..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CSFB-RegistrationParam1XRTT.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CSFB_RegistrationParam1XRTT_H_ -#define _CSFB_RegistrationParam1XRTT_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CSFB-RegistrationParam1XRTT */ -typedef struct CSFB_RegistrationParam1XRTT { - BIT_STRING_t sid; - BIT_STRING_t nid; - BOOLEAN_t multipleSID; - BOOLEAN_t multipleNID; - BOOLEAN_t homeReg; - BOOLEAN_t foreignSIDReg; - BOOLEAN_t foreignNIDReg; - BOOLEAN_t parameterReg; - BOOLEAN_t powerUpReg; - BIT_STRING_t registrationPeriod; - BIT_STRING_t registrationZone; - BIT_STRING_t totalZone; - BIT_STRING_t zoneTimer; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CSFB_RegistrationParam1XRTT_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CSFB_RegistrationParam1XRTT; - -#ifdef __cplusplus -} -#endif - -#endif /* _CSFB_RegistrationParam1XRTT_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CSFBParametersRequestCDMA2000-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/CSFBParametersRequestCDMA2000-r8-IEs.h deleted file mode 100644 index ddb45226d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CSFBParametersRequestCDMA2000-r8-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CSFBParametersRequestCDMA2000_r8_IEs_H_ -#define _CSFBParametersRequestCDMA2000_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CSFBParametersRequestCDMA2000_v8a0_IEs; - -/* CSFBParametersRequestCDMA2000-r8-IEs */ -typedef struct CSFBParametersRequestCDMA2000_r8_IEs { - struct CSFBParametersRequestCDMA2000_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CSFBParametersRequestCDMA2000_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CSFBParametersRequestCDMA2000_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CSFBParametersRequestCDMA2000-v8a0-IEs.h" - -#endif /* _CSFBParametersRequestCDMA2000_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CSFBParametersRequestCDMA2000-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/CSFBParametersRequestCDMA2000-v8a0-IEs.h deleted file mode 100644 index 73193c7c2..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CSFBParametersRequestCDMA2000-v8a0-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CSFBParametersRequestCDMA2000_v8a0_IEs_H_ -#define _CSFBParametersRequestCDMA2000_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CSFBParametersRequestCDMA2000-v8a0-IEs */ -typedef struct CSFBParametersRequestCDMA2000_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct CSFBParametersRequestCDMA2000_v8a0_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CSFBParametersRequestCDMA2000_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CSFBParametersRequestCDMA2000_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _CSFBParametersRequestCDMA2000_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CSFBParametersRequestCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/CSFBParametersRequestCDMA2000.h deleted file mode 100644 index 3513ddd4b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CSFBParametersRequestCDMA2000.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CSFBParametersRequestCDMA2000_H_ -#define _CSFBParametersRequestCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CSFBParametersRequestCDMA2000-r8-IEs.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CSFBParametersRequestCDMA2000__criticalExtensions_PR { - CSFBParametersRequestCDMA2000__criticalExtensions_PR_NOTHING, /* No components present */ - CSFBParametersRequestCDMA2000__criticalExtensions_PR_csfbParametersRequestCDMA2000_r8, - CSFBParametersRequestCDMA2000__criticalExtensions_PR_criticalExtensionsFuture -} CSFBParametersRequestCDMA2000__criticalExtensions_PR; - -/* CSFBParametersRequestCDMA2000 */ -typedef struct CSFBParametersRequestCDMA2000 { - struct CSFBParametersRequestCDMA2000__criticalExtensions { - CSFBParametersRequestCDMA2000__criticalExtensions_PR present; - union CSFBParametersRequestCDMA2000__criticalExtensions_u { - CSFBParametersRequestCDMA2000_r8_IEs_t csfbParametersRequestCDMA2000_r8; - struct CSFBParametersRequestCDMA2000__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CSFBParametersRequestCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CSFBParametersRequestCDMA2000; - -#ifdef __cplusplus -} -#endif - -#endif /* _CSFBParametersRequestCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CSFBParametersResponseCDMA2000-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/CSFBParametersResponseCDMA2000-r8-IEs.h deleted file mode 100644 index 77a2a6c2c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CSFBParametersResponseCDMA2000-r8-IEs.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CSFBParametersResponseCDMA2000_r8_IEs_H_ -#define _CSFBParametersResponseCDMA2000_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RAND-CDMA2000.h" -#include "liblte/rrc/asn/MobilityParametersCDMA2000.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CSFBParametersResponseCDMA2000_v8a0_IEs; - -/* CSFBParametersResponseCDMA2000-r8-IEs */ -typedef struct CSFBParametersResponseCDMA2000_r8_IEs { - RAND_CDMA2000_t rand; - MobilityParametersCDMA2000_t mobilityParameters; - struct CSFBParametersResponseCDMA2000_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CSFBParametersResponseCDMA2000_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CSFBParametersResponseCDMA2000_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CSFBParametersResponseCDMA2000-v8a0-IEs.h" - -#endif /* _CSFBParametersResponseCDMA2000_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CSFBParametersResponseCDMA2000-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/CSFBParametersResponseCDMA2000-v8a0-IEs.h deleted file mode 100644 index 5ec692ba3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CSFBParametersResponseCDMA2000-v8a0-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CSFBParametersResponseCDMA2000_v8a0_IEs_H_ -#define _CSFBParametersResponseCDMA2000_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CSFBParametersResponseCDMA2000-v8a0-IEs */ -typedef struct CSFBParametersResponseCDMA2000_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct CSFBParametersResponseCDMA2000_v8a0_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CSFBParametersResponseCDMA2000_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CSFBParametersResponseCDMA2000_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _CSFBParametersResponseCDMA2000_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CSFBParametersResponseCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/CSFBParametersResponseCDMA2000.h deleted file mode 100644 index 01cd85e83..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CSFBParametersResponseCDMA2000.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CSFBParametersResponseCDMA2000_H_ -#define _CSFBParametersResponseCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/CSFBParametersResponseCDMA2000-r8-IEs.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CSFBParametersResponseCDMA2000__criticalExtensions_PR { - CSFBParametersResponseCDMA2000__criticalExtensions_PR_NOTHING, /* No components present */ - CSFBParametersResponseCDMA2000__criticalExtensions_PR_csfbParametersResponseCDMA2000_r8, - CSFBParametersResponseCDMA2000__criticalExtensions_PR_criticalExtensionsFuture -} CSFBParametersResponseCDMA2000__criticalExtensions_PR; - -/* CSFBParametersResponseCDMA2000 */ -typedef struct CSFBParametersResponseCDMA2000 { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct CSFBParametersResponseCDMA2000__criticalExtensions { - CSFBParametersResponseCDMA2000__criticalExtensions_PR present; - union CSFBParametersResponseCDMA2000__criticalExtensions_u { - CSFBParametersResponseCDMA2000_r8_IEs_t csfbParametersResponseCDMA2000_r8; - struct CSFBParametersResponseCDMA2000__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CSFBParametersResponseCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CSFBParametersResponseCDMA2000; - -#ifdef __cplusplus -} -#endif - -#endif /* _CSFBParametersResponseCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CSG-AllowedReportingCells-r9.h b/lte/rrc/include/liblte/rrc/asn/CSG-AllowedReportingCells-r9.h deleted file mode 100644 index 6d7a908d8..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CSG-AllowedReportingCells-r9.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CSG_AllowedReportingCells_r9_H_ -#define _CSG_AllowedReportingCells_r9_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct PhysCellIdRangeUTRA_FDDList_r9; - -/* CSG-AllowedReportingCells-r9 */ -typedef struct CSG_AllowedReportingCells_r9 { - struct PhysCellIdRangeUTRA_FDDList_r9 *physCellIdRangeUTRA_FDDList_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CSG_AllowedReportingCells_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CSG_AllowedReportingCells_r9; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PhysCellIdRangeUTRA-FDDList-r9.h" - -#endif /* _CSG_AllowedReportingCells_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CSG-Identity.h b/lte/rrc/include/liblte/rrc/asn/CSG-Identity.h deleted file mode 100644 index be56a8373..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CSG-Identity.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CSG_Identity_H_ -#define _CSG_Identity_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CSG-Identity */ -typedef BIT_STRING_t CSG_Identity_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CSG_Identity; -asn_struct_free_f CSG_Identity_free; -asn_struct_print_f CSG_Identity_print; -asn_constr_check_f CSG_Identity_constraint; -ber_type_decoder_f CSG_Identity_decode_ber; -der_type_encoder_f CSG_Identity_encode_der; -xer_type_decoder_f CSG_Identity_decode_xer; -xer_type_encoder_f CSG_Identity_encode_xer; -per_type_decoder_f CSG_Identity_decode_uper; -per_type_encoder_f CSG_Identity_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _CSG_Identity_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CSG-ProximityIndicationParameters-r9.h b/lte/rrc/include/liblte/rrc/asn/CSG-ProximityIndicationParameters-r9.h deleted file mode 100644 index 1e4795545..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CSG-ProximityIndicationParameters-r9.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CSG_ProximityIndicationParameters_r9_H_ -#define _CSG_ProximityIndicationParameters_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CSG_ProximityIndicationParameters_r9__intraFreqProximityIndication_r9 { - CSG_ProximityIndicationParameters_r9__intraFreqProximityIndication_r9_supported = 0 -} e_CSG_ProximityIndicationParameters_r9__intraFreqProximityIndication_r9; -typedef enum CSG_ProximityIndicationParameters_r9__interFreqProximityIndication_r9 { - CSG_ProximityIndicationParameters_r9__interFreqProximityIndication_r9_supported = 0 -} e_CSG_ProximityIndicationParameters_r9__interFreqProximityIndication_r9; -typedef enum CSG_ProximityIndicationParameters_r9__utran_ProximityIndication_r9 { - CSG_ProximityIndicationParameters_r9__utran_ProximityIndication_r9_supported = 0 -} e_CSG_ProximityIndicationParameters_r9__utran_ProximityIndication_r9; - -/* CSG-ProximityIndicationParameters-r9 */ -typedef struct CSG_ProximityIndicationParameters_r9 { - long *intraFreqProximityIndication_r9 /* OPTIONAL */; - long *interFreqProximityIndication_r9 /* OPTIONAL */; - long *utran_ProximityIndication_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CSG_ProximityIndicationParameters_r9_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_intraFreqProximityIndication_r9_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_interFreqProximityIndication_r9_4; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_utran_ProximityIndication_r9_6; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_CSG_ProximityIndicationParameters_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _CSG_ProximityIndicationParameters_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CSI-RS-Config-r10.h b/lte/rrc/include/liblte/rrc/asn/CSI-RS-Config-r10.h deleted file mode 100644 index 4d7c74436..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CSI-RS-Config-r10.h +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CSI_RS_Config_r10_H_ -#define _CSI_RS_Config_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CSI_RS_Config_r10__csi_RS_r10_PR { - CSI_RS_Config_r10__csi_RS_r10_PR_NOTHING, /* No components present */ - CSI_RS_Config_r10__csi_RS_r10_PR_release, - CSI_RS_Config_r10__csi_RS_r10_PR_setup -} CSI_RS_Config_r10__csi_RS_r10_PR; -typedef enum CSI_RS_Config_r10__csi_RS_r10__setup__antennaPortsCount_r10 { - CSI_RS_Config_r10__csi_RS_r10__setup__antennaPortsCount_r10_an1 = 0, - CSI_RS_Config_r10__csi_RS_r10__setup__antennaPortsCount_r10_an2 = 1, - CSI_RS_Config_r10__csi_RS_r10__setup__antennaPortsCount_r10_an4 = 2, - CSI_RS_Config_r10__csi_RS_r10__setup__antennaPortsCount_r10_an8 = 3 -} e_CSI_RS_Config_r10__csi_RS_r10__setup__antennaPortsCount_r10; -typedef enum CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10_PR { - CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10_PR_NOTHING, /* No components present */ - CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10_PR_release, - CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10_PR_setup -} CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10_PR; - -/* CSI-RS-Config-r10 */ -typedef struct CSI_RS_Config_r10 { - struct CSI_RS_Config_r10__csi_RS_r10 { - CSI_RS_Config_r10__csi_RS_r10_PR present; - union CSI_RS_Config_r10__csi_RS_r10_u { - NULL_t release; - struct CSI_RS_Config_r10__csi_RS_r10__setup { - long antennaPortsCount_r10; - long resourceConfig_r10; - long subframeConfig_r10; - long p_C_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *csi_RS_r10; - struct CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10 { - CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10_PR present; - union CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10_u { - NULL_t release; - struct CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10__setup { - BIT_STRING_t zeroTxPowerResourceConfigList_r10; - long zeroTxPowerSubframeConfig_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *zeroTxPowerCSI_RS_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CSI_RS_Config_r10_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_antennaPortsCount_r10_5; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_CSI_RS_Config_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _CSI_RS_Config_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CShift.h b/lte/rrc/include/liblte/rrc/asn/CShift.h deleted file mode 100644 index fe7390f83..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CShift.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CShift_H_ -#define _CShift_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CShift */ -typedef long CShift_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CShift; -asn_struct_free_f CShift_free; -asn_struct_print_f CShift_print; -asn_constr_check_f CShift_constraint; -ber_type_decoder_f CShift_decode_ber; -der_type_encoder_f CShift_encode_der; -xer_type_decoder_f CShift_decode_xer; -xer_type_encoder_f CShift_encode_xer; -per_type_decoder_f CShift_decode_uper; -per_type_encoder_f CShift_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _CShift_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CarrierBandwidthEUTRA.h b/lte/rrc/include/liblte/rrc/asn/CarrierBandwidthEUTRA.h deleted file mode 100644 index 28b87442a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CarrierBandwidthEUTRA.h +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CarrierBandwidthEUTRA_H_ -#define _CarrierBandwidthEUTRA_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CarrierBandwidthEUTRA__dl_Bandwidth { - CarrierBandwidthEUTRA__dl_Bandwidth_n6 = 0, - CarrierBandwidthEUTRA__dl_Bandwidth_n15 = 1, - CarrierBandwidthEUTRA__dl_Bandwidth_n25 = 2, - CarrierBandwidthEUTRA__dl_Bandwidth_n50 = 3, - CarrierBandwidthEUTRA__dl_Bandwidth_n75 = 4, - CarrierBandwidthEUTRA__dl_Bandwidth_n100 = 5, - CarrierBandwidthEUTRA__dl_Bandwidth_spare10 = 6, - CarrierBandwidthEUTRA__dl_Bandwidth_spare9 = 7, - CarrierBandwidthEUTRA__dl_Bandwidth_spare8 = 8, - CarrierBandwidthEUTRA__dl_Bandwidth_spare7 = 9, - CarrierBandwidthEUTRA__dl_Bandwidth_spare6 = 10, - CarrierBandwidthEUTRA__dl_Bandwidth_spare5 = 11, - CarrierBandwidthEUTRA__dl_Bandwidth_spare4 = 12, - CarrierBandwidthEUTRA__dl_Bandwidth_spare3 = 13, - CarrierBandwidthEUTRA__dl_Bandwidth_spare2 = 14, - CarrierBandwidthEUTRA__dl_Bandwidth_spare1 = 15 -} e_CarrierBandwidthEUTRA__dl_Bandwidth; -typedef enum CarrierBandwidthEUTRA__ul_Bandwidth { - CarrierBandwidthEUTRA__ul_Bandwidth_n6 = 0, - CarrierBandwidthEUTRA__ul_Bandwidth_n15 = 1, - CarrierBandwidthEUTRA__ul_Bandwidth_n25 = 2, - CarrierBandwidthEUTRA__ul_Bandwidth_n50 = 3, - CarrierBandwidthEUTRA__ul_Bandwidth_n75 = 4, - CarrierBandwidthEUTRA__ul_Bandwidth_n100 = 5, - CarrierBandwidthEUTRA__ul_Bandwidth_spare10 = 6, - CarrierBandwidthEUTRA__ul_Bandwidth_spare9 = 7, - CarrierBandwidthEUTRA__ul_Bandwidth_spare8 = 8, - CarrierBandwidthEUTRA__ul_Bandwidth_spare7 = 9, - CarrierBandwidthEUTRA__ul_Bandwidth_spare6 = 10, - CarrierBandwidthEUTRA__ul_Bandwidth_spare5 = 11, - CarrierBandwidthEUTRA__ul_Bandwidth_spare4 = 12, - CarrierBandwidthEUTRA__ul_Bandwidth_spare3 = 13, - CarrierBandwidthEUTRA__ul_Bandwidth_spare2 = 14, - CarrierBandwidthEUTRA__ul_Bandwidth_spare1 = 15 -} e_CarrierBandwidthEUTRA__ul_Bandwidth; - -/* CarrierBandwidthEUTRA */ -typedef struct CarrierBandwidthEUTRA { - long dl_Bandwidth; - long *ul_Bandwidth /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CarrierBandwidthEUTRA_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_dl_Bandwidth_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_ul_Bandwidth_19; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_CarrierBandwidthEUTRA; - -#ifdef __cplusplus -} -#endif - -#endif /* _CarrierBandwidthEUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CarrierFreqCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/CarrierFreqCDMA2000.h deleted file mode 100644 index e9ee4ff58..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CarrierFreqCDMA2000.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CarrierFreqCDMA2000_H_ -#define _CarrierFreqCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/BandclassCDMA2000.h" -#include "liblte/rrc/asn/ARFCN-ValueCDMA2000.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CarrierFreqCDMA2000 */ -typedef struct CarrierFreqCDMA2000 { - BandclassCDMA2000_t bandClass; - ARFCN_ValueCDMA2000_t arfcn; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CarrierFreqCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CarrierFreqCDMA2000; - -#ifdef __cplusplus -} -#endif - -#endif /* _CarrierFreqCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CarrierFreqEUTRA.h b/lte/rrc/include/liblte/rrc/asn/CarrierFreqEUTRA.h deleted file mode 100644 index b82309acb..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CarrierFreqEUTRA.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CarrierFreqEUTRA_H_ -#define _CarrierFreqEUTRA_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ARFCN-ValueEUTRA.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CarrierFreqEUTRA */ -typedef struct CarrierFreqEUTRA { - ARFCN_ValueEUTRA_t dl_CarrierFreq; - ARFCN_ValueEUTRA_t *ul_CarrierFreq /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CarrierFreqEUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CarrierFreqEUTRA; - -#ifdef __cplusplus -} -#endif - -#endif /* _CarrierFreqEUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CarrierFreqGERAN.h b/lte/rrc/include/liblte/rrc/asn/CarrierFreqGERAN.h deleted file mode 100644 index fa7659a96..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CarrierFreqGERAN.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CarrierFreqGERAN_H_ -#define _CarrierFreqGERAN_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ARFCN-ValueGERAN.h" -#include "liblte/rrc/asn/BandIndicatorGERAN.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CarrierFreqGERAN */ -typedef struct CarrierFreqGERAN { - ARFCN_ValueGERAN_t arfcn; - BandIndicatorGERAN_t bandIndicator; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CarrierFreqGERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CarrierFreqGERAN; - -#ifdef __cplusplus -} -#endif - -#endif /* _CarrierFreqGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CarrierFreqListUTRA-FDD.h b/lte/rrc/include/liblte/rrc/asn/CarrierFreqListUTRA-FDD.h deleted file mode 100644 index 410d1d6c6..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CarrierFreqListUTRA-FDD.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CarrierFreqListUTRA_FDD_H_ -#define _CarrierFreqListUTRA_FDD_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CarrierFreqUTRA_FDD; - -/* CarrierFreqListUTRA-FDD */ -typedef struct CarrierFreqListUTRA_FDD { - A_SEQUENCE_OF(struct CarrierFreqUTRA_FDD) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CarrierFreqListUTRA_FDD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CarrierFreqListUTRA_FDD; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CarrierFreqUTRA-FDD.h" - -#endif /* _CarrierFreqListUTRA_FDD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CarrierFreqListUTRA-TDD-r10.h b/lte/rrc/include/liblte/rrc/asn/CarrierFreqListUTRA-TDD-r10.h deleted file mode 100644 index 91751ff21..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CarrierFreqListUTRA-TDD-r10.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CarrierFreqListUTRA_TDD_r10_H_ -#define _CarrierFreqListUTRA_TDD_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ARFCN-ValueUTRA.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CarrierFreqListUTRA-TDD-r10 */ -typedef struct CarrierFreqListUTRA_TDD_r10 { - A_SEQUENCE_OF(ARFCN_ValueUTRA_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CarrierFreqListUTRA_TDD_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CarrierFreqListUTRA_TDD_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _CarrierFreqListUTRA_TDD_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CarrierFreqListUTRA-TDD.h b/lte/rrc/include/liblte/rrc/asn/CarrierFreqListUTRA-TDD.h deleted file mode 100644 index cf6338377..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CarrierFreqListUTRA-TDD.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CarrierFreqListUTRA_TDD_H_ -#define _CarrierFreqListUTRA_TDD_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CarrierFreqUTRA_TDD; - -/* CarrierFreqListUTRA-TDD */ -typedef struct CarrierFreqListUTRA_TDD { - A_SEQUENCE_OF(struct CarrierFreqUTRA_TDD) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CarrierFreqListUTRA_TDD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CarrierFreqListUTRA_TDD; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CarrierFreqUTRA-TDD.h" - -#endif /* _CarrierFreqListUTRA_TDD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CarrierFreqUTRA-FDD.h b/lte/rrc/include/liblte/rrc/asn/CarrierFreqUTRA-FDD.h deleted file mode 100644 index dbf4dcd33..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CarrierFreqUTRA-FDD.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CarrierFreqUTRA_FDD_H_ -#define _CarrierFreqUTRA_FDD_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ARFCN-ValueUTRA.h" -#include "liblte/rrc/asn/CellReselectionPriority.h" -#include "liblte/rrc/asn/ReselectionThreshold.h" -#include -#include "liblte/rrc/asn/ReselectionThresholdQ-r9.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CarrierFreqUTRA-FDD */ -typedef struct CarrierFreqUTRA_FDD { - ARFCN_ValueUTRA_t carrierFreq; - CellReselectionPriority_t *cellReselectionPriority /* OPTIONAL */; - ReselectionThreshold_t threshX_High; - ReselectionThreshold_t threshX_Low; - long q_RxLevMin; - long p_MaxUTRA; - long q_QualMin; - struct CarrierFreqUTRA_FDD__threshX_Q_r9 { - ReselectionThresholdQ_r9_t threshX_HighQ_r9; - ReselectionThresholdQ_r9_t threshX_LowQ_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *threshX_Q_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CarrierFreqUTRA_FDD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CarrierFreqUTRA_FDD; - -#ifdef __cplusplus -} -#endif - -#endif /* _CarrierFreqUTRA_FDD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CarrierFreqUTRA-TDD.h b/lte/rrc/include/liblte/rrc/asn/CarrierFreqUTRA-TDD.h deleted file mode 100644 index 1a6c86fd7..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CarrierFreqUTRA-TDD.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CarrierFreqUTRA_TDD_H_ -#define _CarrierFreqUTRA_TDD_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ARFCN-ValueUTRA.h" -#include "liblte/rrc/asn/CellReselectionPriority.h" -#include "liblte/rrc/asn/ReselectionThreshold.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CarrierFreqUTRA-TDD */ -typedef struct CarrierFreqUTRA_TDD { - ARFCN_ValueUTRA_t carrierFreq; - CellReselectionPriority_t *cellReselectionPriority /* OPTIONAL */; - ReselectionThreshold_t threshX_High; - ReselectionThreshold_t threshX_Low; - long q_RxLevMin; - long p_MaxUTRA; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CarrierFreqUTRA_TDD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CarrierFreqUTRA_TDD; - -#ifdef __cplusplus -} -#endif - -#endif /* _CarrierFreqUTRA_TDD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CarrierFreqsGERAN.h b/lte/rrc/include/liblte/rrc/asn/CarrierFreqsGERAN.h deleted file mode 100644 index 60da618ed..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CarrierFreqsGERAN.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CarrierFreqsGERAN_H_ -#define _CarrierFreqsGERAN_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ARFCN-ValueGERAN.h" -#include "liblte/rrc/asn/BandIndicatorGERAN.h" -#include "liblte/rrc/asn/ExplicitListOfARFCNs.h" -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CarrierFreqsGERAN__followingARFCNs_PR { - CarrierFreqsGERAN__followingARFCNs_PR_NOTHING, /* No components present */ - CarrierFreqsGERAN__followingARFCNs_PR_explicitListOfARFCNs, - CarrierFreqsGERAN__followingARFCNs_PR_equallySpacedARFCNs, - CarrierFreqsGERAN__followingARFCNs_PR_variableBitMapOfARFCNs -} CarrierFreqsGERAN__followingARFCNs_PR; - -/* CarrierFreqsGERAN */ -typedef struct CarrierFreqsGERAN { - ARFCN_ValueGERAN_t startingARFCN; - BandIndicatorGERAN_t bandIndicator; - struct CarrierFreqsGERAN__followingARFCNs { - CarrierFreqsGERAN__followingARFCNs_PR present; - union CarrierFreqsGERAN__followingARFCNs_u { - ExplicitListOfARFCNs_t explicitListOfARFCNs; - struct CarrierFreqsGERAN__followingARFCNs__equallySpacedARFCNs { - long arfcn_Spacing; - long numberOfFollowingARFCNs; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } equallySpacedARFCNs; - OCTET_STRING_t variableBitMapOfARFCNs; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } followingARFCNs; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CarrierFreqsGERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CarrierFreqsGERAN; - -#ifdef __cplusplus -} -#endif - -#endif /* _CarrierFreqsGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CarrierFreqsInfoGERAN.h b/lte/rrc/include/liblte/rrc/asn/CarrierFreqsInfoGERAN.h deleted file mode 100644 index dd1af8d6f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CarrierFreqsInfoGERAN.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CarrierFreqsInfoGERAN_H_ -#define _CarrierFreqsInfoGERAN_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CarrierFreqsGERAN.h" -#include "liblte/rrc/asn/CellReselectionPriority.h" -#include -#include -#include "liblte/rrc/asn/ReselectionThreshold.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CarrierFreqsInfoGERAN */ -typedef struct CarrierFreqsInfoGERAN { - CarrierFreqsGERAN_t carrierFreqs; - struct CarrierFreqsInfoGERAN__commonInfo { - CellReselectionPriority_t *cellReselectionPriority /* OPTIONAL */; - BIT_STRING_t ncc_Permitted; - long q_RxLevMin; - long *p_MaxGERAN /* OPTIONAL */; - ReselectionThreshold_t threshX_High; - ReselectionThreshold_t threshX_Low; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } commonInfo; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CarrierFreqsInfoGERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CarrierFreqsInfoGERAN; - -#ifdef __cplusplus -} -#endif - -#endif /* _CarrierFreqsInfoGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CarrierFreqsInfoListGERAN.h b/lte/rrc/include/liblte/rrc/asn/CarrierFreqsInfoListGERAN.h deleted file mode 100644 index 6b37185e9..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CarrierFreqsInfoListGERAN.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CarrierFreqsInfoListGERAN_H_ -#define _CarrierFreqsInfoListGERAN_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CarrierFreqsInfoGERAN; - -/* CarrierFreqsInfoListGERAN */ -typedef struct CarrierFreqsInfoListGERAN { - A_SEQUENCE_OF(struct CarrierFreqsInfoGERAN) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CarrierFreqsInfoListGERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CarrierFreqsInfoListGERAN; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CarrierFreqsInfoGERAN.h" - -#endif /* _CarrierFreqsInfoListGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellChangeOrder.h b/lte/rrc/include/liblte/rrc/asn/CellChangeOrder.h deleted file mode 100644 index 8d9a40821..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellChangeOrder.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellChangeOrder_H_ -#define _CellChangeOrder_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/PhysCellIdGERAN.h" -#include "liblte/rrc/asn/CarrierFreqGERAN.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CellChangeOrder__t304 { - CellChangeOrder__t304_ms100 = 0, - CellChangeOrder__t304_ms200 = 1, - CellChangeOrder__t304_ms500 = 2, - CellChangeOrder__t304_ms1000 = 3, - CellChangeOrder__t304_ms2000 = 4, - CellChangeOrder__t304_ms4000 = 5, - CellChangeOrder__t304_ms8000 = 6, - CellChangeOrder__t304_spare1 = 7 -} e_CellChangeOrder__t304; -typedef enum CellChangeOrder__targetRAT_Type_PR { - CellChangeOrder__targetRAT_Type_PR_NOTHING, /* No components present */ - CellChangeOrder__targetRAT_Type_PR_geran, - /* Extensions may appear below */ - -} CellChangeOrder__targetRAT_Type_PR; - -/* Forward declarations */ -struct SI_OrPSI_GERAN; - -/* CellChangeOrder */ -typedef struct CellChangeOrder { - long t304; - struct CellChangeOrder__targetRAT_Type { - CellChangeOrder__targetRAT_Type_PR present; - union CellChangeOrder__targetRAT_Type_u { - struct CellChangeOrder__targetRAT_Type__geran { - PhysCellIdGERAN_t physCellId; - CarrierFreqGERAN_t carrierFreq; - BIT_STRING_t *networkControlOrder /* OPTIONAL */; - struct SI_OrPSI_GERAN *systemInformation /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } geran; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } targetRAT_Type; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellChangeOrder_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_t304_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_CellChangeOrder; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SI-OrPSI-GERAN.h" - -#endif /* _CellChangeOrder_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellGlobalIdCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/CellGlobalIdCDMA2000.h deleted file mode 100644 index f39dcc021..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellGlobalIdCDMA2000.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellGlobalIdCDMA2000_H_ -#define _CellGlobalIdCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CellGlobalIdCDMA2000_PR { - CellGlobalIdCDMA2000_PR_NOTHING, /* No components present */ - CellGlobalIdCDMA2000_PR_cellGlobalId1XRTT, - CellGlobalIdCDMA2000_PR_cellGlobalIdHRPD -} CellGlobalIdCDMA2000_PR; - -/* CellGlobalIdCDMA2000 */ -typedef struct CellGlobalIdCDMA2000 { - CellGlobalIdCDMA2000_PR present; - union CellGlobalIdCDMA2000_u { - BIT_STRING_t cellGlobalId1XRTT; - BIT_STRING_t cellGlobalIdHRPD; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellGlobalIdCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellGlobalIdCDMA2000; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellGlobalIdCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellGlobalIdEUTRA.h b/lte/rrc/include/liblte/rrc/asn/CellGlobalIdEUTRA.h deleted file mode 100644 index 4a4bb3ace..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellGlobalIdEUTRA.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellGlobalIdEUTRA_H_ -#define _CellGlobalIdEUTRA_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PLMN-Identity.h" -#include "liblte/rrc/asn/CellIdentity.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CellGlobalIdEUTRA */ -typedef struct CellGlobalIdEUTRA { - PLMN_Identity_t plmn_Identity; - CellIdentity_t cellIdentity; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellGlobalIdEUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellGlobalIdEUTRA; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellGlobalIdEUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellGlobalIdGERAN.h b/lte/rrc/include/liblte/rrc/asn/CellGlobalIdGERAN.h deleted file mode 100644 index 12b37ac72..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellGlobalIdGERAN.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellGlobalIdGERAN_H_ -#define _CellGlobalIdGERAN_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PLMN-Identity.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CellGlobalIdGERAN */ -typedef struct CellGlobalIdGERAN { - PLMN_Identity_t plmn_Identity; - BIT_STRING_t locationAreaCode; - BIT_STRING_t cellIdentity; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellGlobalIdGERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellGlobalIdGERAN; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellGlobalIdGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellGlobalIdList-r10.h b/lte/rrc/include/liblte/rrc/asn/CellGlobalIdList-r10.h deleted file mode 100644 index bfc37c6f3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellGlobalIdList-r10.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellGlobalIdList_r10_H_ -#define _CellGlobalIdList_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CellGlobalIdEUTRA; - -/* CellGlobalIdList-r10 */ -typedef struct CellGlobalIdList_r10 { - A_SEQUENCE_OF(struct CellGlobalIdEUTRA) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellGlobalIdList_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellGlobalIdList_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CellGlobalIdEUTRA.h" - -#endif /* _CellGlobalIdList_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellGlobalIdUTRA.h b/lte/rrc/include/liblte/rrc/asn/CellGlobalIdUTRA.h deleted file mode 100644 index 1d1b49cf7..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellGlobalIdUTRA.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellGlobalIdUTRA_H_ -#define _CellGlobalIdUTRA_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PLMN-Identity.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CellGlobalIdUTRA */ -typedef struct CellGlobalIdUTRA { - PLMN_Identity_t plmn_Identity; - BIT_STRING_t cellIdentity; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellGlobalIdUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellGlobalIdUTRA; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellGlobalIdUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellIdentity.h b/lte/rrc/include/liblte/rrc/asn/CellIdentity.h deleted file mode 100644 index e8abec0ec..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellIdentity.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellIdentity_H_ -#define _CellIdentity_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CellIdentity */ -typedef BIT_STRING_t CellIdentity_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellIdentity; -asn_struct_free_f CellIdentity_free; -asn_struct_print_f CellIdentity_print; -asn_constr_check_f CellIdentity_constraint; -ber_type_decoder_f CellIdentity_decode_ber; -der_type_encoder_f CellIdentity_encode_der; -xer_type_decoder_f CellIdentity_decode_xer; -xer_type_encoder_f CellIdentity_encode_xer; -per_type_decoder_f CellIdentity_decode_uper; -per_type_encoder_f CellIdentity_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellIdentity_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellIndex.h b/lte/rrc/include/liblte/rrc/asn/CellIndex.h deleted file mode 100644 index e5edd786f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellIndex.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellIndex_H_ -#define _CellIndex_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CellIndex */ -typedef long CellIndex_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellIndex; -asn_struct_free_f CellIndex_free; -asn_struct_print_f CellIndex_print; -asn_constr_check_f CellIndex_constraint; -ber_type_decoder_f CellIndex_decode_ber; -der_type_encoder_f CellIndex_encode_der; -xer_type_decoder_f CellIndex_decode_xer; -xer_type_encoder_f CellIndex_encode_xer; -per_type_decoder_f CellIndex_decode_uper; -per_type_encoder_f CellIndex_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellIndex_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellIndexList.h b/lte/rrc/include/liblte/rrc/asn/CellIndexList.h deleted file mode 100644 index 8eb7c414c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellIndexList.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellIndexList_H_ -#define _CellIndexList_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CellIndex.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CellIndexList */ -typedef struct CellIndexList { - A_SEQUENCE_OF(CellIndex_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellIndexList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellIndexList; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellIndexList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellInfoGERAN-r9.h b/lte/rrc/include/liblte/rrc/asn/CellInfoGERAN-r9.h deleted file mode 100644 index 9afb35ab0..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellInfoGERAN-r9.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellInfoGERAN_r9_H_ -#define _CellInfoGERAN_r9_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PhysCellIdGERAN.h" -#include "liblte/rrc/asn/CarrierFreqGERAN.h" -#include "liblte/rrc/asn/SystemInfoListGERAN.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CellInfoGERAN-r9 */ -typedef struct CellInfoGERAN_r9 { - PhysCellIdGERAN_t physCellId_r9; - CarrierFreqGERAN_t carrierFreq_r9; - SystemInfoListGERAN_t systemInformation_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellInfoGERAN_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellInfoGERAN_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellInfoGERAN_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellInfoListGERAN-r9.h b/lte/rrc/include/liblte/rrc/asn/CellInfoListGERAN-r9.h deleted file mode 100644 index 3bb8f7b57..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellInfoListGERAN-r9.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellInfoListGERAN_r9_H_ -#define _CellInfoListGERAN_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CellInfoGERAN_r9; - -/* CellInfoListGERAN-r9 */ -typedef struct CellInfoListGERAN_r9 { - A_SEQUENCE_OF(struct CellInfoGERAN_r9) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellInfoListGERAN_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellInfoListGERAN_r9; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CellInfoGERAN-r9.h" - -#endif /* _CellInfoListGERAN_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellInfoListUTRA-FDD-r9.h b/lte/rrc/include/liblte/rrc/asn/CellInfoListUTRA-FDD-r9.h deleted file mode 100644 index 87405ff60..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellInfoListUTRA-FDD-r9.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellInfoListUTRA_FDD_r9_H_ -#define _CellInfoListUTRA_FDD_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CellInfoUTRA_FDD_r9; - -/* CellInfoListUTRA-FDD-r9 */ -typedef struct CellInfoListUTRA_FDD_r9 { - A_SEQUENCE_OF(struct CellInfoUTRA_FDD_r9) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellInfoListUTRA_FDD_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellInfoListUTRA_FDD_r9; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CellInfoUTRA-FDD-r9.h" - -#endif /* _CellInfoListUTRA_FDD_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellInfoListUTRA-TDD-r10.h b/lte/rrc/include/liblte/rrc/asn/CellInfoListUTRA-TDD-r10.h deleted file mode 100644 index 5f89afec9..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellInfoListUTRA-TDD-r10.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellInfoListUTRA_TDD_r10_H_ -#define _CellInfoListUTRA_TDD_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CellInfoUTRA_TDD_r10; - -/* CellInfoListUTRA-TDD-r10 */ -typedef struct CellInfoListUTRA_TDD_r10 { - A_SEQUENCE_OF(struct CellInfoUTRA_TDD_r10) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellInfoListUTRA_TDD_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellInfoListUTRA_TDD_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CellInfoUTRA-TDD-r10.h" - -#endif /* _CellInfoListUTRA_TDD_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellInfoListUTRA-TDD-r9.h b/lte/rrc/include/liblte/rrc/asn/CellInfoListUTRA-TDD-r9.h deleted file mode 100644 index f2681c58f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellInfoListUTRA-TDD-r9.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellInfoListUTRA_TDD_r9_H_ -#define _CellInfoListUTRA_TDD_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CellInfoUTRA_TDD_r9; - -/* CellInfoListUTRA-TDD-r9 */ -typedef struct CellInfoListUTRA_TDD_r9 { - A_SEQUENCE_OF(struct CellInfoUTRA_TDD_r9) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellInfoListUTRA_TDD_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellInfoListUTRA_TDD_r9; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CellInfoUTRA-TDD-r9.h" - -#endif /* _CellInfoListUTRA_TDD_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellInfoUTRA-FDD-r9.h b/lte/rrc/include/liblte/rrc/asn/CellInfoUTRA-FDD-r9.h deleted file mode 100644 index 4bbb06a61..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellInfoUTRA-FDD-r9.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellInfoUTRA_FDD_r9_H_ -#define _CellInfoUTRA_FDD_r9_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PhysCellIdUTRA-FDD.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CellInfoUTRA-FDD-r9 */ -typedef struct CellInfoUTRA_FDD_r9 { - PhysCellIdUTRA_FDD_t physCellId_r9; - OCTET_STRING_t utra_BCCH_Container_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellInfoUTRA_FDD_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellInfoUTRA_FDD_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellInfoUTRA_FDD_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellInfoUTRA-TDD-r10.h b/lte/rrc/include/liblte/rrc/asn/CellInfoUTRA-TDD-r10.h deleted file mode 100644 index 516a3dc66..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellInfoUTRA-TDD-r10.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellInfoUTRA_TDD_r10_H_ -#define _CellInfoUTRA_TDD_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PhysCellIdUTRA-TDD.h" -#include "liblte/rrc/asn/ARFCN-ValueUTRA.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CellInfoUTRA-TDD-r10 */ -typedef struct CellInfoUTRA_TDD_r10 { - PhysCellIdUTRA_TDD_t physCellId_r10; - ARFCN_ValueUTRA_t carrierFreq_r10; - OCTET_STRING_t utra_BCCH_Container_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellInfoUTRA_TDD_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellInfoUTRA_TDD_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellInfoUTRA_TDD_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellInfoUTRA-TDD-r9.h b/lte/rrc/include/liblte/rrc/asn/CellInfoUTRA-TDD-r9.h deleted file mode 100644 index 511b1ad3f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellInfoUTRA-TDD-r9.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellInfoUTRA_TDD_r9_H_ -#define _CellInfoUTRA_TDD_r9_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PhysCellIdUTRA-TDD.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CellInfoUTRA-TDD-r9 */ -typedef struct CellInfoUTRA_TDD_r9 { - PhysCellIdUTRA_TDD_t physCellId_r9; - OCTET_STRING_t utra_BCCH_Container_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellInfoUTRA_TDD_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellInfoUTRA_TDD_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellInfoUTRA_TDD_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellReselectionParametersCDMA2000-v920.h b/lte/rrc/include/liblte/rrc/asn/CellReselectionParametersCDMA2000-v920.h deleted file mode 100644 index 827607874..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellReselectionParametersCDMA2000-v920.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellReselectionParametersCDMA2000_v920_H_ -#define _CellReselectionParametersCDMA2000_v920_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/NeighCellListCDMA2000-v920.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CellReselectionParametersCDMA2000-v920 */ -typedef struct CellReselectionParametersCDMA2000_v920 { - NeighCellListCDMA2000_v920_t neighCellList_v920; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellReselectionParametersCDMA2000_v920_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellReselectionParametersCDMA2000_v920; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellReselectionParametersCDMA2000_v920_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellReselectionParametersCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/CellReselectionParametersCDMA2000.h deleted file mode 100644 index c1cb7379a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellReselectionParametersCDMA2000.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellReselectionParametersCDMA2000_H_ -#define _CellReselectionParametersCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/BandClassListCDMA2000.h" -#include "liblte/rrc/asn/NeighCellListCDMA2000.h" -#include "liblte/rrc/asn/T-Reselection.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct SpeedStateScaleFactors; - -/* CellReselectionParametersCDMA2000 */ -typedef struct CellReselectionParametersCDMA2000 { - BandClassListCDMA2000_t bandClassList; - NeighCellListCDMA2000_t neighCellList; - T_Reselection_t t_ReselectionCDMA2000; - struct SpeedStateScaleFactors *t_ReselectionCDMA2000_SF /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellReselectionParametersCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellReselectionParametersCDMA2000; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SpeedStateScaleFactors.h" - -#endif /* _CellReselectionParametersCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellReselectionPriority.h b/lte/rrc/include/liblte/rrc/asn/CellReselectionPriority.h deleted file mode 100644 index f64a6c974..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellReselectionPriority.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellReselectionPriority_H_ -#define _CellReselectionPriority_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CellReselectionPriority */ -typedef long CellReselectionPriority_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellReselectionPriority; -asn_struct_free_f CellReselectionPriority_free; -asn_struct_print_f CellReselectionPriority_print; -asn_constr_check_f CellReselectionPriority_constraint; -ber_type_decoder_f CellReselectionPriority_decode_ber; -der_type_encoder_f CellReselectionPriority_encode_der; -xer_type_decoder_f CellReselectionPriority_decode_xer; -xer_type_encoder_f CellReselectionPriority_encode_xer; -per_type_decoder_f CellReselectionPriority_decode_uper; -per_type_encoder_f CellReselectionPriority_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellReselectionPriority_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellSelectionInfo-v920.h b/lte/rrc/include/liblte/rrc/asn/CellSelectionInfo-v920.h deleted file mode 100644 index 941cfcb31..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellSelectionInfo-v920.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellSelectionInfo_v920_H_ -#define _CellSelectionInfo_v920_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/Q-QualMin-r9.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CellSelectionInfo-v920 */ -typedef struct CellSelectionInfo_v920 { - Q_QualMin_r9_t q_QualMin_r9; - long *q_QualMinOffset_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellSelectionInfo_v920_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellSelectionInfo_v920; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellSelectionInfo_v920_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellsToAddMod.h b/lte/rrc/include/liblte/rrc/asn/CellsToAddMod.h deleted file mode 100644 index b0caee0f6..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellsToAddMod.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellsToAddMod_H_ -#define _CellsToAddMod_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/PhysCellId.h" -#include "liblte/rrc/asn/Q-OffsetRange.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CellsToAddMod */ -typedef struct CellsToAddMod { - long cellIndex; - PhysCellId_t physCellId; - Q_OffsetRange_t cellIndividualOffset; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellsToAddMod_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellsToAddMod; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellsToAddMod_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellsToAddModCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/CellsToAddModCDMA2000.h deleted file mode 100644 index e2d5d9ec1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellsToAddModCDMA2000.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellsToAddModCDMA2000_H_ -#define _CellsToAddModCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/PhysCellIdCDMA2000.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CellsToAddModCDMA2000 */ -typedef struct CellsToAddModCDMA2000 { - long cellIndex; - PhysCellIdCDMA2000_t physCellId; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellsToAddModCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellsToAddModCDMA2000; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellsToAddModCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellsToAddModList.h b/lte/rrc/include/liblte/rrc/asn/CellsToAddModList.h deleted file mode 100644 index 84b02265f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellsToAddModList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellsToAddModList_H_ -#define _CellsToAddModList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CellsToAddMod; - -/* CellsToAddModList */ -typedef struct CellsToAddModList { - A_SEQUENCE_OF(struct CellsToAddMod) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellsToAddModList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellsToAddModList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CellsToAddMod.h" - -#endif /* _CellsToAddModList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellsToAddModListCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/CellsToAddModListCDMA2000.h deleted file mode 100644 index 9961896a4..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellsToAddModListCDMA2000.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellsToAddModListCDMA2000_H_ -#define _CellsToAddModListCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CellsToAddModCDMA2000; - -/* CellsToAddModListCDMA2000 */ -typedef struct CellsToAddModListCDMA2000 { - A_SEQUENCE_OF(struct CellsToAddModCDMA2000) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellsToAddModListCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellsToAddModListCDMA2000; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CellsToAddModCDMA2000.h" - -#endif /* _CellsToAddModListCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellsToAddModListUTRA-FDD.h b/lte/rrc/include/liblte/rrc/asn/CellsToAddModListUTRA-FDD.h deleted file mode 100644 index e8c66ade1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellsToAddModListUTRA-FDD.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellsToAddModListUTRA_FDD_H_ -#define _CellsToAddModListUTRA_FDD_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CellsToAddModUTRA_FDD; - -/* CellsToAddModListUTRA-FDD */ -typedef struct CellsToAddModListUTRA_FDD { - A_SEQUENCE_OF(struct CellsToAddModUTRA_FDD) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellsToAddModListUTRA_FDD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellsToAddModListUTRA_FDD; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CellsToAddModUTRA-FDD.h" - -#endif /* _CellsToAddModListUTRA_FDD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellsToAddModListUTRA-TDD.h b/lte/rrc/include/liblte/rrc/asn/CellsToAddModListUTRA-TDD.h deleted file mode 100644 index c8df226ba..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellsToAddModListUTRA-TDD.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellsToAddModListUTRA_TDD_H_ -#define _CellsToAddModListUTRA_TDD_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CellsToAddModUTRA_TDD; - -/* CellsToAddModListUTRA-TDD */ -typedef struct CellsToAddModListUTRA_TDD { - A_SEQUENCE_OF(struct CellsToAddModUTRA_TDD) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellsToAddModListUTRA_TDD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellsToAddModListUTRA_TDD; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CellsToAddModUTRA-TDD.h" - -#endif /* _CellsToAddModListUTRA_TDD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellsToAddModUTRA-FDD.h b/lte/rrc/include/liblte/rrc/asn/CellsToAddModUTRA-FDD.h deleted file mode 100644 index 752cebaaa..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellsToAddModUTRA-FDD.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellsToAddModUTRA_FDD_H_ -#define _CellsToAddModUTRA_FDD_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/PhysCellIdUTRA-FDD.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CellsToAddModUTRA-FDD */ -typedef struct CellsToAddModUTRA_FDD { - long cellIndex; - PhysCellIdUTRA_FDD_t physCellId; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellsToAddModUTRA_FDD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellsToAddModUTRA_FDD; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellsToAddModUTRA_FDD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellsToAddModUTRA-TDD.h b/lte/rrc/include/liblte/rrc/asn/CellsToAddModUTRA-TDD.h deleted file mode 100644 index 73d950d05..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellsToAddModUTRA-TDD.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CellsToAddModUTRA_TDD_H_ -#define _CellsToAddModUTRA_TDD_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/PhysCellIdUTRA-TDD.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CellsToAddModUTRA-TDD */ -typedef struct CellsToAddModUTRA_TDD { - long cellIndex; - PhysCellIdUTRA_TDD_t physCellId; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellsToAddModUTRA_TDD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellsToAddModUTRA_TDD; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellsToAddModUTRA_TDD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CellsTriggeredList.h b/lte/rrc/include/liblte/rrc/asn/CellsTriggeredList.h deleted file mode 100644 index 067887eab..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CellsTriggeredList.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-UE-Variables" - * found in "EUTRA-UE-Variables.asn" - */ - -#ifndef _CellsTriggeredList_H_ -#define _CellsTriggeredList_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/PhysCellId.h" -#include "liblte/rrc/asn/PhysCellIdCDMA2000.h" -#include "liblte/rrc/asn/PhysCellIdUTRA-FDD.h" -#include "liblte/rrc/asn/PhysCellIdUTRA-TDD.h" -#include -#include "liblte/rrc/asn/CarrierFreqGERAN.h" -#include "liblte/rrc/asn/PhysCellIdGERAN.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum Member_PR { - Member_PR_NOTHING, /* No components present */ - Member_PR_physCellIdEUTRA, - Member_PR_physCellIdUTRA, - Member_PR_physCellIdGERAN, - Member_PR_physCellIdCDMA2000 -} Member_PR; -typedef enum physCellIdUTRA_PR { - physCellIdUTRA_PR_NOTHING, /* No components present */ - physCellIdUTRA_PR_fdd, - physCellIdUTRA_PR_tdd -} physCellIdUTRA_PR; - -/* CellsTriggeredList */ -typedef struct CellsTriggeredList { - A_SEQUENCE_OF(struct Member { - Member_PR present; - union CellsTriggeredList__Member_u { - PhysCellId_t physCellIdEUTRA; - struct physCellIdUTRA { - physCellIdUTRA_PR present; - union physCellIdUTRA_u { - PhysCellIdUTRA_FDD_t fdd; - PhysCellIdUTRA_TDD_t tdd; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } physCellIdUTRA; - struct physCellIdGERAN { - CarrierFreqGERAN_t carrierFreq; - PhysCellIdGERAN_t physCellId; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } physCellIdGERAN; - PhysCellIdCDMA2000_t physCellIdCDMA2000; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } ) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellsTriggeredList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellsTriggeredList; - -#ifdef __cplusplus -} -#endif - -#endif /* _CellsTriggeredList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CommonSF-AllocPatternList-r9.h b/lte/rrc/include/liblte/rrc/asn/CommonSF-AllocPatternList-r9.h deleted file mode 100644 index 82e6962db..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CommonSF-AllocPatternList-r9.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CommonSF_AllocPatternList_r9_H_ -#define _CommonSF_AllocPatternList_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MBSFN_SubframeConfig; - -/* CommonSF-AllocPatternList-r9 */ -typedef struct CommonSF_AllocPatternList_r9 { - A_SEQUENCE_OF(struct MBSFN_SubframeConfig) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CommonSF_AllocPatternList_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CommonSF_AllocPatternList_r9; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MBSFN-SubframeConfig.h" - -#endif /* _CommonSF_AllocPatternList_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CounterCheck-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/CounterCheck-r8-IEs.h deleted file mode 100644 index 6a37726a6..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CounterCheck-r8-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CounterCheck_r8_IEs_H_ -#define _CounterCheck_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/DRB-CountMSB-InfoList.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CounterCheck_v8a0_IEs; - -/* CounterCheck-r8-IEs */ -typedef struct CounterCheck_r8_IEs { - DRB_CountMSB_InfoList_t drb_CountMSB_InfoList; - struct CounterCheck_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CounterCheck_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CounterCheck_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CounterCheck-v8a0-IEs.h" - -#endif /* _CounterCheck_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CounterCheck-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/CounterCheck-v8a0-IEs.h deleted file mode 100644 index 9391c9356..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CounterCheck-v8a0-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CounterCheck_v8a0_IEs_H_ -#define _CounterCheck_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CounterCheck-v8a0-IEs */ -typedef struct CounterCheck_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct CounterCheck_v8a0_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CounterCheck_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CounterCheck_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _CounterCheck_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CounterCheck.h b/lte/rrc/include/liblte/rrc/asn/CounterCheck.h deleted file mode 100644 index 39819a9a9..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CounterCheck.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CounterCheck_H_ -#define _CounterCheck_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/CounterCheck-r8-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CounterCheck__criticalExtensions_PR { - CounterCheck__criticalExtensions_PR_NOTHING, /* No components present */ - CounterCheck__criticalExtensions_PR_c1, - CounterCheck__criticalExtensions_PR_criticalExtensionsFuture -} CounterCheck__criticalExtensions_PR; -typedef enum CounterCheck__criticalExtensions__c1_PR { - CounterCheck__criticalExtensions__c1_PR_NOTHING, /* No components present */ - CounterCheck__criticalExtensions__c1_PR_counterCheck_r8, - CounterCheck__criticalExtensions__c1_PR_spare3, - CounterCheck__criticalExtensions__c1_PR_spare2, - CounterCheck__criticalExtensions__c1_PR_spare1 -} CounterCheck__criticalExtensions__c1_PR; - -/* CounterCheck */ -typedef struct CounterCheck { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct CounterCheck__criticalExtensions { - CounterCheck__criticalExtensions_PR present; - union CounterCheck__criticalExtensions_u { - struct CounterCheck__criticalExtensions__c1 { - CounterCheck__criticalExtensions__c1_PR present; - union CounterCheck__criticalExtensions__c1_u { - CounterCheck_r8_IEs_t counterCheck_r8; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct CounterCheck__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CounterCheck_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CounterCheck; - -#ifdef __cplusplus -} -#endif - -#endif /* _CounterCheck_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CounterCheckResponse-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/CounterCheckResponse-r8-IEs.h deleted file mode 100644 index 256d9dd85..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CounterCheckResponse-r8-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CounterCheckResponse_r8_IEs_H_ -#define _CounterCheckResponse_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/DRB-CountInfoList.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CounterCheckResponse_v8a0_IEs; - -/* CounterCheckResponse-r8-IEs */ -typedef struct CounterCheckResponse_r8_IEs { - DRB_CountInfoList_t drb_CountInfoList; - struct CounterCheckResponse_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CounterCheckResponse_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CounterCheckResponse_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CounterCheckResponse-v8a0-IEs.h" - -#endif /* _CounterCheckResponse_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CounterCheckResponse-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/CounterCheckResponse-v8a0-IEs.h deleted file mode 100644 index 9e891f003..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CounterCheckResponse-v8a0-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CounterCheckResponse_v8a0_IEs_H_ -#define _CounterCheckResponse_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CounterCheckResponse-v8a0-IEs */ -typedef struct CounterCheckResponse_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct CounterCheckResponse_v8a0_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CounterCheckResponse_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CounterCheckResponse_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _CounterCheckResponse_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CounterCheckResponse.h b/lte/rrc/include/liblte/rrc/asn/CounterCheckResponse.h deleted file mode 100644 index 1051bc0b4..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CounterCheckResponse.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CounterCheckResponse_H_ -#define _CounterCheckResponse_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/CounterCheckResponse-r8-IEs.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CounterCheckResponse__criticalExtensions_PR { - CounterCheckResponse__criticalExtensions_PR_NOTHING, /* No components present */ - CounterCheckResponse__criticalExtensions_PR_counterCheckResponse_r8, - CounterCheckResponse__criticalExtensions_PR_criticalExtensionsFuture -} CounterCheckResponse__criticalExtensions_PR; - -/* CounterCheckResponse */ -typedef struct CounterCheckResponse { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct CounterCheckResponse__criticalExtensions { - CounterCheckResponse__criticalExtensions_PR present; - union CounterCheckResponse__criticalExtensions_u { - CounterCheckResponse_r8_IEs_t counterCheckResponse_r8; - struct CounterCheckResponse__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CounterCheckResponse_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CounterCheckResponse; - -#ifdef __cplusplus -} -#endif - -#endif /* _CounterCheckResponse_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CountingRequestInfo-r10.h b/lte/rrc/include/liblte/rrc/asn/CountingRequestInfo-r10.h deleted file mode 100644 index f7c35c0ec..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CountingRequestInfo-r10.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CountingRequestInfo_r10_H_ -#define _CountingRequestInfo_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/TMGI-r9.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CountingRequestInfo-r10 */ -typedef struct CountingRequestInfo_r10 { - TMGI_r9_t tmgi_r10; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CountingRequestInfo_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CountingRequestInfo_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _CountingRequestInfo_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CountingRequestList-r10.h b/lte/rrc/include/liblte/rrc/asn/CountingRequestList-r10.h deleted file mode 100644 index 2b4506bfd..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CountingRequestList-r10.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CountingRequestList_r10_H_ -#define _CountingRequestList_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CountingRequestInfo_r10; - -/* CountingRequestList-r10 */ -typedef struct CountingRequestList_r10 { - A_SEQUENCE_OF(struct CountingRequestInfo_r10) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CountingRequestList_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CountingRequestList_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CountingRequestInfo-r10.h" - -#endif /* _CountingRequestList_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CountingResponseInfo-r10.h b/lte/rrc/include/liblte/rrc/asn/CountingResponseInfo-r10.h deleted file mode 100644 index 13259b43f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CountingResponseInfo-r10.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CountingResponseInfo_r10_H_ -#define _CountingResponseInfo_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CountingResponseInfo-r10 */ -typedef struct CountingResponseInfo_r10 { - long countingResponseService_r10; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CountingResponseInfo_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CountingResponseInfo_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _CountingResponseInfo_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CountingResponseList-r10.h b/lte/rrc/include/liblte/rrc/asn/CountingResponseList-r10.h deleted file mode 100644 index 721d6dd00..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CountingResponseList-r10.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CountingResponseList_r10_H_ -#define _CountingResponseList_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CountingResponseInfo_r10; - -/* CountingResponseList-r10 */ -typedef struct CountingResponseList_r10 { - A_SEQUENCE_OF(struct CountingResponseInfo_r10) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CountingResponseList_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CountingResponseList_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CountingResponseInfo-r10.h" - -#endif /* _CountingResponseList_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/CrossCarrierSchedulingConfig-r10.h b/lte/rrc/include/liblte/rrc/asn/CrossCarrierSchedulingConfig-r10.h deleted file mode 100644 index 1177585b3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/CrossCarrierSchedulingConfig-r10.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _CrossCarrierSchedulingConfig_r10_H_ -#define _CrossCarrierSchedulingConfig_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include "liblte/rrc/asn/ServCellIndex-r10.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10_PR { - CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10_PR_NOTHING, /* No components present */ - CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10_PR_own_r10, - CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10_PR_other_r10 -} CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10_PR; - -/* CrossCarrierSchedulingConfig-r10 */ -typedef struct CrossCarrierSchedulingConfig_r10 { - struct CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10 { - CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10_PR present; - union CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10_u { - struct CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10__own_r10 { - BOOLEAN_t cif_Presence_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } own_r10; - struct CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10__other_r10 { - ServCellIndex_r10_t schedulingCellId_r10; - long pdsch_Start_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } other_r10; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } schedulingCellInfo_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CrossCarrierSchedulingConfig_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CrossCarrierSchedulingConfig_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _CrossCarrierSchedulingConfig_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DL-AM-RLC.h b/lte/rrc/include/liblte/rrc/asn/DL-AM-RLC.h deleted file mode 100644 index 1835dce28..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DL-AM-RLC.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DL_AM_RLC_H_ -#define _DL_AM_RLC_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/T-Reordering.h" -#include "liblte/rrc/asn/T-StatusProhibit.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* DL-AM-RLC */ -typedef struct DL_AM_RLC { - T_Reordering_t t_Reordering; - T_StatusProhibit_t t_StatusProhibit; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DL_AM_RLC_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DL_AM_RLC; - -#ifdef __cplusplus -} -#endif - -#endif /* _DL_AM_RLC_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DL-CCCH-Message.h b/lte/rrc/include/liblte/rrc/asn/DL-CCCH-Message.h deleted file mode 100644 index c89559b26..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DL-CCCH-Message.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DL_CCCH_Message_H_ -#define _DL_CCCH_Message_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/DL-CCCH-MessageType.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* DL-CCCH-Message */ -typedef struct DL_CCCH_Message { - DL_CCCH_MessageType_t message; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DL_CCCH_Message_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DL_CCCH_Message; - -#ifdef __cplusplus -} -#endif - -#endif /* _DL_CCCH_Message_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DL-CCCH-MessageType.h b/lte/rrc/include/liblte/rrc/asn/DL-CCCH-MessageType.h deleted file mode 100644 index 9730d0ded..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DL-CCCH-MessageType.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DL_CCCH_MessageType_H_ -#define _DL_CCCH_MessageType_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRCConnectionReestablishment.h" -#include "liblte/rrc/asn/RRCConnectionReestablishmentReject.h" -#include "liblte/rrc/asn/RRCConnectionReject.h" -#include "liblte/rrc/asn/RRCConnectionSetup.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum DL_CCCH_MessageType_PR { - DL_CCCH_MessageType_PR_NOTHING, /* No components present */ - DL_CCCH_MessageType_PR_c1, - DL_CCCH_MessageType_PR_messageClassExtension -} DL_CCCH_MessageType_PR; -typedef enum DL_CCCH_MessageType__c1_PR { - DL_CCCH_MessageType__c1_PR_NOTHING, /* No components present */ - DL_CCCH_MessageType__c1_PR_rrcConnectionReestablishment, - DL_CCCH_MessageType__c1_PR_rrcConnectionReestablishmentReject, - DL_CCCH_MessageType__c1_PR_rrcConnectionReject, - DL_CCCH_MessageType__c1_PR_rrcConnectionSetup -} DL_CCCH_MessageType__c1_PR; - -/* DL-CCCH-MessageType */ -typedef struct DL_CCCH_MessageType { - DL_CCCH_MessageType_PR present; - union DL_CCCH_MessageType_u { - struct DL_CCCH_MessageType__c1 { - DL_CCCH_MessageType__c1_PR present; - union DL_CCCH_MessageType__c1_u { - RRCConnectionReestablishment_t rrcConnectionReestablishment; - RRCConnectionReestablishmentReject_t rrcConnectionReestablishmentReject; - RRCConnectionReject_t rrcConnectionReject; - RRCConnectionSetup_t rrcConnectionSetup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct DL_CCCH_MessageType__messageClassExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } messageClassExtension; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DL_CCCH_MessageType_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DL_CCCH_MessageType; - -#ifdef __cplusplus -} -#endif - -#endif /* _DL_CCCH_MessageType_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DL-DCCH-Message.h b/lte/rrc/include/liblte/rrc/asn/DL-DCCH-Message.h deleted file mode 100644 index 6176d78b4..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DL-DCCH-Message.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DL_DCCH_Message_H_ -#define _DL_DCCH_Message_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/DL-DCCH-MessageType.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* DL-DCCH-Message */ -typedef struct DL_DCCH_Message { - DL_DCCH_MessageType_t message; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DL_DCCH_Message_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DL_DCCH_Message; - -#ifdef __cplusplus -} -#endif - -#endif /* _DL_DCCH_Message_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DL-DCCH-MessageType.h b/lte/rrc/include/liblte/rrc/asn/DL-DCCH-MessageType.h deleted file mode 100644 index 725866761..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DL-DCCH-MessageType.h +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DL_DCCH_MessageType_H_ -#define _DL_DCCH_MessageType_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CSFBParametersResponseCDMA2000.h" -#include "liblte/rrc/asn/DLInformationTransfer.h" -#include "liblte/rrc/asn/HandoverFromEUTRAPreparationRequest.h" -#include "liblte/rrc/asn/MobilityFromEUTRACommand.h" -#include "liblte/rrc/asn/RRCConnectionReconfiguration.h" -#include "liblte/rrc/asn/RRCConnectionRelease.h" -#include "liblte/rrc/asn/SecurityModeCommand.h" -#include "liblte/rrc/asn/UECapabilityEnquiry.h" -#include "liblte/rrc/asn/CounterCheck.h" -#include "liblte/rrc/asn/UEInformationRequest-r9.h" -#include "liblte/rrc/asn/LoggedMeasurementConfiguration-r10.h" -#include "liblte/rrc/asn/RNReconfiguration-r10.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum DL_DCCH_MessageType_PR { - DL_DCCH_MessageType_PR_NOTHING, /* No components present */ - DL_DCCH_MessageType_PR_c1, - DL_DCCH_MessageType_PR_messageClassExtension -} DL_DCCH_MessageType_PR; -typedef enum DL_DCCH_MessageType__c1_PR { - DL_DCCH_MessageType__c1_PR_NOTHING, /* No components present */ - DL_DCCH_MessageType__c1_PR_csfbParametersResponseCDMA2000, - DL_DCCH_MessageType__c1_PR_dlInformationTransfer, - DL_DCCH_MessageType__c1_PR_handoverFromEUTRAPreparationRequest, - DL_DCCH_MessageType__c1_PR_mobilityFromEUTRACommand, - DL_DCCH_MessageType__c1_PR_rrcConnectionReconfiguration, - DL_DCCH_MessageType__c1_PR_rrcConnectionRelease, - DL_DCCH_MessageType__c1_PR_securityModeCommand, - DL_DCCH_MessageType__c1_PR_ueCapabilityEnquiry, - DL_DCCH_MessageType__c1_PR_counterCheck, - DL_DCCH_MessageType__c1_PR_ueInformationRequest_r9, - DL_DCCH_MessageType__c1_PR_loggedMeasurementConfiguration_r10, - DL_DCCH_MessageType__c1_PR_rnReconfiguration_r10, - DL_DCCH_MessageType__c1_PR_spare4, - DL_DCCH_MessageType__c1_PR_spare3, - DL_DCCH_MessageType__c1_PR_spare2, - DL_DCCH_MessageType__c1_PR_spare1 -} DL_DCCH_MessageType__c1_PR; - -/* DL-DCCH-MessageType */ -typedef struct DL_DCCH_MessageType { - DL_DCCH_MessageType_PR present; - union DL_DCCH_MessageType_u { - struct DL_DCCH_MessageType__c1 { - DL_DCCH_MessageType__c1_PR present; - union DL_DCCH_MessageType__c1_u { - CSFBParametersResponseCDMA2000_t csfbParametersResponseCDMA2000; - DLInformationTransfer_t dlInformationTransfer; - HandoverFromEUTRAPreparationRequest_t handoverFromEUTRAPreparationRequest; - MobilityFromEUTRACommand_t mobilityFromEUTRACommand; - RRCConnectionReconfiguration_t rrcConnectionReconfiguration; - RRCConnectionRelease_t rrcConnectionRelease; - SecurityModeCommand_t securityModeCommand; - UECapabilityEnquiry_t ueCapabilityEnquiry; - CounterCheck_t counterCheck; - UEInformationRequest_r9_t ueInformationRequest_r9; - LoggedMeasurementConfiguration_r10_t loggedMeasurementConfiguration_r10; - RNReconfiguration_r10_t rnReconfiguration_r10; - NULL_t spare4; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct DL_DCCH_MessageType__messageClassExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } messageClassExtension; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DL_DCCH_MessageType_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DL_DCCH_MessageType; - -#ifdef __cplusplus -} -#endif - -#endif /* _DL_DCCH_MessageType_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DL-UM-RLC.h b/lte/rrc/include/liblte/rrc/asn/DL-UM-RLC.h deleted file mode 100644 index 06222aef6..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DL-UM-RLC.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DL_UM_RLC_H_ -#define _DL_UM_RLC_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SN-FieldLength.h" -#include "liblte/rrc/asn/T-Reordering.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* DL-UM-RLC */ -typedef struct DL_UM_RLC { - SN_FieldLength_t sn_FieldLength; - T_Reordering_t t_Reordering; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DL_UM_RLC_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DL_UM_RLC; - -#ifdef __cplusplus -} -#endif - -#endif /* _DL_UM_RLC_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DLInformationTransfer-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/DLInformationTransfer-r8-IEs.h deleted file mode 100644 index 9094be873..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DLInformationTransfer-r8-IEs.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DLInformationTransfer_r8_IEs_H_ -#define _DLInformationTransfer_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/DedicatedInfoNAS.h" -#include "liblte/rrc/asn/DedicatedInfoCDMA2000.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum DLInformationTransfer_r8_IEs__dedicatedInfoType_PR { - DLInformationTransfer_r8_IEs__dedicatedInfoType_PR_NOTHING, /* No components present */ - DLInformationTransfer_r8_IEs__dedicatedInfoType_PR_dedicatedInfoNAS, - DLInformationTransfer_r8_IEs__dedicatedInfoType_PR_dedicatedInfoCDMA2000_1XRTT, - DLInformationTransfer_r8_IEs__dedicatedInfoType_PR_dedicatedInfoCDMA2000_HRPD -} DLInformationTransfer_r8_IEs__dedicatedInfoType_PR; - -/* Forward declarations */ -struct DLInformationTransfer_v8a0_IEs; - -/* DLInformationTransfer-r8-IEs */ -typedef struct DLInformationTransfer_r8_IEs { - struct DLInformationTransfer_r8_IEs__dedicatedInfoType { - DLInformationTransfer_r8_IEs__dedicatedInfoType_PR present; - union DLInformationTransfer_r8_IEs__dedicatedInfoType_u { - DedicatedInfoNAS_t dedicatedInfoNAS; - DedicatedInfoCDMA2000_t dedicatedInfoCDMA2000_1XRTT; - DedicatedInfoCDMA2000_t dedicatedInfoCDMA2000_HRPD; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } dedicatedInfoType; - struct DLInformationTransfer_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DLInformationTransfer_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DLInformationTransfer_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/DLInformationTransfer-v8a0-IEs.h" - -#endif /* _DLInformationTransfer_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DLInformationTransfer-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/DLInformationTransfer-v8a0-IEs.h deleted file mode 100644 index 93555a682..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DLInformationTransfer-v8a0-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DLInformationTransfer_v8a0_IEs_H_ -#define _DLInformationTransfer_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* DLInformationTransfer-v8a0-IEs */ -typedef struct DLInformationTransfer_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct DLInformationTransfer_v8a0_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DLInformationTransfer_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DLInformationTransfer_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _DLInformationTransfer_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DLInformationTransfer.h b/lte/rrc/include/liblte/rrc/asn/DLInformationTransfer.h deleted file mode 100644 index 3c30e77a6..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DLInformationTransfer.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DLInformationTransfer_H_ -#define _DLInformationTransfer_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/DLInformationTransfer-r8-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum DLInformationTransfer__criticalExtensions_PR { - DLInformationTransfer__criticalExtensions_PR_NOTHING, /* No components present */ - DLInformationTransfer__criticalExtensions_PR_c1, - DLInformationTransfer__criticalExtensions_PR_criticalExtensionsFuture -} DLInformationTransfer__criticalExtensions_PR; -typedef enum DLInformationTransfer__criticalExtensions__c1_PR { - DLInformationTransfer__criticalExtensions__c1_PR_NOTHING, /* No components present */ - DLInformationTransfer__criticalExtensions__c1_PR_dlInformationTransfer_r8, - DLInformationTransfer__criticalExtensions__c1_PR_spare3, - DLInformationTransfer__criticalExtensions__c1_PR_spare2, - DLInformationTransfer__criticalExtensions__c1_PR_spare1 -} DLInformationTransfer__criticalExtensions__c1_PR; - -/* DLInformationTransfer */ -typedef struct DLInformationTransfer { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct DLInformationTransfer__criticalExtensions { - DLInformationTransfer__criticalExtensions_PR present; - union DLInformationTransfer__criticalExtensions_u { - struct DLInformationTransfer__criticalExtensions__c1 { - DLInformationTransfer__criticalExtensions__c1_PR present; - union DLInformationTransfer__criticalExtensions__c1_u { - DLInformationTransfer_r8_IEs_t dlInformationTransfer_r8; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct DLInformationTransfer__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DLInformationTransfer_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DLInformationTransfer; - -#ifdef __cplusplus -} -#endif - -#endif /* _DLInformationTransfer_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DRB-CountInfo.h b/lte/rrc/include/liblte/rrc/asn/DRB-CountInfo.h deleted file mode 100644 index 281a4403b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DRB-CountInfo.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DRB_CountInfo_H_ -#define _DRB_CountInfo_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/DRB-Identity.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* DRB-CountInfo */ -typedef struct DRB_CountInfo { - DRB_Identity_t drb_Identity; - unsigned long count_Uplink; - unsigned long count_Downlink; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DRB_CountInfo_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_count_Uplink_3; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_count_Downlink_4; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_DRB_CountInfo; - -#ifdef __cplusplus -} -#endif - -#endif /* _DRB_CountInfo_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DRB-CountInfoList.h b/lte/rrc/include/liblte/rrc/asn/DRB-CountInfoList.h deleted file mode 100644 index 3a49aebca..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DRB-CountInfoList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DRB_CountInfoList_H_ -#define _DRB_CountInfoList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct DRB_CountInfo; - -/* DRB-CountInfoList */ -typedef struct DRB_CountInfoList { - A_SEQUENCE_OF(struct DRB_CountInfo) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DRB_CountInfoList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DRB_CountInfoList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/DRB-CountInfo.h" - -#endif /* _DRB_CountInfoList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DRB-CountMSB-Info.h b/lte/rrc/include/liblte/rrc/asn/DRB-CountMSB-Info.h deleted file mode 100644 index 837e9b406..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DRB-CountMSB-Info.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DRB_CountMSB_Info_H_ -#define _DRB_CountMSB_Info_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/DRB-Identity.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* DRB-CountMSB-Info */ -typedef struct DRB_CountMSB_Info { - DRB_Identity_t drb_Identity; - long countMSB_Uplink; - long countMSB_Downlink; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DRB_CountMSB_Info_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DRB_CountMSB_Info; - -#ifdef __cplusplus -} -#endif - -#endif /* _DRB_CountMSB_Info_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DRB-CountMSB-InfoList.h b/lte/rrc/include/liblte/rrc/asn/DRB-CountMSB-InfoList.h deleted file mode 100644 index f5f833e8b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DRB-CountMSB-InfoList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DRB_CountMSB_InfoList_H_ -#define _DRB_CountMSB_InfoList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct DRB_CountMSB_Info; - -/* DRB-CountMSB-InfoList */ -typedef struct DRB_CountMSB_InfoList { - A_SEQUENCE_OF(struct DRB_CountMSB_Info) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DRB_CountMSB_InfoList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DRB_CountMSB_InfoList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/DRB-CountMSB-Info.h" - -#endif /* _DRB_CountMSB_InfoList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DRB-Identity.h b/lte/rrc/include/liblte/rrc/asn/DRB-Identity.h deleted file mode 100644 index ec7facc62..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DRB-Identity.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DRB_Identity_H_ -#define _DRB_Identity_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* DRB-Identity */ -typedef long DRB_Identity_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DRB_Identity; -asn_struct_free_f DRB_Identity_free; -asn_struct_print_f DRB_Identity_print; -asn_constr_check_f DRB_Identity_constraint; -ber_type_decoder_f DRB_Identity_decode_ber; -der_type_encoder_f DRB_Identity_encode_der; -xer_type_decoder_f DRB_Identity_decode_xer; -xer_type_encoder_f DRB_Identity_encode_xer; -per_type_decoder_f DRB_Identity_decode_uper; -per_type_encoder_f DRB_Identity_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _DRB_Identity_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DRB-ToAddMod.h b/lte/rrc/include/liblte/rrc/asn/DRB-ToAddMod.h deleted file mode 100644 index de6bfba5c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DRB-ToAddMod.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DRB_ToAddMod_H_ -#define _DRB_ToAddMod_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/DRB-Identity.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct PDCP_Config; -struct RLC_Config; -struct LogicalChannelConfig; - -/* DRB-ToAddMod */ -typedef struct DRB_ToAddMod { - long *eps_BearerIdentity /* OPTIONAL */; - DRB_Identity_t drb_Identity; - struct PDCP_Config *pdcp_Config /* OPTIONAL */; - struct RLC_Config *rlc_Config /* OPTIONAL */; - long *logicalChannelIdentity /* OPTIONAL */; - struct LogicalChannelConfig *logicalChannelConfig /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DRB_ToAddMod_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DRB_ToAddMod; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PDCP-Config.h" -#include "liblte/rrc/asn/RLC-Config.h" -#include "liblte/rrc/asn/LogicalChannelConfig.h" - -#endif /* _DRB_ToAddMod_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DRB-ToAddModList.h b/lte/rrc/include/liblte/rrc/asn/DRB-ToAddModList.h deleted file mode 100644 index c30869924..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DRB-ToAddModList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DRB_ToAddModList_H_ -#define _DRB_ToAddModList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct DRB_ToAddMod; - -/* DRB-ToAddModList */ -typedef struct DRB_ToAddModList { - A_SEQUENCE_OF(struct DRB_ToAddMod) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DRB_ToAddModList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DRB_ToAddModList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/DRB-ToAddMod.h" - -#endif /* _DRB_ToAddModList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DRB-ToReleaseList.h b/lte/rrc/include/liblte/rrc/asn/DRB-ToReleaseList.h deleted file mode 100644 index 155b54284..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DRB-ToReleaseList.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DRB_ToReleaseList_H_ -#define _DRB_ToReleaseList_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/DRB-Identity.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* DRB-ToReleaseList */ -typedef struct DRB_ToReleaseList { - A_SEQUENCE_OF(DRB_Identity_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DRB_ToReleaseList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DRB_ToReleaseList; - -#ifdef __cplusplus -} -#endif - -#endif /* _DRB_ToReleaseList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DRX-Config.h b/lte/rrc/include/liblte/rrc/asn/DRX-Config.h deleted file mode 100644 index 30dbbfea8..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DRX-Config.h +++ /dev/null @@ -1,193 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DRX_Config_H_ -#define _DRX_Config_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum DRX_Config_PR { - DRX_Config_PR_NOTHING, /* No components present */ - DRX_Config_PR_release, - DRX_Config_PR_setup -} DRX_Config_PR; -typedef enum DRX_Config__setup__onDurationTimer { - DRX_Config__setup__onDurationTimer_psf1 = 0, - DRX_Config__setup__onDurationTimer_psf2 = 1, - DRX_Config__setup__onDurationTimer_psf3 = 2, - DRX_Config__setup__onDurationTimer_psf4 = 3, - DRX_Config__setup__onDurationTimer_psf5 = 4, - DRX_Config__setup__onDurationTimer_psf6 = 5, - DRX_Config__setup__onDurationTimer_psf8 = 6, - DRX_Config__setup__onDurationTimer_psf10 = 7, - DRX_Config__setup__onDurationTimer_psf20 = 8, - DRX_Config__setup__onDurationTimer_psf30 = 9, - DRX_Config__setup__onDurationTimer_psf40 = 10, - DRX_Config__setup__onDurationTimer_psf50 = 11, - DRX_Config__setup__onDurationTimer_psf60 = 12, - DRX_Config__setup__onDurationTimer_psf80 = 13, - DRX_Config__setup__onDurationTimer_psf100 = 14, - DRX_Config__setup__onDurationTimer_psf200 = 15 -} e_DRX_Config__setup__onDurationTimer; -typedef enum DRX_Config__setup__drx_InactivityTimer { - DRX_Config__setup__drx_InactivityTimer_psf1 = 0, - DRX_Config__setup__drx_InactivityTimer_psf2 = 1, - DRX_Config__setup__drx_InactivityTimer_psf3 = 2, - DRX_Config__setup__drx_InactivityTimer_psf4 = 3, - DRX_Config__setup__drx_InactivityTimer_psf5 = 4, - DRX_Config__setup__drx_InactivityTimer_psf6 = 5, - DRX_Config__setup__drx_InactivityTimer_psf8 = 6, - DRX_Config__setup__drx_InactivityTimer_psf10 = 7, - DRX_Config__setup__drx_InactivityTimer_psf20 = 8, - DRX_Config__setup__drx_InactivityTimer_psf30 = 9, - DRX_Config__setup__drx_InactivityTimer_psf40 = 10, - DRX_Config__setup__drx_InactivityTimer_psf50 = 11, - DRX_Config__setup__drx_InactivityTimer_psf60 = 12, - DRX_Config__setup__drx_InactivityTimer_psf80 = 13, - DRX_Config__setup__drx_InactivityTimer_psf100 = 14, - DRX_Config__setup__drx_InactivityTimer_psf200 = 15, - DRX_Config__setup__drx_InactivityTimer_psf300 = 16, - DRX_Config__setup__drx_InactivityTimer_psf500 = 17, - DRX_Config__setup__drx_InactivityTimer_psf750 = 18, - DRX_Config__setup__drx_InactivityTimer_psf1280 = 19, - DRX_Config__setup__drx_InactivityTimer_psf1920 = 20, - DRX_Config__setup__drx_InactivityTimer_psf2560 = 21, - DRX_Config__setup__drx_InactivityTimer_psf0_v1020 = 22, - DRX_Config__setup__drx_InactivityTimer_spare9 = 23, - DRX_Config__setup__drx_InactivityTimer_spare8 = 24, - DRX_Config__setup__drx_InactivityTimer_spare7 = 25, - DRX_Config__setup__drx_InactivityTimer_spare6 = 26, - DRX_Config__setup__drx_InactivityTimer_spare5 = 27, - DRX_Config__setup__drx_InactivityTimer_spare4 = 28, - DRX_Config__setup__drx_InactivityTimer_spare3 = 29, - DRX_Config__setup__drx_InactivityTimer_spare2 = 30, - DRX_Config__setup__drx_InactivityTimer_spare1 = 31 -} e_DRX_Config__setup__drx_InactivityTimer; -typedef enum DRX_Config__setup__drx_RetransmissionTimer { - DRX_Config__setup__drx_RetransmissionTimer_psf1 = 0, - DRX_Config__setup__drx_RetransmissionTimer_psf2 = 1, - DRX_Config__setup__drx_RetransmissionTimer_psf4 = 2, - DRX_Config__setup__drx_RetransmissionTimer_psf6 = 3, - DRX_Config__setup__drx_RetransmissionTimer_psf8 = 4, - DRX_Config__setup__drx_RetransmissionTimer_psf16 = 5, - DRX_Config__setup__drx_RetransmissionTimer_psf24 = 6, - DRX_Config__setup__drx_RetransmissionTimer_psf33 = 7 -} e_DRX_Config__setup__drx_RetransmissionTimer; -typedef enum DRX_Config__setup__longDRX_CycleStartOffset_PR { - DRX_Config__setup__longDRX_CycleStartOffset_PR_NOTHING, /* No components present */ - DRX_Config__setup__longDRX_CycleStartOffset_PR_sf10, - DRX_Config__setup__longDRX_CycleStartOffset_PR_sf20, - DRX_Config__setup__longDRX_CycleStartOffset_PR_sf32, - DRX_Config__setup__longDRX_CycleStartOffset_PR_sf40, - DRX_Config__setup__longDRX_CycleStartOffset_PR_sf64, - DRX_Config__setup__longDRX_CycleStartOffset_PR_sf80, - DRX_Config__setup__longDRX_CycleStartOffset_PR_sf128, - DRX_Config__setup__longDRX_CycleStartOffset_PR_sf160, - DRX_Config__setup__longDRX_CycleStartOffset_PR_sf256, - DRX_Config__setup__longDRX_CycleStartOffset_PR_sf320, - DRX_Config__setup__longDRX_CycleStartOffset_PR_sf512, - DRX_Config__setup__longDRX_CycleStartOffset_PR_sf640, - DRX_Config__setup__longDRX_CycleStartOffset_PR_sf1024, - DRX_Config__setup__longDRX_CycleStartOffset_PR_sf1280, - DRX_Config__setup__longDRX_CycleStartOffset_PR_sf2048, - DRX_Config__setup__longDRX_CycleStartOffset_PR_sf2560 -} DRX_Config__setup__longDRX_CycleStartOffset_PR; -typedef enum DRX_Config__setup__shortDRX__shortDRX_Cycle { - DRX_Config__setup__shortDRX__shortDRX_Cycle_sf2 = 0, - DRX_Config__setup__shortDRX__shortDRX_Cycle_sf5 = 1, - DRX_Config__setup__shortDRX__shortDRX_Cycle_sf8 = 2, - DRX_Config__setup__shortDRX__shortDRX_Cycle_sf10 = 3, - DRX_Config__setup__shortDRX__shortDRX_Cycle_sf16 = 4, - DRX_Config__setup__shortDRX__shortDRX_Cycle_sf20 = 5, - DRX_Config__setup__shortDRX__shortDRX_Cycle_sf32 = 6, - DRX_Config__setup__shortDRX__shortDRX_Cycle_sf40 = 7, - DRX_Config__setup__shortDRX__shortDRX_Cycle_sf64 = 8, - DRX_Config__setup__shortDRX__shortDRX_Cycle_sf80 = 9, - DRX_Config__setup__shortDRX__shortDRX_Cycle_sf128 = 10, - DRX_Config__setup__shortDRX__shortDRX_Cycle_sf160 = 11, - DRX_Config__setup__shortDRX__shortDRX_Cycle_sf256 = 12, - DRX_Config__setup__shortDRX__shortDRX_Cycle_sf320 = 13, - DRX_Config__setup__shortDRX__shortDRX_Cycle_sf512 = 14, - DRX_Config__setup__shortDRX__shortDRX_Cycle_sf640 = 15 -} e_DRX_Config__setup__shortDRX__shortDRX_Cycle; - -/* DRX-Config */ -typedef struct DRX_Config { - DRX_Config_PR present; - union DRX_Config_u { - NULL_t release; - struct DRX_Config__setup { - long onDurationTimer; - long drx_InactivityTimer; - long drx_RetransmissionTimer; - struct DRX_Config__setup__longDRX_CycleStartOffset { - DRX_Config__setup__longDRX_CycleStartOffset_PR present; - union DRX_Config__setup__longDRX_CycleStartOffset_u { - long sf10; - long sf20; - long sf32; - long sf40; - long sf64; - long sf80; - long sf128; - long sf160; - long sf256; - long sf320; - long sf512; - long sf640; - long sf1024; - long sf1280; - long sf2048; - long sf2560; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } longDRX_CycleStartOffset; - struct DRX_Config__setup__shortDRX { - long shortDRX_Cycle; - long drxShortCycleTimer; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *shortDRX; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DRX_Config_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_onDurationTimer_4; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_drx_InactivityTimer_21; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_drx_RetransmissionTimer_54; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_shortDRX_Cycle_81; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_DRX_Config; - -#ifdef __cplusplus -} -#endif - -#endif /* _DRX_Config_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DedicatedInfoCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/DedicatedInfoCDMA2000.h deleted file mode 100644 index 5e629d0d6..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DedicatedInfoCDMA2000.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DedicatedInfoCDMA2000_H_ -#define _DedicatedInfoCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* DedicatedInfoCDMA2000 */ -typedef OCTET_STRING_t DedicatedInfoCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DedicatedInfoCDMA2000; -asn_struct_free_f DedicatedInfoCDMA2000_free; -asn_struct_print_f DedicatedInfoCDMA2000_print; -asn_constr_check_f DedicatedInfoCDMA2000_constraint; -ber_type_decoder_f DedicatedInfoCDMA2000_decode_ber; -der_type_encoder_f DedicatedInfoCDMA2000_encode_der; -xer_type_decoder_f DedicatedInfoCDMA2000_decode_xer; -xer_type_encoder_f DedicatedInfoCDMA2000_encode_xer; -per_type_decoder_f DedicatedInfoCDMA2000_decode_uper; -per_type_encoder_f DedicatedInfoCDMA2000_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _DedicatedInfoCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DedicatedInfoNAS.h b/lte/rrc/include/liblte/rrc/asn/DedicatedInfoNAS.h deleted file mode 100644 index e962ce13f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DedicatedInfoNAS.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DedicatedInfoNAS_H_ -#define _DedicatedInfoNAS_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* DedicatedInfoNAS */ -typedef OCTET_STRING_t DedicatedInfoNAS_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DedicatedInfoNAS; -asn_struct_free_f DedicatedInfoNAS_free; -asn_struct_print_f DedicatedInfoNAS_print; -asn_constr_check_f DedicatedInfoNAS_constraint; -ber_type_decoder_f DedicatedInfoNAS_decode_ber; -der_type_encoder_f DedicatedInfoNAS_encode_der; -xer_type_decoder_f DedicatedInfoNAS_decode_xer; -xer_type_encoder_f DedicatedInfoNAS_encode_xer; -per_type_decoder_f DedicatedInfoNAS_decode_uper; -per_type_encoder_f DedicatedInfoNAS_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _DedicatedInfoNAS_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DeltaFList-PUCCH.h b/lte/rrc/include/liblte/rrc/asn/DeltaFList-PUCCH.h deleted file mode 100644 index 1d5bc3394..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DeltaFList-PUCCH.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DeltaFList_PUCCH_H_ -#define _DeltaFList_PUCCH_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum DeltaFList_PUCCH__deltaF_PUCCH_Format1 { - DeltaFList_PUCCH__deltaF_PUCCH_Format1_deltaF_2 = 0, - DeltaFList_PUCCH__deltaF_PUCCH_Format1_deltaF0 = 1, - DeltaFList_PUCCH__deltaF_PUCCH_Format1_deltaF2 = 2 -} e_DeltaFList_PUCCH__deltaF_PUCCH_Format1; -typedef enum DeltaFList_PUCCH__deltaF_PUCCH_Format1b { - DeltaFList_PUCCH__deltaF_PUCCH_Format1b_deltaF1 = 0, - DeltaFList_PUCCH__deltaF_PUCCH_Format1b_deltaF3 = 1, - DeltaFList_PUCCH__deltaF_PUCCH_Format1b_deltaF5 = 2 -} e_DeltaFList_PUCCH__deltaF_PUCCH_Format1b; -typedef enum DeltaFList_PUCCH__deltaF_PUCCH_Format2 { - DeltaFList_PUCCH__deltaF_PUCCH_Format2_deltaF_2 = 0, - DeltaFList_PUCCH__deltaF_PUCCH_Format2_deltaF0 = 1, - DeltaFList_PUCCH__deltaF_PUCCH_Format2_deltaF1 = 2, - DeltaFList_PUCCH__deltaF_PUCCH_Format2_deltaF2 = 3 -} e_DeltaFList_PUCCH__deltaF_PUCCH_Format2; -typedef enum DeltaFList_PUCCH__deltaF_PUCCH_Format2a { - DeltaFList_PUCCH__deltaF_PUCCH_Format2a_deltaF_2 = 0, - DeltaFList_PUCCH__deltaF_PUCCH_Format2a_deltaF0 = 1, - DeltaFList_PUCCH__deltaF_PUCCH_Format2a_deltaF2 = 2 -} e_DeltaFList_PUCCH__deltaF_PUCCH_Format2a; -typedef enum DeltaFList_PUCCH__deltaF_PUCCH_Format2b { - DeltaFList_PUCCH__deltaF_PUCCH_Format2b_deltaF_2 = 0, - DeltaFList_PUCCH__deltaF_PUCCH_Format2b_deltaF0 = 1, - DeltaFList_PUCCH__deltaF_PUCCH_Format2b_deltaF2 = 2 -} e_DeltaFList_PUCCH__deltaF_PUCCH_Format2b; - -/* DeltaFList-PUCCH */ -typedef struct DeltaFList_PUCCH { - long deltaF_PUCCH_Format1; - long deltaF_PUCCH_Format1b; - long deltaF_PUCCH_Format2; - long deltaF_PUCCH_Format2a; - long deltaF_PUCCH_Format2b; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DeltaFList_PUCCH_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_deltaF_PUCCH_Format1_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_deltaF_PUCCH_Format1b_6; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_deltaF_PUCCH_Format2_10; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_deltaF_PUCCH_Format2a_15; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_deltaF_PUCCH_Format2b_19; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_DeltaFList_PUCCH; - -#ifdef __cplusplus -} -#endif - -#endif /* _DeltaFList_PUCCH_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/DeltaTxD-OffsetListPUCCH-r10.h b/lte/rrc/include/liblte/rrc/asn/DeltaTxD-OffsetListPUCCH-r10.h deleted file mode 100644 index a57c4698b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/DeltaTxD-OffsetListPUCCH-r10.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _DeltaTxD_OffsetListPUCCH_r10_H_ -#define _DeltaTxD_OffsetListPUCCH_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum DeltaTxD_OffsetListPUCCH_r10__deltaTxD_OffsetPUCCH_Format1_r10 { - DeltaTxD_OffsetListPUCCH_r10__deltaTxD_OffsetPUCCH_Format1_r10_dB0 = 0, - DeltaTxD_OffsetListPUCCH_r10__deltaTxD_OffsetPUCCH_Format1_r10_dB_2 = 1 -} e_DeltaTxD_OffsetListPUCCH_r10__deltaTxD_OffsetPUCCH_Format1_r10; -typedef enum DeltaTxD_OffsetListPUCCH_r10__deltaTxD_OffsetPUCCH_Format1a1b_r10 { - DeltaTxD_OffsetListPUCCH_r10__deltaTxD_OffsetPUCCH_Format1a1b_r10_dB0 = 0, - DeltaTxD_OffsetListPUCCH_r10__deltaTxD_OffsetPUCCH_Format1a1b_r10_dB_2 = 1 -} e_DeltaTxD_OffsetListPUCCH_r10__deltaTxD_OffsetPUCCH_Format1a1b_r10; -typedef enum DeltaTxD_OffsetListPUCCH_r10__deltaTxD_OffsetPUCCH_Format22a2b_r10 { - DeltaTxD_OffsetListPUCCH_r10__deltaTxD_OffsetPUCCH_Format22a2b_r10_dB0 = 0, - DeltaTxD_OffsetListPUCCH_r10__deltaTxD_OffsetPUCCH_Format22a2b_r10_dB_2 = 1 -} e_DeltaTxD_OffsetListPUCCH_r10__deltaTxD_OffsetPUCCH_Format22a2b_r10; -typedef enum DeltaTxD_OffsetListPUCCH_r10__deltaTxD_OffsetPUCCH_Format3_r10 { - DeltaTxD_OffsetListPUCCH_r10__deltaTxD_OffsetPUCCH_Format3_r10_dB0 = 0, - DeltaTxD_OffsetListPUCCH_r10__deltaTxD_OffsetPUCCH_Format3_r10_dB_2 = 1 -} e_DeltaTxD_OffsetListPUCCH_r10__deltaTxD_OffsetPUCCH_Format3_r10; - -/* DeltaTxD-OffsetListPUCCH-r10 */ -typedef struct DeltaTxD_OffsetListPUCCH_r10 { - long deltaTxD_OffsetPUCCH_Format1_r10; - long deltaTxD_OffsetPUCCH_Format1a1b_r10; - long deltaTxD_OffsetPUCCH_Format22a2b_r10; - long deltaTxD_OffsetPUCCH_Format3_r10; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DeltaTxD_OffsetListPUCCH_r10_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_deltaTxD_OffsetPUCCH_Format1_r10_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_deltaTxD_OffsetPUCCH_Format1a1b_r10_5; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_deltaTxD_OffsetPUCCH_Format22a2b_r10_8; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_deltaTxD_OffsetPUCCH_Format3_r10_11; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_DeltaTxD_OffsetListPUCCH_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _DeltaTxD_OffsetListPUCCH_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/E-CSFB-r9.h b/lte/rrc/include/liblte/rrc/asn/E-CSFB-r9.h deleted file mode 100644 index 48fa2defe..000000000 --- a/lte/rrc/include/liblte/rrc/asn/E-CSFB-r9.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _E_CSFB_r9_H_ -#define _E_CSFB_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum E_CSFB_r9__mobilityCDMA2000_HRPD_r9 { - E_CSFB_r9__mobilityCDMA2000_HRPD_r9_handover = 0, - E_CSFB_r9__mobilityCDMA2000_HRPD_r9_redirection = 1 -} e_E_CSFB_r9__mobilityCDMA2000_HRPD_r9; - -/* Forward declarations */ -struct CarrierFreqCDMA2000; - -/* E-CSFB-r9 */ -typedef struct E_CSFB_r9 { - OCTET_STRING_t *messageContCDMA2000_1XRTT_r9 /* OPTIONAL */; - long *mobilityCDMA2000_HRPD_r9 /* OPTIONAL */; - OCTET_STRING_t *messageContCDMA2000_HRPD_r9 /* OPTIONAL */; - struct CarrierFreqCDMA2000 *redirectCarrierCDMA2000_HRPD_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} E_CSFB_r9_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_mobilityCDMA2000_HRPD_r9_3; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_E_CSFB_r9; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CarrierFreqCDMA2000.h" - -#endif /* _E_CSFB_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/EstablishmentCause.h b/lte/rrc/include/liblte/rrc/asn/EstablishmentCause.h deleted file mode 100644 index 75f65c5d5..000000000 --- a/lte/rrc/include/liblte/rrc/asn/EstablishmentCause.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _EstablishmentCause_H_ -#define _EstablishmentCause_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum EstablishmentCause { - EstablishmentCause_emergency = 0, - EstablishmentCause_highPriorityAccess = 1, - EstablishmentCause_mt_Access = 2, - EstablishmentCause_mo_Signalling = 3, - EstablishmentCause_mo_Data = 4, - EstablishmentCause_delayTolerantAccess_v1020 = 5, - EstablishmentCause_spare2 = 6, - EstablishmentCause_spare1 = 7 -} e_EstablishmentCause; - -/* EstablishmentCause */ -typedef long EstablishmentCause_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_EstablishmentCause; -asn_struct_free_f EstablishmentCause_free; -asn_struct_print_f EstablishmentCause_print; -asn_constr_check_f EstablishmentCause_constraint; -ber_type_decoder_f EstablishmentCause_decode_ber; -der_type_encoder_f EstablishmentCause_encode_der; -xer_type_decoder_f EstablishmentCause_decode_xer; -xer_type_encoder_f EstablishmentCause_encode_xer; -per_type_decoder_f EstablishmentCause_decode_uper; -per_type_encoder_f EstablishmentCause_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _EstablishmentCause_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ExplicitListOfARFCNs.h b/lte/rrc/include/liblte/rrc/asn/ExplicitListOfARFCNs.h deleted file mode 100644 index b18573e1c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ExplicitListOfARFCNs.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ExplicitListOfARFCNs_H_ -#define _ExplicitListOfARFCNs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ARFCN-ValueGERAN.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ExplicitListOfARFCNs */ -typedef struct ExplicitListOfARFCNs { - A_SEQUENCE_OF(ARFCN_ValueGERAN_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ExplicitListOfARFCNs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ExplicitListOfARFCNs; - -#ifdef __cplusplus -} -#endif - -#endif /* _ExplicitListOfARFCNs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/FilterCoefficient.h b/lte/rrc/include/liblte/rrc/asn/FilterCoefficient.h deleted file mode 100644 index 57b9391c5..000000000 --- a/lte/rrc/include/liblte/rrc/asn/FilterCoefficient.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _FilterCoefficient_H_ -#define _FilterCoefficient_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum FilterCoefficient { - FilterCoefficient_fc0 = 0, - FilterCoefficient_fc1 = 1, - FilterCoefficient_fc2 = 2, - FilterCoefficient_fc3 = 3, - FilterCoefficient_fc4 = 4, - FilterCoefficient_fc5 = 5, - FilterCoefficient_fc6 = 6, - FilterCoefficient_fc7 = 7, - FilterCoefficient_fc8 = 8, - FilterCoefficient_fc9 = 9, - FilterCoefficient_fc11 = 10, - FilterCoefficient_fc13 = 11, - FilterCoefficient_fc15 = 12, - FilterCoefficient_fc17 = 13, - FilterCoefficient_fc19 = 14, - FilterCoefficient_spare1 = 15 - /* - * Enumeration is extensible - */ -} e_FilterCoefficient; - -/* FilterCoefficient */ -typedef long FilterCoefficient_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_FilterCoefficient; -asn_struct_free_f FilterCoefficient_free; -asn_struct_print_f FilterCoefficient_print; -asn_constr_check_f FilterCoefficient_constraint; -ber_type_decoder_f FilterCoefficient_decode_ber; -der_type_encoder_f FilterCoefficient_encode_der; -xer_type_decoder_f FilterCoefficient_decode_xer; -xer_type_encoder_f FilterCoefficient_encode_xer; -per_type_decoder_f FilterCoefficient_decode_uper; -per_type_encoder_f FilterCoefficient_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _FilterCoefficient_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/FreqPriorityEUTRA.h b/lte/rrc/include/liblte/rrc/asn/FreqPriorityEUTRA.h deleted file mode 100644 index 5af60bae0..000000000 --- a/lte/rrc/include/liblte/rrc/asn/FreqPriorityEUTRA.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _FreqPriorityEUTRA_H_ -#define _FreqPriorityEUTRA_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ARFCN-ValueEUTRA.h" -#include "liblte/rrc/asn/CellReselectionPriority.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* FreqPriorityEUTRA */ -typedef struct FreqPriorityEUTRA { - ARFCN_ValueEUTRA_t carrierFreq; - CellReselectionPriority_t cellReselectionPriority; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} FreqPriorityEUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_FreqPriorityEUTRA; - -#ifdef __cplusplus -} -#endif - -#endif /* _FreqPriorityEUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/FreqPriorityListEUTRA.h b/lte/rrc/include/liblte/rrc/asn/FreqPriorityListEUTRA.h deleted file mode 100644 index 1d06bd77b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/FreqPriorityListEUTRA.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _FreqPriorityListEUTRA_H_ -#define _FreqPriorityListEUTRA_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct FreqPriorityEUTRA; - -/* FreqPriorityListEUTRA */ -typedef struct FreqPriorityListEUTRA { - A_SEQUENCE_OF(struct FreqPriorityEUTRA) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} FreqPriorityListEUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_FreqPriorityListEUTRA; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/FreqPriorityEUTRA.h" - -#endif /* _FreqPriorityListEUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/FreqPriorityListUTRA-FDD.h b/lte/rrc/include/liblte/rrc/asn/FreqPriorityListUTRA-FDD.h deleted file mode 100644 index 136415619..000000000 --- a/lte/rrc/include/liblte/rrc/asn/FreqPriorityListUTRA-FDD.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _FreqPriorityListUTRA_FDD_H_ -#define _FreqPriorityListUTRA_FDD_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct FreqPriorityUTRA_FDD; - -/* FreqPriorityListUTRA-FDD */ -typedef struct FreqPriorityListUTRA_FDD { - A_SEQUENCE_OF(struct FreqPriorityUTRA_FDD) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} FreqPriorityListUTRA_FDD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_FreqPriorityListUTRA_FDD; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/FreqPriorityUTRA-FDD.h" - -#endif /* _FreqPriorityListUTRA_FDD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/FreqPriorityListUTRA-TDD.h b/lte/rrc/include/liblte/rrc/asn/FreqPriorityListUTRA-TDD.h deleted file mode 100644 index 1e620939a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/FreqPriorityListUTRA-TDD.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _FreqPriorityListUTRA_TDD_H_ -#define _FreqPriorityListUTRA_TDD_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct FreqPriorityUTRA_TDD; - -/* FreqPriorityListUTRA-TDD */ -typedef struct FreqPriorityListUTRA_TDD { - A_SEQUENCE_OF(struct FreqPriorityUTRA_TDD) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} FreqPriorityListUTRA_TDD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_FreqPriorityListUTRA_TDD; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/FreqPriorityUTRA-TDD.h" - -#endif /* _FreqPriorityListUTRA_TDD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/FreqPriorityUTRA-FDD.h b/lte/rrc/include/liblte/rrc/asn/FreqPriorityUTRA-FDD.h deleted file mode 100644 index e1091e8e2..000000000 --- a/lte/rrc/include/liblte/rrc/asn/FreqPriorityUTRA-FDD.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _FreqPriorityUTRA_FDD_H_ -#define _FreqPriorityUTRA_FDD_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ARFCN-ValueUTRA.h" -#include "liblte/rrc/asn/CellReselectionPriority.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* FreqPriorityUTRA-FDD */ -typedef struct FreqPriorityUTRA_FDD { - ARFCN_ValueUTRA_t carrierFreq; - CellReselectionPriority_t cellReselectionPriority; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} FreqPriorityUTRA_FDD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_FreqPriorityUTRA_FDD; - -#ifdef __cplusplus -} -#endif - -#endif /* _FreqPriorityUTRA_FDD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/FreqPriorityUTRA-TDD.h b/lte/rrc/include/liblte/rrc/asn/FreqPriorityUTRA-TDD.h deleted file mode 100644 index 62122d71b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/FreqPriorityUTRA-TDD.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _FreqPriorityUTRA_TDD_H_ -#define _FreqPriorityUTRA_TDD_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ARFCN-ValueUTRA.h" -#include "liblte/rrc/asn/CellReselectionPriority.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* FreqPriorityUTRA-TDD */ -typedef struct FreqPriorityUTRA_TDD { - ARFCN_ValueUTRA_t carrierFreq; - CellReselectionPriority_t cellReselectionPriority; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} FreqPriorityUTRA_TDD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_FreqPriorityUTRA_TDD; - -#ifdef __cplusplus -} -#endif - -#endif /* _FreqPriorityUTRA_TDD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/FreqsPriorityGERAN.h b/lte/rrc/include/liblte/rrc/asn/FreqsPriorityGERAN.h deleted file mode 100644 index fce8c0bde..000000000 --- a/lte/rrc/include/liblte/rrc/asn/FreqsPriorityGERAN.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _FreqsPriorityGERAN_H_ -#define _FreqsPriorityGERAN_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CarrierFreqsGERAN.h" -#include "liblte/rrc/asn/CellReselectionPriority.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* FreqsPriorityGERAN */ -typedef struct FreqsPriorityGERAN { - CarrierFreqsGERAN_t carrierFreqs; - CellReselectionPriority_t cellReselectionPriority; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} FreqsPriorityGERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_FreqsPriorityGERAN; - -#ifdef __cplusplus -} -#endif - -#endif /* _FreqsPriorityGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/FreqsPriorityListGERAN.h b/lte/rrc/include/liblte/rrc/asn/FreqsPriorityListGERAN.h deleted file mode 100644 index 6ef620f7d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/FreqsPriorityListGERAN.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _FreqsPriorityListGERAN_H_ -#define _FreqsPriorityListGERAN_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct FreqsPriorityGERAN; - -/* FreqsPriorityListGERAN */ -typedef struct FreqsPriorityListGERAN { - A_SEQUENCE_OF(struct FreqsPriorityGERAN) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} FreqsPriorityListGERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_FreqsPriorityListGERAN; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/FreqsPriorityGERAN.h" - -#endif /* _FreqsPriorityListGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/Handover.h b/lte/rrc/include/liblte/rrc/asn/Handover.h deleted file mode 100644 index e4c7249ad..000000000 --- a/lte/rrc/include/liblte/rrc/asn/Handover.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _Handover_H_ -#define _Handover_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum Handover__targetRAT_Type { - Handover__targetRAT_Type_utra = 0, - Handover__targetRAT_Type_geran = 1, - Handover__targetRAT_Type_cdma2000_1XRTT = 2, - Handover__targetRAT_Type_cdma2000_HRPD = 3, - Handover__targetRAT_Type_spare4 = 4, - Handover__targetRAT_Type_spare3 = 5, - Handover__targetRAT_Type_spare2 = 6, - Handover__targetRAT_Type_spare1 = 7 - /* - * Enumeration is extensible - */ -} e_Handover__targetRAT_Type; - -/* Forward declarations */ -struct SI_OrPSI_GERAN; - -/* Handover */ -typedef struct Handover { - long targetRAT_Type; - OCTET_STRING_t targetRAT_MessageContainer; - OCTET_STRING_t *nas_SecurityParamFromEUTRA /* OPTIONAL */; - struct SI_OrPSI_GERAN *systemInformation /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Handover_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_targetRAT_Type_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_Handover; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SI-OrPSI-GERAN.h" - -#endif /* _Handover_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/HandoverCommand-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/HandoverCommand-r8-IEs.h deleted file mode 100644 index 460d9291e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/HandoverCommand-r8-IEs.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#ifndef _HandoverCommand_r8_IEs_H_ -#define _HandoverCommand_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* HandoverCommand-r8-IEs */ -typedef struct HandoverCommand_r8_IEs { - OCTET_STRING_t handoverCommandMessage; - struct nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} HandoverCommand_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_HandoverCommand_r8_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _HandoverCommand_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/HandoverCommand.h b/lte/rrc/include/liblte/rrc/asn/HandoverCommand.h deleted file mode 100644 index 207402eb3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/HandoverCommand.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#ifndef _HandoverCommand_H_ -#define _HandoverCommand_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/HandoverCommand-r8-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum criticalExtensions_PR { - criticalExtensions_PR_NOTHING, /* No components present */ - criticalExtensions_PR_c1, - criticalExtensions_PR_criticalExtensionsFuture -} criticalExtensions_PR; -typedef enum c1_PR { - c1_PR_NOTHING, /* No components present */ - c1_PR_handoverCommand_r8, - c1_PR_spare7, - c1_PR_spare6, - c1_PR_spare5, - c1_PR_spare4, - c1_PR_spare3, - c1_PR_spare2, - c1_PR_spare1 -} c1_PR; - -/* HandoverCommand */ -typedef struct HandoverCommand { - struct criticalExtensions { - criticalExtensions_PR present; - union HandoverCommand__criticalExtensions_u { - struct c1 { - c1_PR present; - union HandoverCommand__criticalExtensions__c1_u { - HandoverCommand_r8_IEs_t handoverCommand_r8; - NULL_t spare7; - NULL_t spare6; - NULL_t spare5; - NULL_t spare4; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} HandoverCommand_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_HandoverCommand; - -#ifdef __cplusplus -} -#endif - -#endif /* _HandoverCommand_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-r8-IEs.h deleted file mode 100644 index 0589f7631..000000000 --- a/lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-r8-IEs.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _HandoverFromEUTRAPreparationRequest_r8_IEs_H_ -#define _HandoverFromEUTRAPreparationRequest_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CDMA2000-Type.h" -#include "liblte/rrc/asn/RAND-CDMA2000.h" -#include "liblte/rrc/asn/MobilityParametersCDMA2000.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct HandoverFromEUTRAPreparationRequest_v890_IEs; - -/* HandoverFromEUTRAPreparationRequest-r8-IEs */ -typedef struct HandoverFromEUTRAPreparationRequest_r8_IEs { - CDMA2000_Type_t cdma2000_Type; - RAND_CDMA2000_t *rand /* OPTIONAL */; - MobilityParametersCDMA2000_t *mobilityParameters /* OPTIONAL */; - struct HandoverFromEUTRAPreparationRequest_v890_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} HandoverFromEUTRAPreparationRequest_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_HandoverFromEUTRAPreparationRequest_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-v890-IEs.h" - -#endif /* _HandoverFromEUTRAPreparationRequest_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-v1020-IEs.h b/lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-v1020-IEs.h deleted file mode 100644 index c053e095b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-v1020-IEs.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _HandoverFromEUTRAPreparationRequest_v1020_IEs_H_ -#define _HandoverFromEUTRAPreparationRequest_v1020_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum HandoverFromEUTRAPreparationRequest_v1020_IEs__dualRxTxRedirectIndicator_r10 { - HandoverFromEUTRAPreparationRequest_v1020_IEs__dualRxTxRedirectIndicator_r10_true = 0 -} e_HandoverFromEUTRAPreparationRequest_v1020_IEs__dualRxTxRedirectIndicator_r10; - -/* Forward declarations */ -struct CarrierFreqCDMA2000; - -/* HandoverFromEUTRAPreparationRequest-v1020-IEs */ -typedef struct HandoverFromEUTRAPreparationRequest_v1020_IEs { - long *dualRxTxRedirectIndicator_r10 /* OPTIONAL */; - struct CarrierFreqCDMA2000 *redirectCarrierCDMA2000_1XRTT_r10 /* OPTIONAL */; - struct HandoverFromEUTRAPreparationRequest_v1020_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} HandoverFromEUTRAPreparationRequest_v1020_IEs_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_dualRxTxRedirectIndicator_r10_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_HandoverFromEUTRAPreparationRequest_v1020_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CarrierFreqCDMA2000.h" - -#endif /* _HandoverFromEUTRAPreparationRequest_v1020_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-v890-IEs.h b/lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-v890-IEs.h deleted file mode 100644 index 29bc7f751..000000000 --- a/lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-v890-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _HandoverFromEUTRAPreparationRequest_v890_IEs_H_ -#define _HandoverFromEUTRAPreparationRequest_v890_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct HandoverFromEUTRAPreparationRequest_v920_IEs; - -/* HandoverFromEUTRAPreparationRequest-v890-IEs */ -typedef struct HandoverFromEUTRAPreparationRequest_v890_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct HandoverFromEUTRAPreparationRequest_v920_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} HandoverFromEUTRAPreparationRequest_v890_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_HandoverFromEUTRAPreparationRequest_v890_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-v920-IEs.h" - -#endif /* _HandoverFromEUTRAPreparationRequest_v890_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-v920-IEs.h b/lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-v920-IEs.h deleted file mode 100644 index 4b092e9a4..000000000 --- a/lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-v920-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _HandoverFromEUTRAPreparationRequest_v920_IEs_H_ -#define _HandoverFromEUTRAPreparationRequest_v920_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct HandoverFromEUTRAPreparationRequest_v1020_IEs; - -/* HandoverFromEUTRAPreparationRequest-v920-IEs */ -typedef struct HandoverFromEUTRAPreparationRequest_v920_IEs { - BOOLEAN_t *concurrPrepCDMA2000_HRPD_r9 /* OPTIONAL */; - struct HandoverFromEUTRAPreparationRequest_v1020_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} HandoverFromEUTRAPreparationRequest_v920_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_HandoverFromEUTRAPreparationRequest_v920_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-v1020-IEs.h" - -#endif /* _HandoverFromEUTRAPreparationRequest_v920_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest.h b/lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest.h deleted file mode 100644 index f3f50f0ac..000000000 --- a/lte/rrc/include/liblte/rrc/asn/HandoverFromEUTRAPreparationRequest.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _HandoverFromEUTRAPreparationRequest_H_ -#define _HandoverFromEUTRAPreparationRequest_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-r8-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum HandoverFromEUTRAPreparationRequest__criticalExtensions_PR { - HandoverFromEUTRAPreparationRequest__criticalExtensions_PR_NOTHING, /* No components present */ - HandoverFromEUTRAPreparationRequest__criticalExtensions_PR_c1, - HandoverFromEUTRAPreparationRequest__criticalExtensions_PR_criticalExtensionsFuture -} HandoverFromEUTRAPreparationRequest__criticalExtensions_PR; -typedef enum HandoverFromEUTRAPreparationRequest__criticalExtensions__c1_PR { - HandoverFromEUTRAPreparationRequest__criticalExtensions__c1_PR_NOTHING, /* No components present */ - HandoverFromEUTRAPreparationRequest__criticalExtensions__c1_PR_handoverFromEUTRAPreparationRequest_r8, - HandoverFromEUTRAPreparationRequest__criticalExtensions__c1_PR_spare3, - HandoverFromEUTRAPreparationRequest__criticalExtensions__c1_PR_spare2, - HandoverFromEUTRAPreparationRequest__criticalExtensions__c1_PR_spare1 -} HandoverFromEUTRAPreparationRequest__criticalExtensions__c1_PR; - -/* HandoverFromEUTRAPreparationRequest */ -typedef struct HandoverFromEUTRAPreparationRequest { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct HandoverFromEUTRAPreparationRequest__criticalExtensions { - HandoverFromEUTRAPreparationRequest__criticalExtensions_PR present; - union HandoverFromEUTRAPreparationRequest__criticalExtensions_u { - struct HandoverFromEUTRAPreparationRequest__criticalExtensions__c1 { - HandoverFromEUTRAPreparationRequest__criticalExtensions__c1_PR present; - union HandoverFromEUTRAPreparationRequest__criticalExtensions__c1_u { - HandoverFromEUTRAPreparationRequest_r8_IEs_t handoverFromEUTRAPreparationRequest_r8; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct HandoverFromEUTRAPreparationRequest__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} HandoverFromEUTRAPreparationRequest_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_HandoverFromEUTRAPreparationRequest; - -#ifdef __cplusplus -} -#endif - -#endif /* _HandoverFromEUTRAPreparationRequest_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/HandoverPreparationInformation-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/HandoverPreparationInformation-r8-IEs.h deleted file mode 100644 index a9a8e92cf..000000000 --- a/lte/rrc/include/liblte/rrc/asn/HandoverPreparationInformation-r8-IEs.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#ifndef _HandoverPreparationInformation_r8_IEs_H_ -#define _HandoverPreparationInformation_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/UE-CapabilityRAT-ContainerList.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct AS_Config; -struct RRM_Config; -struct AS_Context; -struct HandoverPreparationInformation_v920_IEs; - -/* HandoverPreparationInformation-r8-IEs */ -typedef struct HandoverPreparationInformation_r8_IEs { - UE_CapabilityRAT_ContainerList_t ue_RadioAccessCapabilityInfo; - struct AS_Config *as_Config /* OPTIONAL */; - struct RRM_Config *rrm_Config /* OPTIONAL */; - struct AS_Context *as_Context /* OPTIONAL */; - struct HandoverPreparationInformation_v920_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} HandoverPreparationInformation_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_HandoverPreparationInformation_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/AS-Config.h" -#include "liblte/rrc/asn/RRM-Config.h" -#include "liblte/rrc/asn/AS-Context.h" -#include "liblte/rrc/asn/HandoverPreparationInformation-v920-IEs.h" - -#endif /* _HandoverPreparationInformation_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/HandoverPreparationInformation-v920-IEs.h b/lte/rrc/include/liblte/rrc/asn/HandoverPreparationInformation-v920-IEs.h deleted file mode 100644 index 0675b58cc..000000000 --- a/lte/rrc/include/liblte/rrc/asn/HandoverPreparationInformation-v920-IEs.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#ifndef _HandoverPreparationInformation_v920_IEs_H_ -#define _HandoverPreparationInformation_v920_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ue_ConfigRelease_r9 { - ue_ConfigRelease_r9_rel9 = 0, - ue_ConfigRelease_r9_spare7 = 1, - ue_ConfigRelease_r9_spare6 = 2, - ue_ConfigRelease_r9_spare5 = 3, - ue_ConfigRelease_r9_spare4 = 4, - ue_ConfigRelease_r9_spare3 = 5, - ue_ConfigRelease_r9_spare2 = 6, - ue_ConfigRelease_r9_spare1 = 7 - /* - * Enumeration is extensible - */ -} e_ue_ConfigRelease_r9; - -/* HandoverPreparationInformation-v920-IEs */ -typedef struct HandoverPreparationInformation_v920_IEs { - long *ue_ConfigRelease_r9 /* OPTIONAL */; - struct nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} HandoverPreparationInformation_v920_IEs_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_ue_ConfigRelease_r9_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_HandoverPreparationInformation_v920_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _HandoverPreparationInformation_v920_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/HandoverPreparationInformation.h b/lte/rrc/include/liblte/rrc/asn/HandoverPreparationInformation.h deleted file mode 100644 index 7c251246d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/HandoverPreparationInformation.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#ifndef _HandoverPreparationInformation_H_ -#define _HandoverPreparationInformation_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/HandoverPreparationInformation-r8-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum criticalExtensions_PR { - criticalExtensions_PR_NOTHING, /* No components present */ - criticalExtensions_PR_c1, - criticalExtensions_PR_criticalExtensionsFuture -} criticalExtensions_PR; -typedef enum c1_PR { - c1_PR_NOTHING, /* No components present */ - c1_PR_handoverPreparationInformation_r8, - c1_PR_spare7, - c1_PR_spare6, - c1_PR_spare5, - c1_PR_spare4, - c1_PR_spare3, - c1_PR_spare2, - c1_PR_spare1 -} c1_PR; - -/* HandoverPreparationInformation */ -typedef struct HandoverPreparationInformation { - struct criticalExtensions { - criticalExtensions_PR present; - union HandoverPreparationInformation__criticalExtensions_u { - struct c1 { - c1_PR present; - union HandoverPreparationInformation__criticalExtensions__c1_u { - HandoverPreparationInformation_r8_IEs_t handoverPreparationInformation_r8; - NULL_t spare7; - NULL_t spare6; - NULL_t spare5; - NULL_t spare4; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} HandoverPreparationInformation_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_HandoverPreparationInformation; - -#ifdef __cplusplus -} -#endif - -#endif /* _HandoverPreparationInformation_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/Hysteresis.h b/lte/rrc/include/liblte/rrc/asn/Hysteresis.h deleted file mode 100644 index 99af33adc..000000000 --- a/lte/rrc/include/liblte/rrc/asn/Hysteresis.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _Hysteresis_H_ -#define _Hysteresis_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Hysteresis */ -typedef long Hysteresis_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Hysteresis; -asn_struct_free_f Hysteresis_free; -asn_struct_print_f Hysteresis_print; -asn_constr_check_f Hysteresis_constraint; -ber_type_decoder_f Hysteresis_decode_ber; -der_type_encoder_f Hysteresis_encode_der; -xer_type_decoder_f Hysteresis_decode_xer; -xer_type_encoder_f Hysteresis_encode_xer; -per_type_decoder_f Hysteresis_decode_uper; -per_type_encoder_f Hysteresis_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _Hysteresis_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/IMSI-Digit.h b/lte/rrc/include/liblte/rrc/asn/IMSI-Digit.h deleted file mode 100644 index e098fb149..000000000 --- a/lte/rrc/include/liblte/rrc/asn/IMSI-Digit.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _IMSI_Digit_H_ -#define _IMSI_Digit_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* IMSI-Digit */ -typedef long IMSI_Digit_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_IMSI_Digit; -asn_struct_free_f IMSI_Digit_free; -asn_struct_print_f IMSI_Digit_print; -asn_constr_check_f IMSI_Digit_constraint; -ber_type_decoder_f IMSI_Digit_decode_ber; -der_type_encoder_f IMSI_Digit_encode_der; -xer_type_decoder_f IMSI_Digit_decode_xer; -xer_type_encoder_f IMSI_Digit_encode_xer; -per_type_decoder_f IMSI_Digit_decode_uper; -per_type_encoder_f IMSI_Digit_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _IMSI_Digit_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/IMSI.h b/lte/rrc/include/liblte/rrc/asn/IMSI.h deleted file mode 100644 index 967d39846..000000000 --- a/lte/rrc/include/liblte/rrc/asn/IMSI.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _IMSI_H_ -#define _IMSI_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/IMSI-Digit.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* IMSI */ -typedef struct IMSI { - A_SEQUENCE_OF(IMSI_Digit_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IMSI_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_IMSI; - -#ifdef __cplusplus -} -#endif - -#endif /* _IMSI_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/INTEGER.h b/lte/rrc/include/liblte/rrc/asn/INTEGER.h deleted file mode 100644 index 5614665ae..000000000 --- a/lte/rrc/include/liblte/rrc/asn/INTEGER.h +++ /dev/null @@ -1,69 +0,0 @@ -/*- - * Copyright (c) 2003, 2005 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _INTEGER_H_ -#define _INTEGER_H_ - -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -typedef ASN__PRIMITIVE_TYPE_t INTEGER_t; - -extern asn_TYPE_descriptor_t asn_DEF_INTEGER; - -/* Map with to integer value association */ -typedef struct asn_INTEGER_enum_map_s { - long nat_value; /* associated native integer value */ - size_t enum_len; /* strlen("tag") */ - const char *enum_name; /* "tag" */ -} asn_INTEGER_enum_map_t; - -/* This type describes an enumeration for INTEGER and ENUMERATED types */ -typedef struct asn_INTEGER_specifics_s { - asn_INTEGER_enum_map_t *value2enum; /* N -> "tag"; sorted by N */ - unsigned int *enum2value; /* "tag" => N; sorted by tag */ - int map_count; /* Elements in either map */ - int extension; /* This map is extensible */ - int strict_enumeration; /* Enumeration set is fixed */ - int field_width; /* Size of native integer */ - int field_unsigned; /* Signed=0, unsigned=1 */ -} asn_INTEGER_specifics_t; - -asn_struct_print_f INTEGER_print; -ber_type_decoder_f INTEGER_decode_ber; -der_type_encoder_f INTEGER_encode_der; -xer_type_decoder_f INTEGER_decode_xer; -xer_type_encoder_f INTEGER_encode_xer; -per_type_decoder_f INTEGER_decode_uper; -per_type_encoder_f INTEGER_encode_uper; - -/*********************************** - * Some handy conversion routines. * - ***********************************/ - -/* - * Returns 0 if it was possible to convert, -1 otherwise. - * -1/EINVAL: Mandatory argument missing - * -1/ERANGE: Value encoded is out of range for long representation - * -1/ENOMEM: Memory allocation failed (in asn_long2INTEGER()). - */ -int asn_INTEGER2long(const INTEGER_t *i, long *l); -int asn_INTEGER2ulong(const INTEGER_t *i, unsigned long *l); -int asn_long2INTEGER(INTEGER_t *i, long l); -int asn_ulong2INTEGER(INTEGER_t *i, unsigned long l); - -/* - * Convert the integer value into the corresponding enumeration map entry. - */ -const asn_INTEGER_enum_map_t *INTEGER_map_value2enum(asn_INTEGER_specifics_t *specs, long value); - -#ifdef __cplusplus -} -#endif - -#endif /* _INTEGER_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersCDMA2000-1XRTT-v1020.h b/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersCDMA2000-1XRTT-v1020.h deleted file mode 100644 index ac0e83ad0..000000000 --- a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersCDMA2000-1XRTT-v1020.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _IRAT_ParametersCDMA2000_1XRTT_v1020_H_ -#define _IRAT_ParametersCDMA2000_1XRTT_v1020_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum IRAT_ParametersCDMA2000_1XRTT_v1020__e_CSFB_dual_1XRTT_r10 { - IRAT_ParametersCDMA2000_1XRTT_v1020__e_CSFB_dual_1XRTT_r10_supported = 0 -} e_IRAT_ParametersCDMA2000_1XRTT_v1020__e_CSFB_dual_1XRTT_r10; - -/* IRAT-ParametersCDMA2000-1XRTT-v1020 */ -typedef struct IRAT_ParametersCDMA2000_1XRTT_v1020 { - long e_CSFB_dual_1XRTT_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IRAT_ParametersCDMA2000_1XRTT_v1020_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_e_CSFB_dual_1XRTT_r10_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v1020; - -#ifdef __cplusplus -} -#endif - -#endif /* _IRAT_ParametersCDMA2000_1XRTT_v1020_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersCDMA2000-1XRTT-v920.h b/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersCDMA2000-1XRTT-v920.h deleted file mode 100644 index f81a7c5a3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersCDMA2000-1XRTT-v920.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _IRAT_ParametersCDMA2000_1XRTT_v920_H_ -#define _IRAT_ParametersCDMA2000_1XRTT_v920_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum IRAT_ParametersCDMA2000_1XRTT_v920__e_CSFB_1XRTT_r9 { - IRAT_ParametersCDMA2000_1XRTT_v920__e_CSFB_1XRTT_r9_supported = 0 -} e_IRAT_ParametersCDMA2000_1XRTT_v920__e_CSFB_1XRTT_r9; -typedef enum IRAT_ParametersCDMA2000_1XRTT_v920__e_CSFB_ConcPS_Mob1XRTT_r9 { - IRAT_ParametersCDMA2000_1XRTT_v920__e_CSFB_ConcPS_Mob1XRTT_r9_supported = 0 -} e_IRAT_ParametersCDMA2000_1XRTT_v920__e_CSFB_ConcPS_Mob1XRTT_r9; - -/* IRAT-ParametersCDMA2000-1XRTT-v920 */ -typedef struct IRAT_ParametersCDMA2000_1XRTT_v920 { - long e_CSFB_1XRTT_r9; - long *e_CSFB_ConcPS_Mob1XRTT_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IRAT_ParametersCDMA2000_1XRTT_v920_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_e_CSFB_1XRTT_r9_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_e_CSFB_ConcPS_Mob1XRTT_r9_4; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v920; - -#ifdef __cplusplus -} -#endif - -#endif /* _IRAT_ParametersCDMA2000_1XRTT_v920_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersCDMA2000-1XRTT.h b/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersCDMA2000-1XRTT.h deleted file mode 100644 index abcc499ea..000000000 --- a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersCDMA2000-1XRTT.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _IRAT_ParametersCDMA2000_1XRTT_H_ -#define _IRAT_ParametersCDMA2000_1XRTT_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SupportedBandList1XRTT.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum IRAT_ParametersCDMA2000_1XRTT__tx_Config1XRTT { - IRAT_ParametersCDMA2000_1XRTT__tx_Config1XRTT_single = 0, - IRAT_ParametersCDMA2000_1XRTT__tx_Config1XRTT_dual = 1 -} e_IRAT_ParametersCDMA2000_1XRTT__tx_Config1XRTT; -typedef enum IRAT_ParametersCDMA2000_1XRTT__rx_Config1XRTT { - IRAT_ParametersCDMA2000_1XRTT__rx_Config1XRTT_single = 0, - IRAT_ParametersCDMA2000_1XRTT__rx_Config1XRTT_dual = 1 -} e_IRAT_ParametersCDMA2000_1XRTT__rx_Config1XRTT; - -/* IRAT-ParametersCDMA2000-1XRTT */ -typedef struct IRAT_ParametersCDMA2000_1XRTT { - SupportedBandList1XRTT_t supportedBandList1XRTT; - long tx_Config1XRTT; - long rx_Config1XRTT; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IRAT_ParametersCDMA2000_1XRTT_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_tx_Config1XRTT_3; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_rx_Config1XRTT_6; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersCDMA2000_1XRTT; - -#ifdef __cplusplus -} -#endif - -#endif /* _IRAT_ParametersCDMA2000_1XRTT_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersCDMA2000-HRPD.h b/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersCDMA2000-HRPD.h deleted file mode 100644 index 254f538c7..000000000 --- a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersCDMA2000-HRPD.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _IRAT_ParametersCDMA2000_HRPD_H_ -#define _IRAT_ParametersCDMA2000_HRPD_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SupportedBandListHRPD.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum IRAT_ParametersCDMA2000_HRPD__tx_ConfigHRPD { - IRAT_ParametersCDMA2000_HRPD__tx_ConfigHRPD_single = 0, - IRAT_ParametersCDMA2000_HRPD__tx_ConfigHRPD_dual = 1 -} e_IRAT_ParametersCDMA2000_HRPD__tx_ConfigHRPD; -typedef enum IRAT_ParametersCDMA2000_HRPD__rx_ConfigHRPD { - IRAT_ParametersCDMA2000_HRPD__rx_ConfigHRPD_single = 0, - IRAT_ParametersCDMA2000_HRPD__rx_ConfigHRPD_dual = 1 -} e_IRAT_ParametersCDMA2000_HRPD__rx_ConfigHRPD; - -/* IRAT-ParametersCDMA2000-HRPD */ -typedef struct IRAT_ParametersCDMA2000_HRPD { - SupportedBandListHRPD_t supportedBandListHRPD; - long tx_ConfigHRPD; - long rx_ConfigHRPD; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IRAT_ParametersCDMA2000_HRPD_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_tx_ConfigHRPD_3; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_rx_ConfigHRPD_6; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersCDMA2000_HRPD; - -#ifdef __cplusplus -} -#endif - -#endif /* _IRAT_ParametersCDMA2000_HRPD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersGERAN-v920.h b/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersGERAN-v920.h deleted file mode 100644 index e393dc3d5..000000000 --- a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersGERAN-v920.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _IRAT_ParametersGERAN_v920_H_ -#define _IRAT_ParametersGERAN_v920_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum IRAT_ParametersGERAN_v920__dtm_r9 { - IRAT_ParametersGERAN_v920__dtm_r9_supported = 0 -} e_IRAT_ParametersGERAN_v920__dtm_r9; -typedef enum IRAT_ParametersGERAN_v920__e_RedirectionGERAN_r9 { - IRAT_ParametersGERAN_v920__e_RedirectionGERAN_r9_supported = 0 -} e_IRAT_ParametersGERAN_v920__e_RedirectionGERAN_r9; - -/* IRAT-ParametersGERAN-v920 */ -typedef struct IRAT_ParametersGERAN_v920 { - long *dtm_r9 /* OPTIONAL */; - long *e_RedirectionGERAN_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IRAT_ParametersGERAN_v920_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_dtm_r9_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_e_RedirectionGERAN_r9_4; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersGERAN_v920; - -#ifdef __cplusplus -} -#endif - -#endif /* _IRAT_ParametersGERAN_v920_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersGERAN.h b/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersGERAN.h deleted file mode 100644 index a2f7cfb51..000000000 --- a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersGERAN.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _IRAT_ParametersGERAN_H_ -#define _IRAT_ParametersGERAN_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SupportedBandListGERAN.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* IRAT-ParametersGERAN */ -typedef struct IRAT_ParametersGERAN { - SupportedBandListGERAN_t supportedBandListGERAN; - BOOLEAN_t interRAT_PS_HO_ToGERAN; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IRAT_ParametersGERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersGERAN; - -#ifdef __cplusplus -} -#endif - -#endif /* _IRAT_ParametersGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-FDD.h b/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-FDD.h deleted file mode 100644 index ed532eb88..000000000 --- a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-FDD.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _IRAT_ParametersUTRA_FDD_H_ -#define _IRAT_ParametersUTRA_FDD_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SupportedBandListUTRA-FDD.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* IRAT-ParametersUTRA-FDD */ -typedef struct IRAT_ParametersUTRA_FDD { - SupportedBandListUTRA_FDD_t supportedBandListUTRA_FDD; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IRAT_ParametersUTRA_FDD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersUTRA_FDD; - -#ifdef __cplusplus -} -#endif - -#endif /* _IRAT_ParametersUTRA_FDD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-TDD-v1020.h b/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-TDD-v1020.h deleted file mode 100644 index d0ee02da1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-TDD-v1020.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _IRAT_ParametersUTRA_TDD_v1020_H_ -#define _IRAT_ParametersUTRA_TDD_v1020_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum IRAT_ParametersUTRA_TDD_v1020__e_RedirectionUTRA_TDD_r10 { - IRAT_ParametersUTRA_TDD_v1020__e_RedirectionUTRA_TDD_r10_supported = 0 -} e_IRAT_ParametersUTRA_TDD_v1020__e_RedirectionUTRA_TDD_r10; - -/* IRAT-ParametersUTRA-TDD-v1020 */ -typedef struct IRAT_ParametersUTRA_TDD_v1020 { - long e_RedirectionUTRA_TDD_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IRAT_ParametersUTRA_TDD_v1020_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_e_RedirectionUTRA_TDD_r10_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersUTRA_TDD_v1020; - -#ifdef __cplusplus -} -#endif - -#endif /* _IRAT_ParametersUTRA_TDD_v1020_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-TDD128.h b/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-TDD128.h deleted file mode 100644 index 3b61bdf68..000000000 --- a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-TDD128.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _IRAT_ParametersUTRA_TDD128_H_ -#define _IRAT_ParametersUTRA_TDD128_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SupportedBandListUTRA-TDD128.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* IRAT-ParametersUTRA-TDD128 */ -typedef struct IRAT_ParametersUTRA_TDD128 { - SupportedBandListUTRA_TDD128_t supportedBandListUTRA_TDD128; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IRAT_ParametersUTRA_TDD128_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersUTRA_TDD128; - -#ifdef __cplusplus -} -#endif - -#endif /* _IRAT_ParametersUTRA_TDD128_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-TDD384.h b/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-TDD384.h deleted file mode 100644 index 358821980..000000000 --- a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-TDD384.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _IRAT_ParametersUTRA_TDD384_H_ -#define _IRAT_ParametersUTRA_TDD384_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SupportedBandListUTRA-TDD384.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* IRAT-ParametersUTRA-TDD384 */ -typedef struct IRAT_ParametersUTRA_TDD384 { - SupportedBandListUTRA_TDD384_t supportedBandListUTRA_TDD384; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IRAT_ParametersUTRA_TDD384_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersUTRA_TDD384; - -#ifdef __cplusplus -} -#endif - -#endif /* _IRAT_ParametersUTRA_TDD384_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-TDD768.h b/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-TDD768.h deleted file mode 100644 index 5c64fc7fd..000000000 --- a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-TDD768.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _IRAT_ParametersUTRA_TDD768_H_ -#define _IRAT_ParametersUTRA_TDD768_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SupportedBandListUTRA-TDD768.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* IRAT-ParametersUTRA-TDD768 */ -typedef struct IRAT_ParametersUTRA_TDD768 { - SupportedBandListUTRA_TDD768_t supportedBandListUTRA_TDD768; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IRAT_ParametersUTRA_TDD768_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersUTRA_TDD768; - -#ifdef __cplusplus -} -#endif - -#endif /* _IRAT_ParametersUTRA_TDD768_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-v920.h b/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-v920.h deleted file mode 100644 index a2fb0a37c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/IRAT-ParametersUTRA-v920.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _IRAT_ParametersUTRA_v920_H_ -#define _IRAT_ParametersUTRA_v920_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum IRAT_ParametersUTRA_v920__e_RedirectionUTRA_r9 { - IRAT_ParametersUTRA_v920__e_RedirectionUTRA_r9_supported = 0 -} e_IRAT_ParametersUTRA_v920__e_RedirectionUTRA_r9; - -/* IRAT-ParametersUTRA-v920 */ -typedef struct IRAT_ParametersUTRA_v920 { - long e_RedirectionUTRA_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IRAT_ParametersUTRA_v920_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_e_RedirectionUTRA_r9_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersUTRA_v920; - -#ifdef __cplusplus -} -#endif - -#endif /* _IRAT_ParametersUTRA_v920_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/IdleModeMobilityControlInfo.h b/lte/rrc/include/liblte/rrc/asn/IdleModeMobilityControlInfo.h deleted file mode 100644 index ecf32731c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/IdleModeMobilityControlInfo.h +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _IdleModeMobilityControlInfo_H_ -#define _IdleModeMobilityControlInfo_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum IdleModeMobilityControlInfo__t320 { - IdleModeMobilityControlInfo__t320_min5 = 0, - IdleModeMobilityControlInfo__t320_min10 = 1, - IdleModeMobilityControlInfo__t320_min20 = 2, - IdleModeMobilityControlInfo__t320_min30 = 3, - IdleModeMobilityControlInfo__t320_min60 = 4, - IdleModeMobilityControlInfo__t320_min120 = 5, - IdleModeMobilityControlInfo__t320_min180 = 6, - IdleModeMobilityControlInfo__t320_spare1 = 7 -} e_IdleModeMobilityControlInfo__t320; - -/* Forward declarations */ -struct FreqPriorityListEUTRA; -struct FreqsPriorityListGERAN; -struct FreqPriorityListUTRA_FDD; -struct FreqPriorityListUTRA_TDD; -struct BandClassPriorityListHRPD; -struct BandClassPriorityList1XRTT; - -/* IdleModeMobilityControlInfo */ -typedef struct IdleModeMobilityControlInfo { - struct FreqPriorityListEUTRA *freqPriorityListEUTRA /* OPTIONAL */; - struct FreqsPriorityListGERAN *freqPriorityListGERAN /* OPTIONAL */; - struct FreqPriorityListUTRA_FDD *freqPriorityListUTRA_FDD /* OPTIONAL */; - struct FreqPriorityListUTRA_TDD *freqPriorityListUTRA_TDD /* OPTIONAL */; - struct BandClassPriorityListHRPD *bandClassPriorityListHRPD /* OPTIONAL */; - struct BandClassPriorityList1XRTT *bandClassPriorityList1XRTT /* OPTIONAL */; - long *t320 /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IdleModeMobilityControlInfo_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_t320_8; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_IdleModeMobilityControlInfo; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/FreqPriorityListEUTRA.h" -#include "liblte/rrc/asn/FreqsPriorityListGERAN.h" -#include "liblte/rrc/asn/FreqPriorityListUTRA-FDD.h" -#include "liblte/rrc/asn/FreqPriorityListUTRA-TDD.h" -#include "liblte/rrc/asn/BandClassPriorityListHRPD.h" -#include "liblte/rrc/asn/BandClassPriorityList1XRTT.h" - -#endif /* _IdleModeMobilityControlInfo_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/InitialUE-Identity.h b/lte/rrc/include/liblte/rrc/asn/InitialUE-Identity.h deleted file mode 100644 index fbca5163c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/InitialUE-Identity.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _InitialUE_Identity_H_ -#define _InitialUE_Identity_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/S-TMSI.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum InitialUE_Identity_PR { - InitialUE_Identity_PR_NOTHING, /* No components present */ - InitialUE_Identity_PR_s_TMSI, - InitialUE_Identity_PR_randomValue -} InitialUE_Identity_PR; - -/* InitialUE-Identity */ -typedef struct InitialUE_Identity { - InitialUE_Identity_PR present; - union InitialUE_Identity_u { - S_TMSI_t s_TMSI; - BIT_STRING_t randomValue; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} InitialUE_Identity_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_InitialUE_Identity; - -#ifdef __cplusplus -} -#endif - -#endif /* _InitialUE_Identity_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/InterFreqBandInfo.h b/lte/rrc/include/liblte/rrc/asn/InterFreqBandInfo.h deleted file mode 100644 index 6a570f98b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/InterFreqBandInfo.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _InterFreqBandInfo_H_ -#define _InterFreqBandInfo_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* InterFreqBandInfo */ -typedef struct InterFreqBandInfo { - BOOLEAN_t interFreqNeedForGaps; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} InterFreqBandInfo_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_InterFreqBandInfo; - -#ifdef __cplusplus -} -#endif - -#endif /* _InterFreqBandInfo_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/InterFreqBandList.h b/lte/rrc/include/liblte/rrc/asn/InterFreqBandList.h deleted file mode 100644 index af7cb0c8f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/InterFreqBandList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _InterFreqBandList_H_ -#define _InterFreqBandList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct InterFreqBandInfo; - -/* InterFreqBandList */ -typedef struct InterFreqBandList { - A_SEQUENCE_OF(struct InterFreqBandInfo) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} InterFreqBandList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_InterFreqBandList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/InterFreqBandInfo.h" - -#endif /* _InterFreqBandList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/InterFreqBlackCellList.h b/lte/rrc/include/liblte/rrc/asn/InterFreqBlackCellList.h deleted file mode 100644 index b6e1fe8e3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/InterFreqBlackCellList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _InterFreqBlackCellList_H_ -#define _InterFreqBlackCellList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct PhysCellIdRange; - -/* InterFreqBlackCellList */ -typedef struct InterFreqBlackCellList { - A_SEQUENCE_OF(struct PhysCellIdRange) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} InterFreqBlackCellList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_InterFreqBlackCellList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PhysCellIdRange.h" - -#endif /* _InterFreqBlackCellList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/InterFreqCarrierFreqInfo.h b/lte/rrc/include/liblte/rrc/asn/InterFreqCarrierFreqInfo.h deleted file mode 100644 index 325356247..000000000 --- a/lte/rrc/include/liblte/rrc/asn/InterFreqCarrierFreqInfo.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _InterFreqCarrierFreqInfo_H_ -#define _InterFreqCarrierFreqInfo_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ARFCN-ValueEUTRA.h" -#include "liblte/rrc/asn/Q-RxLevMin.h" -#include "liblte/rrc/asn/P-Max.h" -#include "liblte/rrc/asn/T-Reselection.h" -#include "liblte/rrc/asn/ReselectionThreshold.h" -#include "liblte/rrc/asn/AllowedMeasBandwidth.h" -#include "liblte/rrc/asn/PresenceAntennaPort1.h" -#include "liblte/rrc/asn/CellReselectionPriority.h" -#include "liblte/rrc/asn/NeighCellConfig.h" -#include "liblte/rrc/asn/Q-OffsetRange.h" -#include "liblte/rrc/asn/Q-QualMin-r9.h" -#include "liblte/rrc/asn/ReselectionThresholdQ-r9.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct SpeedStateScaleFactors; -struct InterFreqNeighCellList; -struct InterFreqBlackCellList; - -/* InterFreqCarrierFreqInfo */ -typedef struct InterFreqCarrierFreqInfo { - ARFCN_ValueEUTRA_t dl_CarrierFreq; - Q_RxLevMin_t q_RxLevMin; - P_Max_t *p_Max /* OPTIONAL */; - T_Reselection_t t_ReselectionEUTRA; - struct SpeedStateScaleFactors *t_ReselectionEUTRA_SF /* OPTIONAL */; - ReselectionThreshold_t threshX_High; - ReselectionThreshold_t threshX_Low; - AllowedMeasBandwidth_t allowedMeasBandwidth; - PresenceAntennaPort1_t presenceAntennaPort1; - CellReselectionPriority_t *cellReselectionPriority /* OPTIONAL */; - NeighCellConfig_t neighCellConfig; - Q_OffsetRange_t *q_OffsetFreq /* DEFAULT 15 */; - struct InterFreqNeighCellList *interFreqNeighCellList /* OPTIONAL */; - struct InterFreqBlackCellList *interFreqBlackCellList /* OPTIONAL */; - Q_QualMin_r9_t *q_QualMin_r9 /* OPTIONAL */; - struct InterFreqCarrierFreqInfo__threshX_Q_r9 { - ReselectionThresholdQ_r9_t threshX_HighQ_r9; - ReselectionThresholdQ_r9_t threshX_LowQ_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *threshX_Q_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} InterFreqCarrierFreqInfo_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_InterFreqCarrierFreqInfo; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SpeedStateScaleFactors.h" -#include "liblte/rrc/asn/InterFreqNeighCellList.h" -#include "liblte/rrc/asn/InterFreqBlackCellList.h" - -#endif /* _InterFreqCarrierFreqInfo_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/InterFreqCarrierFreqList.h b/lte/rrc/include/liblte/rrc/asn/InterFreqCarrierFreqList.h deleted file mode 100644 index 6f1a89bf3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/InterFreqCarrierFreqList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _InterFreqCarrierFreqList_H_ -#define _InterFreqCarrierFreqList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct InterFreqCarrierFreqInfo; - -/* InterFreqCarrierFreqList */ -typedef struct InterFreqCarrierFreqList { - A_SEQUENCE_OF(struct InterFreqCarrierFreqInfo) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} InterFreqCarrierFreqList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_InterFreqCarrierFreqList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/InterFreqCarrierFreqInfo.h" - -#endif /* _InterFreqCarrierFreqList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/InterFreqNeighCellInfo.h b/lte/rrc/include/liblte/rrc/asn/InterFreqNeighCellInfo.h deleted file mode 100644 index d68ef5290..000000000 --- a/lte/rrc/include/liblte/rrc/asn/InterFreqNeighCellInfo.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _InterFreqNeighCellInfo_H_ -#define _InterFreqNeighCellInfo_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PhysCellId.h" -#include "liblte/rrc/asn/Q-OffsetRange.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* InterFreqNeighCellInfo */ -typedef struct InterFreqNeighCellInfo { - PhysCellId_t physCellId; - Q_OffsetRange_t q_OffsetCell; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} InterFreqNeighCellInfo_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_InterFreqNeighCellInfo; - -#ifdef __cplusplus -} -#endif - -#endif /* _InterFreqNeighCellInfo_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/InterFreqNeighCellList.h b/lte/rrc/include/liblte/rrc/asn/InterFreqNeighCellList.h deleted file mode 100644 index 59ef4887d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/InterFreqNeighCellList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _InterFreqNeighCellList_H_ -#define _InterFreqNeighCellList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct InterFreqNeighCellInfo; - -/* InterFreqNeighCellList */ -typedef struct InterFreqNeighCellList { - A_SEQUENCE_OF(struct InterFreqNeighCellInfo) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} InterFreqNeighCellList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_InterFreqNeighCellList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/InterFreqNeighCellInfo.h" - -#endif /* _InterFreqNeighCellList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/InterFreqRSTDMeasurementIndication-r10-IEs.h b/lte/rrc/include/liblte/rrc/asn/InterFreqRSTDMeasurementIndication-r10-IEs.h deleted file mode 100644 index 57dcd687d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/InterFreqRSTDMeasurementIndication-r10-IEs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _InterFreqRSTDMeasurementIndication_r10_IEs_H_ -#define _InterFreqRSTDMeasurementIndication_r10_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include "liblte/rrc/asn/RSTD-InterFreqInfoList-r10.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum InterFreqRSTDMeasurementIndication_r10_IEs__rstd_InterFreqIndication_r10_PR { - InterFreqRSTDMeasurementIndication_r10_IEs__rstd_InterFreqIndication_r10_PR_NOTHING, /* No components present */ - InterFreqRSTDMeasurementIndication_r10_IEs__rstd_InterFreqIndication_r10_PR_start, - InterFreqRSTDMeasurementIndication_r10_IEs__rstd_InterFreqIndication_r10_PR_stop -} InterFreqRSTDMeasurementIndication_r10_IEs__rstd_InterFreqIndication_r10_PR; - -/* InterFreqRSTDMeasurementIndication-r10-IEs */ -typedef struct InterFreqRSTDMeasurementIndication_r10_IEs { - struct InterFreqRSTDMeasurementIndication_r10_IEs__rstd_InterFreqIndication_r10 { - InterFreqRSTDMeasurementIndication_r10_IEs__rstd_InterFreqIndication_r10_PR present; - union InterFreqRSTDMeasurementIndication_r10_IEs__rstd_InterFreqIndication_r10_u { - struct InterFreqRSTDMeasurementIndication_r10_IEs__rstd_InterFreqIndication_r10__start { - RSTD_InterFreqInfoList_r10_t rstd_InterFreqInfoList_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } start; - NULL_t stop; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } rstd_InterFreqIndication_r10; - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct InterFreqRSTDMeasurementIndication_r10_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} InterFreqRSTDMeasurementIndication_r10_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_InterFreqRSTDMeasurementIndication_r10_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _InterFreqRSTDMeasurementIndication_r10_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/InterFreqRSTDMeasurementIndication-r10.h b/lte/rrc/include/liblte/rrc/asn/InterFreqRSTDMeasurementIndication-r10.h deleted file mode 100644 index a85238289..000000000 --- a/lte/rrc/include/liblte/rrc/asn/InterFreqRSTDMeasurementIndication-r10.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _InterFreqRSTDMeasurementIndication_r10_H_ -#define _InterFreqRSTDMeasurementIndication_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/InterFreqRSTDMeasurementIndication-r10-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum InterFreqRSTDMeasurementIndication_r10__criticalExtensions_PR { - InterFreqRSTDMeasurementIndication_r10__criticalExtensions_PR_NOTHING, /* No components present */ - InterFreqRSTDMeasurementIndication_r10__criticalExtensions_PR_c1, - InterFreqRSTDMeasurementIndication_r10__criticalExtensions_PR_criticalExtensionsFuture -} InterFreqRSTDMeasurementIndication_r10__criticalExtensions_PR; -typedef enum InterFreqRSTDMeasurementIndication_r10__criticalExtensions__c1_PR { - InterFreqRSTDMeasurementIndication_r10__criticalExtensions__c1_PR_NOTHING, /* No components present */ - InterFreqRSTDMeasurementIndication_r10__criticalExtensions__c1_PR_interFreqRSTDMeasurementIndication_r10, - InterFreqRSTDMeasurementIndication_r10__criticalExtensions__c1_PR_spare3, - InterFreqRSTDMeasurementIndication_r10__criticalExtensions__c1_PR_spare2, - InterFreqRSTDMeasurementIndication_r10__criticalExtensions__c1_PR_spare1 -} InterFreqRSTDMeasurementIndication_r10__criticalExtensions__c1_PR; - -/* InterFreqRSTDMeasurementIndication-r10 */ -typedef struct InterFreqRSTDMeasurementIndication_r10 { - struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions { - InterFreqRSTDMeasurementIndication_r10__criticalExtensions_PR present; - union InterFreqRSTDMeasurementIndication_r10__criticalExtensions_u { - struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions__c1 { - InterFreqRSTDMeasurementIndication_r10__criticalExtensions__c1_PR present; - union InterFreqRSTDMeasurementIndication_r10__criticalExtensions__c1_u { - InterFreqRSTDMeasurementIndication_r10_IEs_t interFreqRSTDMeasurementIndication_r10; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} InterFreqRSTDMeasurementIndication_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_InterFreqRSTDMeasurementIndication_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _InterFreqRSTDMeasurementIndication_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/InterRAT-BandInfo.h b/lte/rrc/include/liblte/rrc/asn/InterRAT-BandInfo.h deleted file mode 100644 index f19c5fa5e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/InterRAT-BandInfo.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _InterRAT_BandInfo_H_ -#define _InterRAT_BandInfo_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* InterRAT-BandInfo */ -typedef struct InterRAT_BandInfo { - BOOLEAN_t interRAT_NeedForGaps; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} InterRAT_BandInfo_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_InterRAT_BandInfo; - -#ifdef __cplusplus -} -#endif - -#endif /* _InterRAT_BandInfo_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/InterRAT-BandList.h b/lte/rrc/include/liblte/rrc/asn/InterRAT-BandList.h deleted file mode 100644 index fd60acf5a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/InterRAT-BandList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _InterRAT_BandList_H_ -#define _InterRAT_BandList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct InterRAT_BandInfo; - -/* InterRAT-BandList */ -typedef struct InterRAT_BandList { - A_SEQUENCE_OF(struct InterRAT_BandInfo) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} InterRAT_BandList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_InterRAT_BandList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/InterRAT-BandInfo.h" - -#endif /* _InterRAT_BandList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/IntraFreqBlackCellList.h b/lte/rrc/include/liblte/rrc/asn/IntraFreqBlackCellList.h deleted file mode 100644 index c0ec61fee..000000000 --- a/lte/rrc/include/liblte/rrc/asn/IntraFreqBlackCellList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _IntraFreqBlackCellList_H_ -#define _IntraFreqBlackCellList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct PhysCellIdRange; - -/* IntraFreqBlackCellList */ -typedef struct IntraFreqBlackCellList { - A_SEQUENCE_OF(struct PhysCellIdRange) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IntraFreqBlackCellList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_IntraFreqBlackCellList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PhysCellIdRange.h" - -#endif /* _IntraFreqBlackCellList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/IntraFreqNeighCellInfo.h b/lte/rrc/include/liblte/rrc/asn/IntraFreqNeighCellInfo.h deleted file mode 100644 index 1df6430e3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/IntraFreqNeighCellInfo.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _IntraFreqNeighCellInfo_H_ -#define _IntraFreqNeighCellInfo_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PhysCellId.h" -#include "liblte/rrc/asn/Q-OffsetRange.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* IntraFreqNeighCellInfo */ -typedef struct IntraFreqNeighCellInfo { - PhysCellId_t physCellId; - Q_OffsetRange_t q_OffsetCell; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IntraFreqNeighCellInfo_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_IntraFreqNeighCellInfo; - -#ifdef __cplusplus -} -#endif - -#endif /* _IntraFreqNeighCellInfo_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/IntraFreqNeighCellList.h b/lte/rrc/include/liblte/rrc/asn/IntraFreqNeighCellList.h deleted file mode 100644 index ee469bddf..000000000 --- a/lte/rrc/include/liblte/rrc/asn/IntraFreqNeighCellList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _IntraFreqNeighCellList_H_ -#define _IntraFreqNeighCellList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct IntraFreqNeighCellInfo; - -/* IntraFreqNeighCellList */ -typedef struct IntraFreqNeighCellList { - A_SEQUENCE_OF(struct IntraFreqNeighCellInfo) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IntraFreqNeighCellList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_IntraFreqNeighCellList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/IntraFreqNeighCellInfo.h" - -#endif /* _IntraFreqNeighCellList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/Key-eNodeB-Star.h b/lte/rrc/include/liblte/rrc/asn/Key-eNodeB-Star.h deleted file mode 100644 index 405bdafac..000000000 --- a/lte/rrc/include/liblte/rrc/asn/Key-eNodeB-Star.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#ifndef _Key_eNodeB_Star_H_ -#define _Key_eNodeB_Star_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Key-eNodeB-Star */ -typedef BIT_STRING_t Key_eNodeB_Star_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Key_eNodeB_Star; -asn_struct_free_f Key_eNodeB_Star_free; -asn_struct_print_f Key_eNodeB_Star_print; -asn_constr_check_f Key_eNodeB_Star_constraint; -ber_type_decoder_f Key_eNodeB_Star_decode_ber; -der_type_encoder_f Key_eNodeB_Star_encode_der; -xer_type_decoder_f Key_eNodeB_Star_decode_xer; -xer_type_encoder_f Key_eNodeB_Star_encode_xer; -per_type_decoder_f Key_eNodeB_Star_decode_uper; -per_type_encoder_f Key_eNodeB_Star_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _Key_eNodeB_Star_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/LocationInfo-r10.h b/lte/rrc/include/liblte/rrc/asn/LocationInfo-r10.h deleted file mode 100644 index 1e4a08b85..000000000 --- a/lte/rrc/include/liblte/rrc/asn/LocationInfo-r10.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _LocationInfo_r10_H_ -#define _LocationInfo_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum LocationInfo_r10__locationCoordinates_r10_PR { - LocationInfo_r10__locationCoordinates_r10_PR_NOTHING, /* No components present */ - LocationInfo_r10__locationCoordinates_r10_PR_ellipsoid_Point_r10, - LocationInfo_r10__locationCoordinates_r10_PR_ellipsoidPointWithAltitude_r10, - /* Extensions may appear below */ - -} LocationInfo_r10__locationCoordinates_r10_PR; - -/* LocationInfo-r10 */ -typedef struct LocationInfo_r10 { - struct LocationInfo_r10__locationCoordinates_r10 { - LocationInfo_r10__locationCoordinates_r10_PR present; - union LocationInfo_r10__locationCoordinates_r10_u { - OCTET_STRING_t ellipsoid_Point_r10; - OCTET_STRING_t ellipsoidPointWithAltitude_r10; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } locationCoordinates_r10; - OCTET_STRING_t *horizontalVelocity_r10 /* OPTIONAL */; - OCTET_STRING_t *gnss_TOD_msec_r10 /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} LocationInfo_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_LocationInfo_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _LocationInfo_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/LogMeasInfo-r10.h b/lte/rrc/include/liblte/rrc/asn/LogMeasInfo-r10.h deleted file mode 100644 index a2134e461..000000000 --- a/lte/rrc/include/liblte/rrc/asn/LogMeasInfo-r10.h +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _LogMeasInfo_r10_H_ -#define _LogMeasInfo_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/CellGlobalIdEUTRA.h" -#include "liblte/rrc/asn/RSRP-Range.h" -#include "liblte/rrc/asn/RSRQ-Range.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct LocationInfo_r10; -struct MeasResultList2EUTRA_r9; -struct MeasResultList2UTRA_r9; -struct MeasResultList2GERAN_r10; -struct MeasResultList2CDMA2000_r9; - -/* LogMeasInfo-r10 */ -typedef struct LogMeasInfo_r10 { - struct LocationInfo_r10 *locationInfo_r10 /* OPTIONAL */; - long relativeTimeStamp_r10; - CellGlobalIdEUTRA_t servCellIdentity_r10; - struct LogMeasInfo_r10__measResultServCell_r10 { - RSRP_Range_t rsrpResult_r10; - RSRQ_Range_t rsrqResult_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } measResultServCell_r10; - struct LogMeasInfo_r10__measResultNeighCells_r10 { - struct MeasResultList2EUTRA_r9 *measResultListEUTRA_r10 /* OPTIONAL */; - struct MeasResultList2UTRA_r9 *measResultListUTRA_r10 /* OPTIONAL */; - struct MeasResultList2GERAN_r10 *measResultListGERAN_r10 /* OPTIONAL */; - struct MeasResultList2CDMA2000_r9 *measResultListCDMA2000_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *measResultNeighCells_r10; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} LogMeasInfo_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_LogMeasInfo_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/LocationInfo-r10.h" -#include "liblte/rrc/asn/MeasResultList2EUTRA-r9.h" -#include "liblte/rrc/asn/MeasResultList2UTRA-r9.h" -#include "liblte/rrc/asn/MeasResultList2GERAN-r10.h" -#include "liblte/rrc/asn/MeasResultList2CDMA2000-r9.h" - -#endif /* _LogMeasInfo_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/LogMeasInfoList-r10.h b/lte/rrc/include/liblte/rrc/asn/LogMeasInfoList-r10.h deleted file mode 100644 index 539b4f89f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/LogMeasInfoList-r10.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _LogMeasInfoList_r10_H_ -#define _LogMeasInfoList_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct LogMeasInfo_r10; - -/* LogMeasInfoList-r10 */ -typedef struct LogMeasInfoList_r10 { - A_SEQUENCE_OF(struct LogMeasInfo_r10) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} LogMeasInfoList_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_LogMeasInfoList_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/LogMeasInfo-r10.h" - -#endif /* _LogMeasInfoList_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/LogMeasReport-r10.h b/lte/rrc/include/liblte/rrc/asn/LogMeasReport-r10.h deleted file mode 100644 index df09cbfe9..000000000 --- a/lte/rrc/include/liblte/rrc/asn/LogMeasReport-r10.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _LogMeasReport_r10_H_ -#define _LogMeasReport_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/AbsoluteTimeInfo-r10.h" -#include "liblte/rrc/asn/TraceReference-r10.h" -#include -#include "liblte/rrc/asn/LogMeasInfoList-r10.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum LogMeasReport_r10__logMeasAvailable_r10 { - LogMeasReport_r10__logMeasAvailable_r10_true = 0 -} e_LogMeasReport_r10__logMeasAvailable_r10; - -/* LogMeasReport-r10 */ -typedef struct LogMeasReport_r10 { - AbsoluteTimeInfo_r10_t absoluteTimeStamp_r10; - TraceReference_r10_t traceReference_r10; - OCTET_STRING_t traceRecordingSessionRef_r10; - OCTET_STRING_t tce_Id_r10; - LogMeasInfoList_r10_t logMeasInfoList_r10; - long *logMeasAvailable_r10 /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} LogMeasReport_r10_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_logMeasAvailable_r10_7; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_LogMeasReport_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _LogMeasReport_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/LoggedMeasurementConfiguration-r10-IEs.h b/lte/rrc/include/liblte/rrc/asn/LoggedMeasurementConfiguration-r10-IEs.h deleted file mode 100644 index 5848369cf..000000000 --- a/lte/rrc/include/liblte/rrc/asn/LoggedMeasurementConfiguration-r10-IEs.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _LoggedMeasurementConfiguration_r10_IEs_H_ -#define _LoggedMeasurementConfiguration_r10_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/TraceReference-r10.h" -#include -#include "liblte/rrc/asn/AbsoluteTimeInfo-r10.h" -#include "liblte/rrc/asn/LoggingDuration-r10.h" -#include "liblte/rrc/asn/LoggingInterval-r10.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct AreaConfiguration_r10; - -/* LoggedMeasurementConfiguration-r10-IEs */ -typedef struct LoggedMeasurementConfiguration_r10_IEs { - TraceReference_r10_t traceReference_r10; - OCTET_STRING_t traceRecordingSessionRef_r10; - OCTET_STRING_t tce_Id_r10; - AbsoluteTimeInfo_r10_t absoluteTimeInfo_r10; - struct AreaConfiguration_r10 *areaConfiguration_r10 /* OPTIONAL */; - LoggingDuration_r10_t loggingDuration_r10; - LoggingInterval_r10_t loggingInterval_r10; - struct LoggedMeasurementConfiguration_r10_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} LoggedMeasurementConfiguration_r10_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_LoggedMeasurementConfiguration_r10_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/AreaConfiguration-r10.h" - -#endif /* _LoggedMeasurementConfiguration_r10_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/LoggedMeasurementConfiguration-r10.h b/lte/rrc/include/liblte/rrc/asn/LoggedMeasurementConfiguration-r10.h deleted file mode 100644 index 93d98ac4f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/LoggedMeasurementConfiguration-r10.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _LoggedMeasurementConfiguration_r10_H_ -#define _LoggedMeasurementConfiguration_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/LoggedMeasurementConfiguration-r10-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum LoggedMeasurementConfiguration_r10__criticalExtensions_PR { - LoggedMeasurementConfiguration_r10__criticalExtensions_PR_NOTHING, /* No components present */ - LoggedMeasurementConfiguration_r10__criticalExtensions_PR_c1, - LoggedMeasurementConfiguration_r10__criticalExtensions_PR_criticalExtensionsFuture -} LoggedMeasurementConfiguration_r10__criticalExtensions_PR; -typedef enum LoggedMeasurementConfiguration_r10__criticalExtensions__c1_PR { - LoggedMeasurementConfiguration_r10__criticalExtensions__c1_PR_NOTHING, /* No components present */ - LoggedMeasurementConfiguration_r10__criticalExtensions__c1_PR_loggedMeasurementConfiguration_r10, - LoggedMeasurementConfiguration_r10__criticalExtensions__c1_PR_spare3, - LoggedMeasurementConfiguration_r10__criticalExtensions__c1_PR_spare2, - LoggedMeasurementConfiguration_r10__criticalExtensions__c1_PR_spare1 -} LoggedMeasurementConfiguration_r10__criticalExtensions__c1_PR; - -/* LoggedMeasurementConfiguration-r10 */ -typedef struct LoggedMeasurementConfiguration_r10 { - struct LoggedMeasurementConfiguration_r10__criticalExtensions { - LoggedMeasurementConfiguration_r10__criticalExtensions_PR present; - union LoggedMeasurementConfiguration_r10__criticalExtensions_u { - struct LoggedMeasurementConfiguration_r10__criticalExtensions__c1 { - LoggedMeasurementConfiguration_r10__criticalExtensions__c1_PR present; - union LoggedMeasurementConfiguration_r10__criticalExtensions__c1_u { - LoggedMeasurementConfiguration_r10_IEs_t loggedMeasurementConfiguration_r10; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct LoggedMeasurementConfiguration_r10__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} LoggedMeasurementConfiguration_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_LoggedMeasurementConfiguration_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _LoggedMeasurementConfiguration_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/LoggingDuration-r10.h b/lte/rrc/include/liblte/rrc/asn/LoggingDuration-r10.h deleted file mode 100644 index 6be5a81f8..000000000 --- a/lte/rrc/include/liblte/rrc/asn/LoggingDuration-r10.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _LoggingDuration_r10_H_ -#define _LoggingDuration_r10_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum LoggingDuration_r10 { - LoggingDuration_r10_min10 = 0, - LoggingDuration_r10_min20 = 1, - LoggingDuration_r10_min40 = 2, - LoggingDuration_r10_min60 = 3, - LoggingDuration_r10_min90 = 4, - LoggingDuration_r10_min120 = 5, - LoggingDuration_r10_spare2 = 6, - LoggingDuration_r10_spare1 = 7 -} e_LoggingDuration_r10; - -/* LoggingDuration-r10 */ -typedef long LoggingDuration_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_LoggingDuration_r10; -asn_struct_free_f LoggingDuration_r10_free; -asn_struct_print_f LoggingDuration_r10_print; -asn_constr_check_f LoggingDuration_r10_constraint; -ber_type_decoder_f LoggingDuration_r10_decode_ber; -der_type_encoder_f LoggingDuration_r10_encode_der; -xer_type_decoder_f LoggingDuration_r10_decode_xer; -xer_type_encoder_f LoggingDuration_r10_encode_xer; -per_type_decoder_f LoggingDuration_r10_decode_uper; -per_type_encoder_f LoggingDuration_r10_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _LoggingDuration_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/LoggingInterval-r10.h b/lte/rrc/include/liblte/rrc/asn/LoggingInterval-r10.h deleted file mode 100644 index 9c54aa3c0..000000000 --- a/lte/rrc/include/liblte/rrc/asn/LoggingInterval-r10.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _LoggingInterval_r10_H_ -#define _LoggingInterval_r10_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum LoggingInterval_r10 { - LoggingInterval_r10_ms1280 = 0, - LoggingInterval_r10_ms2560 = 1, - LoggingInterval_r10_ms5120 = 2, - LoggingInterval_r10_ms10240 = 3, - LoggingInterval_r10_ms20480 = 4, - LoggingInterval_r10_ms30720 = 5, - LoggingInterval_r10_ms40960 = 6, - LoggingInterval_r10_ms61440 = 7 -} e_LoggingInterval_r10; - -/* LoggingInterval-r10 */ -typedef long LoggingInterval_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_LoggingInterval_r10; -asn_struct_free_f LoggingInterval_r10_free; -asn_struct_print_f LoggingInterval_r10_print; -asn_constr_check_f LoggingInterval_r10_constraint; -ber_type_decoder_f LoggingInterval_r10_decode_ber; -der_type_encoder_f LoggingInterval_r10_encode_der; -xer_type_decoder_f LoggingInterval_r10_decode_xer; -xer_type_encoder_f LoggingInterval_r10_encode_xer; -per_type_decoder_f LoggingInterval_r10_decode_uper; -per_type_encoder_f LoggingInterval_r10_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _LoggingInterval_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/LogicalChannelConfig.h b/lte/rrc/include/liblte/rrc/asn/LogicalChannelConfig.h deleted file mode 100644 index 943bba10c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/LogicalChannelConfig.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _LogicalChannelConfig_H_ -#define _LogicalChannelConfig_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum LogicalChannelConfig__ul_SpecificParameters__prioritisedBitRate { - LogicalChannelConfig__ul_SpecificParameters__prioritisedBitRate_kBps0 = 0, - LogicalChannelConfig__ul_SpecificParameters__prioritisedBitRate_kBps8 = 1, - LogicalChannelConfig__ul_SpecificParameters__prioritisedBitRate_kBps16 = 2, - LogicalChannelConfig__ul_SpecificParameters__prioritisedBitRate_kBps32 = 3, - LogicalChannelConfig__ul_SpecificParameters__prioritisedBitRate_kBps64 = 4, - LogicalChannelConfig__ul_SpecificParameters__prioritisedBitRate_kBps128 = 5, - LogicalChannelConfig__ul_SpecificParameters__prioritisedBitRate_kBps256 = 6, - LogicalChannelConfig__ul_SpecificParameters__prioritisedBitRate_infinity = 7, - LogicalChannelConfig__ul_SpecificParameters__prioritisedBitRate_kBps512_v1020 = 8, - LogicalChannelConfig__ul_SpecificParameters__prioritisedBitRate_kBps1024_v1020 = 9, - LogicalChannelConfig__ul_SpecificParameters__prioritisedBitRate_kBps2048_v1020 = 10, - LogicalChannelConfig__ul_SpecificParameters__prioritisedBitRate_spare5 = 11, - LogicalChannelConfig__ul_SpecificParameters__prioritisedBitRate_spare4 = 12, - LogicalChannelConfig__ul_SpecificParameters__prioritisedBitRate_spare3 = 13, - LogicalChannelConfig__ul_SpecificParameters__prioritisedBitRate_spare2 = 14, - LogicalChannelConfig__ul_SpecificParameters__prioritisedBitRate_spare1 = 15 -} e_LogicalChannelConfig__ul_SpecificParameters__prioritisedBitRate; -typedef enum LogicalChannelConfig__ul_SpecificParameters__bucketSizeDuration { - LogicalChannelConfig__ul_SpecificParameters__bucketSizeDuration_ms50 = 0, - LogicalChannelConfig__ul_SpecificParameters__bucketSizeDuration_ms100 = 1, - LogicalChannelConfig__ul_SpecificParameters__bucketSizeDuration_ms150 = 2, - LogicalChannelConfig__ul_SpecificParameters__bucketSizeDuration_ms300 = 3, - LogicalChannelConfig__ul_SpecificParameters__bucketSizeDuration_ms500 = 4, - LogicalChannelConfig__ul_SpecificParameters__bucketSizeDuration_ms1000 = 5, - LogicalChannelConfig__ul_SpecificParameters__bucketSizeDuration_spare2 = 6, - LogicalChannelConfig__ul_SpecificParameters__bucketSizeDuration_spare1 = 7 -} e_LogicalChannelConfig__ul_SpecificParameters__bucketSizeDuration; -typedef enum LogicalChannelConfig__logicalChannelSR_Mask_r9 { - LogicalChannelConfig__logicalChannelSR_Mask_r9_setup = 0 -} e_LogicalChannelConfig__logicalChannelSR_Mask_r9; - -/* LogicalChannelConfig */ -typedef struct LogicalChannelConfig { - struct LogicalChannelConfig__ul_SpecificParameters { - long priority; - long prioritisedBitRate; - long bucketSizeDuration; - long *logicalChannelGroup /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *ul_SpecificParameters; - long *logicalChannelSR_Mask_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} LogicalChannelConfig_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_prioritisedBitRate_4; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_bucketSizeDuration_21; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_logicalChannelSR_Mask_r9_31; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_LogicalChannelConfig; - -#ifdef __cplusplus -} -#endif - -#endif /* _LogicalChannelConfig_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MAC-MainConfig.h b/lte/rrc/include/liblte/rrc/asn/MAC-MainConfig.h deleted file mode 100644 index e62484509..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MAC-MainConfig.h +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MAC_MainConfig_H_ -#define _MAC_MainConfig_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/TimeAlignmentTimer.h" -#include -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MAC_MainConfig__ul_SCH_Config__maxHARQ_Tx { - MAC_MainConfig__ul_SCH_Config__maxHARQ_Tx_n1 = 0, - MAC_MainConfig__ul_SCH_Config__maxHARQ_Tx_n2 = 1, - MAC_MainConfig__ul_SCH_Config__maxHARQ_Tx_n3 = 2, - MAC_MainConfig__ul_SCH_Config__maxHARQ_Tx_n4 = 3, - MAC_MainConfig__ul_SCH_Config__maxHARQ_Tx_n5 = 4, - MAC_MainConfig__ul_SCH_Config__maxHARQ_Tx_n6 = 5, - MAC_MainConfig__ul_SCH_Config__maxHARQ_Tx_n7 = 6, - MAC_MainConfig__ul_SCH_Config__maxHARQ_Tx_n8 = 7, - MAC_MainConfig__ul_SCH_Config__maxHARQ_Tx_n10 = 8, - MAC_MainConfig__ul_SCH_Config__maxHARQ_Tx_n12 = 9, - MAC_MainConfig__ul_SCH_Config__maxHARQ_Tx_n16 = 10, - MAC_MainConfig__ul_SCH_Config__maxHARQ_Tx_n20 = 11, - MAC_MainConfig__ul_SCH_Config__maxHARQ_Tx_n24 = 12, - MAC_MainConfig__ul_SCH_Config__maxHARQ_Tx_n28 = 13, - MAC_MainConfig__ul_SCH_Config__maxHARQ_Tx_spare2 = 14, - MAC_MainConfig__ul_SCH_Config__maxHARQ_Tx_spare1 = 15 -} e_MAC_MainConfig__ul_SCH_Config__maxHARQ_Tx; -typedef enum MAC_MainConfig__ul_SCH_Config__periodicBSR_Timer { - MAC_MainConfig__ul_SCH_Config__periodicBSR_Timer_sf5 = 0, - MAC_MainConfig__ul_SCH_Config__periodicBSR_Timer_sf10 = 1, - MAC_MainConfig__ul_SCH_Config__periodicBSR_Timer_sf16 = 2, - MAC_MainConfig__ul_SCH_Config__periodicBSR_Timer_sf20 = 3, - MAC_MainConfig__ul_SCH_Config__periodicBSR_Timer_sf32 = 4, - MAC_MainConfig__ul_SCH_Config__periodicBSR_Timer_sf40 = 5, - MAC_MainConfig__ul_SCH_Config__periodicBSR_Timer_sf64 = 6, - MAC_MainConfig__ul_SCH_Config__periodicBSR_Timer_sf80 = 7, - MAC_MainConfig__ul_SCH_Config__periodicBSR_Timer_sf128 = 8, - MAC_MainConfig__ul_SCH_Config__periodicBSR_Timer_sf160 = 9, - MAC_MainConfig__ul_SCH_Config__periodicBSR_Timer_sf320 = 10, - MAC_MainConfig__ul_SCH_Config__periodicBSR_Timer_sf640 = 11, - MAC_MainConfig__ul_SCH_Config__periodicBSR_Timer_sf1280 = 12, - MAC_MainConfig__ul_SCH_Config__periodicBSR_Timer_sf2560 = 13, - MAC_MainConfig__ul_SCH_Config__periodicBSR_Timer_infinity = 14, - MAC_MainConfig__ul_SCH_Config__periodicBSR_Timer_spare1 = 15 -} e_MAC_MainConfig__ul_SCH_Config__periodicBSR_Timer; -typedef enum MAC_MainConfig__ul_SCH_Config__retxBSR_Timer { - MAC_MainConfig__ul_SCH_Config__retxBSR_Timer_sf320 = 0, - MAC_MainConfig__ul_SCH_Config__retxBSR_Timer_sf640 = 1, - MAC_MainConfig__ul_SCH_Config__retxBSR_Timer_sf1280 = 2, - MAC_MainConfig__ul_SCH_Config__retxBSR_Timer_sf2560 = 3, - MAC_MainConfig__ul_SCH_Config__retxBSR_Timer_sf5120 = 4, - MAC_MainConfig__ul_SCH_Config__retxBSR_Timer_sf10240 = 5, - MAC_MainConfig__ul_SCH_Config__retxBSR_Timer_spare2 = 6, - MAC_MainConfig__ul_SCH_Config__retxBSR_Timer_spare1 = 7 -} e_MAC_MainConfig__ul_SCH_Config__retxBSR_Timer; -typedef enum MAC_MainConfig__phr_Config_PR { - MAC_MainConfig__phr_Config_PR_NOTHING, /* No components present */ - MAC_MainConfig__phr_Config_PR_release, - MAC_MainConfig__phr_Config_PR_setup -} MAC_MainConfig__phr_Config_PR; -typedef enum MAC_MainConfig__phr_Config__setup__periodicPHR_Timer { - MAC_MainConfig__phr_Config__setup__periodicPHR_Timer_sf10 = 0, - MAC_MainConfig__phr_Config__setup__periodicPHR_Timer_sf20 = 1, - MAC_MainConfig__phr_Config__setup__periodicPHR_Timer_sf50 = 2, - MAC_MainConfig__phr_Config__setup__periodicPHR_Timer_sf100 = 3, - MAC_MainConfig__phr_Config__setup__periodicPHR_Timer_sf200 = 4, - MAC_MainConfig__phr_Config__setup__periodicPHR_Timer_sf500 = 5, - MAC_MainConfig__phr_Config__setup__periodicPHR_Timer_sf1000 = 6, - MAC_MainConfig__phr_Config__setup__periodicPHR_Timer_infinity = 7 -} e_MAC_MainConfig__phr_Config__setup__periodicPHR_Timer; -typedef enum MAC_MainConfig__phr_Config__setup__prohibitPHR_Timer { - MAC_MainConfig__phr_Config__setup__prohibitPHR_Timer_sf0 = 0, - MAC_MainConfig__phr_Config__setup__prohibitPHR_Timer_sf10 = 1, - MAC_MainConfig__phr_Config__setup__prohibitPHR_Timer_sf20 = 2, - MAC_MainConfig__phr_Config__setup__prohibitPHR_Timer_sf50 = 3, - MAC_MainConfig__phr_Config__setup__prohibitPHR_Timer_sf100 = 4, - MAC_MainConfig__phr_Config__setup__prohibitPHR_Timer_sf200 = 5, - MAC_MainConfig__phr_Config__setup__prohibitPHR_Timer_sf500 = 6, - MAC_MainConfig__phr_Config__setup__prohibitPHR_Timer_sf1000 = 7 -} e_MAC_MainConfig__phr_Config__setup__prohibitPHR_Timer; -typedef enum MAC_MainConfig__phr_Config__setup__dl_PathlossChange { - MAC_MainConfig__phr_Config__setup__dl_PathlossChange_dB1 = 0, - MAC_MainConfig__phr_Config__setup__dl_PathlossChange_dB3 = 1, - MAC_MainConfig__phr_Config__setup__dl_PathlossChange_dB6 = 2, - MAC_MainConfig__phr_Config__setup__dl_PathlossChange_infinity = 3 -} e_MAC_MainConfig__phr_Config__setup__dl_PathlossChange; -typedef enum MAC_MainConfig__mac_MainConfig_v1020__sCellDeactivationTimer_r10 { - MAC_MainConfig__mac_MainConfig_v1020__sCellDeactivationTimer_r10_rf2 = 0, - MAC_MainConfig__mac_MainConfig_v1020__sCellDeactivationTimer_r10_rf4 = 1, - MAC_MainConfig__mac_MainConfig_v1020__sCellDeactivationTimer_r10_rf8 = 2, - MAC_MainConfig__mac_MainConfig_v1020__sCellDeactivationTimer_r10_rf16 = 3, - MAC_MainConfig__mac_MainConfig_v1020__sCellDeactivationTimer_r10_rf32 = 4, - MAC_MainConfig__mac_MainConfig_v1020__sCellDeactivationTimer_r10_rf64 = 5, - MAC_MainConfig__mac_MainConfig_v1020__sCellDeactivationTimer_r10_rf128 = 6, - MAC_MainConfig__mac_MainConfig_v1020__sCellDeactivationTimer_r10_spare = 7 -} e_MAC_MainConfig__mac_MainConfig_v1020__sCellDeactivationTimer_r10; -typedef enum MAC_MainConfig__mac_MainConfig_v1020__extendedBSR_Sizes_r10 { - MAC_MainConfig__mac_MainConfig_v1020__extendedBSR_Sizes_r10_setup = 0 -} e_MAC_MainConfig__mac_MainConfig_v1020__extendedBSR_Sizes_r10; -typedef enum MAC_MainConfig__mac_MainConfig_v1020__extendedPHR_r10 { - MAC_MainConfig__mac_MainConfig_v1020__extendedPHR_r10_setup = 0 -} e_MAC_MainConfig__mac_MainConfig_v1020__extendedPHR_r10; - -/* Forward declarations */ -struct DRX_Config; - -/* MAC-MainConfig */ -typedef struct MAC_MainConfig { - struct MAC_MainConfig__ul_SCH_Config { - long *maxHARQ_Tx /* OPTIONAL */; - long *periodicBSR_Timer /* OPTIONAL */; - long retxBSR_Timer; - BOOLEAN_t ttiBundling; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *ul_SCH_Config; - struct DRX_Config *drx_Config /* OPTIONAL */; - TimeAlignmentTimer_t timeAlignmentTimerDedicated; - struct MAC_MainConfig__phr_Config { - MAC_MainConfig__phr_Config_PR present; - union MAC_MainConfig__phr_Config_u { - NULL_t release; - struct MAC_MainConfig__phr_Config__setup { - long periodicPHR_Timer; - long prohibitPHR_Timer; - long dl_PathlossChange; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *phr_Config; - long *sr_ProhibitTimer_r9 /* OPTIONAL */; - struct MAC_MainConfig__mac_MainConfig_v1020 { - long *sCellDeactivationTimer_r10 /* OPTIONAL */; - long *extendedBSR_Sizes_r10 /* OPTIONAL */; - long *extendedPHR_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *mac_MainConfig_v1020; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MAC_MainConfig_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_maxHARQ_Tx_3; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_periodicBSR_Timer_20; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_retxBSR_Timer_37; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_periodicPHR_Timer_52; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_prohibitPHR_Timer_61; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_dl_PathlossChange_70; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_sCellDeactivationTimer_r10_77; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_extendedBSR_Sizes_r10_86; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_extendedPHR_r10_88; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_MAC_MainConfig; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/DRX-Config.h" - -#endif /* _MAC_MainConfig_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MBMS-NotificationConfig-r9.h b/lte/rrc/include/liblte/rrc/asn/MBMS-NotificationConfig-r9.h deleted file mode 100644 index bbc1e2308..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MBMS-NotificationConfig-r9.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MBMS_NotificationConfig_r9_H_ -#define _MBMS_NotificationConfig_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MBMS_NotificationConfig_r9__notificationRepetitionCoeff_r9 { - MBMS_NotificationConfig_r9__notificationRepetitionCoeff_r9_n2 = 0, - MBMS_NotificationConfig_r9__notificationRepetitionCoeff_r9_n4 = 1 -} e_MBMS_NotificationConfig_r9__notificationRepetitionCoeff_r9; - -/* MBMS-NotificationConfig-r9 */ -typedef struct MBMS_NotificationConfig_r9 { - long notificationRepetitionCoeff_r9; - long notificationOffset_r9; - long notificationSF_Index_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MBMS_NotificationConfig_r9_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_notificationRepetitionCoeff_r9_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_MBMS_NotificationConfig_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _MBMS_NotificationConfig_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MBMS-SessionInfo-r9.h b/lte/rrc/include/liblte/rrc/asn/MBMS-SessionInfo-r9.h deleted file mode 100644 index 0c7b99ab4..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MBMS-SessionInfo-r9.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MBMS_SessionInfo_r9_H_ -#define _MBMS_SessionInfo_r9_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/TMGI-r9.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MBMS-SessionInfo-r9 */ -typedef struct MBMS_SessionInfo_r9 { - TMGI_r9_t tmgi_r9; - OCTET_STRING_t *sessionId_r9 /* OPTIONAL */; - long logicalChannelIdentity_r9; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MBMS_SessionInfo_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MBMS_SessionInfo_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _MBMS_SessionInfo_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MBMS-SessionInfoList-r9.h b/lte/rrc/include/liblte/rrc/asn/MBMS-SessionInfoList-r9.h deleted file mode 100644 index 9c156739c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MBMS-SessionInfoList-r9.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MBMS_SessionInfoList_r9_H_ -#define _MBMS_SessionInfoList_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MBMS_SessionInfo_r9; - -/* MBMS-SessionInfoList-r9 */ -typedef struct MBMS_SessionInfoList_r9 { - A_SEQUENCE_OF(struct MBMS_SessionInfo_r9) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MBMS_SessionInfoList_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MBMS_SessionInfoList_r9; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MBMS-SessionInfo-r9.h" - -#endif /* _MBMS_SessionInfoList_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MBMSCountingRequest-r10.h b/lte/rrc/include/liblte/rrc/asn/MBMSCountingRequest-r10.h deleted file mode 100644 index 03d3d4231..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MBMSCountingRequest-r10.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MBMSCountingRequest_r10_H_ -#define _MBMSCountingRequest_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CountingRequestList-r10.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MBMSCountingRequest-r10 */ -typedef struct MBMSCountingRequest_r10 { - CountingRequestList_r10_t countingRequestList_r10; - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct MBMSCountingRequest_r10__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MBMSCountingRequest_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MBMSCountingRequest_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _MBMSCountingRequest_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MBMSCountingResponse-r10-IEs.h b/lte/rrc/include/liblte/rrc/asn/MBMSCountingResponse-r10-IEs.h deleted file mode 100644 index 8d5921328..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MBMSCountingResponse-r10-IEs.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MBMSCountingResponse_r10_IEs_H_ -#define _MBMSCountingResponse_r10_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CountingResponseList_r10; - -/* MBMSCountingResponse-r10-IEs */ -typedef struct MBMSCountingResponse_r10_IEs { - long *mbsfn_AreaIndex_r10 /* OPTIONAL */; - struct CountingResponseList_r10 *countingResponseList_r10 /* OPTIONAL */; - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct MBMSCountingResponse_r10_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MBMSCountingResponse_r10_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MBMSCountingResponse_r10_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CountingResponseList-r10.h" - -#endif /* _MBMSCountingResponse_r10_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MBMSCountingResponse-r10.h b/lte/rrc/include/liblte/rrc/asn/MBMSCountingResponse-r10.h deleted file mode 100644 index 35eb2a903..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MBMSCountingResponse-r10.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MBMSCountingResponse_r10_H_ -#define _MBMSCountingResponse_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MBMSCountingResponse-r10-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MBMSCountingResponse_r10__criticalExtensions_PR { - MBMSCountingResponse_r10__criticalExtensions_PR_NOTHING, /* No components present */ - MBMSCountingResponse_r10__criticalExtensions_PR_c1, - MBMSCountingResponse_r10__criticalExtensions_PR_criticalExtensionsFuture -} MBMSCountingResponse_r10__criticalExtensions_PR; -typedef enum MBMSCountingResponse_r10__criticalExtensions__c1_PR { - MBMSCountingResponse_r10__criticalExtensions__c1_PR_NOTHING, /* No components present */ - MBMSCountingResponse_r10__criticalExtensions__c1_PR_countingResponse_r10, - MBMSCountingResponse_r10__criticalExtensions__c1_PR_spare3, - MBMSCountingResponse_r10__criticalExtensions__c1_PR_spare2, - MBMSCountingResponse_r10__criticalExtensions__c1_PR_spare1 -} MBMSCountingResponse_r10__criticalExtensions__c1_PR; - -/* MBMSCountingResponse-r10 */ -typedef struct MBMSCountingResponse_r10 { - struct MBMSCountingResponse_r10__criticalExtensions { - MBMSCountingResponse_r10__criticalExtensions_PR present; - union MBMSCountingResponse_r10__criticalExtensions_u { - struct MBMSCountingResponse_r10__criticalExtensions__c1 { - MBMSCountingResponse_r10__criticalExtensions__c1_PR present; - union MBMSCountingResponse_r10__criticalExtensions__c1_u { - MBMSCountingResponse_r10_IEs_t countingResponse_r10; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct MBMSCountingResponse_r10__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MBMSCountingResponse_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MBMSCountingResponse_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _MBMSCountingResponse_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MBSFN-AreaInfo-r9.h b/lte/rrc/include/liblte/rrc/asn/MBSFN-AreaInfo-r9.h deleted file mode 100644 index 879e7c1cc..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MBSFN-AreaInfo-r9.h +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MBSFN_AreaInfo_r9_H_ -#define _MBSFN_AreaInfo_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MBSFN_AreaInfo_r9__non_MBSFNregionLength { - MBSFN_AreaInfo_r9__non_MBSFNregionLength_s1 = 0, - MBSFN_AreaInfo_r9__non_MBSFNregionLength_s2 = 1 -} e_MBSFN_AreaInfo_r9__non_MBSFNregionLength; -typedef enum MBSFN_AreaInfo_r9__mcch_Config_r9__mcch_RepetitionPeriod_r9 { - MBSFN_AreaInfo_r9__mcch_Config_r9__mcch_RepetitionPeriod_r9_rf32 = 0, - MBSFN_AreaInfo_r9__mcch_Config_r9__mcch_RepetitionPeriod_r9_rf64 = 1, - MBSFN_AreaInfo_r9__mcch_Config_r9__mcch_RepetitionPeriod_r9_rf128 = 2, - MBSFN_AreaInfo_r9__mcch_Config_r9__mcch_RepetitionPeriod_r9_rf256 = 3 -} e_MBSFN_AreaInfo_r9__mcch_Config_r9__mcch_RepetitionPeriod_r9; -typedef enum MBSFN_AreaInfo_r9__mcch_Config_r9__mcch_ModificationPeriod_r9 { - MBSFN_AreaInfo_r9__mcch_Config_r9__mcch_ModificationPeriod_r9_rf512 = 0, - MBSFN_AreaInfo_r9__mcch_Config_r9__mcch_ModificationPeriod_r9_rf1024 = 1 -} e_MBSFN_AreaInfo_r9__mcch_Config_r9__mcch_ModificationPeriod_r9; -typedef enum MBSFN_AreaInfo_r9__mcch_Config_r9__signallingMCS_r9 { - MBSFN_AreaInfo_r9__mcch_Config_r9__signallingMCS_r9_n2 = 0, - MBSFN_AreaInfo_r9__mcch_Config_r9__signallingMCS_r9_n7 = 1, - MBSFN_AreaInfo_r9__mcch_Config_r9__signallingMCS_r9_n13 = 2, - MBSFN_AreaInfo_r9__mcch_Config_r9__signallingMCS_r9_n19 = 3 -} e_MBSFN_AreaInfo_r9__mcch_Config_r9__signallingMCS_r9; - -/* MBSFN-AreaInfo-r9 */ -typedef struct MBSFN_AreaInfo_r9 { - long mbsfn_AreaId_r9; - long non_MBSFNregionLength; - long notificationIndicator_r9; - struct MBSFN_AreaInfo_r9__mcch_Config_r9 { - long mcch_RepetitionPeriod_r9; - long mcch_Offset_r9; - long mcch_ModificationPeriod_r9; - BIT_STRING_t sf_AllocInfo_r9; - long signallingMCS_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } mcch_Config_r9; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MBSFN_AreaInfo_r9_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_non_MBSFNregionLength_3; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_mcch_RepetitionPeriod_r9_8; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_mcch_ModificationPeriod_r9_14; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_signallingMCS_r9_18; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_MBSFN_AreaInfo_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _MBSFN_AreaInfo_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MBSFN-AreaInfoList-r9.h b/lte/rrc/include/liblte/rrc/asn/MBSFN-AreaInfoList-r9.h deleted file mode 100644 index 673ed34e1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MBSFN-AreaInfoList-r9.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MBSFN_AreaInfoList_r9_H_ -#define _MBSFN_AreaInfoList_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MBSFN_AreaInfo_r9; - -/* MBSFN-AreaInfoList-r9 */ -typedef struct MBSFN_AreaInfoList_r9 { - A_SEQUENCE_OF(struct MBSFN_AreaInfo_r9) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MBSFN_AreaInfoList_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MBSFN_AreaInfoList_r9; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MBSFN-AreaInfo-r9.h" - -#endif /* _MBSFN_AreaInfoList_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MBSFN-SubframeConfig.h b/lte/rrc/include/liblte/rrc/asn/MBSFN-SubframeConfig.h deleted file mode 100644 index 0768a1c86..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MBSFN-SubframeConfig.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MBSFN_SubframeConfig_H_ -#define _MBSFN_SubframeConfig_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MBSFN_SubframeConfig__radioframeAllocationPeriod { - MBSFN_SubframeConfig__radioframeAllocationPeriod_n1 = 0, - MBSFN_SubframeConfig__radioframeAllocationPeriod_n2 = 1, - MBSFN_SubframeConfig__radioframeAllocationPeriod_n4 = 2, - MBSFN_SubframeConfig__radioframeAllocationPeriod_n8 = 3, - MBSFN_SubframeConfig__radioframeAllocationPeriod_n16 = 4, - MBSFN_SubframeConfig__radioframeAllocationPeriod_n32 = 5 -} e_MBSFN_SubframeConfig__radioframeAllocationPeriod; -typedef enum MBSFN_SubframeConfig__subframeAllocation_PR { - MBSFN_SubframeConfig__subframeAllocation_PR_NOTHING, /* No components present */ - MBSFN_SubframeConfig__subframeAllocation_PR_oneFrame, - MBSFN_SubframeConfig__subframeAllocation_PR_fourFrames -} MBSFN_SubframeConfig__subframeAllocation_PR; - -/* MBSFN-SubframeConfig */ -typedef struct MBSFN_SubframeConfig { - long radioframeAllocationPeriod; - long radioframeAllocationOffset; - struct MBSFN_SubframeConfig__subframeAllocation { - MBSFN_SubframeConfig__subframeAllocation_PR present; - union MBSFN_SubframeConfig__subframeAllocation_u { - BIT_STRING_t oneFrame; - BIT_STRING_t fourFrames; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } subframeAllocation; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MBSFN_SubframeConfig_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_radioframeAllocationPeriod_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_MBSFN_SubframeConfig; - -#ifdef __cplusplus -} -#endif - -#endif /* _MBSFN_SubframeConfig_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MBSFN-SubframeConfigList.h b/lte/rrc/include/liblte/rrc/asn/MBSFN-SubframeConfigList.h deleted file mode 100644 index 10767e9c3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MBSFN-SubframeConfigList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MBSFN_SubframeConfigList_H_ -#define _MBSFN_SubframeConfigList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MBSFN_SubframeConfig; - -/* MBSFN-SubframeConfigList */ -typedef struct MBSFN_SubframeConfigList { - A_SEQUENCE_OF(struct MBSFN_SubframeConfig) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MBSFN_SubframeConfigList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MBSFN_SubframeConfigList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MBSFN-SubframeConfig.h" - -#endif /* _MBSFN_SubframeConfigList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MBSFNAreaConfiguration-r9.h b/lte/rrc/include/liblte/rrc/asn/MBSFNAreaConfiguration-r9.h deleted file mode 100644 index baf15106a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MBSFNAreaConfiguration-r9.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MBSFNAreaConfiguration_r9_H_ -#define _MBSFNAreaConfiguration_r9_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CommonSF-AllocPatternList-r9.h" -#include -#include "liblte/rrc/asn/PMCH-InfoList-r9.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MBSFNAreaConfiguration_r9__commonSF_AllocPeriod_r9 { - MBSFNAreaConfiguration_r9__commonSF_AllocPeriod_r9_rf4 = 0, - MBSFNAreaConfiguration_r9__commonSF_AllocPeriod_r9_rf8 = 1, - MBSFNAreaConfiguration_r9__commonSF_AllocPeriod_r9_rf16 = 2, - MBSFNAreaConfiguration_r9__commonSF_AllocPeriod_r9_rf32 = 3, - MBSFNAreaConfiguration_r9__commonSF_AllocPeriod_r9_rf64 = 4, - MBSFNAreaConfiguration_r9__commonSF_AllocPeriod_r9_rf128 = 5, - MBSFNAreaConfiguration_r9__commonSF_AllocPeriod_r9_rf256 = 6 -} e_MBSFNAreaConfiguration_r9__commonSF_AllocPeriod_r9; - -/* Forward declarations */ -struct MBSFNAreaConfiguration_v930_IEs; - -/* MBSFNAreaConfiguration-r9 */ -typedef struct MBSFNAreaConfiguration_r9 { - CommonSF_AllocPatternList_r9_t commonSF_Alloc_r9; - long commonSF_AllocPeriod_r9; - PMCH_InfoList_r9_t pmch_InfoList_r9; - struct MBSFNAreaConfiguration_v930_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MBSFNAreaConfiguration_r9_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_commonSF_AllocPeriod_r9_3; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_MBSFNAreaConfiguration_r9; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MBSFNAreaConfiguration-v930-IEs.h" - -#endif /* _MBSFNAreaConfiguration_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MBSFNAreaConfiguration-v930-IEs.h b/lte/rrc/include/liblte/rrc/asn/MBSFNAreaConfiguration-v930-IEs.h deleted file mode 100644 index b45320565..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MBSFNAreaConfiguration-v930-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MBSFNAreaConfiguration_v930_IEs_H_ -#define _MBSFNAreaConfiguration_v930_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MBSFNAreaConfiguration-v930-IEs */ -typedef struct MBSFNAreaConfiguration_v930_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct MBSFNAreaConfiguration_v930_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MBSFNAreaConfiguration_v930_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MBSFNAreaConfiguration_v930_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _MBSFNAreaConfiguration_v930_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MCC-MNC-Digit.h b/lte/rrc/include/liblte/rrc/asn/MCC-MNC-Digit.h deleted file mode 100644 index 7952c220f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MCC-MNC-Digit.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MCC_MNC_Digit_H_ -#define _MCC_MNC_Digit_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MCC-MNC-Digit */ -typedef long MCC_MNC_Digit_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MCC_MNC_Digit; -asn_struct_free_f MCC_MNC_Digit_free; -asn_struct_print_f MCC_MNC_Digit_print; -asn_constr_check_f MCC_MNC_Digit_constraint; -ber_type_decoder_f MCC_MNC_Digit_decode_ber; -der_type_encoder_f MCC_MNC_Digit_encode_der; -xer_type_decoder_f MCC_MNC_Digit_decode_xer; -xer_type_encoder_f MCC_MNC_Digit_encode_xer; -per_type_decoder_f MCC_MNC_Digit_decode_uper; -per_type_encoder_f MCC_MNC_Digit_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _MCC_MNC_Digit_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MCC.h b/lte/rrc/include/liblte/rrc/asn/MCC.h deleted file mode 100644 index 900cc21c0..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MCC.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MCC_H_ -#define _MCC_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MCC-MNC-Digit.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MCC */ -typedef struct MCC { - A_SEQUENCE_OF(MCC_MNC_Digit_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MCC_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MCC; - -#ifdef __cplusplus -} -#endif - -#endif /* _MCC_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MCCH-Message.h b/lte/rrc/include/liblte/rrc/asn/MCCH-Message.h deleted file mode 100644 index 4d178f9d3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MCCH-Message.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MCCH_Message_H_ -#define _MCCH_Message_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MCCH-MessageType.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MCCH-Message */ -typedef struct MCCH_Message { - MCCH_MessageType_t message; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MCCH_Message_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MCCH_Message; - -#ifdef __cplusplus -} -#endif - -#endif /* _MCCH_Message_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MCCH-MessageType.h b/lte/rrc/include/liblte/rrc/asn/MCCH-MessageType.h deleted file mode 100644 index 3960d0d1b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MCCH-MessageType.h +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MCCH_MessageType_H_ -#define _MCCH_MessageType_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MBSFNAreaConfiguration-r9.h" -#include -#include "liblte/rrc/asn/MBMSCountingRequest-r10.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MCCH_MessageType_PR { - MCCH_MessageType_PR_NOTHING, /* No components present */ - MCCH_MessageType_PR_c1, - MCCH_MessageType_PR_later -} MCCH_MessageType_PR; -typedef enum MCCH_MessageType__c1_PR { - MCCH_MessageType__c1_PR_NOTHING, /* No components present */ - MCCH_MessageType__c1_PR_mbsfnAreaConfiguration_r9 -} MCCH_MessageType__c1_PR; -typedef enum MCCH_MessageType__later_PR { - MCCH_MessageType__later_PR_NOTHING, /* No components present */ - MCCH_MessageType__later_PR_c2, - MCCH_MessageType__later_PR_messageClassExtension -} MCCH_MessageType__later_PR; -typedef enum MCCH_MessageType__later__c2_PR { - MCCH_MessageType__later__c2_PR_NOTHING, /* No components present */ - MCCH_MessageType__later__c2_PR_mbmsCountingRequest_r10 -} MCCH_MessageType__later__c2_PR; - -/* MCCH-MessageType */ -typedef struct MCCH_MessageType { - MCCH_MessageType_PR present; - union MCCH_MessageType_u { - struct MCCH_MessageType__c1 { - MCCH_MessageType__c1_PR present; - union MCCH_MessageType__c1_u { - MBSFNAreaConfiguration_r9_t mbsfnAreaConfiguration_r9; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct MCCH_MessageType__later { - MCCH_MessageType__later_PR present; - union MCCH_MessageType__later_u { - struct MCCH_MessageType__later__c2 { - MCCH_MessageType__later__c2_PR present; - union MCCH_MessageType__later__c2_u { - MBMSCountingRequest_r10_t mbmsCountingRequest_r10; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c2; - struct MCCH_MessageType__later__messageClassExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } messageClassExtension; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } later; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MCCH_MessageType_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MCCH_MessageType; - -#ifdef __cplusplus -} -#endif - -#endif /* _MCCH_MessageType_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MIMO-CapabilityDL-r10.h b/lte/rrc/include/liblte/rrc/asn/MIMO-CapabilityDL-r10.h deleted file mode 100644 index 7a8e749f6..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MIMO-CapabilityDL-r10.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MIMO_CapabilityDL_r10_H_ -#define _MIMO_CapabilityDL_r10_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MIMO_CapabilityDL_r10 { - MIMO_CapabilityDL_r10_twoLayers = 0, - MIMO_CapabilityDL_r10_fourLayers = 1, - MIMO_CapabilityDL_r10_eightLayers = 2 -} e_MIMO_CapabilityDL_r10; - -/* MIMO-CapabilityDL-r10 */ -typedef long MIMO_CapabilityDL_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MIMO_CapabilityDL_r10; -asn_struct_free_f MIMO_CapabilityDL_r10_free; -asn_struct_print_f MIMO_CapabilityDL_r10_print; -asn_constr_check_f MIMO_CapabilityDL_r10_constraint; -ber_type_decoder_f MIMO_CapabilityDL_r10_decode_ber; -der_type_encoder_f MIMO_CapabilityDL_r10_encode_der; -xer_type_decoder_f MIMO_CapabilityDL_r10_decode_xer; -xer_type_encoder_f MIMO_CapabilityDL_r10_encode_xer; -per_type_decoder_f MIMO_CapabilityDL_r10_decode_uper; -per_type_encoder_f MIMO_CapabilityDL_r10_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _MIMO_CapabilityDL_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MIMO-CapabilityUL-r10.h b/lte/rrc/include/liblte/rrc/asn/MIMO-CapabilityUL-r10.h deleted file mode 100644 index 9dc6cb3e1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MIMO-CapabilityUL-r10.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MIMO_CapabilityUL_r10_H_ -#define _MIMO_CapabilityUL_r10_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MIMO_CapabilityUL_r10 { - MIMO_CapabilityUL_r10_twoLayers = 0, - MIMO_CapabilityUL_r10_fourLayers = 1 -} e_MIMO_CapabilityUL_r10; - -/* MIMO-CapabilityUL-r10 */ -typedef long MIMO_CapabilityUL_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MIMO_CapabilityUL_r10; -asn_struct_free_f MIMO_CapabilityUL_r10_free; -asn_struct_print_f MIMO_CapabilityUL_r10_print; -asn_constr_check_f MIMO_CapabilityUL_r10_constraint; -ber_type_decoder_f MIMO_CapabilityUL_r10_decode_ber; -der_type_encoder_f MIMO_CapabilityUL_r10_encode_der; -xer_type_decoder_f MIMO_CapabilityUL_r10_decode_xer; -xer_type_encoder_f MIMO_CapabilityUL_r10_encode_xer; -per_type_decoder_f MIMO_CapabilityUL_r10_decode_uper; -per_type_encoder_f MIMO_CapabilityUL_r10_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _MIMO_CapabilityUL_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MMEC.h b/lte/rrc/include/liblte/rrc/asn/MMEC.h deleted file mode 100644 index aa2bedc3c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MMEC.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MMEC_H_ -#define _MMEC_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MMEC */ -typedef BIT_STRING_t MMEC_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MMEC; -asn_struct_free_f MMEC_free; -asn_struct_print_f MMEC_print; -asn_constr_check_f MMEC_constraint; -ber_type_decoder_f MMEC_decode_ber; -der_type_encoder_f MMEC_encode_der; -xer_type_decoder_f MMEC_decode_xer; -xer_type_encoder_f MMEC_encode_xer; -per_type_decoder_f MMEC_decode_uper; -per_type_encoder_f MMEC_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _MMEC_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MNC.h b/lte/rrc/include/liblte/rrc/asn/MNC.h deleted file mode 100644 index 9094aa681..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MNC.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MNC_H_ -#define _MNC_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MCC-MNC-Digit.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MNC */ -typedef struct MNC { - A_SEQUENCE_OF(MCC_MNC_Digit_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MNC_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MNC; - -#ifdef __cplusplus -} -#endif - -#endif /* _MNC_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MasterInformationBlock.h b/lte/rrc/include/liblte/rrc/asn/MasterInformationBlock.h deleted file mode 100644 index 99d6d5f12..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MasterInformationBlock.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MasterInformationBlock_H_ -#define _MasterInformationBlock_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/PHICH-Config.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MasterInformationBlock__dl_Bandwidth { - MasterInformationBlock__dl_Bandwidth_n6 = 0, - MasterInformationBlock__dl_Bandwidth_n15 = 1, - MasterInformationBlock__dl_Bandwidth_n25 = 2, - MasterInformationBlock__dl_Bandwidth_n50 = 3, - MasterInformationBlock__dl_Bandwidth_n75 = 4, - MasterInformationBlock__dl_Bandwidth_n100 = 5 -} e_MasterInformationBlock__dl_Bandwidth; - -/* MasterInformationBlock */ -typedef struct MasterInformationBlock { - long dl_Bandwidth; - PHICH_Config_t phich_Config; - BIT_STRING_t systemFrameNumber; - BIT_STRING_t spare; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MasterInformationBlock_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_dl_Bandwidth_2; // (Use -fall-defs-global to expose) */ -LIBLTE_API extern asn_TYPE_descriptor_t asn_DEF_MasterInformationBlock; - -#ifdef __cplusplus -} -#endif - -#endif /* _MasterInformationBlock_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasConfig.h b/lte/rrc/include/liblte/rrc/asn/MeasConfig.h deleted file mode 100644 index 1b0ae4714..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasConfig.h +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasConfig_H_ -#define _MeasConfig_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RSRP-Range.h" -#include -#include "liblte/rrc/asn/MobilityStateParameters.h" -#include "liblte/rrc/asn/SpeedStateScaleFactors.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MeasConfig__speedStatePars_PR { - MeasConfig__speedStatePars_PR_NOTHING, /* No components present */ - MeasConfig__speedStatePars_PR_release, - MeasConfig__speedStatePars_PR_setup -} MeasConfig__speedStatePars_PR; - -/* Forward declarations */ -struct MeasObjectToRemoveList; -struct MeasObjectToAddModList; -struct ReportConfigToRemoveList; -struct ReportConfigToAddModList; -struct MeasIdToRemoveList; -struct MeasIdToAddModList; -struct QuantityConfig; -struct MeasGapConfig; -struct PreRegistrationInfoHRPD; - -/* MeasConfig */ -typedef struct MeasConfig { - struct MeasObjectToRemoveList *measObjectToRemoveList /* OPTIONAL */; - struct MeasObjectToAddModList *measObjectToAddModList /* OPTIONAL */; - struct ReportConfigToRemoveList *reportConfigToRemoveList /* OPTIONAL */; - struct ReportConfigToAddModList *reportConfigToAddModList /* OPTIONAL */; - struct MeasIdToRemoveList *measIdToRemoveList /* OPTIONAL */; - struct MeasIdToAddModList *measIdToAddModList /* OPTIONAL */; - struct QuantityConfig *quantityConfig /* OPTIONAL */; - struct MeasGapConfig *measGapConfig /* OPTIONAL */; - RSRP_Range_t *s_Measure /* OPTIONAL */; - struct PreRegistrationInfoHRPD *preRegistrationInfoHRPD /* OPTIONAL */; - struct MeasConfig__speedStatePars { - MeasConfig__speedStatePars_PR present; - union MeasConfig__speedStatePars_u { - NULL_t release; - struct MeasConfig__speedStatePars__setup { - MobilityStateParameters_t mobilityStateParameters; - SpeedStateScaleFactors_t timeToTrigger_SF; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *speedStatePars; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasConfig_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasConfig; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MeasObjectToRemoveList.h" -#include "liblte/rrc/asn/MeasObjectToAddModList.h" -#include "liblte/rrc/asn/ReportConfigToRemoveList.h" -#include "liblte/rrc/asn/ReportConfigToAddModList.h" -#include "liblte/rrc/asn/MeasIdToRemoveList.h" -#include "liblte/rrc/asn/MeasIdToAddModList.h" -#include "liblte/rrc/asn/QuantityConfig.h" -#include "liblte/rrc/asn/MeasGapConfig.h" -#include "liblte/rrc/asn/PreRegistrationInfoHRPD.h" - -#endif /* _MeasConfig_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasCycleSCell-r10.h b/lte/rrc/include/liblte/rrc/asn/MeasCycleSCell-r10.h deleted file mode 100644 index 827fa6ca3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasCycleSCell-r10.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasCycleSCell_r10_H_ -#define _MeasCycleSCell_r10_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MeasCycleSCell_r10 { - MeasCycleSCell_r10_sf160 = 0, - MeasCycleSCell_r10_sf256 = 1, - MeasCycleSCell_r10_sf320 = 2, - MeasCycleSCell_r10_sf512 = 3, - MeasCycleSCell_r10_sf640 = 4, - MeasCycleSCell_r10_sf1024 = 5, - MeasCycleSCell_r10_sf1280 = 6, - MeasCycleSCell_r10_spare1 = 7 -} e_MeasCycleSCell_r10; - -/* MeasCycleSCell-r10 */ -typedef long MeasCycleSCell_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasCycleSCell_r10; -asn_struct_free_f MeasCycleSCell_r10_free; -asn_struct_print_f MeasCycleSCell_r10_print; -asn_constr_check_f MeasCycleSCell_r10_constraint; -ber_type_decoder_f MeasCycleSCell_r10_decode_ber; -der_type_encoder_f MeasCycleSCell_r10_encode_der; -xer_type_decoder_f MeasCycleSCell_r10_decode_xer; -xer_type_encoder_f MeasCycleSCell_r10_encode_xer; -per_type_decoder_f MeasCycleSCell_r10_decode_uper; -per_type_encoder_f MeasCycleSCell_r10_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasCycleSCell_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasGapConfig.h b/lte/rrc/include/liblte/rrc/asn/MeasGapConfig.h deleted file mode 100644 index 88ba8d5aa..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasGapConfig.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasGapConfig_H_ -#define _MeasGapConfig_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MeasGapConfig_PR { - MeasGapConfig_PR_NOTHING, /* No components present */ - MeasGapConfig_PR_release, - MeasGapConfig_PR_setup -} MeasGapConfig_PR; -typedef enum MeasGapConfig__setup__gapOffset_PR { - MeasGapConfig__setup__gapOffset_PR_NOTHING, /* No components present */ - MeasGapConfig__setup__gapOffset_PR_gp0, - MeasGapConfig__setup__gapOffset_PR_gp1, - /* Extensions may appear below */ - -} MeasGapConfig__setup__gapOffset_PR; - -/* MeasGapConfig */ -typedef struct MeasGapConfig { - MeasGapConfig_PR present; - union MeasGapConfig_u { - NULL_t release; - struct MeasGapConfig__setup { - struct MeasGapConfig__setup__gapOffset { - MeasGapConfig__setup__gapOffset_PR present; - union MeasGapConfig__setup__gapOffset_u { - long gp0; - long gp1; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } gapOffset; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasGapConfig_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasGapConfig; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasGapConfig_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasId.h b/lte/rrc/include/liblte/rrc/asn/MeasId.h deleted file mode 100644 index 14e477c47..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasId.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasId_H_ -#define _MeasId_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MeasId */ -typedef long MeasId_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasId; -asn_struct_free_f MeasId_free; -asn_struct_print_f MeasId_print; -asn_constr_check_f MeasId_constraint; -ber_type_decoder_f MeasId_decode_ber; -der_type_encoder_f MeasId_encode_der; -xer_type_decoder_f MeasId_decode_xer; -xer_type_encoder_f MeasId_encode_xer; -per_type_decoder_f MeasId_decode_uper; -per_type_encoder_f MeasId_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasId_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasIdToAddMod.h b/lte/rrc/include/liblte/rrc/asn/MeasIdToAddMod.h deleted file mode 100644 index 95424be55..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasIdToAddMod.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasIdToAddMod_H_ -#define _MeasIdToAddMod_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MeasId.h" -#include "liblte/rrc/asn/MeasObjectId.h" -#include "liblte/rrc/asn/ReportConfigId.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MeasIdToAddMod */ -typedef struct MeasIdToAddMod { - MeasId_t measId; - MeasObjectId_t measObjectId; - ReportConfigId_t reportConfigId; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasIdToAddMod_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasIdToAddMod; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasIdToAddMod_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasIdToAddModList.h b/lte/rrc/include/liblte/rrc/asn/MeasIdToAddModList.h deleted file mode 100644 index a27658df4..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasIdToAddModList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasIdToAddModList_H_ -#define _MeasIdToAddModList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MeasIdToAddMod; - -/* MeasIdToAddModList */ -typedef struct MeasIdToAddModList { - A_SEQUENCE_OF(struct MeasIdToAddMod) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasIdToAddModList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasIdToAddModList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MeasIdToAddMod.h" - -#endif /* _MeasIdToAddModList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasIdToRemoveList.h b/lte/rrc/include/liblte/rrc/asn/MeasIdToRemoveList.h deleted file mode 100644 index f59792e15..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasIdToRemoveList.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasIdToRemoveList_H_ -#define _MeasIdToRemoveList_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MeasId.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MeasIdToRemoveList */ -typedef struct MeasIdToRemoveList { - A_SEQUENCE_OF(MeasId_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasIdToRemoveList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasIdToRemoveList; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasIdToRemoveList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasObjectCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/MeasObjectCDMA2000.h deleted file mode 100644 index 1c8e5bd9c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasObjectCDMA2000.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasObjectCDMA2000_H_ -#define _MeasObjectCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CDMA2000-Type.h" -#include "liblte/rrc/asn/CarrierFreqCDMA2000.h" -#include -#include "liblte/rrc/asn/Q-OffsetRangeInterRAT.h" -#include "liblte/rrc/asn/PhysCellIdCDMA2000.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CellIndexList; -struct CellsToAddModListCDMA2000; - -/* MeasObjectCDMA2000 */ -typedef struct MeasObjectCDMA2000 { - CDMA2000_Type_t cdma2000_Type; - CarrierFreqCDMA2000_t carrierFreq; - long *searchWindowSize /* OPTIONAL */; - Q_OffsetRangeInterRAT_t offsetFreq /* DEFAULT 0 */; - struct CellIndexList *cellsToRemoveList /* OPTIONAL */; - struct CellsToAddModListCDMA2000 *cellsToAddModList /* OPTIONAL */; - PhysCellIdCDMA2000_t *cellForWhichToReportCGI /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasObjectCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasObjectCDMA2000; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CellIndexList.h" -#include "liblte/rrc/asn/CellsToAddModListCDMA2000.h" - -#endif /* _MeasObjectCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasObjectEUTRA.h b/lte/rrc/include/liblte/rrc/asn/MeasObjectEUTRA.h deleted file mode 100644 index e5ca24bec..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasObjectEUTRA.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasObjectEUTRA_H_ -#define _MeasObjectEUTRA_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ARFCN-ValueEUTRA.h" -#include "liblte/rrc/asn/AllowedMeasBandwidth.h" -#include "liblte/rrc/asn/PresenceAntennaPort1.h" -#include "liblte/rrc/asn/NeighCellConfig.h" -#include "liblte/rrc/asn/Q-OffsetRange.h" -#include "liblte/rrc/asn/PhysCellId.h" -#include "liblte/rrc/asn/MeasCycleSCell-r10.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CellIndexList; -struct CellsToAddModList; -struct BlackCellsToAddModList; -struct MeasSubframePatternConfigNeigh_r10; - -/* MeasObjectEUTRA */ -typedef struct MeasObjectEUTRA { - ARFCN_ValueEUTRA_t carrierFreq; - AllowedMeasBandwidth_t allowedMeasBandwidth; - PresenceAntennaPort1_t presenceAntennaPort1; - NeighCellConfig_t neighCellConfig; - Q_OffsetRange_t *offsetFreq /* DEFAULT 15 */; - struct CellIndexList *cellsToRemoveList /* OPTIONAL */; - struct CellsToAddModList *cellsToAddModList /* OPTIONAL */; - struct CellIndexList *blackCellsToRemoveList /* OPTIONAL */; - struct BlackCellsToAddModList *blackCellsToAddModList /* OPTIONAL */; - PhysCellId_t *cellForWhichToReportCGI /* OPTIONAL */; - MeasCycleSCell_r10_t *measCycleSCell_r10 /* OPTIONAL */; - struct MeasSubframePatternConfigNeigh_r10 *measSubframePatternConfigNeigh_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasObjectEUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasObjectEUTRA; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CellIndexList.h" -#include "liblte/rrc/asn/CellsToAddModList.h" -#include "liblte/rrc/asn/BlackCellsToAddModList.h" -#include "liblte/rrc/asn/MeasSubframePatternConfigNeigh-r10.h" - -#endif /* _MeasObjectEUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasObjectGERAN.h b/lte/rrc/include/liblte/rrc/asn/MeasObjectGERAN.h deleted file mode 100644 index a3d7ef613..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasObjectGERAN.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasObjectGERAN_H_ -#define _MeasObjectGERAN_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CarrierFreqsGERAN.h" -#include "liblte/rrc/asn/Q-OffsetRangeInterRAT.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct PhysCellIdGERAN; - -/* MeasObjectGERAN */ -typedef struct MeasObjectGERAN { - CarrierFreqsGERAN_t carrierFreqs; - Q_OffsetRangeInterRAT_t offsetFreq /* DEFAULT 0 */; - BIT_STRING_t *ncc_Permitted /* DEFAULT 'FF'HH */; - struct PhysCellIdGERAN *cellForWhichToReportCGI /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasObjectGERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasObjectGERAN; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PhysCellIdGERAN.h" - -#endif /* _MeasObjectGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasObjectId.h b/lte/rrc/include/liblte/rrc/asn/MeasObjectId.h deleted file mode 100644 index adf1de2a2..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasObjectId.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasObjectId_H_ -#define _MeasObjectId_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MeasObjectId */ -typedef long MeasObjectId_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasObjectId; -asn_struct_free_f MeasObjectId_free; -asn_struct_print_f MeasObjectId_print; -asn_constr_check_f MeasObjectId_constraint; -ber_type_decoder_f MeasObjectId_decode_ber; -der_type_encoder_f MeasObjectId_encode_der; -xer_type_decoder_f MeasObjectId_decode_xer; -xer_type_encoder_f MeasObjectId_encode_xer; -per_type_decoder_f MeasObjectId_decode_uper; -per_type_encoder_f MeasObjectId_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasObjectId_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasObjectToAddMod.h b/lte/rrc/include/liblte/rrc/asn/MeasObjectToAddMod.h deleted file mode 100644 index 94d409169..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasObjectToAddMod.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasObjectToAddMod_H_ -#define _MeasObjectToAddMod_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MeasObjectId.h" -#include "liblte/rrc/asn/MeasObjectEUTRA.h" -#include "liblte/rrc/asn/MeasObjectUTRA.h" -#include "liblte/rrc/asn/MeasObjectGERAN.h" -#include "liblte/rrc/asn/MeasObjectCDMA2000.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MeasObjectToAddMod__measObject_PR { - MeasObjectToAddMod__measObject_PR_NOTHING, /* No components present */ - MeasObjectToAddMod__measObject_PR_measObjectEUTRA, - MeasObjectToAddMod__measObject_PR_measObjectUTRA, - MeasObjectToAddMod__measObject_PR_measObjectGERAN, - MeasObjectToAddMod__measObject_PR_measObjectCDMA2000, - /* Extensions may appear below */ - -} MeasObjectToAddMod__measObject_PR; - -/* MeasObjectToAddMod */ -typedef struct MeasObjectToAddMod { - MeasObjectId_t measObjectId; - struct MeasObjectToAddMod__measObject { - MeasObjectToAddMod__measObject_PR present; - union MeasObjectToAddMod__measObject_u { - MeasObjectEUTRA_t measObjectEUTRA; - MeasObjectUTRA_t measObjectUTRA; - MeasObjectGERAN_t measObjectGERAN; - MeasObjectCDMA2000_t measObjectCDMA2000; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } measObject; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasObjectToAddMod_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasObjectToAddMod; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasObjectToAddMod_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasObjectToAddModList.h b/lte/rrc/include/liblte/rrc/asn/MeasObjectToAddModList.h deleted file mode 100644 index a30f28f57..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasObjectToAddModList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasObjectToAddModList_H_ -#define _MeasObjectToAddModList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MeasObjectToAddMod; - -/* MeasObjectToAddModList */ -typedef struct MeasObjectToAddModList { - A_SEQUENCE_OF(struct MeasObjectToAddMod) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasObjectToAddModList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasObjectToAddModList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MeasObjectToAddMod.h" - -#endif /* _MeasObjectToAddModList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasObjectToRemoveList.h b/lte/rrc/include/liblte/rrc/asn/MeasObjectToRemoveList.h deleted file mode 100644 index 20af1521f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasObjectToRemoveList.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasObjectToRemoveList_H_ -#define _MeasObjectToRemoveList_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MeasObjectId.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MeasObjectToRemoveList */ -typedef struct MeasObjectToRemoveList { - A_SEQUENCE_OF(MeasObjectId_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasObjectToRemoveList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasObjectToRemoveList; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasObjectToRemoveList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasObjectUTRA.h b/lte/rrc/include/liblte/rrc/asn/MeasObjectUTRA.h deleted file mode 100644 index 616d6d73a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasObjectUTRA.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasObjectUTRA_H_ -#define _MeasObjectUTRA_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ARFCN-ValueUTRA.h" -#include "liblte/rrc/asn/Q-OffsetRangeInterRAT.h" -#include "liblte/rrc/asn/CellsToAddModListUTRA-FDD.h" -#include "liblte/rrc/asn/CellsToAddModListUTRA-TDD.h" -#include -#include "liblte/rrc/asn/PhysCellIdUTRA-FDD.h" -#include "liblte/rrc/asn/PhysCellIdUTRA-TDD.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MeasObjectUTRA__cellsToAddModList_PR { - MeasObjectUTRA__cellsToAddModList_PR_NOTHING, /* No components present */ - MeasObjectUTRA__cellsToAddModList_PR_cellsToAddModListUTRA_FDD, - MeasObjectUTRA__cellsToAddModList_PR_cellsToAddModListUTRA_TDD -} MeasObjectUTRA__cellsToAddModList_PR; -typedef enum MeasObjectUTRA__cellForWhichToReportCGI_PR { - MeasObjectUTRA__cellForWhichToReportCGI_PR_NOTHING, /* No components present */ - MeasObjectUTRA__cellForWhichToReportCGI_PR_utra_FDD, - MeasObjectUTRA__cellForWhichToReportCGI_PR_utra_TDD -} MeasObjectUTRA__cellForWhichToReportCGI_PR; - -/* Forward declarations */ -struct CellIndexList; -struct CSG_AllowedReportingCells_r9; - -/* MeasObjectUTRA */ -typedef struct MeasObjectUTRA { - ARFCN_ValueUTRA_t carrierFreq; - Q_OffsetRangeInterRAT_t offsetFreq /* DEFAULT 0 */; - struct CellIndexList *cellsToRemoveList /* OPTIONAL */; - struct MeasObjectUTRA__cellsToAddModList { - MeasObjectUTRA__cellsToAddModList_PR present; - union MeasObjectUTRA__cellsToAddModList_u { - CellsToAddModListUTRA_FDD_t cellsToAddModListUTRA_FDD; - CellsToAddModListUTRA_TDD_t cellsToAddModListUTRA_TDD; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *cellsToAddModList; - struct MeasObjectUTRA__cellForWhichToReportCGI { - MeasObjectUTRA__cellForWhichToReportCGI_PR present; - union MeasObjectUTRA__cellForWhichToReportCGI_u { - PhysCellIdUTRA_FDD_t utra_FDD; - PhysCellIdUTRA_TDD_t utra_TDD; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *cellForWhichToReportCGI; - struct CSG_AllowedReportingCells_r9 *csg_allowedReportingCells_v930 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasObjectUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasObjectUTRA; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CellIndexList.h" -#include "liblte/rrc/asn/CSG-AllowedReportingCells-r9.h" - -#endif /* _MeasObjectUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasParameters-v1020.h b/lte/rrc/include/liblte/rrc/asn/MeasParameters-v1020.h deleted file mode 100644 index eb20bb106..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasParameters-v1020.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasParameters_v1020_H_ -#define _MeasParameters_v1020_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/BandCombinationListEUTRA-r10.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MeasParameters-v1020 */ -typedef struct MeasParameters_v1020 { - BandCombinationListEUTRA_r10_t bandCombinationListEUTRA_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasParameters_v1020_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasParameters_v1020; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasParameters_v1020_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasParameters.h b/lte/rrc/include/liblte/rrc/asn/MeasParameters.h deleted file mode 100644 index 63a3f4f57..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasParameters.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasParameters_H_ -#define _MeasParameters_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/BandListEUTRA.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MeasParameters */ -typedef struct MeasParameters { - BandListEUTRA_t bandListEUTRA; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasParameters_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasParameters; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasParameters_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResult2CDMA2000-r9.h b/lte/rrc/include/liblte/rrc/asn/MeasResult2CDMA2000-r9.h deleted file mode 100644 index e98ee1687..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResult2CDMA2000-r9.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResult2CDMA2000_r9_H_ -#define _MeasResult2CDMA2000_r9_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CarrierFreqCDMA2000.h" -#include "liblte/rrc/asn/MeasResultsCDMA2000.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MeasResult2CDMA2000-r9 */ -typedef struct MeasResult2CDMA2000_r9 { - CarrierFreqCDMA2000_t carrierFreq_r9; - MeasResultsCDMA2000_t measResultList_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResult2CDMA2000_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResult2CDMA2000_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasResult2CDMA2000_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResult2EUTRA-r9.h b/lte/rrc/include/liblte/rrc/asn/MeasResult2EUTRA-r9.h deleted file mode 100644 index ac135c07b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResult2EUTRA-r9.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResult2EUTRA_r9_H_ -#define _MeasResult2EUTRA_r9_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ARFCN-ValueEUTRA.h" -#include "liblte/rrc/asn/MeasResultListEUTRA.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MeasResult2EUTRA-r9 */ -typedef struct MeasResult2EUTRA_r9 { - ARFCN_ValueEUTRA_t carrierFreq_r9; - MeasResultListEUTRA_t measResultList_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResult2EUTRA_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResult2EUTRA_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasResult2EUTRA_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResult2UTRA-r9.h b/lte/rrc/include/liblte/rrc/asn/MeasResult2UTRA-r9.h deleted file mode 100644 index 66ea9d65b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResult2UTRA-r9.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResult2UTRA_r9_H_ -#define _MeasResult2UTRA_r9_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ARFCN-ValueUTRA.h" -#include "liblte/rrc/asn/MeasResultListUTRA.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MeasResult2UTRA-r9 */ -typedef struct MeasResult2UTRA_r9 { - ARFCN_ValueUTRA_t carrierFreq_r9; - MeasResultListUTRA_t measResultList_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResult2UTRA_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResult2UTRA_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasResult2UTRA_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResultCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/MeasResultCDMA2000.h deleted file mode 100644 index 4aafc5a5d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResultCDMA2000.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResultCDMA2000_H_ -#define _MeasResultCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PhysCellIdCDMA2000.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CellGlobalIdCDMA2000; - -/* MeasResultCDMA2000 */ -typedef struct MeasResultCDMA2000 { - PhysCellIdCDMA2000_t physCellId; - struct CellGlobalIdCDMA2000 *cgi_Info /* OPTIONAL */; - struct MeasResultCDMA2000__measResult { - long *pilotPnPhase /* OPTIONAL */; - long pilotStrength; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } measResult; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResultCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResultCDMA2000; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CellGlobalIdCDMA2000.h" - -#endif /* _MeasResultCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResultEUTRA.h b/lte/rrc/include/liblte/rrc/asn/MeasResultEUTRA.h deleted file mode 100644 index f59ae6d9f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResultEUTRA.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResultEUTRA_H_ -#define _MeasResultEUTRA_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PhysCellId.h" -#include "liblte/rrc/asn/CellGlobalIdEUTRA.h" -#include "liblte/rrc/asn/TrackingAreaCode.h" -#include -#include "liblte/rrc/asn/RSRP-Range.h" -#include "liblte/rrc/asn/RSRQ-Range.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct PLMN_IdentityList2; -struct AdditionalSI_Info_r9; - -/* MeasResultEUTRA */ -typedef struct MeasResultEUTRA { - PhysCellId_t physCellId; - struct MeasResultEUTRA__cgi_Info { - CellGlobalIdEUTRA_t cellGlobalId; - TrackingAreaCode_t trackingAreaCode; - struct PLMN_IdentityList2 *plmn_IdentityList /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *cgi_Info; - struct MeasResultEUTRA__measResult { - RSRP_Range_t *rsrpResult /* OPTIONAL */; - RSRQ_Range_t *rsrqResult /* OPTIONAL */; - struct AdditionalSI_Info_r9 *additionalSI_Info_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } measResult; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResultEUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResultEUTRA; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PLMN-IdentityList2.h" -#include "liblte/rrc/asn/AdditionalSI-Info-r9.h" - -#endif /* _MeasResultEUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResultForECID-r9.h b/lte/rrc/include/liblte/rrc/asn/MeasResultForECID-r9.h deleted file mode 100644 index 7f6820a09..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResultForECID-r9.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResultForECID_r9_H_ -#define _MeasResultForECID_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MeasResultForECID-r9 */ -typedef struct MeasResultForECID_r9 { - long ue_RxTxTimeDiffResult_r9; - BIT_STRING_t currentSFN_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResultForECID_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResultForECID_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasResultForECID_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResultGERAN.h b/lte/rrc/include/liblte/rrc/asn/MeasResultGERAN.h deleted file mode 100644 index 53231f72a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResultGERAN.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResultGERAN_H_ -#define _MeasResultGERAN_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CarrierFreqGERAN.h" -#include "liblte/rrc/asn/PhysCellIdGERAN.h" -#include "liblte/rrc/asn/CellGlobalIdGERAN.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MeasResultGERAN */ -typedef struct MeasResultGERAN { - CarrierFreqGERAN_t carrierFreq; - PhysCellIdGERAN_t physCellId; - struct MeasResultGERAN__cgi_Info { - CellGlobalIdGERAN_t cellGlobalId; - BIT_STRING_t *routingAreaCode /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *cgi_Info; - struct MeasResultGERAN__measResult { - long rssi; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } measResult; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResultGERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResultGERAN; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasResultGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResultList2CDMA2000-r9.h b/lte/rrc/include/liblte/rrc/asn/MeasResultList2CDMA2000-r9.h deleted file mode 100644 index 9e2ceb2e2..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResultList2CDMA2000-r9.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResultList2CDMA2000_r9_H_ -#define _MeasResultList2CDMA2000_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MeasResult2CDMA2000_r9; - -/* MeasResultList2CDMA2000-r9 */ -typedef struct MeasResultList2CDMA2000_r9 { - A_SEQUENCE_OF(struct MeasResult2CDMA2000_r9) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResultList2CDMA2000_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResultList2CDMA2000_r9; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MeasResult2CDMA2000-r9.h" - -#endif /* _MeasResultList2CDMA2000_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResultList2EUTRA-r9.h b/lte/rrc/include/liblte/rrc/asn/MeasResultList2EUTRA-r9.h deleted file mode 100644 index 9056e4d8a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResultList2EUTRA-r9.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResultList2EUTRA_r9_H_ -#define _MeasResultList2EUTRA_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MeasResult2EUTRA_r9; - -/* MeasResultList2EUTRA-r9 */ -typedef struct MeasResultList2EUTRA_r9 { - A_SEQUENCE_OF(struct MeasResult2EUTRA_r9) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResultList2EUTRA_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResultList2EUTRA_r9; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MeasResult2EUTRA-r9.h" - -#endif /* _MeasResultList2EUTRA_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResultList2GERAN-r10.h b/lte/rrc/include/liblte/rrc/asn/MeasResultList2GERAN-r10.h deleted file mode 100644 index 59cae7e4f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResultList2GERAN-r10.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResultList2GERAN_r10_H_ -#define _MeasResultList2GERAN_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MeasResultListGERAN; - -/* MeasResultList2GERAN-r10 */ -typedef struct MeasResultList2GERAN_r10 { - A_SEQUENCE_OF(struct MeasResultListGERAN) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResultList2GERAN_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResultList2GERAN_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MeasResultListGERAN.h" - -#endif /* _MeasResultList2GERAN_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResultList2UTRA-r9.h b/lte/rrc/include/liblte/rrc/asn/MeasResultList2UTRA-r9.h deleted file mode 100644 index 4359d84a1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResultList2UTRA-r9.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResultList2UTRA_r9_H_ -#define _MeasResultList2UTRA_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MeasResult2UTRA_r9; - -/* MeasResultList2UTRA-r9 */ -typedef struct MeasResultList2UTRA_r9 { - A_SEQUENCE_OF(struct MeasResult2UTRA_r9) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResultList2UTRA_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResultList2UTRA_r9; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MeasResult2UTRA-r9.h" - -#endif /* _MeasResultList2UTRA_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResultListCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/MeasResultListCDMA2000.h deleted file mode 100644 index 52221ede3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResultListCDMA2000.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResultListCDMA2000_H_ -#define _MeasResultListCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MeasResultCDMA2000; - -/* MeasResultListCDMA2000 */ -typedef struct MeasResultListCDMA2000 { - A_SEQUENCE_OF(struct MeasResultCDMA2000) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResultListCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResultListCDMA2000; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MeasResultCDMA2000.h" - -#endif /* _MeasResultListCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResultListEUTRA.h b/lte/rrc/include/liblte/rrc/asn/MeasResultListEUTRA.h deleted file mode 100644 index a1f3a9adb..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResultListEUTRA.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResultListEUTRA_H_ -#define _MeasResultListEUTRA_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MeasResultEUTRA; - -/* MeasResultListEUTRA */ -typedef struct MeasResultListEUTRA { - A_SEQUENCE_OF(struct MeasResultEUTRA) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResultListEUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResultListEUTRA; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MeasResultEUTRA.h" - -#endif /* _MeasResultListEUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResultListGERAN.h b/lte/rrc/include/liblte/rrc/asn/MeasResultListGERAN.h deleted file mode 100644 index dc3b4d146..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResultListGERAN.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResultListGERAN_H_ -#define _MeasResultListGERAN_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MeasResultGERAN; - -/* MeasResultListGERAN */ -typedef struct MeasResultListGERAN { - A_SEQUENCE_OF(struct MeasResultGERAN) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResultListGERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResultListGERAN; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MeasResultGERAN.h" - -#endif /* _MeasResultListGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResultListUTRA.h b/lte/rrc/include/liblte/rrc/asn/MeasResultListUTRA.h deleted file mode 100644 index 6391e68be..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResultListUTRA.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResultListUTRA_H_ -#define _MeasResultListUTRA_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MeasResultUTRA; - -/* MeasResultListUTRA */ -typedef struct MeasResultListUTRA { - A_SEQUENCE_OF(struct MeasResultUTRA) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResultListUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResultListUTRA; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MeasResultUTRA.h" - -#endif /* _MeasResultListUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResultServFreq-r10.h b/lte/rrc/include/liblte/rrc/asn/MeasResultServFreq-r10.h deleted file mode 100644 index 516674728..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResultServFreq-r10.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResultServFreq_r10_H_ -#define _MeasResultServFreq_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ServCellIndex-r10.h" -#include "liblte/rrc/asn/RSRP-Range.h" -#include "liblte/rrc/asn/RSRQ-Range.h" -#include -#include "liblte/rrc/asn/PhysCellId.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* MeasResultServFreq-r10 */ -typedef struct MeasResultServFreq_r10 { - ServCellIndex_r10_t servFreqId_r10; - struct MeasResultServFreq_r10__measResultSCell_r10 { - RSRP_Range_t rsrpResultSCell_r10; - RSRQ_Range_t rsrqResultSCell_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *measResultSCell_r10; - struct MeasResultServFreq_r10__measResultBestNeighCell_r10 { - PhysCellId_t physCellId_r10; - RSRP_Range_t rsrpResultNCell_r10; - RSRQ_Range_t rsrqResultNCell_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *measResultBestNeighCell_r10; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResultServFreq_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResultServFreq_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasResultServFreq_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResultServFreqList-r10.h b/lte/rrc/include/liblte/rrc/asn/MeasResultServFreqList-r10.h deleted file mode 100644 index 430a503c5..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResultServFreqList-r10.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResultServFreqList_r10_H_ -#define _MeasResultServFreqList_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MeasResultServFreq_r10; - -/* MeasResultServFreqList-r10 */ -typedef struct MeasResultServFreqList_r10 { - A_SEQUENCE_OF(struct MeasResultServFreq_r10) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResultServFreqList_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResultServFreqList_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MeasResultServFreq-r10.h" - -#endif /* _MeasResultServFreqList_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResultUTRA.h b/lte/rrc/include/liblte/rrc/asn/MeasResultUTRA.h deleted file mode 100644 index 72da890a7..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResultUTRA.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResultUTRA_H_ -#define _MeasResultUTRA_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PhysCellIdUTRA-FDD.h" -#include "liblte/rrc/asn/PhysCellIdUTRA-TDD.h" -#include -#include "liblte/rrc/asn/CellGlobalIdUTRA.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MeasResultUTRA__physCellId_PR { - MeasResultUTRA__physCellId_PR_NOTHING, /* No components present */ - MeasResultUTRA__physCellId_PR_fdd, - MeasResultUTRA__physCellId_PR_tdd -} MeasResultUTRA__physCellId_PR; - -/* Forward declarations */ -struct PLMN_IdentityList2; -struct AdditionalSI_Info_r9; - -/* MeasResultUTRA */ -typedef struct MeasResultUTRA { - struct MeasResultUTRA__physCellId { - MeasResultUTRA__physCellId_PR present; - union MeasResultUTRA__physCellId_u { - PhysCellIdUTRA_FDD_t fdd; - PhysCellIdUTRA_TDD_t tdd; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } physCellId; - struct MeasResultUTRA__cgi_Info { - CellGlobalIdUTRA_t cellGlobalId; - BIT_STRING_t *locationAreaCode /* OPTIONAL */; - BIT_STRING_t *routingAreaCode /* OPTIONAL */; - struct PLMN_IdentityList2 *plmn_IdentityList /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *cgi_Info; - struct MeasResultUTRA__measResult { - long *utra_RSCP /* OPTIONAL */; - long *utra_EcN0 /* OPTIONAL */; - struct AdditionalSI_Info_r9 *additionalSI_Info_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } measResult; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResultUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResultUTRA; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PLMN-IdentityList2.h" -#include "liblte/rrc/asn/AdditionalSI-Info-r9.h" - -#endif /* _MeasResultUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResults.h b/lte/rrc/include/liblte/rrc/asn/MeasResults.h deleted file mode 100644 index 4654942b3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResults.h +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResults_H_ -#define _MeasResults_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MeasId.h" -#include "liblte/rrc/asn/RSRP-Range.h" -#include "liblte/rrc/asn/RSRQ-Range.h" -#include -#include "liblte/rrc/asn/MeasResultListEUTRA.h" -#include "liblte/rrc/asn/MeasResultListUTRA.h" -#include "liblte/rrc/asn/MeasResultListGERAN.h" -#include "liblte/rrc/asn/MeasResultsCDMA2000.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MeasResults__measResultNeighCells_PR { - MeasResults__measResultNeighCells_PR_NOTHING, /* No components present */ - MeasResults__measResultNeighCells_PR_measResultListEUTRA, - MeasResults__measResultNeighCells_PR_measResultListUTRA, - MeasResults__measResultNeighCells_PR_measResultListGERAN, - MeasResults__measResultNeighCells_PR_measResultsCDMA2000, - /* Extensions may appear below */ - -} MeasResults__measResultNeighCells_PR; - -/* Forward declarations */ -struct MeasResultForECID_r9; -struct LocationInfo_r10; -struct MeasResultServFreqList_r10; - -/* MeasResults */ -typedef struct MeasResults { - MeasId_t measId; - struct MeasResults__measResultPCell { - RSRP_Range_t rsrpResult; - RSRQ_Range_t rsrqResult; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } measResultPCell; - struct MeasResults__measResultNeighCells { - MeasResults__measResultNeighCells_PR present; - union MeasResults__measResultNeighCells_u { - MeasResultListEUTRA_t measResultListEUTRA; - MeasResultListUTRA_t measResultListUTRA; - MeasResultListGERAN_t measResultListGERAN; - MeasResultsCDMA2000_t measResultsCDMA2000; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *measResultNeighCells; - struct MeasResultForECID_r9 *measResultForECID_r9 /* OPTIONAL */; - struct LocationInfo_r10 *locationInfo_r10 /* OPTIONAL */; - struct MeasResultServFreqList_r10 *measResultServFreqList_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResults_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResults; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MeasResultForECID-r9.h" -#include "liblte/rrc/asn/LocationInfo-r10.h" -#include "liblte/rrc/asn/MeasResultServFreqList-r10.h" - -#endif /* _MeasResults_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasResultsCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/MeasResultsCDMA2000.h deleted file mode 100644 index 4e18b8654..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasResultsCDMA2000.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasResultsCDMA2000_H_ -#define _MeasResultsCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/MeasResultListCDMA2000.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MeasResultsCDMA2000 */ -typedef struct MeasResultsCDMA2000 { - BOOLEAN_t preRegistrationStatusHRPD; - MeasResultListCDMA2000_t measResultListCDMA2000; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResultsCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResultsCDMA2000; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasResultsCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasSubframeCellList-r10.h b/lte/rrc/include/liblte/rrc/asn/MeasSubframeCellList-r10.h deleted file mode 100644 index f538d23d5..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasSubframeCellList-r10.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasSubframeCellList_r10_H_ -#define _MeasSubframeCellList_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct PhysCellIdRange; - -/* MeasSubframeCellList-r10 */ -typedef struct MeasSubframeCellList_r10 { - A_SEQUENCE_OF(struct PhysCellIdRange) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasSubframeCellList_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasSubframeCellList_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PhysCellIdRange.h" - -#endif /* _MeasSubframeCellList_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasSubframePattern-r10.h b/lte/rrc/include/liblte/rrc/asn/MeasSubframePattern-r10.h deleted file mode 100644 index 638551e5d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasSubframePattern-r10.h +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasSubframePattern_r10_H_ -#define _MeasSubframePattern_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MeasSubframePattern_r10_PR { - MeasSubframePattern_r10_PR_NOTHING, /* No components present */ - MeasSubframePattern_r10_PR_subframePatternFDD_r10, - MeasSubframePattern_r10_PR_subframePatternTDD_r10, - /* Extensions may appear below */ - -} MeasSubframePattern_r10_PR; -typedef enum MeasSubframePattern_r10__subframePatternTDD_r10_PR { - MeasSubframePattern_r10__subframePatternTDD_r10_PR_NOTHING, /* No components present */ - MeasSubframePattern_r10__subframePatternTDD_r10_PR_subframeConfig1_5_r10, - MeasSubframePattern_r10__subframePatternTDD_r10_PR_subframeConfig0_r10, - MeasSubframePattern_r10__subframePatternTDD_r10_PR_subframeConfig6_r10, - /* Extensions may appear below */ - -} MeasSubframePattern_r10__subframePatternTDD_r10_PR; - -/* MeasSubframePattern-r10 */ -typedef struct MeasSubframePattern_r10 { - MeasSubframePattern_r10_PR present; - union MeasSubframePattern_r10_u { - BIT_STRING_t subframePatternFDD_r10; - struct MeasSubframePattern_r10__subframePatternTDD_r10 { - MeasSubframePattern_r10__subframePatternTDD_r10_PR present; - union MeasSubframePattern_r10__subframePatternTDD_r10_u { - BIT_STRING_t subframeConfig1_5_r10; - BIT_STRING_t subframeConfig0_r10; - BIT_STRING_t subframeConfig6_r10; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } subframePatternTDD_r10; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasSubframePattern_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasSubframePattern_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasSubframePattern_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasSubframePatternConfigNeigh-r10.h b/lte/rrc/include/liblte/rrc/asn/MeasSubframePatternConfigNeigh-r10.h deleted file mode 100644 index e958c3ed0..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasSubframePatternConfigNeigh-r10.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasSubframePatternConfigNeigh_r10_H_ -#define _MeasSubframePatternConfigNeigh_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/MeasSubframePattern-r10.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MeasSubframePatternConfigNeigh_r10_PR { - MeasSubframePatternConfigNeigh_r10_PR_NOTHING, /* No components present */ - MeasSubframePatternConfigNeigh_r10_PR_release, - MeasSubframePatternConfigNeigh_r10_PR_setup -} MeasSubframePatternConfigNeigh_r10_PR; - -/* Forward declarations */ -struct MeasSubframeCellList_r10; - -/* MeasSubframePatternConfigNeigh-r10 */ -typedef struct MeasSubframePatternConfigNeigh_r10 { - MeasSubframePatternConfigNeigh_r10_PR present; - union MeasSubframePatternConfigNeigh_r10_u { - NULL_t release; - struct MeasSubframePatternConfigNeigh_r10__setup { - MeasSubframePattern_r10_t measSubframePatternNeigh_r10; - struct MeasSubframeCellList_r10 *measSubframeCellList_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasSubframePatternConfigNeigh_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasSubframePatternConfigNeigh_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MeasSubframeCellList-r10.h" - -#endif /* _MeasSubframePatternConfigNeigh_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasSubframePatternPCell-r10.h b/lte/rrc/include/liblte/rrc/asn/MeasSubframePatternPCell-r10.h deleted file mode 100644 index 60d38bfbd..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasSubframePatternPCell-r10.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasSubframePatternPCell_r10_H_ -#define _MeasSubframePatternPCell_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/MeasSubframePattern-r10.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MeasSubframePatternPCell_r10_PR { - MeasSubframePatternPCell_r10_PR_NOTHING, /* No components present */ - MeasSubframePatternPCell_r10_PR_release, - MeasSubframePatternPCell_r10_PR_setup -} MeasSubframePatternPCell_r10_PR; - -/* MeasSubframePatternPCell-r10 */ -typedef struct MeasSubframePatternPCell_r10 { - MeasSubframePatternPCell_r10_PR present; - union MeasSubframePatternPCell_r10_u { - NULL_t release; - MeasSubframePattern_r10_t setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasSubframePatternPCell_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasSubframePatternPCell_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasSubframePatternPCell_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasurementReport-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/MeasurementReport-r8-IEs.h deleted file mode 100644 index d62373434..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasurementReport-r8-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasurementReport_r8_IEs_H_ -#define _MeasurementReport_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MeasResults.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MeasurementReport_v8a0_IEs; - -/* MeasurementReport-r8-IEs */ -typedef struct MeasurementReport_r8_IEs { - MeasResults_t measResults; - struct MeasurementReport_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasurementReport_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasurementReport_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MeasurementReport-v8a0-IEs.h" - -#endif /* _MeasurementReport_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasurementReport-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/MeasurementReport-v8a0-IEs.h deleted file mode 100644 index b777ff742..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasurementReport-v8a0-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasurementReport_v8a0_IEs_H_ -#define _MeasurementReport_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MeasurementReport-v8a0-IEs */ -typedef struct MeasurementReport_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct MeasurementReport_v8a0_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasurementReport_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasurementReport_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasurementReport_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MeasurementReport.h b/lte/rrc/include/liblte/rrc/asn/MeasurementReport.h deleted file mode 100644 index 53f9bf12a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MeasurementReport.h +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MeasurementReport_H_ -#define _MeasurementReport_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MeasurementReport-r8-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MeasurementReport__criticalExtensions_PR { - MeasurementReport__criticalExtensions_PR_NOTHING, /* No components present */ - MeasurementReport__criticalExtensions_PR_c1, - MeasurementReport__criticalExtensions_PR_criticalExtensionsFuture -} MeasurementReport__criticalExtensions_PR; -typedef enum MeasurementReport__criticalExtensions__c1_PR { - MeasurementReport__criticalExtensions__c1_PR_NOTHING, /* No components present */ - MeasurementReport__criticalExtensions__c1_PR_measurementReport_r8, - MeasurementReport__criticalExtensions__c1_PR_spare7, - MeasurementReport__criticalExtensions__c1_PR_spare6, - MeasurementReport__criticalExtensions__c1_PR_spare5, - MeasurementReport__criticalExtensions__c1_PR_spare4, - MeasurementReport__criticalExtensions__c1_PR_spare3, - MeasurementReport__criticalExtensions__c1_PR_spare2, - MeasurementReport__criticalExtensions__c1_PR_spare1 -} MeasurementReport__criticalExtensions__c1_PR; - -/* MeasurementReport */ -typedef struct MeasurementReport { - struct MeasurementReport__criticalExtensions { - MeasurementReport__criticalExtensions_PR present; - union MeasurementReport__criticalExtensions_u { - struct MeasurementReport__criticalExtensions__c1 { - MeasurementReport__criticalExtensions__c1_PR present; - union MeasurementReport__criticalExtensions__c1_u { - MeasurementReport_r8_IEs_t measurementReport_r8; - NULL_t spare7; - NULL_t spare6; - NULL_t spare5; - NULL_t spare4; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct MeasurementReport__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasurementReport_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasurementReport; - -#ifdef __cplusplus -} -#endif - -#endif /* _MeasurementReport_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MobilityControlInfo.h b/lte/rrc/include/liblte/rrc/asn/MobilityControlInfo.h deleted file mode 100644 index 32030c66e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MobilityControlInfo.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MobilityControlInfo_H_ -#define _MobilityControlInfo_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PhysCellId.h" -#include "liblte/rrc/asn/AdditionalSpectrumEmission.h" -#include -#include "liblte/rrc/asn/C-RNTI.h" -#include "liblte/rrc/asn/RadioResourceConfigCommon.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MobilityControlInfo__t304 { - MobilityControlInfo__t304_ms50 = 0, - MobilityControlInfo__t304_ms100 = 1, - MobilityControlInfo__t304_ms150 = 2, - MobilityControlInfo__t304_ms200 = 3, - MobilityControlInfo__t304_ms500 = 4, - MobilityControlInfo__t304_ms1000 = 5, - MobilityControlInfo__t304_ms2000 = 6, - MobilityControlInfo__t304_spare1 = 7 -} e_MobilityControlInfo__t304; - -/* Forward declarations */ -struct CarrierFreqEUTRA; -struct CarrierBandwidthEUTRA; -struct RACH_ConfigDedicated; - -/* MobilityControlInfo */ -typedef struct MobilityControlInfo { - PhysCellId_t targetPhysCellId; - struct CarrierFreqEUTRA *carrierFreq /* OPTIONAL */; - struct CarrierBandwidthEUTRA *carrierBandwidth /* OPTIONAL */; - AdditionalSpectrumEmission_t *additionalSpectrumEmission /* OPTIONAL */; - long t304; - C_RNTI_t newUE_Identity; - RadioResourceConfigCommon_t radioResourceConfigCommon; - struct RACH_ConfigDedicated *rach_ConfigDedicated /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MobilityControlInfo_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_t304_6; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_MobilityControlInfo; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CarrierFreqEUTRA.h" -#include "liblte/rrc/asn/CarrierBandwidthEUTRA.h" -#include "liblte/rrc/asn/RACH-ConfigDedicated.h" - -#endif /* _MobilityControlInfo_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-r8-IEs.h deleted file mode 100644 index fcf064807..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-r8-IEs.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MobilityFromEUTRACommand_r8_IEs_H_ -#define _MobilityFromEUTRACommand_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/Handover.h" -#include "liblte/rrc/asn/CellChangeOrder.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MobilityFromEUTRACommand_r8_IEs__purpose_PR { - MobilityFromEUTRACommand_r8_IEs__purpose_PR_NOTHING, /* No components present */ - MobilityFromEUTRACommand_r8_IEs__purpose_PR_handover, - MobilityFromEUTRACommand_r8_IEs__purpose_PR_cellChangeOrder -} MobilityFromEUTRACommand_r8_IEs__purpose_PR; - -/* Forward declarations */ -struct MobilityFromEUTRACommand_v8a0_IEs; - -/* MobilityFromEUTRACommand-r8-IEs */ -typedef struct MobilityFromEUTRACommand_r8_IEs { - BOOLEAN_t cs_FallbackIndicator; - struct MobilityFromEUTRACommand_r8_IEs__purpose { - MobilityFromEUTRACommand_r8_IEs__purpose_PR present; - union MobilityFromEUTRACommand_r8_IEs__purpose_u { - Handover_t handover; - CellChangeOrder_t cellChangeOrder; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } purpose; - struct MobilityFromEUTRACommand_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MobilityFromEUTRACommand_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MobilityFromEUTRACommand_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MobilityFromEUTRACommand-v8a0-IEs.h" - -#endif /* _MobilityFromEUTRACommand_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-r9-IEs.h b/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-r9-IEs.h deleted file mode 100644 index e33c4a795..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-r9-IEs.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MobilityFromEUTRACommand_r9_IEs_H_ -#define _MobilityFromEUTRACommand_r9_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/Handover.h" -#include "liblte/rrc/asn/CellChangeOrder.h" -#include "liblte/rrc/asn/E-CSFB-r9.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MobilityFromEUTRACommand_r9_IEs__purpose_PR { - MobilityFromEUTRACommand_r9_IEs__purpose_PR_NOTHING, /* No components present */ - MobilityFromEUTRACommand_r9_IEs__purpose_PR_handover, - MobilityFromEUTRACommand_r9_IEs__purpose_PR_cellChangeOrder, - MobilityFromEUTRACommand_r9_IEs__purpose_PR_e_CSFB_r9, - /* Extensions may appear below */ - -} MobilityFromEUTRACommand_r9_IEs__purpose_PR; - -/* Forward declarations */ -struct MobilityFromEUTRACommand_v930_IEs; - -/* MobilityFromEUTRACommand-r9-IEs */ -typedef struct MobilityFromEUTRACommand_r9_IEs { - BOOLEAN_t cs_FallbackIndicator; - struct MobilityFromEUTRACommand_r9_IEs__purpose { - MobilityFromEUTRACommand_r9_IEs__purpose_PR present; - union MobilityFromEUTRACommand_r9_IEs__purpose_u { - Handover_t handover; - CellChangeOrder_t cellChangeOrder; - E_CSFB_r9_t e_CSFB_r9; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } purpose; - struct MobilityFromEUTRACommand_v930_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MobilityFromEUTRACommand_r9_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MobilityFromEUTRACommand_r9_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MobilityFromEUTRACommand-v930-IEs.h" - -#endif /* _MobilityFromEUTRACommand_r9_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-v8a0-IEs.h deleted file mode 100644 index 319cccb3f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-v8a0-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MobilityFromEUTRACommand_v8a0_IEs_H_ -#define _MobilityFromEUTRACommand_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MobilityFromEUTRACommand_v8d0_IEs; - -/* MobilityFromEUTRACommand-v8a0-IEs */ -typedef struct MobilityFromEUTRACommand_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct MobilityFromEUTRACommand_v8d0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MobilityFromEUTRACommand_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MobilityFromEUTRACommand_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MobilityFromEUTRACommand-v8d0-IEs.h" - -#endif /* _MobilityFromEUTRACommand_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-v8d0-IEs.h b/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-v8d0-IEs.h deleted file mode 100644 index 54a1e7986..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-v8d0-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MobilityFromEUTRACommand_v8d0_IEs_H_ -#define _MobilityFromEUTRACommand_v8d0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/BandIndicatorGERAN.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MobilityFromEUTRACommand-v8d0-IEs */ -typedef struct MobilityFromEUTRACommand_v8d0_IEs { - BandIndicatorGERAN_t *bandIndicator /* OPTIONAL */; - struct MobilityFromEUTRACommand_v8d0_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MobilityFromEUTRACommand_v8d0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MobilityFromEUTRACommand_v8d0_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _MobilityFromEUTRACommand_v8d0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-v930-IEs.h b/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-v930-IEs.h deleted file mode 100644 index 39c59e1fa..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-v930-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MobilityFromEUTRACommand_v930_IEs_H_ -#define _MobilityFromEUTRACommand_v930_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MobilityFromEUTRACommand_v960_IEs; - -/* MobilityFromEUTRACommand-v930-IEs */ -typedef struct MobilityFromEUTRACommand_v930_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct MobilityFromEUTRACommand_v960_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MobilityFromEUTRACommand_v930_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MobilityFromEUTRACommand_v930_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MobilityFromEUTRACommand-v960-IEs.h" - -#endif /* _MobilityFromEUTRACommand_v930_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-v960-IEs.h b/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-v960-IEs.h deleted file mode 100644 index b2f708d41..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand-v960-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MobilityFromEUTRACommand_v960_IEs_H_ -#define _MobilityFromEUTRACommand_v960_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/BandIndicatorGERAN.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MobilityFromEUTRACommand-v960-IEs */ -typedef struct MobilityFromEUTRACommand_v960_IEs { - BandIndicatorGERAN_t *bandIndicator /* OPTIONAL */; - struct MobilityFromEUTRACommand_v960_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MobilityFromEUTRACommand_v960_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MobilityFromEUTRACommand_v960_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _MobilityFromEUTRACommand_v960_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand.h b/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand.h deleted file mode 100644 index 1bc3285b6..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MobilityFromEUTRACommand.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MobilityFromEUTRACommand_H_ -#define _MobilityFromEUTRACommand_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/MobilityFromEUTRACommand-r8-IEs.h" -#include "liblte/rrc/asn/MobilityFromEUTRACommand-r9-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MobilityFromEUTRACommand__criticalExtensions_PR { - MobilityFromEUTRACommand__criticalExtensions_PR_NOTHING, /* No components present */ - MobilityFromEUTRACommand__criticalExtensions_PR_c1, - MobilityFromEUTRACommand__criticalExtensions_PR_criticalExtensionsFuture -} MobilityFromEUTRACommand__criticalExtensions_PR; -typedef enum MobilityFromEUTRACommand__criticalExtensions__c1_PR { - MobilityFromEUTRACommand__criticalExtensions__c1_PR_NOTHING, /* No components present */ - MobilityFromEUTRACommand__criticalExtensions__c1_PR_mobilityFromEUTRACommand_r8, - MobilityFromEUTRACommand__criticalExtensions__c1_PR_mobilityFromEUTRACommand_r9, - MobilityFromEUTRACommand__criticalExtensions__c1_PR_spare2, - MobilityFromEUTRACommand__criticalExtensions__c1_PR_spare1 -} MobilityFromEUTRACommand__criticalExtensions__c1_PR; - -/* MobilityFromEUTRACommand */ -typedef struct MobilityFromEUTRACommand { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct MobilityFromEUTRACommand__criticalExtensions { - MobilityFromEUTRACommand__criticalExtensions_PR present; - union MobilityFromEUTRACommand__criticalExtensions_u { - struct MobilityFromEUTRACommand__criticalExtensions__c1 { - MobilityFromEUTRACommand__criticalExtensions__c1_PR present; - union MobilityFromEUTRACommand__criticalExtensions__c1_u { - MobilityFromEUTRACommand_r8_IEs_t mobilityFromEUTRACommand_r8; - MobilityFromEUTRACommand_r9_IEs_t mobilityFromEUTRACommand_r9; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct MobilityFromEUTRACommand__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MobilityFromEUTRACommand_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MobilityFromEUTRACommand; - -#ifdef __cplusplus -} -#endif - -#endif /* _MobilityFromEUTRACommand_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MobilityParametersCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/MobilityParametersCDMA2000.h deleted file mode 100644 index 398a626e3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MobilityParametersCDMA2000.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MobilityParametersCDMA2000_H_ -#define _MobilityParametersCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* MobilityParametersCDMA2000 */ -typedef OCTET_STRING_t MobilityParametersCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MobilityParametersCDMA2000; -asn_struct_free_f MobilityParametersCDMA2000_free; -asn_struct_print_f MobilityParametersCDMA2000_print; -asn_constr_check_f MobilityParametersCDMA2000_constraint; -ber_type_decoder_f MobilityParametersCDMA2000_decode_ber; -der_type_encoder_f MobilityParametersCDMA2000_encode_der; -xer_type_decoder_f MobilityParametersCDMA2000_decode_xer; -xer_type_encoder_f MobilityParametersCDMA2000_encode_xer; -per_type_decoder_f MobilityParametersCDMA2000_decode_uper; -per_type_encoder_f MobilityParametersCDMA2000_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _MobilityParametersCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/MobilityStateParameters.h b/lte/rrc/include/liblte/rrc/asn/MobilityStateParameters.h deleted file mode 100644 index 65aa91ef9..000000000 --- a/lte/rrc/include/liblte/rrc/asn/MobilityStateParameters.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _MobilityStateParameters_H_ -#define _MobilityStateParameters_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum MobilityStateParameters__t_Evaluation { - MobilityStateParameters__t_Evaluation_s30 = 0, - MobilityStateParameters__t_Evaluation_s60 = 1, - MobilityStateParameters__t_Evaluation_s120 = 2, - MobilityStateParameters__t_Evaluation_s180 = 3, - MobilityStateParameters__t_Evaluation_s240 = 4, - MobilityStateParameters__t_Evaluation_spare3 = 5, - MobilityStateParameters__t_Evaluation_spare2 = 6, - MobilityStateParameters__t_Evaluation_spare1 = 7 -} e_MobilityStateParameters__t_Evaluation; -typedef enum MobilityStateParameters__t_HystNormal { - MobilityStateParameters__t_HystNormal_s30 = 0, - MobilityStateParameters__t_HystNormal_s60 = 1, - MobilityStateParameters__t_HystNormal_s120 = 2, - MobilityStateParameters__t_HystNormal_s180 = 3, - MobilityStateParameters__t_HystNormal_s240 = 4, - MobilityStateParameters__t_HystNormal_spare3 = 5, - MobilityStateParameters__t_HystNormal_spare2 = 6, - MobilityStateParameters__t_HystNormal_spare1 = 7 -} e_MobilityStateParameters__t_HystNormal; - -/* MobilityStateParameters */ -typedef struct MobilityStateParameters { - long t_Evaluation; - long t_HystNormal; - long n_CellChangeMedium; - long n_CellChangeHigh; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MobilityStateParameters_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_t_Evaluation_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_t_HystNormal_11; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_MobilityStateParameters; - -#ifdef __cplusplus -} -#endif - -#endif /* _MobilityStateParameters_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/N1-PUCCH-AN-PersistentList.h b/lte/rrc/include/liblte/rrc/asn/N1-PUCCH-AN-PersistentList.h deleted file mode 100644 index 029df69c2..000000000 --- a/lte/rrc/include/liblte/rrc/asn/N1-PUCCH-AN-PersistentList.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "EUTRA-RRC-Definitions.asn" - */ - -#ifndef _N1_PUCCH_AN_PersistentList_H_ -#define _N1_PUCCH_AN_PersistentList_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* N1-PUCCH-AN-PersistentList */ -typedef struct N1_PUCCH_AN_PersistentList { - A_SEQUENCE_OF(long) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} N1_PUCCH_AN_PersistentList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_N1_PUCCH_AN_PersistentList; - -#ifdef __cplusplus -} -#endif - -#endif /* _N1_PUCCH_AN_PersistentList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/N1PUCCH-AN-CS-r10.h b/lte/rrc/include/liblte/rrc/asn/N1PUCCH-AN-CS-r10.h deleted file mode 100644 index dc265cba1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/N1PUCCH-AN-CS-r10.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _N1PUCCH_AN_CS_r10_H_ -#define _N1PUCCH_AN_CS_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* N1PUCCH-AN-CS-r10 */ -typedef struct N1PUCCH_AN_CS_r10 { - A_SEQUENCE_OF(long) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} N1PUCCH_AN_CS_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_N1PUCCH_AN_CS_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _N1PUCCH_AN_CS_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/N1PUCCH-AN-PersistentList.h b/lte/rrc/include/liblte/rrc/asn/N1PUCCH-AN-PersistentList.h deleted file mode 100644 index c99811954..000000000 --- a/lte/rrc/include/liblte/rrc/asn/N1PUCCH-AN-PersistentList.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _N1PUCCH_AN_PersistentList_H_ -#define _N1PUCCH_AN_PersistentList_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* N1PUCCH-AN-PersistentList */ -typedef struct N1PUCCH_AN_PersistentList { - A_SEQUENCE_OF(long) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} N1PUCCH_AN_PersistentList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_N1PUCCH_AN_PersistentList; - -#ifdef __cplusplus -} -#endif - -#endif /* _N1PUCCH_AN_PersistentList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/NULL.h b/lte/rrc/include/liblte/rrc/asn/NULL.h deleted file mode 100644 index 474731b07..000000000 --- a/lte/rrc/include/liblte/rrc/asn/NULL.h +++ /dev/null @@ -1,33 +0,0 @@ -/*- - * Copyright (c) 2003 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef ASN_TYPE_NULL_H -#define ASN_TYPE_NULL_H - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* - * The value of the NULL type is meaningless: see BOOLEAN if you want to - * carry true/false semantics. - */ -typedef int NULL_t; - -extern asn_TYPE_descriptor_t asn_DEF_NULL; - -asn_struct_print_f NULL_print; -der_type_encoder_f NULL_encode_der; -xer_type_decoder_f NULL_decode_xer; -xer_type_encoder_f NULL_encode_xer; -per_type_decoder_f NULL_decode_uper; -per_type_encoder_f NULL_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* NULL_H */ diff --git a/lte/rrc/include/liblte/rrc/asn/NativeEnumerated.h b/lte/rrc/include/liblte/rrc/asn/NativeEnumerated.h deleted file mode 100644 index df99050b4..000000000 --- a/lte/rrc/include/liblte/rrc/asn/NativeEnumerated.h +++ /dev/null @@ -1,32 +0,0 @@ -/*- - * Copyright (c) 2004, 2005, 2006 Lev Walkin . - * All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -/* - * This type differs from the standard ENUMERATED in that it is modelled using - * the fixed machine type (long, int, short), so it can hold only values of - * limited length. There is no type (i.e., NativeEnumerated_t, any integer type - * will do). - * This type may be used when integer range is limited by subtype constraints. - */ -#ifndef _NativeEnumerated_H_ -#define _NativeEnumerated_H_ - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -extern asn_TYPE_descriptor_t asn_DEF_NativeEnumerated; - -xer_type_encoder_f NativeEnumerated_encode_xer; -per_type_decoder_f NativeEnumerated_decode_uper; -per_type_encoder_f NativeEnumerated_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _NativeEnumerated_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/NativeInteger.h b/lte/rrc/include/liblte/rrc/asn/NativeInteger.h deleted file mode 100644 index 67bc9d7f0..000000000 --- a/lte/rrc/include/liblte/rrc/asn/NativeInteger.h +++ /dev/null @@ -1,37 +0,0 @@ -/*- - * Copyright (c) 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -/* - * This type differs from the standard INTEGER in that it is modelled using - * the fixed machine type (long, int, short), so it can hold only values of - * limited length. There is no type (i.e., NativeInteger_t, any integer type - * will do). - * This type may be used when integer range is limited by subtype constraints. - */ -#ifndef _NativeInteger_H_ -#define _NativeInteger_H_ - -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -extern asn_TYPE_descriptor_t asn_DEF_NativeInteger; - -asn_struct_free_f NativeInteger_free; -asn_struct_print_f NativeInteger_print; -ber_type_decoder_f NativeInteger_decode_ber; -der_type_encoder_f NativeInteger_encode_der; -xer_type_decoder_f NativeInteger_decode_xer; -xer_type_encoder_f NativeInteger_encode_xer; -per_type_decoder_f NativeInteger_decode_uper; -per_type_encoder_f NativeInteger_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _NativeInteger_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/NeighCellCDMA2000-v920.h b/lte/rrc/include/liblte/rrc/asn/NeighCellCDMA2000-v920.h deleted file mode 100644 index 1345acc43..000000000 --- a/lte/rrc/include/liblte/rrc/asn/NeighCellCDMA2000-v920.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _NeighCellCDMA2000_v920_H_ -#define _NeighCellCDMA2000_v920_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/NeighCellsPerBandclassListCDMA2000-v920.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* NeighCellCDMA2000-v920 */ -typedef struct NeighCellCDMA2000_v920 { - NeighCellsPerBandclassListCDMA2000_v920_t neighCellsPerFreqList_v920; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} NeighCellCDMA2000_v920_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_NeighCellCDMA2000_v920; - -#ifdef __cplusplus -} -#endif - -#endif /* _NeighCellCDMA2000_v920_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/NeighCellCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/NeighCellCDMA2000.h deleted file mode 100644 index 10b650ce2..000000000 --- a/lte/rrc/include/liblte/rrc/asn/NeighCellCDMA2000.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _NeighCellCDMA2000_H_ -#define _NeighCellCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/BandclassCDMA2000.h" -#include "liblte/rrc/asn/NeighCellsPerBandclassListCDMA2000.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* NeighCellCDMA2000 */ -typedef struct NeighCellCDMA2000 { - BandclassCDMA2000_t bandClass; - NeighCellsPerBandclassListCDMA2000_t neighCellsPerFreqList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} NeighCellCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_NeighCellCDMA2000; - -#ifdef __cplusplus -} -#endif - -#endif /* _NeighCellCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/NeighCellConfig.h b/lte/rrc/include/liblte/rrc/asn/NeighCellConfig.h deleted file mode 100644 index 0e879c91d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/NeighCellConfig.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _NeighCellConfig_H_ -#define _NeighCellConfig_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* NeighCellConfig */ -typedef BIT_STRING_t NeighCellConfig_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_NeighCellConfig; -asn_struct_free_f NeighCellConfig_free; -asn_struct_print_f NeighCellConfig_print; -asn_constr_check_f NeighCellConfig_constraint; -ber_type_decoder_f NeighCellConfig_decode_ber; -der_type_encoder_f NeighCellConfig_encode_der; -xer_type_decoder_f NeighCellConfig_decode_xer; -xer_type_encoder_f NeighCellConfig_encode_xer; -per_type_decoder_f NeighCellConfig_decode_uper; -per_type_encoder_f NeighCellConfig_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _NeighCellConfig_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/NeighCellListCDMA2000-v920.h b/lte/rrc/include/liblte/rrc/asn/NeighCellListCDMA2000-v920.h deleted file mode 100644 index c18362a33..000000000 --- a/lte/rrc/include/liblte/rrc/asn/NeighCellListCDMA2000-v920.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _NeighCellListCDMA2000_v920_H_ -#define _NeighCellListCDMA2000_v920_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct NeighCellCDMA2000_v920; - -/* NeighCellListCDMA2000-v920 */ -typedef struct NeighCellListCDMA2000_v920 { - A_SEQUENCE_OF(struct NeighCellCDMA2000_v920) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} NeighCellListCDMA2000_v920_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_NeighCellListCDMA2000_v920; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/NeighCellCDMA2000-v920.h" - -#endif /* _NeighCellListCDMA2000_v920_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/NeighCellListCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/NeighCellListCDMA2000.h deleted file mode 100644 index b316a681c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/NeighCellListCDMA2000.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _NeighCellListCDMA2000_H_ -#define _NeighCellListCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct NeighCellCDMA2000; - -/* NeighCellListCDMA2000 */ -typedef struct NeighCellListCDMA2000 { - A_SEQUENCE_OF(struct NeighCellCDMA2000) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} NeighCellListCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_NeighCellListCDMA2000; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/NeighCellCDMA2000.h" - -#endif /* _NeighCellListCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/NeighCellSI-AcquisitionParameters-r9.h b/lte/rrc/include/liblte/rrc/asn/NeighCellSI-AcquisitionParameters-r9.h deleted file mode 100644 index 6e06a9010..000000000 --- a/lte/rrc/include/liblte/rrc/asn/NeighCellSI-AcquisitionParameters-r9.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _NeighCellSI_AcquisitionParameters_r9_H_ -#define _NeighCellSI_AcquisitionParameters_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum NeighCellSI_AcquisitionParameters_r9__intraFreqSI_AcquisitionForHO_r9 { - NeighCellSI_AcquisitionParameters_r9__intraFreqSI_AcquisitionForHO_r9_supported = 0 -} e_NeighCellSI_AcquisitionParameters_r9__intraFreqSI_AcquisitionForHO_r9; -typedef enum NeighCellSI_AcquisitionParameters_r9__interFreqSI_AcquisitionForHO_r9 { - NeighCellSI_AcquisitionParameters_r9__interFreqSI_AcquisitionForHO_r9_supported = 0 -} e_NeighCellSI_AcquisitionParameters_r9__interFreqSI_AcquisitionForHO_r9; -typedef enum NeighCellSI_AcquisitionParameters_r9__utran_SI_AcquisitionForHO_r9 { - NeighCellSI_AcquisitionParameters_r9__utran_SI_AcquisitionForHO_r9_supported = 0 -} e_NeighCellSI_AcquisitionParameters_r9__utran_SI_AcquisitionForHO_r9; - -/* NeighCellSI-AcquisitionParameters-r9 */ -typedef struct NeighCellSI_AcquisitionParameters_r9 { - long *intraFreqSI_AcquisitionForHO_r9 /* OPTIONAL */; - long *interFreqSI_AcquisitionForHO_r9 /* OPTIONAL */; - long *utran_SI_AcquisitionForHO_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} NeighCellSI_AcquisitionParameters_r9_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_intraFreqSI_AcquisitionForHO_r9_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_interFreqSI_AcquisitionForHO_r9_4; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_utran_SI_AcquisitionForHO_r9_6; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_NeighCellSI_AcquisitionParameters_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _NeighCellSI_AcquisitionParameters_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/NeighCellsPerBandclassCDMA2000-v920.h b/lte/rrc/include/liblte/rrc/asn/NeighCellsPerBandclassCDMA2000-v920.h deleted file mode 100644 index 83d126af3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/NeighCellsPerBandclassCDMA2000-v920.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _NeighCellsPerBandclassCDMA2000_v920_H_ -#define _NeighCellsPerBandclassCDMA2000_v920_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PhysCellIdListCDMA2000-v920.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* NeighCellsPerBandclassCDMA2000-v920 */ -typedef struct NeighCellsPerBandclassCDMA2000_v920 { - PhysCellIdListCDMA2000_v920_t physCellIdList_v920; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} NeighCellsPerBandclassCDMA2000_v920_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_NeighCellsPerBandclassCDMA2000_v920; - -#ifdef __cplusplus -} -#endif - -#endif /* _NeighCellsPerBandclassCDMA2000_v920_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/NeighCellsPerBandclassCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/NeighCellsPerBandclassCDMA2000.h deleted file mode 100644 index 7971738e7..000000000 --- a/lte/rrc/include/liblte/rrc/asn/NeighCellsPerBandclassCDMA2000.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _NeighCellsPerBandclassCDMA2000_H_ -#define _NeighCellsPerBandclassCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ARFCN-ValueCDMA2000.h" -#include "liblte/rrc/asn/PhysCellIdListCDMA2000.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* NeighCellsPerBandclassCDMA2000 */ -typedef struct NeighCellsPerBandclassCDMA2000 { - ARFCN_ValueCDMA2000_t arfcn; - PhysCellIdListCDMA2000_t physCellIdList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} NeighCellsPerBandclassCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_NeighCellsPerBandclassCDMA2000; - -#ifdef __cplusplus -} -#endif - -#endif /* _NeighCellsPerBandclassCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/NeighCellsPerBandclassListCDMA2000-v920.h b/lte/rrc/include/liblte/rrc/asn/NeighCellsPerBandclassListCDMA2000-v920.h deleted file mode 100644 index 3f161b4fc..000000000 --- a/lte/rrc/include/liblte/rrc/asn/NeighCellsPerBandclassListCDMA2000-v920.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _NeighCellsPerBandclassListCDMA2000_v920_H_ -#define _NeighCellsPerBandclassListCDMA2000_v920_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct NeighCellsPerBandclassCDMA2000_v920; - -/* NeighCellsPerBandclassListCDMA2000-v920 */ -typedef struct NeighCellsPerBandclassListCDMA2000_v920 { - A_SEQUENCE_OF(struct NeighCellsPerBandclassCDMA2000_v920) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} NeighCellsPerBandclassListCDMA2000_v920_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_NeighCellsPerBandclassListCDMA2000_v920; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/NeighCellsPerBandclassCDMA2000-v920.h" - -#endif /* _NeighCellsPerBandclassListCDMA2000_v920_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/NeighCellsPerBandclassListCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/NeighCellsPerBandclassListCDMA2000.h deleted file mode 100644 index 69f93678e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/NeighCellsPerBandclassListCDMA2000.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _NeighCellsPerBandclassListCDMA2000_H_ -#define _NeighCellsPerBandclassListCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct NeighCellsPerBandclassCDMA2000; - -/* NeighCellsPerBandclassListCDMA2000 */ -typedef struct NeighCellsPerBandclassListCDMA2000 { - A_SEQUENCE_OF(struct NeighCellsPerBandclassCDMA2000) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} NeighCellsPerBandclassListCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_NeighCellsPerBandclassListCDMA2000; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/NeighCellsPerBandclassCDMA2000.h" - -#endif /* _NeighCellsPerBandclassListCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/NextHopChainingCount.h b/lte/rrc/include/liblte/rrc/asn/NextHopChainingCount.h deleted file mode 100644 index 9f59c692f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/NextHopChainingCount.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _NextHopChainingCount_H_ -#define _NextHopChainingCount_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* NextHopChainingCount */ -typedef long NextHopChainingCount_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_NextHopChainingCount; -asn_struct_free_f NextHopChainingCount_free; -asn_struct_print_f NextHopChainingCount_print; -asn_constr_check_f NextHopChainingCount_constraint; -ber_type_decoder_f NextHopChainingCount_decode_ber; -der_type_encoder_f NextHopChainingCount_encode_der; -xer_type_decoder_f NextHopChainingCount_decode_xer; -xer_type_encoder_f NextHopChainingCount_encode_xer; -per_type_decoder_f NextHopChainingCount_decode_uper; -per_type_encoder_f NextHopChainingCount_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _NextHopChainingCount_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/NonContiguousUL-RA-WithinCC-List-r10.h b/lte/rrc/include/liblte/rrc/asn/NonContiguousUL-RA-WithinCC-List-r10.h deleted file mode 100644 index f02d98fa9..000000000 --- a/lte/rrc/include/liblte/rrc/asn/NonContiguousUL-RA-WithinCC-List-r10.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _NonContiguousUL_RA_WithinCC_List_r10_H_ -#define _NonContiguousUL_RA_WithinCC_List_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct NonContiguousUL_RA_WithinCC_r10; - -/* NonContiguousUL-RA-WithinCC-List-r10 */ -typedef struct NonContiguousUL_RA_WithinCC_List_r10 { - A_SEQUENCE_OF(struct NonContiguousUL_RA_WithinCC_r10) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} NonContiguousUL_RA_WithinCC_List_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_NonContiguousUL_RA_WithinCC_List_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/NonContiguousUL-RA-WithinCC-r10.h" - -#endif /* _NonContiguousUL_RA_WithinCC_List_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/NonContiguousUL-RA-WithinCC-r10.h b/lte/rrc/include/liblte/rrc/asn/NonContiguousUL-RA-WithinCC-r10.h deleted file mode 100644 index c3549335b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/NonContiguousUL-RA-WithinCC-r10.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _NonContiguousUL_RA_WithinCC_r10_H_ -#define _NonContiguousUL_RA_WithinCC_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum NonContiguousUL_RA_WithinCC_r10__nonContiguousUL_RA_WithinCC_Info_r10 { - NonContiguousUL_RA_WithinCC_r10__nonContiguousUL_RA_WithinCC_Info_r10_supported = 0 -} e_NonContiguousUL_RA_WithinCC_r10__nonContiguousUL_RA_WithinCC_Info_r10; - -/* NonContiguousUL-RA-WithinCC-r10 */ -typedef struct NonContiguousUL_RA_WithinCC_r10 { - long *nonContiguousUL_RA_WithinCC_Info_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} NonContiguousUL_RA_WithinCC_r10_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_nonContiguousUL_RA_WithinCC_Info_r10_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_NonContiguousUL_RA_WithinCC_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _NonContiguousUL_RA_WithinCC_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/OCTET_STRING.h b/lte/rrc/include/liblte/rrc/asn/OCTET_STRING.h deleted file mode 100644 index 8ee1666e3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/OCTET_STRING.h +++ /dev/null @@ -1,86 +0,0 @@ -/*- - * Copyright (c) 2003 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _OCTET_STRING_H_ -#define _OCTET_STRING_H_ - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct OCTET_STRING { - uint8_t *buf; /* Buffer with consecutive OCTET_STRING bits */ - int size; /* Size of the buffer */ - - asn_struct_ctx_t _asn_ctx; /* Parsing across buffer boundaries */ -} OCTET_STRING_t; - -extern asn_TYPE_descriptor_t asn_DEF_OCTET_STRING; - -asn_struct_free_f OCTET_STRING_free; -asn_struct_print_f OCTET_STRING_print; -asn_struct_print_f OCTET_STRING_print_utf8; -ber_type_decoder_f OCTET_STRING_decode_ber; -der_type_encoder_f OCTET_STRING_encode_der; -xer_type_decoder_f OCTET_STRING_decode_xer_hex; /* Hexadecimal */ -xer_type_decoder_f OCTET_STRING_decode_xer_binary; /* 01010111010 */ -xer_type_decoder_f OCTET_STRING_decode_xer_utf8; /* ASCII/UTF-8 */ -xer_type_encoder_f OCTET_STRING_encode_xer; -xer_type_encoder_f OCTET_STRING_encode_xer_utf8; -per_type_decoder_f OCTET_STRING_decode_uper; -per_type_encoder_f OCTET_STRING_encode_uper; - -/****************************** - * Handy conversion routines. * - ******************************/ - -/* - * This function clears the previous value of the OCTET STRING (if any) - * and then allocates a new memory with the specified content (str/size). - * If size = -1, the size of the original string will be determined - * using strlen(str). - * If str equals to NULL, the function will silently clear the - * current contents of the OCTET STRING. - * Returns 0 if it was possible to perform operation, -1 otherwise. - */ -int OCTET_STRING_fromBuf(OCTET_STRING_t *s, const char *str, int size); - -/* Handy conversion from the C string into the OCTET STRING. */ -#define OCTET_STRING_fromString(s, str) OCTET_STRING_fromBuf(s, str, -1) - -/* - * Allocate and fill the new OCTET STRING and return a pointer to the newly - * allocated object. NULL is permitted in str: the function will just allocate - * empty OCTET STRING. - */ -OCTET_STRING_t *OCTET_STRING_new_fromBuf(asn_TYPE_descriptor_t *td, - const char *str, int size); - -/**************************** - * Internally useful stuff. * - ****************************/ - -typedef struct asn_OCTET_STRING_specifics_s { - /* - * Target structure description. - */ - int struct_size; /* Size of the structure */ - int ctx_offset; /* Offset of the asn_struct_ctx_t member */ - - enum asn_OS_Subvariant { - ASN_OSUBV_ANY, /* The open type (ANY) */ - ASN_OSUBV_BIT, /* BIT STRING */ - ASN_OSUBV_STR, /* String types, not {BMP,Universal}String */ - ASN_OSUBV_U16, /* 16-bit character (BMPString) */ - ASN_OSUBV_U32 /* 32-bit character (UniversalString) */ - } subvariant; -} asn_OCTET_STRING_specifics_t; - -#ifdef __cplusplus -} -#endif - -#endif /* _OCTET_STRING_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/OtherConfig-r9.h b/lte/rrc/include/liblte/rrc/asn/OtherConfig-r9.h deleted file mode 100644 index 3f759d57c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/OtherConfig-r9.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _OtherConfig_r9_H_ -#define _OtherConfig_r9_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct ReportProximityConfig_r9; - -/* OtherConfig-r9 */ -typedef struct OtherConfig_r9 { - struct ReportProximityConfig_r9 *reportProximityConfig_r9 /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} OtherConfig_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_OtherConfig_r9; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/ReportProximityConfig-r9.h" - -#endif /* _OtherConfig_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/P-Max.h b/lte/rrc/include/liblte/rrc/asn/P-Max.h deleted file mode 100644 index 48a67a5ed..000000000 --- a/lte/rrc/include/liblte/rrc/asn/P-Max.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _P_Max_H_ -#define _P_Max_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* P-Max */ -typedef long P_Max_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_P_Max; -asn_struct_free_f P_Max_free; -asn_struct_print_f P_Max_print; -asn_constr_check_f P_Max_constraint; -ber_type_decoder_f P_Max_decode_ber; -der_type_encoder_f P_Max_encode_der; -xer_type_decoder_f P_Max_decode_xer; -xer_type_encoder_f P_Max_encode_xer; -per_type_decoder_f P_Max_decode_uper; -per_type_encoder_f P_Max_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _P_Max_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PCCH-Config.h b/lte/rrc/include/liblte/rrc/asn/PCCH-Config.h deleted file mode 100644 index 6494af1ff..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PCCH-Config.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PCCH_Config_H_ -#define _PCCH_Config_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PCCH_Config__defaultPagingCycle { - PCCH_Config__defaultPagingCycle_rf32 = 0, - PCCH_Config__defaultPagingCycle_rf64 = 1, - PCCH_Config__defaultPagingCycle_rf128 = 2, - PCCH_Config__defaultPagingCycle_rf256 = 3 -} e_PCCH_Config__defaultPagingCycle; -typedef enum PCCH_Config__nB { - PCCH_Config__nB_fourT = 0, - PCCH_Config__nB_twoT = 1, - PCCH_Config__nB_oneT = 2, - PCCH_Config__nB_halfT = 3, - PCCH_Config__nB_quarterT = 4, - PCCH_Config__nB_oneEighthT = 5, - PCCH_Config__nB_oneSixteenthT = 6, - PCCH_Config__nB_oneThirtySecondT = 7 -} e_PCCH_Config__nB; - -/* PCCH-Config */ -typedef struct PCCH_Config { - long defaultPagingCycle; - long nB; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PCCH_Config_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_defaultPagingCycle_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_nB_7; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_PCCH_Config; - -#ifdef __cplusplus -} -#endif - -#endif /* _PCCH_Config_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PCCH-Message.h b/lte/rrc/include/liblte/rrc/asn/PCCH-Message.h deleted file mode 100644 index 0745fd527..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PCCH-Message.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PCCH_Message_H_ -#define _PCCH_Message_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PCCH-MessageType.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PCCH-Message */ -typedef struct PCCH_Message { - PCCH_MessageType_t message; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PCCH_Message_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PCCH_Message; - -#ifdef __cplusplus -} -#endif - -#endif /* _PCCH_Message_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PCCH-MessageType.h b/lte/rrc/include/liblte/rrc/asn/PCCH-MessageType.h deleted file mode 100644 index 44b8b70e6..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PCCH-MessageType.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PCCH_MessageType_H_ -#define _PCCH_MessageType_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/Paging.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PCCH_MessageType_PR { - PCCH_MessageType_PR_NOTHING, /* No components present */ - PCCH_MessageType_PR_c1, - PCCH_MessageType_PR_messageClassExtension -} PCCH_MessageType_PR; -typedef enum PCCH_MessageType__c1_PR { - PCCH_MessageType__c1_PR_NOTHING, /* No components present */ - PCCH_MessageType__c1_PR_paging -} PCCH_MessageType__c1_PR; - -/* PCCH-MessageType */ -typedef struct PCCH_MessageType { - PCCH_MessageType_PR present; - union PCCH_MessageType_u { - struct PCCH_MessageType__c1 { - PCCH_MessageType__c1_PR present; - union PCCH_MessageType__c1_u { - Paging_t paging; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct PCCH_MessageType__messageClassExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } messageClassExtension; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PCCH_MessageType_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PCCH_MessageType; - -#ifdef __cplusplus -} -#endif - -#endif /* _PCCH_MessageType_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PDCP-Config.h b/lte/rrc/include/liblte/rrc/asn/PDCP-Config.h deleted file mode 100644 index 32f5232c0..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PDCP-Config.h +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PDCP_Config_H_ -#define _PDCP_Config_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PDCP_Config__discardTimer { - PDCP_Config__discardTimer_ms50 = 0, - PDCP_Config__discardTimer_ms100 = 1, - PDCP_Config__discardTimer_ms150 = 2, - PDCP_Config__discardTimer_ms300 = 3, - PDCP_Config__discardTimer_ms500 = 4, - PDCP_Config__discardTimer_ms750 = 5, - PDCP_Config__discardTimer_ms1500 = 6, - PDCP_Config__discardTimer_infinity = 7 -} e_PDCP_Config__discardTimer; -typedef enum PDCP_Config__rlc_UM__pdcp_SN_Size { - PDCP_Config__rlc_UM__pdcp_SN_Size_len7bits = 0, - PDCP_Config__rlc_UM__pdcp_SN_Size_len12bits = 1 -} e_PDCP_Config__rlc_UM__pdcp_SN_Size; -typedef enum PDCP_Config__headerCompression_PR { - PDCP_Config__headerCompression_PR_NOTHING, /* No components present */ - PDCP_Config__headerCompression_PR_notUsed, - PDCP_Config__headerCompression_PR_rohc -} PDCP_Config__headerCompression_PR; -typedef enum PDCP_Config__rn_IntegrityProtection_r10 { - PDCP_Config__rn_IntegrityProtection_r10_enabled = 0 -} e_PDCP_Config__rn_IntegrityProtection_r10; - -/* PDCP-Config */ -typedef struct PDCP_Config { - long *discardTimer /* OPTIONAL */; - struct PDCP_Config__rlc_AM { - BOOLEAN_t statusReportRequired; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *rlc_AM; - struct PDCP_Config__rlc_UM { - long pdcp_SN_Size; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *rlc_UM; - struct PDCP_Config__headerCompression { - PDCP_Config__headerCompression_PR present; - union PDCP_Config__headerCompression_u { - NULL_t notUsed; - struct PDCP_Config__headerCompression__rohc { - long *maxCID /* DEFAULT 15 */; - struct PDCP_Config__headerCompression__rohc__profiles { - BOOLEAN_t profile0x0001; - BOOLEAN_t profile0x0002; - BOOLEAN_t profile0x0003; - BOOLEAN_t profile0x0004; - BOOLEAN_t profile0x0006; - BOOLEAN_t profile0x0101; - BOOLEAN_t profile0x0102; - BOOLEAN_t profile0x0103; - BOOLEAN_t profile0x0104; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } profiles; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } rohc; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } headerCompression; - long *rn_IntegrityProtection_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PDCP_Config_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_discardTimer_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_pdcp_SN_Size_14; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_rn_IntegrityProtection_r10_32; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_PDCP_Config; - -#ifdef __cplusplus -} -#endif - -#endif /* _PDCP_Config_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PDCP-Parameters.h b/lte/rrc/include/liblte/rrc/asn/PDCP-Parameters.h deleted file mode 100644 index be5cb0134..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PDCP-Parameters.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PDCP_Parameters_H_ -#define _PDCP_Parameters_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PDCP_Parameters__maxNumberROHC_ContextSessions { - PDCP_Parameters__maxNumberROHC_ContextSessions_cs2 = 0, - PDCP_Parameters__maxNumberROHC_ContextSessions_cs4 = 1, - PDCP_Parameters__maxNumberROHC_ContextSessions_cs8 = 2, - PDCP_Parameters__maxNumberROHC_ContextSessions_cs12 = 3, - PDCP_Parameters__maxNumberROHC_ContextSessions_cs16 = 4, - PDCP_Parameters__maxNumberROHC_ContextSessions_cs24 = 5, - PDCP_Parameters__maxNumberROHC_ContextSessions_cs32 = 6, - PDCP_Parameters__maxNumberROHC_ContextSessions_cs48 = 7, - PDCP_Parameters__maxNumberROHC_ContextSessions_cs64 = 8, - PDCP_Parameters__maxNumberROHC_ContextSessions_cs128 = 9, - PDCP_Parameters__maxNumberROHC_ContextSessions_cs256 = 10, - PDCP_Parameters__maxNumberROHC_ContextSessions_cs512 = 11, - PDCP_Parameters__maxNumberROHC_ContextSessions_cs1024 = 12, - PDCP_Parameters__maxNumberROHC_ContextSessions_cs16384 = 13, - PDCP_Parameters__maxNumberROHC_ContextSessions_spare2 = 14, - PDCP_Parameters__maxNumberROHC_ContextSessions_spare1 = 15 -} e_PDCP_Parameters__maxNumberROHC_ContextSessions; - -/* PDCP-Parameters */ -typedef struct PDCP_Parameters { - struct PDCP_Parameters__supportedROHC_Profiles { - BOOLEAN_t profile0x0001; - BOOLEAN_t profile0x0002; - BOOLEAN_t profile0x0003; - BOOLEAN_t profile0x0004; - BOOLEAN_t profile0x0006; - BOOLEAN_t profile0x0101; - BOOLEAN_t profile0x0102; - BOOLEAN_t profile0x0103; - BOOLEAN_t profile0x0104; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } supportedROHC_Profiles; - long *maxNumberROHC_ContextSessions /* DEFAULT 4 */; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PDCP_Parameters_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_maxNumberROHC_ContextSessions_12; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_PDCP_Parameters; - -#ifdef __cplusplus -} -#endif - -#endif /* _PDCP_Parameters_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PDSCH-ConfigCommon.h b/lte/rrc/include/liblte/rrc/asn/PDSCH-ConfigCommon.h deleted file mode 100644 index 2e36301d0..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PDSCH-ConfigCommon.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PDSCH_ConfigCommon_H_ -#define _PDSCH_ConfigCommon_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PDSCH-ConfigCommon */ -typedef struct PDSCH_ConfigCommon { - long referenceSignalPower; - long p_b; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PDSCH_ConfigCommon_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PDSCH_ConfigCommon; - -#ifdef __cplusplus -} -#endif - -#endif /* _PDSCH_ConfigCommon_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PDSCH-ConfigDedicated.h b/lte/rrc/include/liblte/rrc/asn/PDSCH-ConfigDedicated.h deleted file mode 100644 index 17ba0748d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PDSCH-ConfigDedicated.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PDSCH_ConfigDedicated_H_ -#define _PDSCH_ConfigDedicated_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PDSCH_ConfigDedicated__p_a { - PDSCH_ConfigDedicated__p_a_dB_6 = 0, - PDSCH_ConfigDedicated__p_a_dB_4dot77 = 1, - PDSCH_ConfigDedicated__p_a_dB_3 = 2, - PDSCH_ConfigDedicated__p_a_dB_1dot77 = 3, - PDSCH_ConfigDedicated__p_a_dB0 = 4, - PDSCH_ConfigDedicated__p_a_dB1 = 5, - PDSCH_ConfigDedicated__p_a_dB2 = 6, - PDSCH_ConfigDedicated__p_a_dB3 = 7 -} e_PDSCH_ConfigDedicated__p_a; - -/* PDSCH-ConfigDedicated */ -typedef struct PDSCH_ConfigDedicated { - long p_a; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PDSCH_ConfigDedicated_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_p_a_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_PDSCH_ConfigDedicated; - -#ifdef __cplusplus -} -#endif - -#endif /* _PDSCH_ConfigDedicated_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PHICH-Config.h b/lte/rrc/include/liblte/rrc/asn/PHICH-Config.h deleted file mode 100644 index 8137ff3d3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PHICH-Config.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PHICH_Config_H_ -#define _PHICH_Config_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PHICH_Config__phich_Duration { - PHICH_Config__phich_Duration_normal = 0, - PHICH_Config__phich_Duration_extended = 1 -} e_PHICH_Config__phich_Duration; -typedef enum PHICH_Config__phich_Resource { - PHICH_Config__phich_Resource_oneSixth = 0, - PHICH_Config__phich_Resource_half = 1, - PHICH_Config__phich_Resource_one = 2, - PHICH_Config__phich_Resource_two = 3 -} e_PHICH_Config__phich_Resource; - -/* PHICH-Config */ -typedef struct PHICH_Config { - long phich_Duration; - long phich_Resource; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PHICH_Config_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_phich_Duration_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_phich_Resource_5; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_PHICH_Config; - -#ifdef __cplusplus -} -#endif - -#endif /* _PHICH_Config_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PLMN-Identity.h b/lte/rrc/include/liblte/rrc/asn/PLMN-Identity.h deleted file mode 100644 index 5656947c9..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PLMN-Identity.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PLMN_Identity_H_ -#define _PLMN_Identity_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MNC.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MCC; - -/* PLMN-Identity */ -typedef struct PLMN_Identity { - struct MCC *mcc /* OPTIONAL */; - MNC_t mnc; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PLMN_Identity_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PLMN_Identity; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MCC.h" - -#endif /* _PLMN_Identity_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PLMN-IdentityInfo.h b/lte/rrc/include/liblte/rrc/asn/PLMN-IdentityInfo.h deleted file mode 100644 index 188160942..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PLMN-IdentityInfo.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PLMN_IdentityInfo_H_ -#define _PLMN_IdentityInfo_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PLMN-Identity.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PLMN_IdentityInfo__cellReservedForOperatorUse { - PLMN_IdentityInfo__cellReservedForOperatorUse_reserved = 0, - PLMN_IdentityInfo__cellReservedForOperatorUse_notReserved = 1 -} e_PLMN_IdentityInfo__cellReservedForOperatorUse; - -/* PLMN-IdentityInfo */ -typedef struct PLMN_IdentityInfo { - PLMN_Identity_t plmn_Identity; - long cellReservedForOperatorUse; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PLMN_IdentityInfo_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_cellReservedForOperatorUse_3; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_PLMN_IdentityInfo; - -#ifdef __cplusplus -} -#endif - -#endif /* _PLMN_IdentityInfo_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PLMN-IdentityList.h b/lte/rrc/include/liblte/rrc/asn/PLMN-IdentityList.h deleted file mode 100644 index b886b2486..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PLMN-IdentityList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PLMN_IdentityList_H_ -#define _PLMN_IdentityList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct PLMN_IdentityInfo; - -/* PLMN-IdentityList */ -typedef struct PLMN_IdentityList { - A_SEQUENCE_OF(struct PLMN_IdentityInfo) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PLMN_IdentityList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PLMN_IdentityList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PLMN-IdentityInfo.h" - -#endif /* _PLMN_IdentityList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PLMN-IdentityList2.h b/lte/rrc/include/liblte/rrc/asn/PLMN-IdentityList2.h deleted file mode 100644 index cc89b2c6f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PLMN-IdentityList2.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PLMN_IdentityList2_H_ -#define _PLMN_IdentityList2_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct PLMN_Identity; - -/* PLMN-IdentityList2 */ -typedef struct PLMN_IdentityList2 { - A_SEQUENCE_OF(struct PLMN_Identity) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PLMN_IdentityList2_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PLMN_IdentityList2; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PLMN-Identity.h" - -#endif /* _PLMN_IdentityList2_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PMCH-Config-r9.h b/lte/rrc/include/liblte/rrc/asn/PMCH-Config-r9.h deleted file mode 100644 index e99955158..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PMCH-Config-r9.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PMCH_Config_r9_H_ -#define _PMCH_Config_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PMCH_Config_r9__mch_SchedulingPeriod_r9 { - PMCH_Config_r9__mch_SchedulingPeriod_r9_rf8 = 0, - PMCH_Config_r9__mch_SchedulingPeriod_r9_rf16 = 1, - PMCH_Config_r9__mch_SchedulingPeriod_r9_rf32 = 2, - PMCH_Config_r9__mch_SchedulingPeriod_r9_rf64 = 3, - PMCH_Config_r9__mch_SchedulingPeriod_r9_rf128 = 4, - PMCH_Config_r9__mch_SchedulingPeriod_r9_rf256 = 5, - PMCH_Config_r9__mch_SchedulingPeriod_r9_rf512 = 6, - PMCH_Config_r9__mch_SchedulingPeriod_r9_rf1024 = 7 -} e_PMCH_Config_r9__mch_SchedulingPeriod_r9; - -/* PMCH-Config-r9 */ -typedef struct PMCH_Config_r9 { - long sf_AllocEnd_r9; - long dataMCS_r9; - long mch_SchedulingPeriod_r9; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PMCH_Config_r9_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_mch_SchedulingPeriod_r9_4; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_PMCH_Config_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _PMCH_Config_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PMCH-Info-r9.h b/lte/rrc/include/liblte/rrc/asn/PMCH-Info-r9.h deleted file mode 100644 index 06dffaaab..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PMCH-Info-r9.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PMCH_Info_r9_H_ -#define _PMCH_Info_r9_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PMCH-Config-r9.h" -#include "liblte/rrc/asn/MBMS-SessionInfoList-r9.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PMCH-Info-r9 */ -typedef struct PMCH_Info_r9 { - PMCH_Config_r9_t pmch_Config_r9; - MBMS_SessionInfoList_r9_t mbms_SessionInfoList_r9; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PMCH_Info_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PMCH_Info_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _PMCH_Info_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PMCH-InfoList-r9.h b/lte/rrc/include/liblte/rrc/asn/PMCH-InfoList-r9.h deleted file mode 100644 index 9de4d0e69..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PMCH-InfoList-r9.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PMCH_InfoList_r9_H_ -#define _PMCH_InfoList_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct PMCH_Info_r9; - -/* PMCH-InfoList-r9 */ -typedef struct PMCH_InfoList_r9 { - A_SEQUENCE_OF(struct PMCH_Info_r9) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PMCH_InfoList_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PMCH_InfoList_r9; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PMCH-Info-r9.h" - -#endif /* _PMCH_InfoList_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PRACH-Config.h b/lte/rrc/include/liblte/rrc/asn/PRACH-Config.h deleted file mode 100644 index 9d588b18b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PRACH-Config.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PRACH_Config_H_ -#define _PRACH_Config_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct PRACH_ConfigInfo; - -/* PRACH-Config */ -typedef struct PRACH_Config { - long rootSequenceIndex; - struct PRACH_ConfigInfo *prach_ConfigInfo /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PRACH_Config_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PRACH_Config; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PRACH-ConfigInfo.h" - -#endif /* _PRACH_Config_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PRACH-ConfigInfo.h b/lte/rrc/include/liblte/rrc/asn/PRACH-ConfigInfo.h deleted file mode 100644 index f83d2b2b3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PRACH-ConfigInfo.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PRACH_ConfigInfo_H_ -#define _PRACH_ConfigInfo_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PRACH-ConfigInfo */ -typedef struct PRACH_ConfigInfo { - long prach_ConfigIndex; - BOOLEAN_t highSpeedFlag; - long zeroCorrelationZoneConfig; - long prach_FreqOffset; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PRACH_ConfigInfo_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PRACH_ConfigInfo; - -#ifdef __cplusplus -} -#endif - -#endif /* _PRACH_ConfigInfo_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PRACH-ConfigSCell-r10.h b/lte/rrc/include/liblte/rrc/asn/PRACH-ConfigSCell-r10.h deleted file mode 100644 index f265c4731..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PRACH-ConfigSCell-r10.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PRACH_ConfigSCell_r10_H_ -#define _PRACH_ConfigSCell_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PRACH-ConfigSCell-r10 */ -typedef struct PRACH_ConfigSCell_r10 { - long prach_ConfigIndex_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PRACH_ConfigSCell_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PRACH_ConfigSCell_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _PRACH_ConfigSCell_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PRACH-ConfigSIB.h b/lte/rrc/include/liblte/rrc/asn/PRACH-ConfigSIB.h deleted file mode 100644 index 7506f5732..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PRACH-ConfigSIB.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PRACH_ConfigSIB_H_ -#define _PRACH_ConfigSIB_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/PRACH-ConfigInfo.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PRACH-ConfigSIB */ -typedef struct PRACH_ConfigSIB { - long rootSequenceIndex; - PRACH_ConfigInfo_t prach_ConfigInfo; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PRACH_ConfigSIB_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PRACH_ConfigSIB; - -#ifdef __cplusplus -} -#endif - -#endif /* _PRACH_ConfigSIB_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PUCCH-ConfigCommon.h b/lte/rrc/include/liblte/rrc/asn/PUCCH-ConfigCommon.h deleted file mode 100644 index 0ebd66372..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PUCCH-ConfigCommon.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PUCCH_ConfigCommon_H_ -#define _PUCCH_ConfigCommon_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PUCCH_ConfigCommon__deltaPUCCH_Shift { - PUCCH_ConfigCommon__deltaPUCCH_Shift_ds1 = 0, - PUCCH_ConfigCommon__deltaPUCCH_Shift_ds2 = 1, - PUCCH_ConfigCommon__deltaPUCCH_Shift_ds3 = 2 -} e_PUCCH_ConfigCommon__deltaPUCCH_Shift; - -/* PUCCH-ConfigCommon */ -typedef struct PUCCH_ConfigCommon { - long deltaPUCCH_Shift; - long nRB_CQI; - long nCS_AN; - long n1PUCCH_AN; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PUCCH_ConfigCommon_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_deltaPUCCH_Shift_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_PUCCH_ConfigCommon; - -#ifdef __cplusplus -} -#endif - -#endif /* _PUCCH_ConfigCommon_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PUCCH-ConfigDedicated-v1020.h b/lte/rrc/include/liblte/rrc/asn/PUCCH-ConfigDedicated-v1020.h deleted file mode 100644 index cf3069905..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PUCCH-ConfigDedicated-v1020.h +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PUCCH_ConfigDedicated_v1020_H_ -#define _PUCCH_ConfigDedicated_v1020_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PUCCH_ConfigDedicated_v1020__pucch_Format_r10_PR { - PUCCH_ConfigDedicated_v1020__pucch_Format_r10_PR_NOTHING, /* No components present */ - PUCCH_ConfigDedicated_v1020__pucch_Format_r10_PR_format3_r10, - PUCCH_ConfigDedicated_v1020__pucch_Format_r10_PR_channelSelection_r10 -} PUCCH_ConfigDedicated_v1020__pucch_Format_r10_PR; -typedef enum PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10_PR { - PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10_PR_NOTHING, /* No components present */ - PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10_PR_release, - PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10_PR_setup -} PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10_PR; -typedef enum PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10_PR { - PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10_PR_NOTHING, /* No components present */ - PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10_PR_release, - PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10_PR_setup -} PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10_PR; -typedef enum PUCCH_ConfigDedicated_v1020__twoAntennaPortActivatedPUCCH_Format1a1b_r10 { - PUCCH_ConfigDedicated_v1020__twoAntennaPortActivatedPUCCH_Format1a1b_r10_true = 0 -} e_PUCCH_ConfigDedicated_v1020__twoAntennaPortActivatedPUCCH_Format1a1b_r10; -typedef enum PUCCH_ConfigDedicated_v1020__simultaneousPUCCH_PUSCH_r10 { - PUCCH_ConfigDedicated_v1020__simultaneousPUCCH_PUSCH_r10_true = 0 -} e_PUCCH_ConfigDedicated_v1020__simultaneousPUCCH_PUSCH_r10; - -/* Forward declarations */ -struct N1PUCCH_AN_CS_r10; - -/* PUCCH-ConfigDedicated-v1020 */ -typedef struct PUCCH_ConfigDedicated_v1020 { - struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10 { - PUCCH_ConfigDedicated_v1020__pucch_Format_r10_PR present; - union PUCCH_ConfigDedicated_v1020__pucch_Format_r10_u { - struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10 { - struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__n3PUCCH_AN_List_r10 { - A_SEQUENCE_OF(long) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *n3PUCCH_AN_List_r10; - struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10 { - PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10_PR present; - union PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10_u { - NULL_t release; - struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10__setup { - struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10__setup__n3PUCCH_AN_ListP1_r10 { - A_SEQUENCE_OF(long) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } n3PUCCH_AN_ListP1_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *twoAntennaPortActivatedPUCCH_Format3_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } format3_r10; - struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10 { - struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10 { - PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10_PR present; - union PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10_u { - NULL_t release; - struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10__setup { - struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10__setup__n1PUCCH_AN_CS_List_r10 { - A_SEQUENCE_OF(struct N1PUCCH_AN_CS_r10) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } n1PUCCH_AN_CS_List_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *n1PUCCH_AN_CS_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } channelSelection_r10; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *pucch_Format_r10; - long *twoAntennaPortActivatedPUCCH_Format1a1b_r10 /* OPTIONAL */; - long *simultaneousPUCCH_PUSCH_r10 /* OPTIONAL */; - long *n1PUCCH_AN_RepP1_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PUCCH_ConfigDedicated_v1020_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_twoAntennaPortActivatedPUCCH_Format1a1b_r10_17; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_simultaneousPUCCH_PUSCH_r10_19; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_PUCCH_ConfigDedicated_v1020; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/N1PUCCH-AN-CS-r10.h" - -#endif /* _PUCCH_ConfigDedicated_v1020_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PUCCH-ConfigDedicated.h b/lte/rrc/include/liblte/rrc/asn/PUCCH-ConfigDedicated.h deleted file mode 100644 index 9cf886d53..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PUCCH-ConfigDedicated.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PUCCH_ConfigDedicated_H_ -#define _PUCCH_ConfigDedicated_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PUCCH_ConfigDedicated__ackNackRepetition_PR { - PUCCH_ConfigDedicated__ackNackRepetition_PR_NOTHING, /* No components present */ - PUCCH_ConfigDedicated__ackNackRepetition_PR_release, - PUCCH_ConfigDedicated__ackNackRepetition_PR_setup -} PUCCH_ConfigDedicated__ackNackRepetition_PR; -typedef enum PUCCH_ConfigDedicated__ackNackRepetition__setup__repetitionFactor { - PUCCH_ConfigDedicated__ackNackRepetition__setup__repetitionFactor_n2 = 0, - PUCCH_ConfigDedicated__ackNackRepetition__setup__repetitionFactor_n4 = 1, - PUCCH_ConfigDedicated__ackNackRepetition__setup__repetitionFactor_n6 = 2, - PUCCH_ConfigDedicated__ackNackRepetition__setup__repetitionFactor_spare1 = 3 -} e_PUCCH_ConfigDedicated__ackNackRepetition__setup__repetitionFactor; -typedef enum PUCCH_ConfigDedicated__tdd_AckNackFeedbackMode { - PUCCH_ConfigDedicated__tdd_AckNackFeedbackMode_bundling = 0, - PUCCH_ConfigDedicated__tdd_AckNackFeedbackMode_multiplexing = 1 -} e_PUCCH_ConfigDedicated__tdd_AckNackFeedbackMode; - -/* PUCCH-ConfigDedicated */ -typedef struct PUCCH_ConfigDedicated { - struct PUCCH_ConfigDedicated__ackNackRepetition { - PUCCH_ConfigDedicated__ackNackRepetition_PR present; - union PUCCH_ConfigDedicated__ackNackRepetition_u { - NULL_t release; - struct PUCCH_ConfigDedicated__ackNackRepetition__setup { - long repetitionFactor; - long n1PUCCH_AN_Rep; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } ackNackRepetition; - long *tdd_AckNackFeedbackMode /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PUCCH_ConfigDedicated_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_repetitionFactor_5; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_tdd_AckNackFeedbackMode_11; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_PUCCH_ConfigDedicated; - -#ifdef __cplusplus -} -#endif - -#endif /* _PUCCH_ConfigDedicated_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PUSCH-CAConfigDedicated-vlola.h b/lte/rrc/include/liblte/rrc/asn/PUSCH-CAConfigDedicated-vlola.h deleted file mode 100644 index 0e77a3bb7..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PUSCH-CAConfigDedicated-vlola.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PUSCH_CAConfigDedicated_vlola_H_ -#define _PUSCH_CAConfigDedicated_vlola_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/BetaOffset-CA-Index.h" -#include "liblte/rrc/asn/CShift.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PUSCH-CAConfigDedicated-vlola */ -typedef struct PUSCH_CAConfigDedicated_vlola { - BetaOffset_CA_Index_t *betaOffset_CA_Index /* OPTIONAL */; - CShift_t *cShift /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PUSCH_CAConfigDedicated_vlola_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PUSCH_CAConfigDedicated_vlola; - -#ifdef __cplusplus -} -#endif - -#endif /* _PUSCH_CAConfigDedicated_vlola_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PUSCH-ConfigCommon.h b/lte/rrc/include/liblte/rrc/asn/PUSCH-ConfigCommon.h deleted file mode 100644 index c00559637..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PUSCH-ConfigCommon.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PUSCH_ConfigCommon_H_ -#define _PUSCH_ConfigCommon_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/UL-ReferenceSignalsPUSCH.h" -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PUSCH_ConfigCommon__pusch_ConfigBasic__hoppingMode { - PUSCH_ConfigCommon__pusch_ConfigBasic__hoppingMode_interSubFrame = 0, - PUSCH_ConfigCommon__pusch_ConfigBasic__hoppingMode_intraAndInterSubFrame = 1 -} e_PUSCH_ConfigCommon__pusch_ConfigBasic__hoppingMode; - -/* PUSCH-ConfigCommon */ -typedef struct PUSCH_ConfigCommon { - struct PUSCH_ConfigCommon__pusch_ConfigBasic { - long n_SB; - long hoppingMode; - long pusch_HoppingOffset; - BOOLEAN_t enable64QAM; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } pusch_ConfigBasic; - UL_ReferenceSignalsPUSCH_t ul_ReferenceSignalsPUSCH; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PUSCH_ConfigCommon_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_hoppingMode_4; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_PUSCH_ConfigCommon; - -#ifdef __cplusplus -} -#endif - -#endif /* _PUSCH_ConfigCommon_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PUSCH-ConfigDedicated-v1020.h b/lte/rrc/include/liblte/rrc/asn/PUSCH-ConfigDedicated-v1020.h deleted file mode 100644 index f959e6b7f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PUSCH-ConfigDedicated-v1020.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PUSCH_ConfigDedicated_v1020_H_ -#define _PUSCH_ConfigDedicated_v1020_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PUSCH_ConfigDedicated_v1020__groupHoppingDisabled_r10 { - PUSCH_ConfigDedicated_v1020__groupHoppingDisabled_r10_true = 0 -} e_PUSCH_ConfigDedicated_v1020__groupHoppingDisabled_r10; -typedef enum PUSCH_ConfigDedicated_v1020__dmrs_WithOCC_Activated_r10 { - PUSCH_ConfigDedicated_v1020__dmrs_WithOCC_Activated_r10_true = 0 -} e_PUSCH_ConfigDedicated_v1020__dmrs_WithOCC_Activated_r10; - -/* PUSCH-ConfigDedicated-v1020 */ -typedef struct PUSCH_ConfigDedicated_v1020 { - struct PUSCH_ConfigDedicated_v1020__betaOffsetMC_r10 { - long betaOffset_ACK_Index_MC_r10; - long betaOffset_RI_Index_MC_r10; - long betaOffset_CQI_Index_MC_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *betaOffsetMC_r10; - long *groupHoppingDisabled_r10 /* OPTIONAL */; - long *dmrs_WithOCC_Activated_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PUSCH_ConfigDedicated_v1020_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_groupHoppingDisabled_r10_6; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_dmrs_WithOCC_Activated_r10_8; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_PUSCH_ConfigDedicated_v1020; - -#ifdef __cplusplus -} -#endif - -#endif /* _PUSCH_ConfigDedicated_v1020_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PUSCH-ConfigDedicated.h b/lte/rrc/include/liblte/rrc/asn/PUSCH-ConfigDedicated.h deleted file mode 100644 index 89b0eeae7..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PUSCH-ConfigDedicated.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PUSCH_ConfigDedicated_H_ -#define _PUSCH_ConfigDedicated_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PUSCH-ConfigDedicated */ -typedef struct PUSCH_ConfigDedicated { - long betaOffset_ACK_Index; - long betaOffset_RI_Index; - long betaOffset_CQI_Index; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PUSCH_ConfigDedicated_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PUSCH_ConfigDedicated; - -#ifdef __cplusplus -} -#endif - -#endif /* _PUSCH_ConfigDedicated_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PUSCH-ConfigDedicatedSCell-r10.h b/lte/rrc/include/liblte/rrc/asn/PUSCH-ConfigDedicatedSCell-r10.h deleted file mode 100644 index 8443b2779..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PUSCH-ConfigDedicatedSCell-r10.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PUSCH_ConfigDedicatedSCell_r10_H_ -#define _PUSCH_ConfigDedicatedSCell_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PUSCH_ConfigDedicatedSCell_r10__groupHoppingDisabled_r10 { - PUSCH_ConfigDedicatedSCell_r10__groupHoppingDisabled_r10_true = 0 -} e_PUSCH_ConfigDedicatedSCell_r10__groupHoppingDisabled_r10; -typedef enum PUSCH_ConfigDedicatedSCell_r10__dmrs_WithOCC_Activated_r10 { - PUSCH_ConfigDedicatedSCell_r10__dmrs_WithOCC_Activated_r10_true = 0 -} e_PUSCH_ConfigDedicatedSCell_r10__dmrs_WithOCC_Activated_r10; - -/* PUSCH-ConfigDedicatedSCell-r10 */ -typedef struct PUSCH_ConfigDedicatedSCell_r10 { - long *groupHoppingDisabled_r10 /* OPTIONAL */; - long *dmrs_WithOCC_Activated_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PUSCH_ConfigDedicatedSCell_r10_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_groupHoppingDisabled_r10_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_dmrs_WithOCC_Activated_r10_4; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_PUSCH_ConfigDedicatedSCell_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _PUSCH_ConfigDedicatedSCell_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/Paging-v890-IEs.h b/lte/rrc/include/liblte/rrc/asn/Paging-v890-IEs.h deleted file mode 100644 index 1182ded1d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/Paging-v890-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _Paging_v890_IEs_H_ -#define _Paging_v890_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct Paging_v920_IEs; - -/* Paging-v890-IEs */ -typedef struct Paging_v890_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct Paging_v920_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Paging_v890_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Paging_v890_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/Paging-v920-IEs.h" - -#endif /* _Paging_v890_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/Paging-v920-IEs.h b/lte/rrc/include/liblte/rrc/asn/Paging-v920-IEs.h deleted file mode 100644 index 082c25b1f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/Paging-v920-IEs.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _Paging_v920_IEs_H_ -#define _Paging_v920_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum Paging_v920_IEs__cmas_Indication_r9 { - Paging_v920_IEs__cmas_Indication_r9_true = 0 -} e_Paging_v920_IEs__cmas_Indication_r9; - -/* Paging-v920-IEs */ -typedef struct Paging_v920_IEs { - long *cmas_Indication_r9 /* OPTIONAL */; - struct Paging_v920_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Paging_v920_IEs_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_cmas_Indication_r9_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_Paging_v920_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _Paging_v920_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/Paging.h b/lte/rrc/include/liblte/rrc/asn/Paging.h deleted file mode 100644 index 28a862980..000000000 --- a/lte/rrc/include/liblte/rrc/asn/Paging.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _Paging_H_ -#define _Paging_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum Paging__systemInfoModification { - Paging__systemInfoModification_true = 0 -} e_Paging__systemInfoModification; -typedef enum Paging__etws_Indication { - Paging__etws_Indication_true = 0 -} e_Paging__etws_Indication; - -/* Forward declarations */ -struct PagingRecordList; -struct Paging_v890_IEs; - -/* Paging */ -typedef struct Paging { - struct PagingRecordList *pagingRecordList /* OPTIONAL */; - long *systemInfoModification /* OPTIONAL */; - long *etws_Indication /* OPTIONAL */; - struct Paging_v890_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Paging_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_systemInfoModification_3; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_etws_Indication_5; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_Paging; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PagingRecordList.h" -#include "liblte/rrc/asn/Paging-v890-IEs.h" - -#endif /* _Paging_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PagingRecord.h b/lte/rrc/include/liblte/rrc/asn/PagingRecord.h deleted file mode 100644 index bed468d77..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PagingRecord.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PagingRecord_H_ -#define _PagingRecord_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PagingUE-Identity.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PagingRecord__cn_Domain { - PagingRecord__cn_Domain_ps = 0, - PagingRecord__cn_Domain_cs = 1 -} e_PagingRecord__cn_Domain; - -/* PagingRecord */ -typedef struct PagingRecord { - PagingUE_Identity_t ue_Identity; - long cn_Domain; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PagingRecord_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_cn_Domain_3; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_PagingRecord; - -#ifdef __cplusplus -} -#endif - -#endif /* _PagingRecord_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PagingRecordList.h b/lte/rrc/include/liblte/rrc/asn/PagingRecordList.h deleted file mode 100644 index c88532a47..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PagingRecordList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PagingRecordList_H_ -#define _PagingRecordList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct PagingRecord; - -/* PagingRecordList */ -typedef struct PagingRecordList { - A_SEQUENCE_OF(struct PagingRecord) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PagingRecordList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PagingRecordList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PagingRecord.h" - -#endif /* _PagingRecordList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PagingUE-Identity.h b/lte/rrc/include/liblte/rrc/asn/PagingUE-Identity.h deleted file mode 100644 index a8f762ea5..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PagingUE-Identity.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PagingUE_Identity_H_ -#define _PagingUE_Identity_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/S-TMSI.h" -#include "liblte/rrc/asn/IMSI.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PagingUE_Identity_PR { - PagingUE_Identity_PR_NOTHING, /* No components present */ - PagingUE_Identity_PR_s_TMSI, - PagingUE_Identity_PR_imsi, - /* Extensions may appear below */ - -} PagingUE_Identity_PR; - -/* PagingUE-Identity */ -typedef struct PagingUE_Identity { - PagingUE_Identity_PR present; - union PagingUE_Identity_u { - S_TMSI_t s_TMSI; - IMSI_t imsi; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PagingUE_Identity_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PagingUE_Identity; - -#ifdef __cplusplus -} -#endif - -#endif /* _PagingUE_Identity_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PhyLayerParameters-v1020.h b/lte/rrc/include/liblte/rrc/asn/PhyLayerParameters-v1020.h deleted file mode 100644 index 8d1922ad8..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PhyLayerParameters-v1020.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PhyLayerParameters_v1020_H_ -#define _PhyLayerParameters_v1020_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PhyLayerParameters_v1020__twoAntennaPortsForPUCCH_r10 { - PhyLayerParameters_v1020__twoAntennaPortsForPUCCH_r10_supported = 0 -} e_PhyLayerParameters_v1020__twoAntennaPortsForPUCCH_r10; -typedef enum PhyLayerParameters_v1020__tm9_With_8Tx_FDD_r10 { - PhyLayerParameters_v1020__tm9_With_8Tx_FDD_r10_supported = 0 -} e_PhyLayerParameters_v1020__tm9_With_8Tx_FDD_r10; -typedef enum PhyLayerParameters_v1020__pmi_Disabling_r10 { - PhyLayerParameters_v1020__pmi_Disabling_r10_supported = 0 -} e_PhyLayerParameters_v1020__pmi_Disabling_r10; -typedef enum PhyLayerParameters_v1020__crossCarrierScheduling_r10 { - PhyLayerParameters_v1020__crossCarrierScheduling_r10_supported = 0 -} e_PhyLayerParameters_v1020__crossCarrierScheduling_r10; -typedef enum PhyLayerParameters_v1020__simultaneousPUCCH_PUSCH_r10 { - PhyLayerParameters_v1020__simultaneousPUCCH_PUSCH_r10_supported = 0 -} e_PhyLayerParameters_v1020__simultaneousPUCCH_PUSCH_r10; -typedef enum PhyLayerParameters_v1020__multiClusterPUSCH_WithinCC_r10 { - PhyLayerParameters_v1020__multiClusterPUSCH_WithinCC_r10_supported = 0 -} e_PhyLayerParameters_v1020__multiClusterPUSCH_WithinCC_r10; - -/* Forward declarations */ -struct NonContiguousUL_RA_WithinCC_List_r10; - -/* PhyLayerParameters-v1020 */ -typedef struct PhyLayerParameters_v1020 { - long *twoAntennaPortsForPUCCH_r10 /* OPTIONAL */; - long *tm9_With_8Tx_FDD_r10 /* OPTIONAL */; - long *pmi_Disabling_r10 /* OPTIONAL */; - long *crossCarrierScheduling_r10 /* OPTIONAL */; - long *simultaneousPUCCH_PUSCH_r10 /* OPTIONAL */; - long *multiClusterPUSCH_WithinCC_r10 /* OPTIONAL */; - struct NonContiguousUL_RA_WithinCC_List_r10 *nonContiguousUL_RA_WithinCC_List_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PhyLayerParameters_v1020_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_twoAntennaPortsForPUCCH_r10_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_tm9_With_8Tx_FDD_r10_4; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_pmi_Disabling_r10_6; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_crossCarrierScheduling_r10_8; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_simultaneousPUCCH_PUSCH_r10_10; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_multiClusterPUSCH_WithinCC_r10_12; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_PhyLayerParameters_v1020; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/NonContiguousUL-RA-WithinCC-List-r10.h" - -#endif /* _PhyLayerParameters_v1020_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PhyLayerParameters-v920.h b/lte/rrc/include/liblte/rrc/asn/PhyLayerParameters-v920.h deleted file mode 100644 index 86730be11..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PhyLayerParameters-v920.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PhyLayerParameters_v920_H_ -#define _PhyLayerParameters_v920_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PhyLayerParameters_v920__enhancedDualLayerFDD_r9 { - PhyLayerParameters_v920__enhancedDualLayerFDD_r9_supported = 0 -} e_PhyLayerParameters_v920__enhancedDualLayerFDD_r9; -typedef enum PhyLayerParameters_v920__enhancedDualLayerTDD_r9 { - PhyLayerParameters_v920__enhancedDualLayerTDD_r9_supported = 0 -} e_PhyLayerParameters_v920__enhancedDualLayerTDD_r9; - -/* PhyLayerParameters-v920 */ -typedef struct PhyLayerParameters_v920 { - long *enhancedDualLayerFDD_r9 /* OPTIONAL */; - long *enhancedDualLayerTDD_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PhyLayerParameters_v920_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_enhancedDualLayerFDD_r9_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_enhancedDualLayerTDD_r9_4; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_PhyLayerParameters_v920; - -#ifdef __cplusplus -} -#endif - -#endif /* _PhyLayerParameters_v920_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PhyLayerParameters.h b/lte/rrc/include/liblte/rrc/asn/PhyLayerParameters.h deleted file mode 100644 index f67098fc4..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PhyLayerParameters.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PhyLayerParameters_H_ -#define _PhyLayerParameters_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PhyLayerParameters */ -typedef struct PhyLayerParameters { - BOOLEAN_t ue_TxAntennaSelectionSupported; - BOOLEAN_t ue_SpecificRefSigsSupported; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PhyLayerParameters_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PhyLayerParameters; - -#ifdef __cplusplus -} -#endif - -#endif /* _PhyLayerParameters_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PhysCellId.h b/lte/rrc/include/liblte/rrc/asn/PhysCellId.h deleted file mode 100644 index 2786a7b78..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PhysCellId.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PhysCellId_H_ -#define _PhysCellId_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PhysCellId */ -typedef long PhysCellId_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PhysCellId; -asn_struct_free_f PhysCellId_free; -asn_struct_print_f PhysCellId_print; -asn_constr_check_f PhysCellId_constraint; -ber_type_decoder_f PhysCellId_decode_ber; -der_type_encoder_f PhysCellId_encode_der; -xer_type_decoder_f PhysCellId_decode_xer; -xer_type_encoder_f PhysCellId_encode_xer; -per_type_decoder_f PhysCellId_decode_uper; -per_type_encoder_f PhysCellId_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _PhysCellId_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PhysCellIdCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/PhysCellIdCDMA2000.h deleted file mode 100644 index ed089af43..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PhysCellIdCDMA2000.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PhysCellIdCDMA2000_H_ -#define _PhysCellIdCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PhysCellIdCDMA2000 */ -typedef long PhysCellIdCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PhysCellIdCDMA2000; -asn_struct_free_f PhysCellIdCDMA2000_free; -asn_struct_print_f PhysCellIdCDMA2000_print; -asn_constr_check_f PhysCellIdCDMA2000_constraint; -ber_type_decoder_f PhysCellIdCDMA2000_decode_ber; -der_type_encoder_f PhysCellIdCDMA2000_encode_der; -xer_type_decoder_f PhysCellIdCDMA2000_decode_xer; -xer_type_encoder_f PhysCellIdCDMA2000_encode_xer; -per_type_decoder_f PhysCellIdCDMA2000_decode_uper; -per_type_encoder_f PhysCellIdCDMA2000_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _PhysCellIdCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PhysCellIdGERAN.h b/lte/rrc/include/liblte/rrc/asn/PhysCellIdGERAN.h deleted file mode 100644 index 43b0e309f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PhysCellIdGERAN.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PhysCellIdGERAN_H_ -#define _PhysCellIdGERAN_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PhysCellIdGERAN */ -typedef struct PhysCellIdGERAN { - BIT_STRING_t networkColourCode; - BIT_STRING_t baseStationColourCode; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PhysCellIdGERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PhysCellIdGERAN; - -#ifdef __cplusplus -} -#endif - -#endif /* _PhysCellIdGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PhysCellIdListCDMA2000-v920.h b/lte/rrc/include/liblte/rrc/asn/PhysCellIdListCDMA2000-v920.h deleted file mode 100644 index d2c41c8d1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PhysCellIdListCDMA2000-v920.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PhysCellIdListCDMA2000_v920_H_ -#define _PhysCellIdListCDMA2000_v920_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PhysCellIdCDMA2000.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PhysCellIdListCDMA2000-v920 */ -typedef struct PhysCellIdListCDMA2000_v920 { - A_SEQUENCE_OF(PhysCellIdCDMA2000_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PhysCellIdListCDMA2000_v920_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PhysCellIdListCDMA2000_v920; - -#ifdef __cplusplus -} -#endif - -#endif /* _PhysCellIdListCDMA2000_v920_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PhysCellIdListCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/PhysCellIdListCDMA2000.h deleted file mode 100644 index a2fb3995e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PhysCellIdListCDMA2000.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PhysCellIdListCDMA2000_H_ -#define _PhysCellIdListCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PhysCellIdCDMA2000.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PhysCellIdListCDMA2000 */ -typedef struct PhysCellIdListCDMA2000 { - A_SEQUENCE_OF(PhysCellIdCDMA2000_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PhysCellIdListCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PhysCellIdListCDMA2000; - -#ifdef __cplusplus -} -#endif - -#endif /* _PhysCellIdListCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PhysCellIdRange.h b/lte/rrc/include/liblte/rrc/asn/PhysCellIdRange.h deleted file mode 100644 index c96075c3f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PhysCellIdRange.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PhysCellIdRange_H_ -#define _PhysCellIdRange_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PhysCellId.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PhysCellIdRange__range { - PhysCellIdRange__range_n4 = 0, - PhysCellIdRange__range_n8 = 1, - PhysCellIdRange__range_n12 = 2, - PhysCellIdRange__range_n16 = 3, - PhysCellIdRange__range_n24 = 4, - PhysCellIdRange__range_n32 = 5, - PhysCellIdRange__range_n48 = 6, - PhysCellIdRange__range_n64 = 7, - PhysCellIdRange__range_n84 = 8, - PhysCellIdRange__range_n96 = 9, - PhysCellIdRange__range_n128 = 10, - PhysCellIdRange__range_n168 = 11, - PhysCellIdRange__range_n252 = 12, - PhysCellIdRange__range_n504 = 13, - PhysCellIdRange__range_spare2 = 14, - PhysCellIdRange__range_spare1 = 15 -} e_PhysCellIdRange__range; - -/* PhysCellIdRange */ -typedef struct PhysCellIdRange { - PhysCellId_t start; - long *range /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PhysCellIdRange_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_range_3; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_PhysCellIdRange; - -#ifdef __cplusplus -} -#endif - -#endif /* _PhysCellIdRange_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PhysCellIdRangeUTRA-FDD-r9.h b/lte/rrc/include/liblte/rrc/asn/PhysCellIdRangeUTRA-FDD-r9.h deleted file mode 100644 index 55b8ff775..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PhysCellIdRangeUTRA-FDD-r9.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PhysCellIdRangeUTRA_FDD_r9_H_ -#define _PhysCellIdRangeUTRA_FDD_r9_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PhysCellIdUTRA-FDD.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PhysCellIdRangeUTRA-FDD-r9 */ -typedef struct PhysCellIdRangeUTRA_FDD_r9 { - PhysCellIdUTRA_FDD_t start_r9; - long *range_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PhysCellIdRangeUTRA_FDD_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PhysCellIdRangeUTRA_FDD_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _PhysCellIdRangeUTRA_FDD_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PhysCellIdRangeUTRA-FDDList-r9.h b/lte/rrc/include/liblte/rrc/asn/PhysCellIdRangeUTRA-FDDList-r9.h deleted file mode 100644 index e143fa931..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PhysCellIdRangeUTRA-FDDList-r9.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PhysCellIdRangeUTRA_FDDList_r9_H_ -#define _PhysCellIdRangeUTRA_FDDList_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct PhysCellIdRangeUTRA_FDD_r9; - -/* PhysCellIdRangeUTRA-FDDList-r9 */ -typedef struct PhysCellIdRangeUTRA_FDDList_r9 { - A_SEQUENCE_OF(struct PhysCellIdRangeUTRA_FDD_r9) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PhysCellIdRangeUTRA_FDDList_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PhysCellIdRangeUTRA_FDDList_r9; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PhysCellIdRangeUTRA-FDD-r9.h" - -#endif /* _PhysCellIdRangeUTRA_FDDList_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PhysCellIdUTRA-FDD.h b/lte/rrc/include/liblte/rrc/asn/PhysCellIdUTRA-FDD.h deleted file mode 100644 index 09bfa9520..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PhysCellIdUTRA-FDD.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PhysCellIdUTRA_FDD_H_ -#define _PhysCellIdUTRA_FDD_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PhysCellIdUTRA-FDD */ -typedef long PhysCellIdUTRA_FDD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PhysCellIdUTRA_FDD; -asn_struct_free_f PhysCellIdUTRA_FDD_free; -asn_struct_print_f PhysCellIdUTRA_FDD_print; -asn_constr_check_f PhysCellIdUTRA_FDD_constraint; -ber_type_decoder_f PhysCellIdUTRA_FDD_decode_ber; -der_type_encoder_f PhysCellIdUTRA_FDD_encode_der; -xer_type_decoder_f PhysCellIdUTRA_FDD_decode_xer; -xer_type_encoder_f PhysCellIdUTRA_FDD_encode_xer; -per_type_decoder_f PhysCellIdUTRA_FDD_decode_uper; -per_type_encoder_f PhysCellIdUTRA_FDD_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _PhysCellIdUTRA_FDD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PhysCellIdUTRA-TDD.h b/lte/rrc/include/liblte/rrc/asn/PhysCellIdUTRA-TDD.h deleted file mode 100644 index ce73ff16f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PhysCellIdUTRA-TDD.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PhysCellIdUTRA_TDD_H_ -#define _PhysCellIdUTRA_TDD_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PhysCellIdUTRA-TDD */ -typedef long PhysCellIdUTRA_TDD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PhysCellIdUTRA_TDD; -asn_struct_free_f PhysCellIdUTRA_TDD_free; -asn_struct_print_f PhysCellIdUTRA_TDD_print; -asn_constr_check_f PhysCellIdUTRA_TDD_constraint; -ber_type_decoder_f PhysCellIdUTRA_TDD_decode_ber; -der_type_encoder_f PhysCellIdUTRA_TDD_encode_der; -xer_type_decoder_f PhysCellIdUTRA_TDD_decode_xer; -xer_type_encoder_f PhysCellIdUTRA_TDD_encode_xer; -per_type_decoder_f PhysCellIdUTRA_TDD_decode_uper; -per_type_encoder_f PhysCellIdUTRA_TDD_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _PhysCellIdUTRA_TDD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PhysicalConfigDedicated.h b/lte/rrc/include/liblte/rrc/asn/PhysicalConfigDedicated.h deleted file mode 100644 index 904a95b7d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PhysicalConfigDedicated.h +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PhysicalConfigDedicated_H_ -#define _PhysicalConfigDedicated_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/AntennaInfoDedicated.h" -#include -#include -#include "liblte/rrc/asn/AntennaInfoDedicated-r10.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PhysicalConfigDedicated__antennaInfo_PR { - PhysicalConfigDedicated__antennaInfo_PR_NOTHING, /* No components present */ - PhysicalConfigDedicated__antennaInfo_PR_explicitValue, - PhysicalConfigDedicated__antennaInfo_PR_defaultValue -} PhysicalConfigDedicated__antennaInfo_PR; -typedef enum PhysicalConfigDedicated__antennaInfo_r10_PR { - PhysicalConfigDedicated__antennaInfo_r10_PR_NOTHING, /* No components present */ - PhysicalConfigDedicated__antennaInfo_r10_PR_explicitValue_r10, - PhysicalConfigDedicated__antennaInfo_r10_PR_defaultValue -} PhysicalConfigDedicated__antennaInfo_r10_PR; - -/* Forward declarations */ -struct PDSCH_ConfigDedicated; -struct PUCCH_ConfigDedicated; -struct PUSCH_ConfigDedicated; -struct UplinkPowerControlDedicated; -struct TPC_PDCCH_Config; -struct CQI_ReportConfig; -struct SoundingRS_UL_ConfigDedicated; -struct SchedulingRequestConfig; -struct CQI_ReportConfig_v920; -struct AntennaInfoDedicated_v920; -struct AntennaInfoUL_r10; -struct CQI_ReportConfig_r10; -struct CSI_RS_Config_r10; -struct PUCCH_ConfigDedicated_v1020; -struct PUSCH_ConfigDedicated_v1020; -struct SchedulingRequestConfig_v1020; -struct SoundingRS_UL_ConfigDedicated_v1020; -struct SoundingRS_UL_ConfigDedicatedAperiodic_r10; -struct UplinkPowerControlDedicated_v1020; -struct PUSCH_CAConfigDedicated_vlola; - -/* PhysicalConfigDedicated */ -typedef struct PhysicalConfigDedicated { - struct PDSCH_ConfigDedicated *pdsch_ConfigDedicated /* OPTIONAL */; - struct PUCCH_ConfigDedicated *pucch_ConfigDedicated /* OPTIONAL */; - struct PUSCH_ConfigDedicated *pusch_ConfigDedicated /* OPTIONAL */; - struct UplinkPowerControlDedicated *uplinkPowerControlDedicated /* OPTIONAL */; - struct TPC_PDCCH_Config *tpc_PDCCH_ConfigPUCCH /* OPTIONAL */; - struct TPC_PDCCH_Config *tpc_PDCCH_ConfigPUSCH /* OPTIONAL */; - struct CQI_ReportConfig *cqi_ReportConfig /* OPTIONAL */; - struct SoundingRS_UL_ConfigDedicated *soundingRS_UL_ConfigDedicated /* OPTIONAL */; - struct PhysicalConfigDedicated__antennaInfo { - PhysicalConfigDedicated__antennaInfo_PR present; - union PhysicalConfigDedicated__antennaInfo_u { - AntennaInfoDedicated_t explicitValue; - NULL_t defaultValue; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *antennaInfo; - struct SchedulingRequestConfig *schedulingRequestConfig /* OPTIONAL */; - struct CQI_ReportConfig_v920 *cqi_ReportConfig_v920 /* OPTIONAL */; - struct AntennaInfoDedicated_v920 *antennaInfo_v920 /* OPTIONAL */; - struct PhysicalConfigDedicated__antennaInfo_r10 { - PhysicalConfigDedicated__antennaInfo_r10_PR present; - union PhysicalConfigDedicated__antennaInfo_r10_u { - AntennaInfoDedicated_r10_t explicitValue_r10; - NULL_t defaultValue; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *antennaInfo_r10; - struct AntennaInfoUL_r10 *antennaInfoUL_r10 /* OPTIONAL */; - BOOLEAN_t *cif_Presence_r10 /* OPTIONAL */; - struct CQI_ReportConfig_r10 *cqi_ReportConfig_r10 /* OPTIONAL */; - struct CSI_RS_Config_r10 *csi_RS_Config_r10 /* OPTIONAL */; - struct PUCCH_ConfigDedicated_v1020 *pucch_ConfigDedicated_v1020 /* OPTIONAL */; - struct PUSCH_ConfigDedicated_v1020 *pusch_ConfigDedicated_v1020 /* OPTIONAL */; - struct SchedulingRequestConfig_v1020 *schedulingRequestConfig_v1020 /* OPTIONAL */; - struct SoundingRS_UL_ConfigDedicated_v1020 *soundingRS_UL_ConfigDedicated_v1020 /* OPTIONAL */; - struct SoundingRS_UL_ConfigDedicatedAperiodic_r10 *soundingRS_UL_ConfigDedicatedAperiodic_r10 /* OPTIONAL */; - struct UplinkPowerControlDedicated_v1020 *uplinkPowerControlDedicated_v1020 /* OPTIONAL */; - struct PUSCH_CAConfigDedicated_vlola *pusch_CAConfigDedicated_vlola /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PhysicalConfigDedicated_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PhysicalConfigDedicated; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PDSCH-ConfigDedicated.h" -#include "liblte/rrc/asn/PUCCH-ConfigDedicated.h" -#include "liblte/rrc/asn/PUSCH-ConfigDedicated.h" -#include "liblte/rrc/asn/UplinkPowerControlDedicated.h" -#include "liblte/rrc/asn/TPC-PDCCH-Config.h" -#include "liblte/rrc/asn/CQI-ReportConfig.h" -#include "liblte/rrc/asn/SoundingRS-UL-ConfigDedicated.h" -#include "liblte/rrc/asn/SchedulingRequestConfig.h" -#include "liblte/rrc/asn/CQI-ReportConfig-v920.h" -#include "liblte/rrc/asn/AntennaInfoDedicated-v920.h" -#include "liblte/rrc/asn/AntennaInfoUL-r10.h" -#include "liblte/rrc/asn/CQI-ReportConfig-r10.h" -#include "liblte/rrc/asn/CSI-RS-Config-r10.h" -#include "liblte/rrc/asn/PUCCH-ConfigDedicated-v1020.h" -#include "liblte/rrc/asn/PUSCH-ConfigDedicated-v1020.h" -#include "liblte/rrc/asn/SchedulingRequestConfig-v1020.h" -#include "liblte/rrc/asn/SoundingRS-UL-ConfigDedicated-v1020.h" -#include "liblte/rrc/asn/SoundingRS-UL-ConfigDedicatedAperiodic-r10.h" -#include "liblte/rrc/asn/UplinkPowerControlDedicated-v1020.h" -#include "liblte/rrc/asn/PUSCH-CAConfigDedicated-vlola.h" - -#endif /* _PhysicalConfigDedicated_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PhysicalConfigDedicatedSCell-r10.h b/lte/rrc/include/liblte/rrc/asn/PhysicalConfigDedicatedSCell-r10.h deleted file mode 100644 index 18fd8481e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PhysicalConfigDedicatedSCell-r10.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PhysicalConfigDedicatedSCell_r10_H_ -#define _PhysicalConfigDedicatedSCell_r10_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct AntennaInfoDedicated_r10; -struct CrossCarrierSchedulingConfig_r10; -struct CSI_RS_Config_r10; -struct PDSCH_ConfigDedicated; -struct AntennaInfoUL_r10; -struct PUSCH_ConfigDedicatedSCell_r10; -struct UplinkPowerControlDedicatedSCell_r10; -struct CQI_ReportConfigSCell_r10; -struct SoundingRS_UL_ConfigDedicated; -struct SoundingRS_UL_ConfigDedicated_v1020; -struct SoundingRS_UL_ConfigDedicatedAperiodic_r10; - -/* PhysicalConfigDedicatedSCell-r10 */ -typedef struct PhysicalConfigDedicatedSCell_r10 { - struct PhysicalConfigDedicatedSCell_r10__nonUL_Configuration_r10 { - struct AntennaInfoDedicated_r10 *antennaInfo_r10 /* OPTIONAL */; - struct CrossCarrierSchedulingConfig_r10 *crossCarrierSchedulingConfig_r10 /* OPTIONAL */; - struct CSI_RS_Config_r10 *csi_RS_Config_r10 /* OPTIONAL */; - struct PDSCH_ConfigDedicated *pdsch_ConfigDedicated_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonUL_Configuration_r10; - struct PhysicalConfigDedicatedSCell_r10__ul_Configuration_r10 { - struct AntennaInfoUL_r10 *antennaInfoUL_r10 /* OPTIONAL */; - struct PUSCH_ConfigDedicatedSCell_r10 *pusch_ConfigDedicatedSCell_r10 /* OPTIONAL */; - struct UplinkPowerControlDedicatedSCell_r10 *uplinkPowerControlDedicatedSCell_r10 /* OPTIONAL */; - struct CQI_ReportConfigSCell_r10 *cqi_ReportConfigSCell_r10 /* OPTIONAL */; - struct SoundingRS_UL_ConfigDedicated *soundingRS_UL_ConfigDedicated_r10 /* OPTIONAL */; - struct SoundingRS_UL_ConfigDedicated_v1020 *soundingRS_UL_ConfigDedicated_v1020 /* OPTIONAL */; - struct SoundingRS_UL_ConfigDedicatedAperiodic_r10 *soundingRS_UL_ConfigDedicatedAperiodic_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *ul_Configuration_r10; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PhysicalConfigDedicatedSCell_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PhysicalConfigDedicatedSCell_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/AntennaInfoDedicated-r10.h" -#include "liblte/rrc/asn/CrossCarrierSchedulingConfig-r10.h" -#include "liblte/rrc/asn/CSI-RS-Config-r10.h" -#include "liblte/rrc/asn/PDSCH-ConfigDedicated.h" -#include "liblte/rrc/asn/AntennaInfoUL-r10.h" -#include "liblte/rrc/asn/PUSCH-ConfigDedicatedSCell-r10.h" -#include "liblte/rrc/asn/UplinkPowerControlDedicatedSCell-r10.h" -#include "liblte/rrc/asn/CQI-ReportConfigSCell-r10.h" -#include "liblte/rrc/asn/SoundingRS-UL-ConfigDedicated.h" -#include "liblte/rrc/asn/SoundingRS-UL-ConfigDedicated-v1020.h" -#include "liblte/rrc/asn/SoundingRS-UL-ConfigDedicatedAperiodic-r10.h" - -#endif /* _PhysicalConfigDedicatedSCell_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PollByte.h b/lte/rrc/include/liblte/rrc/asn/PollByte.h deleted file mode 100644 index 302c22fec..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PollByte.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PollByte_H_ -#define _PollByte_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PollByte { - PollByte_kB25 = 0, - PollByte_kB50 = 1, - PollByte_kB75 = 2, - PollByte_kB100 = 3, - PollByte_kB125 = 4, - PollByte_kB250 = 5, - PollByte_kB375 = 6, - PollByte_kB500 = 7, - PollByte_kB750 = 8, - PollByte_kB1000 = 9, - PollByte_kB1250 = 10, - PollByte_kB1500 = 11, - PollByte_kB2000 = 12, - PollByte_kB3000 = 13, - PollByte_kBinfinity = 14, - PollByte_spare1 = 15 -} e_PollByte; - -/* PollByte */ -typedef long PollByte_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PollByte; -asn_struct_free_f PollByte_free; -asn_struct_print_f PollByte_print; -asn_constr_check_f PollByte_constraint; -ber_type_decoder_f PollByte_decode_ber; -der_type_encoder_f PollByte_encode_der; -xer_type_decoder_f PollByte_decode_xer; -xer_type_encoder_f PollByte_encode_xer; -per_type_decoder_f PollByte_decode_uper; -per_type_encoder_f PollByte_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _PollByte_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PollPDU.h b/lte/rrc/include/liblte/rrc/asn/PollPDU.h deleted file mode 100644 index 371a76ca6..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PollPDU.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PollPDU_H_ -#define _PollPDU_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum PollPDU { - PollPDU_p4 = 0, - PollPDU_p8 = 1, - PollPDU_p16 = 2, - PollPDU_p32 = 3, - PollPDU_p64 = 4, - PollPDU_p128 = 5, - PollPDU_p256 = 6, - PollPDU_pInfinity = 7 -} e_PollPDU; - -/* PollPDU */ -typedef long PollPDU_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PollPDU; -asn_struct_free_f PollPDU_free; -asn_struct_print_f PollPDU_print; -asn_constr_check_f PollPDU_constraint; -ber_type_decoder_f PollPDU_decode_ber; -der_type_encoder_f PollPDU_encode_der; -xer_type_decoder_f PollPDU_decode_xer; -xer_type_encoder_f PollPDU_encode_xer; -per_type_decoder_f PollPDU_decode_uper; -per_type_encoder_f PollPDU_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _PollPDU_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PreRegistrationInfoHRPD.h b/lte/rrc/include/liblte/rrc/asn/PreRegistrationInfoHRPD.h deleted file mode 100644 index 9f7e1d9f1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PreRegistrationInfoHRPD.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PreRegistrationInfoHRPD_H_ -#define _PreRegistrationInfoHRPD_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/PreRegistrationZoneIdHRPD.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct SecondaryPreRegistrationZoneIdListHRPD; - -/* PreRegistrationInfoHRPD */ -typedef struct PreRegistrationInfoHRPD { - BOOLEAN_t preRegistrationAllowed; - PreRegistrationZoneIdHRPD_t *preRegistrationZoneId /* OPTIONAL */; - struct SecondaryPreRegistrationZoneIdListHRPD *secondaryPreRegistrationZoneIdList /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PreRegistrationInfoHRPD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PreRegistrationInfoHRPD; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SecondaryPreRegistrationZoneIdListHRPD.h" - -#endif /* _PreRegistrationInfoHRPD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PreRegistrationZoneIdHRPD.h b/lte/rrc/include/liblte/rrc/asn/PreRegistrationZoneIdHRPD.h deleted file mode 100644 index 1ce28f520..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PreRegistrationZoneIdHRPD.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PreRegistrationZoneIdHRPD_H_ -#define _PreRegistrationZoneIdHRPD_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PreRegistrationZoneIdHRPD */ -typedef long PreRegistrationZoneIdHRPD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PreRegistrationZoneIdHRPD; -asn_struct_free_f PreRegistrationZoneIdHRPD_free; -asn_struct_print_f PreRegistrationZoneIdHRPD_print; -asn_constr_check_f PreRegistrationZoneIdHRPD_constraint; -ber_type_decoder_f PreRegistrationZoneIdHRPD_decode_ber; -der_type_encoder_f PreRegistrationZoneIdHRPD_encode_der; -xer_type_decoder_f PreRegistrationZoneIdHRPD_decode_xer; -xer_type_encoder_f PreRegistrationZoneIdHRPD_encode_xer; -per_type_decoder_f PreRegistrationZoneIdHRPD_decode_uper; -per_type_encoder_f PreRegistrationZoneIdHRPD_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _PreRegistrationZoneIdHRPD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/PresenceAntennaPort1.h b/lte/rrc/include/liblte/rrc/asn/PresenceAntennaPort1.h deleted file mode 100644 index f83ce6d2b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/PresenceAntennaPort1.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _PresenceAntennaPort1_H_ -#define _PresenceAntennaPort1_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PresenceAntennaPort1 */ -typedef BOOLEAN_t PresenceAntennaPort1_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PresenceAntennaPort1; -asn_struct_free_f PresenceAntennaPort1_free; -asn_struct_print_f PresenceAntennaPort1_print; -asn_constr_check_f PresenceAntennaPort1_constraint; -ber_type_decoder_f PresenceAntennaPort1_decode_ber; -der_type_encoder_f PresenceAntennaPort1_encode_der; -xer_type_decoder_f PresenceAntennaPort1_decode_xer; -xer_type_encoder_f PresenceAntennaPort1_encode_xer; -per_type_decoder_f PresenceAntennaPort1_decode_uper; -per_type_encoder_f PresenceAntennaPort1_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _PresenceAntennaPort1_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ProximityIndication-r9-IEs.h b/lte/rrc/include/liblte/rrc/asn/ProximityIndication-r9-IEs.h deleted file mode 100644 index 95fc34b1b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ProximityIndication-r9-IEs.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ProximityIndication_r9_IEs_H_ -#define _ProximityIndication_r9_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/ARFCN-ValueEUTRA.h" -#include "liblte/rrc/asn/ARFCN-ValueUTRA.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ProximityIndication_r9_IEs__type_r9 { - ProximityIndication_r9_IEs__type_r9_entering = 0, - ProximityIndication_r9_IEs__type_r9_leaving = 1 -} e_ProximityIndication_r9_IEs__type_r9; -typedef enum ProximityIndication_r9_IEs__carrierFreq_r9_PR { - ProximityIndication_r9_IEs__carrierFreq_r9_PR_NOTHING, /* No components present */ - ProximityIndication_r9_IEs__carrierFreq_r9_PR_eutra_r9, - ProximityIndication_r9_IEs__carrierFreq_r9_PR_utra_r9, - /* Extensions may appear below */ - -} ProximityIndication_r9_IEs__carrierFreq_r9_PR; - -/* Forward declarations */ -struct ProximityIndication_v930_IEs; - -/* ProximityIndication-r9-IEs */ -typedef struct ProximityIndication_r9_IEs { - long type_r9; - struct ProximityIndication_r9_IEs__carrierFreq_r9 { - ProximityIndication_r9_IEs__carrierFreq_r9_PR present; - union ProximityIndication_r9_IEs__carrierFreq_r9_u { - ARFCN_ValueEUTRA_t eutra_r9; - ARFCN_ValueUTRA_t utra_r9; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } carrierFreq_r9; - struct ProximityIndication_v930_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProximityIndication_r9_IEs_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_type_r9_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_ProximityIndication_r9_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/ProximityIndication-v930-IEs.h" - -#endif /* _ProximityIndication_r9_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ProximityIndication-r9.h b/lte/rrc/include/liblte/rrc/asn/ProximityIndication-r9.h deleted file mode 100644 index 6f0ae6295..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ProximityIndication-r9.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ProximityIndication_r9_H_ -#define _ProximityIndication_r9_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ProximityIndication-r9-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ProximityIndication_r9__criticalExtensions_PR { - ProximityIndication_r9__criticalExtensions_PR_NOTHING, /* No components present */ - ProximityIndication_r9__criticalExtensions_PR_c1, - ProximityIndication_r9__criticalExtensions_PR_criticalExtensionsFuture -} ProximityIndication_r9__criticalExtensions_PR; -typedef enum ProximityIndication_r9__criticalExtensions__c1_PR { - ProximityIndication_r9__criticalExtensions__c1_PR_NOTHING, /* No components present */ - ProximityIndication_r9__criticalExtensions__c1_PR_proximityIndication_r9, - ProximityIndication_r9__criticalExtensions__c1_PR_spare3, - ProximityIndication_r9__criticalExtensions__c1_PR_spare2, - ProximityIndication_r9__criticalExtensions__c1_PR_spare1 -} ProximityIndication_r9__criticalExtensions__c1_PR; - -/* ProximityIndication-r9 */ -typedef struct ProximityIndication_r9 { - struct ProximityIndication_r9__criticalExtensions { - ProximityIndication_r9__criticalExtensions_PR present; - union ProximityIndication_r9__criticalExtensions_u { - struct ProximityIndication_r9__criticalExtensions__c1 { - ProximityIndication_r9__criticalExtensions__c1_PR present; - union ProximityIndication_r9__criticalExtensions__c1_u { - ProximityIndication_r9_IEs_t proximityIndication_r9; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct ProximityIndication_r9__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProximityIndication_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ProximityIndication_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _ProximityIndication_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ProximityIndication-v930-IEs.h b/lte/rrc/include/liblte/rrc/asn/ProximityIndication-v930-IEs.h deleted file mode 100644 index ff1488a08..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ProximityIndication-v930-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ProximityIndication_v930_IEs_H_ -#define _ProximityIndication_v930_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ProximityIndication-v930-IEs */ -typedef struct ProximityIndication_v930_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct ProximityIndication_v930_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProximityIndication_v930_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ProximityIndication_v930_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _ProximityIndication_v930_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/Q-OffsetRange.h b/lte/rrc/include/liblte/rrc/asn/Q-OffsetRange.h deleted file mode 100644 index 264b3d244..000000000 --- a/lte/rrc/include/liblte/rrc/asn/Q-OffsetRange.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _Q_OffsetRange_H_ -#define _Q_OffsetRange_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum Q_OffsetRange { - Q_OffsetRange_dB_24 = 0, - Q_OffsetRange_dB_22 = 1, - Q_OffsetRange_dB_20 = 2, - Q_OffsetRange_dB_18 = 3, - Q_OffsetRange_dB_16 = 4, - Q_OffsetRange_dB_14 = 5, - Q_OffsetRange_dB_12 = 6, - Q_OffsetRange_dB_10 = 7, - Q_OffsetRange_dB_8 = 8, - Q_OffsetRange_dB_6 = 9, - Q_OffsetRange_dB_5 = 10, - Q_OffsetRange_dB_4 = 11, - Q_OffsetRange_dB_3 = 12, - Q_OffsetRange_dB_2 = 13, - Q_OffsetRange_dB_1 = 14, - Q_OffsetRange_dB0 = 15, - Q_OffsetRange_dB1 = 16, - Q_OffsetRange_dB2 = 17, - Q_OffsetRange_dB3 = 18, - Q_OffsetRange_dB4 = 19, - Q_OffsetRange_dB5 = 20, - Q_OffsetRange_dB6 = 21, - Q_OffsetRange_dB8 = 22, - Q_OffsetRange_dB10 = 23, - Q_OffsetRange_dB12 = 24, - Q_OffsetRange_dB14 = 25, - Q_OffsetRange_dB16 = 26, - Q_OffsetRange_dB18 = 27, - Q_OffsetRange_dB20 = 28, - Q_OffsetRange_dB22 = 29, - Q_OffsetRange_dB24 = 30 -} e_Q_OffsetRange; - -/* Q-OffsetRange */ -typedef long Q_OffsetRange_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Q_OffsetRange; -asn_struct_free_f Q_OffsetRange_free; -asn_struct_print_f Q_OffsetRange_print; -asn_constr_check_f Q_OffsetRange_constraint; -ber_type_decoder_f Q_OffsetRange_decode_ber; -der_type_encoder_f Q_OffsetRange_encode_der; -xer_type_decoder_f Q_OffsetRange_decode_xer; -xer_type_encoder_f Q_OffsetRange_encode_xer; -per_type_decoder_f Q_OffsetRange_decode_uper; -per_type_encoder_f Q_OffsetRange_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _Q_OffsetRange_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/Q-OffsetRangeInterRAT.h b/lte/rrc/include/liblte/rrc/asn/Q-OffsetRangeInterRAT.h deleted file mode 100644 index 6bf0a3d8b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/Q-OffsetRangeInterRAT.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _Q_OffsetRangeInterRAT_H_ -#define _Q_OffsetRangeInterRAT_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Q-OffsetRangeInterRAT */ -typedef long Q_OffsetRangeInterRAT_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Q_OffsetRangeInterRAT; -asn_struct_free_f Q_OffsetRangeInterRAT_free; -asn_struct_print_f Q_OffsetRangeInterRAT_print; -asn_constr_check_f Q_OffsetRangeInterRAT_constraint; -ber_type_decoder_f Q_OffsetRangeInterRAT_decode_ber; -der_type_encoder_f Q_OffsetRangeInterRAT_encode_der; -xer_type_decoder_f Q_OffsetRangeInterRAT_decode_xer; -xer_type_encoder_f Q_OffsetRangeInterRAT_encode_xer; -per_type_decoder_f Q_OffsetRangeInterRAT_decode_uper; -per_type_encoder_f Q_OffsetRangeInterRAT_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _Q_OffsetRangeInterRAT_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/Q-QualMin-r9.h b/lte/rrc/include/liblte/rrc/asn/Q-QualMin-r9.h deleted file mode 100644 index 67306eec9..000000000 --- a/lte/rrc/include/liblte/rrc/asn/Q-QualMin-r9.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _Q_QualMin_r9_H_ -#define _Q_QualMin_r9_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Q-QualMin-r9 */ -typedef long Q_QualMin_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Q_QualMin_r9; -asn_struct_free_f Q_QualMin_r9_free; -asn_struct_print_f Q_QualMin_r9_print; -asn_constr_check_f Q_QualMin_r9_constraint; -ber_type_decoder_f Q_QualMin_r9_decode_ber; -der_type_encoder_f Q_QualMin_r9_encode_der; -xer_type_decoder_f Q_QualMin_r9_decode_xer; -xer_type_encoder_f Q_QualMin_r9_encode_xer; -per_type_decoder_f Q_QualMin_r9_decode_uper; -per_type_encoder_f Q_QualMin_r9_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _Q_QualMin_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/Q-RxLevMin.h b/lte/rrc/include/liblte/rrc/asn/Q-RxLevMin.h deleted file mode 100644 index 7bbe23c79..000000000 --- a/lte/rrc/include/liblte/rrc/asn/Q-RxLevMin.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _Q_RxLevMin_H_ -#define _Q_RxLevMin_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Q-RxLevMin */ -typedef long Q_RxLevMin_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Q_RxLevMin; -asn_struct_free_f Q_RxLevMin_free; -asn_struct_print_f Q_RxLevMin_print; -asn_constr_check_f Q_RxLevMin_constraint; -ber_type_decoder_f Q_RxLevMin_decode_ber; -der_type_encoder_f Q_RxLevMin_encode_der; -xer_type_decoder_f Q_RxLevMin_decode_xer; -xer_type_encoder_f Q_RxLevMin_encode_xer; -per_type_decoder_f Q_RxLevMin_decode_uper; -per_type_encoder_f Q_RxLevMin_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _Q_RxLevMin_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/QuantityConfig.h b/lte/rrc/include/liblte/rrc/asn/QuantityConfig.h deleted file mode 100644 index c97a3f611..000000000 --- a/lte/rrc/include/liblte/rrc/asn/QuantityConfig.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _QuantityConfig_H_ -#define _QuantityConfig_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct QuantityConfigEUTRA; -struct QuantityConfigUTRA; -struct QuantityConfigGERAN; -struct QuantityConfigCDMA2000; -struct QuantityConfigUTRA_v1020; - -/* QuantityConfig */ -typedef struct QuantityConfig { - struct QuantityConfigEUTRA *quantityConfigEUTRA /* OPTIONAL */; - struct QuantityConfigUTRA *quantityConfigUTRA /* OPTIONAL */; - struct QuantityConfigGERAN *quantityConfigGERAN /* OPTIONAL */; - struct QuantityConfigCDMA2000 *quantityConfigCDMA2000 /* OPTIONAL */; - struct QuantityConfigUTRA_v1020 *quantityConfigUTRA_v1020 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} QuantityConfig_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_QuantityConfig; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/QuantityConfigEUTRA.h" -#include "liblte/rrc/asn/QuantityConfigUTRA.h" -#include "liblte/rrc/asn/QuantityConfigGERAN.h" -#include "liblte/rrc/asn/QuantityConfigCDMA2000.h" -#include "liblte/rrc/asn/QuantityConfigUTRA-v1020.h" - -#endif /* _QuantityConfig_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/QuantityConfigCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/QuantityConfigCDMA2000.h deleted file mode 100644 index c61ba362a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/QuantityConfigCDMA2000.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _QuantityConfigCDMA2000_H_ -#define _QuantityConfigCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum QuantityConfigCDMA2000__measQuantityCDMA2000 { - QuantityConfigCDMA2000__measQuantityCDMA2000_pilotStrength = 0, - QuantityConfigCDMA2000__measQuantityCDMA2000_pilotPnPhaseAndPilotStrength = 1 -} e_QuantityConfigCDMA2000__measQuantityCDMA2000; - -/* QuantityConfigCDMA2000 */ -typedef struct QuantityConfigCDMA2000 { - long measQuantityCDMA2000; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} QuantityConfigCDMA2000_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_measQuantityCDMA2000_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_QuantityConfigCDMA2000; - -#ifdef __cplusplus -} -#endif - -#endif /* _QuantityConfigCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/QuantityConfigEUTRA.h b/lte/rrc/include/liblte/rrc/asn/QuantityConfigEUTRA.h deleted file mode 100644 index 97260816b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/QuantityConfigEUTRA.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _QuantityConfigEUTRA_H_ -#define _QuantityConfigEUTRA_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/FilterCoefficient.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* QuantityConfigEUTRA */ -typedef struct QuantityConfigEUTRA { - FilterCoefficient_t *filterCoefficientRSRP /* DEFAULT 4 */; - FilterCoefficient_t *filterCoefficientRSRQ /* DEFAULT 4 */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} QuantityConfigEUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_QuantityConfigEUTRA; - -#ifdef __cplusplus -} -#endif - -#endif /* _QuantityConfigEUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/QuantityConfigGERAN.h b/lte/rrc/include/liblte/rrc/asn/QuantityConfigGERAN.h deleted file mode 100644 index c71152f30..000000000 --- a/lte/rrc/include/liblte/rrc/asn/QuantityConfigGERAN.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _QuantityConfigGERAN_H_ -#define _QuantityConfigGERAN_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/FilterCoefficient.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum QuantityConfigGERAN__measQuantityGERAN { - QuantityConfigGERAN__measQuantityGERAN_rssi = 0 -} e_QuantityConfigGERAN__measQuantityGERAN; - -/* QuantityConfigGERAN */ -typedef struct QuantityConfigGERAN { - long measQuantityGERAN; - FilterCoefficient_t *filterCoefficient /* DEFAULT 2 */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} QuantityConfigGERAN_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_measQuantityGERAN_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_QuantityConfigGERAN; - -#ifdef __cplusplus -} -#endif - -#endif /* _QuantityConfigGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/QuantityConfigUTRA-v1020.h b/lte/rrc/include/liblte/rrc/asn/QuantityConfigUTRA-v1020.h deleted file mode 100644 index d3d60a202..000000000 --- a/lte/rrc/include/liblte/rrc/asn/QuantityConfigUTRA-v1020.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _QuantityConfigUTRA_v1020_H_ -#define _QuantityConfigUTRA_v1020_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/FilterCoefficient.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* QuantityConfigUTRA-v1020 */ -typedef struct QuantityConfigUTRA_v1020 { - FilterCoefficient_t *filterCoefficient2_FDD_r10 /* DEFAULT 4 */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} QuantityConfigUTRA_v1020_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_QuantityConfigUTRA_v1020; - -#ifdef __cplusplus -} -#endif - -#endif /* _QuantityConfigUTRA_v1020_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/QuantityConfigUTRA.h b/lte/rrc/include/liblte/rrc/asn/QuantityConfigUTRA.h deleted file mode 100644 index ce9fa4203..000000000 --- a/lte/rrc/include/liblte/rrc/asn/QuantityConfigUTRA.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _QuantityConfigUTRA_H_ -#define _QuantityConfigUTRA_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/FilterCoefficient.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum QuantityConfigUTRA__measQuantityUTRA_FDD { - QuantityConfigUTRA__measQuantityUTRA_FDD_cpich_RSCP = 0, - QuantityConfigUTRA__measQuantityUTRA_FDD_cpich_EcN0 = 1 -} e_QuantityConfigUTRA__measQuantityUTRA_FDD; -typedef enum QuantityConfigUTRA__measQuantityUTRA_TDD { - QuantityConfigUTRA__measQuantityUTRA_TDD_pccpch_RSCP = 0 -} e_QuantityConfigUTRA__measQuantityUTRA_TDD; - -/* QuantityConfigUTRA */ -typedef struct QuantityConfigUTRA { - long measQuantityUTRA_FDD; - long measQuantityUTRA_TDD; - FilterCoefficient_t *filterCoefficient /* DEFAULT 4 */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} QuantityConfigUTRA_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_measQuantityUTRA_FDD_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_measQuantityUTRA_TDD_5; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_QuantityConfigUTRA; - -#ifdef __cplusplus -} -#endif - -#endif /* _QuantityConfigUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RACH-ConfigCommon.h b/lte/rrc/include/liblte/rrc/asn/RACH-ConfigCommon.h deleted file mode 100644 index 5f4c079be..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RACH-ConfigCommon.h +++ /dev/null @@ -1,195 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RACH_ConfigCommon_H_ -#define _RACH_ConfigCommon_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles { - RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n4 = 0, - RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n8 = 1, - RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n12 = 2, - RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n16 = 3, - RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n20 = 4, - RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n24 = 5, - RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n28 = 6, - RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n32 = 7, - RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n36 = 8, - RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n40 = 9, - RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n44 = 10, - RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n48 = 11, - RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n52 = 12, - RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n56 = 13, - RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n60 = 14, - RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n64 = 15 -} e_RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles; -typedef enum RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA { - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n4 = 0, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n8 = 1, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n12 = 2, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n16 = 3, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n20 = 4, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n24 = 5, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n28 = 6, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n32 = 7, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n36 = 8, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n40 = 9, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n44 = 10, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n48 = 11, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n52 = 12, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n56 = 13, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n60 = 14 -} e_RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA; -typedef enum RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messageSizeGroupA { - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messageSizeGroupA_b56 = 0, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messageSizeGroupA_b144 = 1, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messageSizeGroupA_b208 = 2, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messageSizeGroupA_b256 = 3 -} e_RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messageSizeGroupA; -typedef enum RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB { - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB_minusinfinity = 0, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB_dB0 = 1, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB_dB5 = 2, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB_dB8 = 3, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB_dB10 = 4, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB_dB12 = 5, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB_dB15 = 6, - RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB_dB18 = 7 -} e_RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB; -typedef enum RACH_ConfigCommon__powerRampingParameters__powerRampingStep { - RACH_ConfigCommon__powerRampingParameters__powerRampingStep_dB0 = 0, - RACH_ConfigCommon__powerRampingParameters__powerRampingStep_dB2 = 1, - RACH_ConfigCommon__powerRampingParameters__powerRampingStep_dB4 = 2, - RACH_ConfigCommon__powerRampingParameters__powerRampingStep_dB6 = 3 -} e_RACH_ConfigCommon__powerRampingParameters__powerRampingStep; -typedef enum RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower { - RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_120 = 0, - RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_118 = 1, - RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_116 = 2, - RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_114 = 3, - RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_112 = 4, - RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_110 = 5, - RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_108 = 6, - RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_106 = 7, - RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_104 = 8, - RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_102 = 9, - RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_100 = 10, - RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_98 = 11, - RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_96 = 12, - RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_94 = 13, - RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_92 = 14, - RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_90 = 15 -} e_RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower; -typedef enum RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax { - RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n3 = 0, - RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n4 = 1, - RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n5 = 2, - RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n6 = 3, - RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n7 = 4, - RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n8 = 5, - RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n10 = 6, - RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n20 = 7, - RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n50 = 8, - RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n100 = 9, - RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n200 = 10 -} e_RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax; -typedef enum RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize { - RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize_sf2 = 0, - RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize_sf3 = 1, - RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize_sf4 = 2, - RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize_sf5 = 3, - RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize_sf6 = 4, - RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize_sf7 = 5, - RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize_sf8 = 6, - RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize_sf10 = 7 -} e_RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize; -typedef enum RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer { - RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer_sf8 = 0, - RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer_sf16 = 1, - RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer_sf24 = 2, - RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer_sf32 = 3, - RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer_sf40 = 4, - RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer_sf48 = 5, - RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer_sf56 = 6, - RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer_sf64 = 7 -} e_RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer; - -/* RACH-ConfigCommon */ -typedef struct RACH_ConfigCommon { - struct RACH_ConfigCommon__preambleInfo { - long numberOfRA_Preambles; - struct RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig { - long sizeOfRA_PreamblesGroupA; - long messageSizeGroupA; - long messagePowerOffsetGroupB; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *preamblesGroupAConfig; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } preambleInfo; - struct RACH_ConfigCommon__powerRampingParameters { - long powerRampingStep; - long preambleInitialReceivedTargetPower; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } powerRampingParameters; - struct RACH_ConfigCommon__ra_SupervisionInfo { - long preambleTransMax; - long ra_ResponseWindowSize; - long mac_ContentionResolutionTimer; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } ra_SupervisionInfo; - long maxHARQ_Msg3Tx; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RACH_ConfigCommon_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_numberOfRA_Preambles_3; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_sizeOfRA_PreamblesGroupA_21; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_messageSizeGroupA_37; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_messagePowerOffsetGroupB_42; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_powerRampingStep_53; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_preambleInitialReceivedTargetPower_58; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_preambleTransMax_76; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_ra_ResponseWindowSize_88; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_mac_ContentionResolutionTimer_97; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_RACH_ConfigCommon; - -#ifdef __cplusplus -} -#endif - -#endif /* _RACH_ConfigCommon_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RACH-ConfigDedicated.h b/lte/rrc/include/liblte/rrc/asn/RACH-ConfigDedicated.h deleted file mode 100644 index c73a7e960..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RACH-ConfigDedicated.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RACH_ConfigDedicated_H_ -#define _RACH_ConfigDedicated_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RACH-ConfigDedicated */ -typedef struct RACH_ConfigDedicated { - long ra_PreambleIndex; - long ra_PRACH_MaskIndex; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RACH_ConfigDedicated_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RACH_ConfigDedicated; - -#ifdef __cplusplus -} -#endif - -#endif /* _RACH_ConfigDedicated_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RAND-CDMA2000.h b/lte/rrc/include/liblte/rrc/asn/RAND-CDMA2000.h deleted file mode 100644 index 4b03a2985..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RAND-CDMA2000.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RAND_CDMA2000_H_ -#define _RAND_CDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RAND-CDMA2000 */ -typedef BIT_STRING_t RAND_CDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RAND_CDMA2000; -asn_struct_free_f RAND_CDMA2000_free; -asn_struct_print_f RAND_CDMA2000_print; -asn_constr_check_f RAND_CDMA2000_constraint; -ber_type_decoder_f RAND_CDMA2000_decode_ber; -der_type_encoder_f RAND_CDMA2000_encode_der; -xer_type_decoder_f RAND_CDMA2000_decode_xer; -xer_type_encoder_f RAND_CDMA2000_encode_xer; -per_type_decoder_f RAND_CDMA2000_decode_uper; -per_type_encoder_f RAND_CDMA2000_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RAND_CDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RAT-Type.h b/lte/rrc/include/liblte/rrc/asn/RAT-Type.h deleted file mode 100644 index af632a5dc..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RAT-Type.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RAT_Type_H_ -#define _RAT_Type_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RAT_Type { - RAT_Type_eutra = 0, - RAT_Type_utra = 1, - RAT_Type_geran_cs = 2, - RAT_Type_geran_ps = 3, - RAT_Type_cdma2000_1XRTT = 4, - RAT_Type_spare3 = 5, - RAT_Type_spare2 = 6, - RAT_Type_spare1 = 7 - /* - * Enumeration is extensible - */ -} e_RAT_Type; - -/* RAT-Type */ -typedef long RAT_Type_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RAT_Type; -asn_struct_free_f RAT_Type_free; -asn_struct_print_f RAT_Type_print; -asn_constr_check_f RAT_Type_constraint; -ber_type_decoder_f RAT_Type_decode_ber; -der_type_encoder_f RAT_Type_encode_der; -xer_type_decoder_f RAT_Type_decode_xer; -xer_type_encoder_f RAT_Type_encode_xer; -per_type_decoder_f RAT_Type_decode_uper; -per_type_encoder_f RAT_Type_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RAT_Type_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RF-Parameters-v1020.h b/lte/rrc/include/liblte/rrc/asn/RF-Parameters-v1020.h deleted file mode 100644 index 6ea34a7f6..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RF-Parameters-v1020.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RF_Parameters_v1020_H_ -#define _RF_Parameters_v1020_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SupportedBandCombination-r10.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RF-Parameters-v1020 */ -typedef struct RF_Parameters_v1020 { - SupportedBandCombination_r10_t supportedBandCombination_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RF_Parameters_v1020_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RF_Parameters_v1020; - -#ifdef __cplusplus -} -#endif - -#endif /* _RF_Parameters_v1020_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RF-Parameters.h b/lte/rrc/include/liblte/rrc/asn/RF-Parameters.h deleted file mode 100644 index 04840e735..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RF-Parameters.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RF_Parameters_H_ -#define _RF_Parameters_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SupportedBandListEUTRA.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RF-Parameters */ -typedef struct RF_Parameters { - SupportedBandListEUTRA_t supportedBandListEUTRA; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RF_Parameters_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RF_Parameters; - -#ifdef __cplusplus -} -#endif - -#endif /* _RF_Parameters_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RLC-Config.h b/lte/rrc/include/liblte/rrc/asn/RLC-Config.h deleted file mode 100644 index 728e3d8cc..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RLC-Config.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RLC_Config_H_ -#define _RLC_Config_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/UL-AM-RLC.h" -#include "liblte/rrc/asn/DL-AM-RLC.h" -#include -#include "liblte/rrc/asn/UL-UM-RLC.h" -#include "liblte/rrc/asn/DL-UM-RLC.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RLC_Config_PR { - RLC_Config_PR_NOTHING, /* No components present */ - RLC_Config_PR_am, - RLC_Config_PR_um_Bi_Directional, - RLC_Config_PR_um_Uni_Directional_UL, - RLC_Config_PR_um_Uni_Directional_DL, - /* Extensions may appear below */ - -} RLC_Config_PR; - -/* RLC-Config */ -typedef struct RLC_Config { - RLC_Config_PR present; - union RLC_Config_u { - struct RLC_Config__am { - UL_AM_RLC_t ul_AM_RLC; - DL_AM_RLC_t dl_AM_RLC; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } am; - struct RLC_Config__um_Bi_Directional { - UL_UM_RLC_t ul_UM_RLC; - DL_UM_RLC_t dl_UM_RLC; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } um_Bi_Directional; - struct RLC_Config__um_Uni_Directional_UL { - UL_UM_RLC_t ul_UM_RLC; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } um_Uni_Directional_UL; - struct RLC_Config__um_Uni_Directional_DL { - DL_UM_RLC_t dl_UM_RLC; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } um_Uni_Directional_DL; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RLC_Config_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RLC_Config; - -#ifdef __cplusplus -} -#endif - -#endif /* _RLC_Config_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RLF-Report-r9.h b/lte/rrc/include/liblte/rrc/asn/RLF-Report-r9.h deleted file mode 100644 index bd89961ac..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RLF-Report-r9.h +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RLF_Report_r9_H_ -#define _RLF_Report_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include "liblte/rrc/asn/RSRP-Range.h" -#include "liblte/rrc/asn/RSRQ-Range.h" -#include -#include "liblte/rrc/asn/CellGlobalIdEUTRA.h" -#include "liblte/rrc/asn/PhysCellId.h" -#include "liblte/rrc/asn/ARFCN-ValueEUTRA.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RLF_Report_r9__failedPCellId_r10_PR { - RLF_Report_r9__failedPCellId_r10_PR_NOTHING, /* No components present */ - RLF_Report_r9__failedPCellId_r10_PR_cellGlobalId_r10, - RLF_Report_r9__failedPCellId_r10_PR_pci_arfcn_r10 -} RLF_Report_r9__failedPCellId_r10_PR; -typedef enum RLF_Report_r9__connectionFailureType_r10 { - RLF_Report_r9__connectionFailureType_r10_rlf = 0, - RLF_Report_r9__connectionFailureType_r10_hof = 1 -} e_RLF_Report_r9__connectionFailureType_r10; - -/* Forward declarations */ -struct LocationInfo_r10; -struct CellGlobalIdEUTRA; -struct MeasResultList2EUTRA_r9; -struct MeasResultList2UTRA_r9; -struct MeasResultListGERAN; -struct MeasResultList2CDMA2000_r9; - -/* RLF-Report-r9 */ -typedef struct RLF_Report_r9 { - struct RLF_Report_r9__measResultLastServCell_r9 { - RSRP_Range_t rsrpResult_r9; - RSRQ_Range_t *rsrqResult_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } measResultLastServCell_r9; - struct RLF_Report_r9__measResultNeighCells_r9 { - struct MeasResultList2EUTRA_r9 *measResultListEUTRA_r9 /* OPTIONAL */; - struct MeasResultList2UTRA_r9 *measResultListUTRA_r9 /* OPTIONAL */; - struct MeasResultListGERAN *measResultListGERAN_r9 /* OPTIONAL */; - struct MeasResultList2CDMA2000_r9 *measResultsCDMA2000_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *measResultNeighCells_r9; - struct LocationInfo_r10 *locationInfo_r10 /* OPTIONAL */; - struct RLF_Report_r9__failedPCellId_r10 { - RLF_Report_r9__failedPCellId_r10_PR present; - union RLF_Report_r9__failedPCellId_r10_u { - CellGlobalIdEUTRA_t cellGlobalId_r10; - struct RLF_Report_r9__failedPCellId_r10__pci_arfcn_r10 { - PhysCellId_t physCellId_r10; - ARFCN_ValueEUTRA_t carrierFreq_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } pci_arfcn_r10; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *failedPCellId_r10; - struct CellGlobalIdEUTRA *reestablishmentCellId_r10 /* OPTIONAL */; - long *timeConnFailure_r10 /* OPTIONAL */; - long *connectionFailureType_r10 /* OPTIONAL */; - struct CellGlobalIdEUTRA *previousPCellId_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RLF_Report_r9_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_connectionFailureType_r10_18; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_RLF_Report_r9; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/LocationInfo-r10.h" -#include "liblte/rrc/asn/CellGlobalIdEUTRA.h" -#include "liblte/rrc/asn/MeasResultList2EUTRA-r9.h" -#include "liblte/rrc/asn/MeasResultList2UTRA-r9.h" -#include "liblte/rrc/asn/MeasResultListGERAN.h" -#include "liblte/rrc/asn/MeasResultList2CDMA2000-r9.h" - -#endif /* _RLF_Report_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RLF-TimersAndConstants-r9.h b/lte/rrc/include/liblte/rrc/asn/RLF-TimersAndConstants-r9.h deleted file mode 100644 index 85f83da0a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RLF-TimersAndConstants-r9.h +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RLF_TimersAndConstants_r9_H_ -#define _RLF_TimersAndConstants_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RLF_TimersAndConstants_r9_PR { - RLF_TimersAndConstants_r9_PR_NOTHING, /* No components present */ - RLF_TimersAndConstants_r9_PR_release, - RLF_TimersAndConstants_r9_PR_setup -} RLF_TimersAndConstants_r9_PR; -typedef enum RLF_TimersAndConstants_r9__setup__t301_r9 { - RLF_TimersAndConstants_r9__setup__t301_r9_ms100 = 0, - RLF_TimersAndConstants_r9__setup__t301_r9_ms200 = 1, - RLF_TimersAndConstants_r9__setup__t301_r9_ms300 = 2, - RLF_TimersAndConstants_r9__setup__t301_r9_ms400 = 3, - RLF_TimersAndConstants_r9__setup__t301_r9_ms600 = 4, - RLF_TimersAndConstants_r9__setup__t301_r9_ms1000 = 5, - RLF_TimersAndConstants_r9__setup__t301_r9_ms1500 = 6, - RLF_TimersAndConstants_r9__setup__t301_r9_ms2000 = 7 -} e_RLF_TimersAndConstants_r9__setup__t301_r9; -typedef enum RLF_TimersAndConstants_r9__setup__t310_r9 { - RLF_TimersAndConstants_r9__setup__t310_r9_ms0 = 0, - RLF_TimersAndConstants_r9__setup__t310_r9_ms50 = 1, - RLF_TimersAndConstants_r9__setup__t310_r9_ms100 = 2, - RLF_TimersAndConstants_r9__setup__t310_r9_ms200 = 3, - RLF_TimersAndConstants_r9__setup__t310_r9_ms500 = 4, - RLF_TimersAndConstants_r9__setup__t310_r9_ms1000 = 5, - RLF_TimersAndConstants_r9__setup__t310_r9_ms2000 = 6 -} e_RLF_TimersAndConstants_r9__setup__t310_r9; -typedef enum RLF_TimersAndConstants_r9__setup__n310_r9 { - RLF_TimersAndConstants_r9__setup__n310_r9_n1 = 0, - RLF_TimersAndConstants_r9__setup__n310_r9_n2 = 1, - RLF_TimersAndConstants_r9__setup__n310_r9_n3 = 2, - RLF_TimersAndConstants_r9__setup__n310_r9_n4 = 3, - RLF_TimersAndConstants_r9__setup__n310_r9_n6 = 4, - RLF_TimersAndConstants_r9__setup__n310_r9_n8 = 5, - RLF_TimersAndConstants_r9__setup__n310_r9_n10 = 6, - RLF_TimersAndConstants_r9__setup__n310_r9_n20 = 7 -} e_RLF_TimersAndConstants_r9__setup__n310_r9; -typedef enum RLF_TimersAndConstants_r9__setup__t311_r9 { - RLF_TimersAndConstants_r9__setup__t311_r9_ms1000 = 0, - RLF_TimersAndConstants_r9__setup__t311_r9_ms3000 = 1, - RLF_TimersAndConstants_r9__setup__t311_r9_ms5000 = 2, - RLF_TimersAndConstants_r9__setup__t311_r9_ms10000 = 3, - RLF_TimersAndConstants_r9__setup__t311_r9_ms15000 = 4, - RLF_TimersAndConstants_r9__setup__t311_r9_ms20000 = 5, - RLF_TimersAndConstants_r9__setup__t311_r9_ms30000 = 6 -} e_RLF_TimersAndConstants_r9__setup__t311_r9; -typedef enum RLF_TimersAndConstants_r9__setup__n311_r9 { - RLF_TimersAndConstants_r9__setup__n311_r9_n1 = 0, - RLF_TimersAndConstants_r9__setup__n311_r9_n2 = 1, - RLF_TimersAndConstants_r9__setup__n311_r9_n3 = 2, - RLF_TimersAndConstants_r9__setup__n311_r9_n4 = 3, - RLF_TimersAndConstants_r9__setup__n311_r9_n5 = 4, - RLF_TimersAndConstants_r9__setup__n311_r9_n6 = 5, - RLF_TimersAndConstants_r9__setup__n311_r9_n8 = 6, - RLF_TimersAndConstants_r9__setup__n311_r9_n10 = 7 -} e_RLF_TimersAndConstants_r9__setup__n311_r9; - -/* RLF-TimersAndConstants-r9 */ -typedef struct RLF_TimersAndConstants_r9 { - RLF_TimersAndConstants_r9_PR present; - union RLF_TimersAndConstants_r9_u { - NULL_t release; - struct RLF_TimersAndConstants_r9__setup { - long t301_r9; - long t310_r9; - long n310_r9; - long t311_r9; - long n311_r9; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RLF_TimersAndConstants_r9_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_t301_r9_4; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_t310_r9_13; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_n310_r9_21; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_t311_r9_30; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_n311_r9_38; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_RLF_TimersAndConstants_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _RLF_TimersAndConstants_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RN-SubframeConfig-r10.h b/lte/rrc/include/liblte/rrc/asn/RN-SubframeConfig-r10.h deleted file mode 100644 index 41e397f1e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RN-SubframeConfig-r10.h +++ /dev/null @@ -1,179 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RN_SubframeConfig_r10_H_ -#define _RN_SubframeConfig_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RN_SubframeConfig_r10__subframeConfigPattern_r10_PR { - RN_SubframeConfig_r10__subframeConfigPattern_r10_PR_NOTHING, /* No components present */ - RN_SubframeConfig_r10__subframeConfigPattern_r10_PR_subframeConfigPatternFDD_r10, - RN_SubframeConfig_r10__subframeConfigPattern_r10_PR_subframeConfigPatternTDD_r10 -} RN_SubframeConfig_r10__subframeConfigPattern_r10_PR; -typedef enum RN_SubframeConfig_r10__rpdcch_Config_r10__resourceAllocationType_r10 { - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceAllocationType_r10_type0 = 0, - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceAllocationType_r10_type1 = 1, - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceAllocationType_r10_type2Localized = 2, - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceAllocationType_r10_type2Distributed = 3, - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceAllocationType_r10_spare4 = 4, - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceAllocationType_r10_spare3 = 5, - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceAllocationType_r10_spare2 = 6, - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceAllocationType_r10_spare1 = 7 -} e_RN_SubframeConfig_r10__rpdcch_Config_r10__resourceAllocationType_r10; -typedef enum RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10_PR { - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10_PR_NOTHING, /* No components present */ - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10_PR_type01_r10, - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10_PR_type2_r10, - /* Extensions may appear below */ - -} RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10_PR; -typedef enum RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10_PR { - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10_PR_NOTHING, /* No components present */ - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10_PR_nrb6_r10, - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10_PR_nrb15_r10, - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10_PR_nrb25_r10, - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10_PR_nrb50_r10, - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10_PR_nrb75_r10, - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10_PR_nrb100_r10 -} RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10_PR; -typedef enum RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10_PR { - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10_PR_NOTHING, /* No components present */ - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10_PR_nrb6_r10, - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10_PR_nrb15_r10, - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10_PR_nrb25_r10, - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10_PR_nrb50_r10, - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10_PR_nrb75_r10, - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10_PR_nrb100_r10 -} RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10_PR; -typedef enum RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10_PR { - RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10_PR_NOTHING, /* No components present */ - RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10_PR_interleaving_r10, - RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10_PR_noInterleaving_r10 -} RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10_PR; -typedef enum RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10__interleaving_r10 { - RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10__interleaving_r10_crs = 0 -} e_RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10__interleaving_r10; -typedef enum RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10__noInterleaving_r10 { - RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10__noInterleaving_r10_crs = 0, - RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10__noInterleaving_r10_dmrs = 1 -} e_RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10__noInterleaving_r10; - -/* RN-SubframeConfig-r10 */ -typedef struct RN_SubframeConfig_r10 { - struct RN_SubframeConfig_r10__subframeConfigPattern_r10 { - RN_SubframeConfig_r10__subframeConfigPattern_r10_PR present; - union RN_SubframeConfig_r10__subframeConfigPattern_r10_u { - BIT_STRING_t subframeConfigPatternFDD_r10; - long subframeConfigPatternTDD_r10; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *subframeConfigPattern_r10; - struct RN_SubframeConfig_r10__rpdcch_Config_r10 { - long resourceAllocationType_r10; - struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10 { - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10_PR present; - union RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10_u { - struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10 { - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10_PR present; - union RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10_u { - BIT_STRING_t nrb6_r10; - BIT_STRING_t nrb15_r10; - BIT_STRING_t nrb25_r10; - BIT_STRING_t nrb50_r10; - BIT_STRING_t nrb75_r10; - BIT_STRING_t nrb100_r10; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } type01_r10; - struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10 { - RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10_PR present; - union RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10_u { - BIT_STRING_t nrb6_r10; - BIT_STRING_t nrb15_r10; - BIT_STRING_t nrb25_r10; - BIT_STRING_t nrb50_r10; - BIT_STRING_t nrb75_r10; - BIT_STRING_t nrb100_r10; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } type2_r10; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } resourceBlockAssignment_r10; - struct RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10 { - RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10_PR present; - union RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10_u { - long interleaving_r10; - long noInterleaving_r10; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } demodulationRS_r10; - long pdsch_Start_r10; - struct RN_SubframeConfig_r10__rpdcch_Config_r10__pucch_Config_r10 { - long n1PUCCH_AN_P0_r10; - long n1PUCCH_AN_P1_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } pucch_Config_r10; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *rpdcch_Config_r10; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RN_SubframeConfig_r10_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_resourceAllocationType_r10_6; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_interleaving_r10_32; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_noInterleaving_r10_34; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_RN_SubframeConfig_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _RN_SubframeConfig_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RN-SystemInfo-r10.h b/lte/rrc/include/liblte/rrc/asn/RN-SystemInfo-r10.h deleted file mode 100644 index 07bd07611..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RN-SystemInfo-r10.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RN_SystemInfo_r10_H_ -#define _RN_SystemInfo_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct SystemInformationBlockType2; - -/* RN-SystemInfo-r10 */ -typedef struct RN_SystemInfo_r10 { - OCTET_STRING_t *systemInformationBlockType1_r10 /* OPTIONAL */; - struct SystemInformationBlockType2 *systemInformationBlockType2_r10 /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RN_SystemInfo_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RN_SystemInfo_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SystemInformationBlockType2.h" - -#endif /* _RN_SystemInfo_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RNReconfiguration-r10-IEs.h b/lte/rrc/include/liblte/rrc/asn/RNReconfiguration-r10-IEs.h deleted file mode 100644 index 8a2991da6..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RNReconfiguration-r10-IEs.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RNReconfiguration_r10_IEs_H_ -#define _RNReconfiguration_r10_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RN_SystemInfo_r10; -struct RN_SubframeConfig_r10; - -/* RNReconfiguration-r10-IEs */ -typedef struct RNReconfiguration_r10_IEs { - struct RN_SystemInfo_r10 *rn_SystemInfo_r10 /* OPTIONAL */; - struct RN_SubframeConfig_r10 *rn_SubframeConfig_r10 /* OPTIONAL */; - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct RNReconfiguration_r10_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RNReconfiguration_r10_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RNReconfiguration_r10_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RN-SystemInfo-r10.h" -#include "liblte/rrc/asn/RN-SubframeConfig-r10.h" - -#endif /* _RNReconfiguration_r10_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RNReconfiguration-r10.h b/lte/rrc/include/liblte/rrc/asn/RNReconfiguration-r10.h deleted file mode 100644 index dec60c42a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RNReconfiguration-r10.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RNReconfiguration_r10_H_ -#define _RNReconfiguration_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/RNReconfiguration-r10-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RNReconfiguration_r10__criticalExtensions_PR { - RNReconfiguration_r10__criticalExtensions_PR_NOTHING, /* No components present */ - RNReconfiguration_r10__criticalExtensions_PR_c1, - RNReconfiguration_r10__criticalExtensions_PR_criticalExtensionsFuture -} RNReconfiguration_r10__criticalExtensions_PR; -typedef enum RNReconfiguration_r10__criticalExtensions__c1_PR { - RNReconfiguration_r10__criticalExtensions__c1_PR_NOTHING, /* No components present */ - RNReconfiguration_r10__criticalExtensions__c1_PR_rnReconfiguration_r10, - RNReconfiguration_r10__criticalExtensions__c1_PR_spare3, - RNReconfiguration_r10__criticalExtensions__c1_PR_spare2, - RNReconfiguration_r10__criticalExtensions__c1_PR_spare1 -} RNReconfiguration_r10__criticalExtensions__c1_PR; - -/* RNReconfiguration-r10 */ -typedef struct RNReconfiguration_r10 { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct RNReconfiguration_r10__criticalExtensions { - RNReconfiguration_r10__criticalExtensions_PR present; - union RNReconfiguration_r10__criticalExtensions_u { - struct RNReconfiguration_r10__criticalExtensions__c1 { - RNReconfiguration_r10__criticalExtensions__c1_PR present; - union RNReconfiguration_r10__criticalExtensions__c1_u { - RNReconfiguration_r10_IEs_t rnReconfiguration_r10; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct RNReconfiguration_r10__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RNReconfiguration_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RNReconfiguration_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _RNReconfiguration_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RNReconfigurationComplete-r10-IEs.h b/lte/rrc/include/liblte/rrc/asn/RNReconfigurationComplete-r10-IEs.h deleted file mode 100644 index 272878440..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RNReconfigurationComplete-r10-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RNReconfigurationComplete_r10_IEs_H_ -#define _RNReconfigurationComplete_r10_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RNReconfigurationComplete-r10-IEs */ -typedef struct RNReconfigurationComplete_r10_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct RNReconfigurationComplete_r10_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RNReconfigurationComplete_r10_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RNReconfigurationComplete_r10_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _RNReconfigurationComplete_r10_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RNReconfigurationComplete-r10.h b/lte/rrc/include/liblte/rrc/asn/RNReconfigurationComplete-r10.h deleted file mode 100644 index aed0150e6..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RNReconfigurationComplete-r10.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RNReconfigurationComplete_r10_H_ -#define _RNReconfigurationComplete_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/RNReconfigurationComplete-r10-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RNReconfigurationComplete_r10__criticalExtensions_PR { - RNReconfigurationComplete_r10__criticalExtensions_PR_NOTHING, /* No components present */ - RNReconfigurationComplete_r10__criticalExtensions_PR_c1, - RNReconfigurationComplete_r10__criticalExtensions_PR_criticalExtensionsFuture -} RNReconfigurationComplete_r10__criticalExtensions_PR; -typedef enum RNReconfigurationComplete_r10__criticalExtensions__c1_PR { - RNReconfigurationComplete_r10__criticalExtensions__c1_PR_NOTHING, /* No components present */ - RNReconfigurationComplete_r10__criticalExtensions__c1_PR_rnReconfigurationComplete_r10, - RNReconfigurationComplete_r10__criticalExtensions__c1_PR_spare3, - RNReconfigurationComplete_r10__criticalExtensions__c1_PR_spare2, - RNReconfigurationComplete_r10__criticalExtensions__c1_PR_spare1 -} RNReconfigurationComplete_r10__criticalExtensions__c1_PR; - -/* RNReconfigurationComplete-r10 */ -typedef struct RNReconfigurationComplete_r10 { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct RNReconfigurationComplete_r10__criticalExtensions { - RNReconfigurationComplete_r10__criticalExtensions_PR present; - union RNReconfigurationComplete_r10__criticalExtensions_u { - struct RNReconfigurationComplete_r10__criticalExtensions__c1 { - RNReconfigurationComplete_r10__criticalExtensions__c1_PR present; - union RNReconfigurationComplete_r10__criticalExtensions__c1_u { - RNReconfigurationComplete_r10_IEs_t rnReconfigurationComplete_r10; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct RNReconfigurationComplete_r10__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RNReconfigurationComplete_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RNReconfigurationComplete_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _RNReconfigurationComplete_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRC-TransactionIdentifier.h b/lte/rrc/include/liblte/rrc/asn/RRC-TransactionIdentifier.h deleted file mode 100644 index 482d37d0b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRC-TransactionIdentifier.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRC_TransactionIdentifier_H_ -#define _RRC_TransactionIdentifier_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RRC-TransactionIdentifier */ -typedef long RRC_TransactionIdentifier_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRC_TransactionIdentifier; -asn_struct_free_f RRC_TransactionIdentifier_free; -asn_struct_print_f RRC_TransactionIdentifier_print; -asn_constr_check_f RRC_TransactionIdentifier_constraint; -ber_type_decoder_f RRC_TransactionIdentifier_decode_ber; -der_type_encoder_f RRC_TransactionIdentifier_encode_der; -xer_type_decoder_f RRC_TransactionIdentifier_decode_xer; -xer_type_encoder_f RRC_TransactionIdentifier_encode_xer; -per_type_decoder_f RRC_TransactionIdentifier_decode_uper; -per_type_encoder_f RRC_TransactionIdentifier_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRC_TransactionIdentifier_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration-r8-IEs.h deleted file mode 100644 index e1b6185b0..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration-r8-IEs.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReconfiguration_r8_IEs_H_ -#define _RRCConnectionReconfiguration_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/DedicatedInfoNAS.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct MeasConfig; -struct MobilityControlInfo; -struct RadioResourceConfigDedicated; -struct SecurityConfigHO; -struct RRCConnectionReconfiguration_v890_IEs; - -/* RRCConnectionReconfiguration-r8-IEs */ -typedef struct RRCConnectionReconfiguration_r8_IEs { - struct MeasConfig *measConfig /* OPTIONAL */; - struct MobilityControlInfo *mobilityControlInfo /* OPTIONAL */; - struct RRCConnectionReconfiguration_r8_IEs__dedicatedInfoNASList { - A_SEQUENCE_OF(DedicatedInfoNAS_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *dedicatedInfoNASList; - struct RadioResourceConfigDedicated *radioResourceConfigDedicated /* OPTIONAL */; - struct SecurityConfigHO *securityConfigHO /* OPTIONAL */; - struct RRCConnectionReconfiguration_v890_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReconfiguration_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfiguration_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MeasConfig.h" -#include "liblte/rrc/asn/MobilityControlInfo.h" -#include "liblte/rrc/asn/RadioResourceConfigDedicated.h" -#include "liblte/rrc/asn/SecurityConfigHO.h" -#include "liblte/rrc/asn/RRCConnectionReconfiguration-v890-IEs.h" - -#endif /* _RRCConnectionReconfiguration_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration-v1020-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration-v1020-IEs.h deleted file mode 100644 index 75c2e5312..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration-v1020-IEs.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReconfiguration_v1020_IEs_H_ -#define _RRCConnectionReconfiguration_v1020_IEs_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct SCellToReleaseList_r10; -struct SCellToAddModList_r10; - -/* RRCConnectionReconfiguration-v1020-IEs */ -typedef struct RRCConnectionReconfiguration_v1020_IEs { - struct SCellToReleaseList_r10 *sCellToReleaseList_r10 /* OPTIONAL */; - struct SCellToAddModList_r10 *sCellToAddModList_r10 /* OPTIONAL */; - struct RRCConnectionReconfiguration_v1020_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReconfiguration_v1020_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfiguration_v1020_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SCellToReleaseList-r10.h" -#include "liblte/rrc/asn/SCellToAddModList-r10.h" - -#endif /* _RRCConnectionReconfiguration_v1020_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration-v890-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration-v890-IEs.h deleted file mode 100644 index 9afb08ca6..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration-v890-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReconfiguration_v890_IEs_H_ -#define _RRCConnectionReconfiguration_v890_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RRCConnectionReconfiguration_v920_IEs; - -/* RRCConnectionReconfiguration-v890-IEs */ -typedef struct RRCConnectionReconfiguration_v890_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct RRCConnectionReconfiguration_v920_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReconfiguration_v890_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfiguration_v890_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RRCConnectionReconfiguration-v920-IEs.h" - -#endif /* _RRCConnectionReconfiguration_v890_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration-v920-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration-v920-IEs.h deleted file mode 100644 index 24ebe93ba..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration-v920-IEs.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReconfiguration_v920_IEs_H_ -#define _RRCConnectionReconfiguration_v920_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RRCConnectionReconfiguration_v920_IEs__fullConfig_r9 { - RRCConnectionReconfiguration_v920_IEs__fullConfig_r9_true = 0 -} e_RRCConnectionReconfiguration_v920_IEs__fullConfig_r9; - -/* Forward declarations */ -struct OtherConfig_r9; -struct RRCConnectionReconfiguration_v1020_IEs; - -/* RRCConnectionReconfiguration-v920-IEs */ -typedef struct RRCConnectionReconfiguration_v920_IEs { - struct OtherConfig_r9 *otherConfig_r9 /* OPTIONAL */; - long *fullConfig_r9 /* OPTIONAL */; - struct RRCConnectionReconfiguration_v1020_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReconfiguration_v920_IEs_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_fullConfig_r9_3; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfiguration_v920_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/OtherConfig-r9.h" -#include "liblte/rrc/asn/RRCConnectionReconfiguration-v1020-IEs.h" - -#endif /* _RRCConnectionReconfiguration_v920_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration.h deleted file mode 100644 index 45e2c2fde..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfiguration.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReconfiguration_H_ -#define _RRCConnectionReconfiguration_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/RRCConnectionReconfiguration-r8-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RRCConnectionReconfiguration__criticalExtensions_PR { - RRCConnectionReconfiguration__criticalExtensions_PR_NOTHING, /* No components present */ - RRCConnectionReconfiguration__criticalExtensions_PR_c1, - RRCConnectionReconfiguration__criticalExtensions_PR_criticalExtensionsFuture -} RRCConnectionReconfiguration__criticalExtensions_PR; -typedef enum RRCConnectionReconfiguration__criticalExtensions__c1_PR { - RRCConnectionReconfiguration__criticalExtensions__c1_PR_NOTHING, /* No components present */ - RRCConnectionReconfiguration__criticalExtensions__c1_PR_rrcConnectionReconfiguration_r8, - RRCConnectionReconfiguration__criticalExtensions__c1_PR_spare7, - RRCConnectionReconfiguration__criticalExtensions__c1_PR_spare6, - RRCConnectionReconfiguration__criticalExtensions__c1_PR_spare5, - RRCConnectionReconfiguration__criticalExtensions__c1_PR_spare4, - RRCConnectionReconfiguration__criticalExtensions__c1_PR_spare3, - RRCConnectionReconfiguration__criticalExtensions__c1_PR_spare2, - RRCConnectionReconfiguration__criticalExtensions__c1_PR_spare1 -} RRCConnectionReconfiguration__criticalExtensions__c1_PR; - -/* RRCConnectionReconfiguration */ -typedef struct RRCConnectionReconfiguration { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct RRCConnectionReconfiguration__criticalExtensions { - RRCConnectionReconfiguration__criticalExtensions_PR present; - union RRCConnectionReconfiguration__criticalExtensions_u { - struct RRCConnectionReconfiguration__criticalExtensions__c1 { - RRCConnectionReconfiguration__criticalExtensions__c1_PR present; - union RRCConnectionReconfiguration__criticalExtensions__c1_u { - RRCConnectionReconfiguration_r8_IEs_t rrcConnectionReconfiguration_r8; - NULL_t spare7; - NULL_t spare6; - NULL_t spare5; - NULL_t spare4; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct RRCConnectionReconfiguration__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReconfiguration_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfiguration; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionReconfiguration_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfigurationComplete-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfigurationComplete-r8-IEs.h deleted file mode 100644 index 15b69b741..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfigurationComplete-r8-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReconfigurationComplete_r8_IEs_H_ -#define _RRCConnectionReconfigurationComplete_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RRCConnectionReconfigurationComplete_v8a0_IEs; - -/* RRCConnectionReconfigurationComplete-r8-IEs */ -typedef struct RRCConnectionReconfigurationComplete_r8_IEs { - struct RRCConnectionReconfigurationComplete_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReconfigurationComplete_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfigurationComplete_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RRCConnectionReconfigurationComplete-v8a0-IEs.h" - -#endif /* _RRCConnectionReconfigurationComplete_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfigurationComplete-v1020-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfigurationComplete-v1020-IEs.h deleted file mode 100644 index 3c17b0906..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfigurationComplete-v1020-IEs.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReconfigurationComplete_v1020_IEs_H_ -#define _RRCConnectionReconfigurationComplete_v1020_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RRCConnectionReconfigurationComplete_v1020_IEs__rlf_InfoAvailable_r10 { - RRCConnectionReconfigurationComplete_v1020_IEs__rlf_InfoAvailable_r10_true = 0 -} e_RRCConnectionReconfigurationComplete_v1020_IEs__rlf_InfoAvailable_r10; -typedef enum RRCConnectionReconfigurationComplete_v1020_IEs__logMeasAvailable_r10 { - RRCConnectionReconfigurationComplete_v1020_IEs__logMeasAvailable_r10_true = 0 -} e_RRCConnectionReconfigurationComplete_v1020_IEs__logMeasAvailable_r10; - -/* RRCConnectionReconfigurationComplete-v1020-IEs */ -typedef struct RRCConnectionReconfigurationComplete_v1020_IEs { - long *rlf_InfoAvailable_r10 /* OPTIONAL */; - long *logMeasAvailable_r10 /* OPTIONAL */; - struct RRCConnectionReconfigurationComplete_v1020_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReconfigurationComplete_v1020_IEs_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_rlf_InfoAvailable_r10_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_logMeasAvailable_r10_4; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfigurationComplete_v1020_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionReconfigurationComplete_v1020_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfigurationComplete-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfigurationComplete-v8a0-IEs.h deleted file mode 100644 index ae0336b31..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfigurationComplete-v8a0-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReconfigurationComplete_v8a0_IEs_H_ -#define _RRCConnectionReconfigurationComplete_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RRCConnectionReconfigurationComplete_v1020_IEs; - -/* RRCConnectionReconfigurationComplete-v8a0-IEs */ -typedef struct RRCConnectionReconfigurationComplete_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct RRCConnectionReconfigurationComplete_v1020_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReconfigurationComplete_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfigurationComplete_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RRCConnectionReconfigurationComplete-v1020-IEs.h" - -#endif /* _RRCConnectionReconfigurationComplete_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfigurationComplete.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfigurationComplete.h deleted file mode 100644 index b4441e955..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReconfigurationComplete.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReconfigurationComplete_H_ -#define _RRCConnectionReconfigurationComplete_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/RRCConnectionReconfigurationComplete-r8-IEs.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RRCConnectionReconfigurationComplete__criticalExtensions_PR { - RRCConnectionReconfigurationComplete__criticalExtensions_PR_NOTHING, /* No components present */ - RRCConnectionReconfigurationComplete__criticalExtensions_PR_rrcConnectionReconfigurationComplete_r8, - RRCConnectionReconfigurationComplete__criticalExtensions_PR_criticalExtensionsFuture -} RRCConnectionReconfigurationComplete__criticalExtensions_PR; - -/* RRCConnectionReconfigurationComplete */ -typedef struct RRCConnectionReconfigurationComplete { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct RRCConnectionReconfigurationComplete__criticalExtensions { - RRCConnectionReconfigurationComplete__criticalExtensions_PR present; - union RRCConnectionReconfigurationComplete__criticalExtensions_u { - RRCConnectionReconfigurationComplete_r8_IEs_t rrcConnectionReconfigurationComplete_r8; - struct RRCConnectionReconfigurationComplete__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReconfigurationComplete_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfigurationComplete; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionReconfigurationComplete_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishment-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishment-r8-IEs.h deleted file mode 100644 index 2c2b87db6..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishment-r8-IEs.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReestablishment_r8_IEs_H_ -#define _RRCConnectionReestablishment_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RadioResourceConfigDedicated.h" -#include "liblte/rrc/asn/NextHopChainingCount.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RRCConnectionReestablishment_v8a0_IEs; - -/* RRCConnectionReestablishment-r8-IEs */ -typedef struct RRCConnectionReestablishment_r8_IEs { - RadioResourceConfigDedicated_t radioResourceConfigDedicated; - NextHopChainingCount_t nextHopChainingCount; - struct RRCConnectionReestablishment_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReestablishment_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishment_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RRCConnectionReestablishment-v8a0-IEs.h" - -#endif /* _RRCConnectionReestablishment_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishment-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishment-v8a0-IEs.h deleted file mode 100644 index 34c52b033..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishment-v8a0-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReestablishment_v8a0_IEs_H_ -#define _RRCConnectionReestablishment_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RRCConnectionReestablishment-v8a0-IEs */ -typedef struct RRCConnectionReestablishment_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct RRCConnectionReestablishment_v8a0_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReestablishment_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishment_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionReestablishment_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishment.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishment.h deleted file mode 100644 index 12d0b8b19..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishment.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReestablishment_H_ -#define _RRCConnectionReestablishment_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/RRCConnectionReestablishment-r8-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RRCConnectionReestablishment__criticalExtensions_PR { - RRCConnectionReestablishment__criticalExtensions_PR_NOTHING, /* No components present */ - RRCConnectionReestablishment__criticalExtensions_PR_c1, - RRCConnectionReestablishment__criticalExtensions_PR_criticalExtensionsFuture -} RRCConnectionReestablishment__criticalExtensions_PR; -typedef enum RRCConnectionReestablishment__criticalExtensions__c1_PR { - RRCConnectionReestablishment__criticalExtensions__c1_PR_NOTHING, /* No components present */ - RRCConnectionReestablishment__criticalExtensions__c1_PR_rrcConnectionReestablishment_r8, - RRCConnectionReestablishment__criticalExtensions__c1_PR_spare7, - RRCConnectionReestablishment__criticalExtensions__c1_PR_spare6, - RRCConnectionReestablishment__criticalExtensions__c1_PR_spare5, - RRCConnectionReestablishment__criticalExtensions__c1_PR_spare4, - RRCConnectionReestablishment__criticalExtensions__c1_PR_spare3, - RRCConnectionReestablishment__criticalExtensions__c1_PR_spare2, - RRCConnectionReestablishment__criticalExtensions__c1_PR_spare1 -} RRCConnectionReestablishment__criticalExtensions__c1_PR; - -/* RRCConnectionReestablishment */ -typedef struct RRCConnectionReestablishment { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct RRCConnectionReestablishment__criticalExtensions { - RRCConnectionReestablishment__criticalExtensions_PR present; - union RRCConnectionReestablishment__criticalExtensions_u { - struct RRCConnectionReestablishment__criticalExtensions__c1 { - RRCConnectionReestablishment__criticalExtensions__c1_PR present; - union RRCConnectionReestablishment__criticalExtensions__c1_u { - RRCConnectionReestablishment_r8_IEs_t rrcConnectionReestablishment_r8; - NULL_t spare7; - NULL_t spare6; - NULL_t spare5; - NULL_t spare4; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct RRCConnectionReestablishment__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReestablishment_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishment; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionReestablishment_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete-r8-IEs.h deleted file mode 100644 index d74af09dd..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete-r8-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReestablishmentComplete_r8_IEs_H_ -#define _RRCConnectionReestablishmentComplete_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RRCConnectionReestablishmentComplete_v920_IEs; - -/* RRCConnectionReestablishmentComplete-r8-IEs */ -typedef struct RRCConnectionReestablishmentComplete_r8_IEs { - struct RRCConnectionReestablishmentComplete_v920_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReestablishmentComplete_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentComplete_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RRCConnectionReestablishmentComplete-v920-IEs.h" - -#endif /* _RRCConnectionReestablishmentComplete_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete-v1020-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete-v1020-IEs.h deleted file mode 100644 index 17d1be5e0..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete-v1020-IEs.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReestablishmentComplete_v1020_IEs_H_ -#define _RRCConnectionReestablishmentComplete_v1020_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RRCConnectionReestablishmentComplete_v1020_IEs__logMeasAvailable_r10 { - RRCConnectionReestablishmentComplete_v1020_IEs__logMeasAvailable_r10_true = 0 -} e_RRCConnectionReestablishmentComplete_v1020_IEs__logMeasAvailable_r10; - -/* RRCConnectionReestablishmentComplete-v1020-IEs */ -typedef struct RRCConnectionReestablishmentComplete_v1020_IEs { - long *logMeasAvailable_r10 /* OPTIONAL */; - struct RRCConnectionReestablishmentComplete_v1020_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReestablishmentComplete_v1020_IEs_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_logMeasAvailable_r10_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentComplete_v1020_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionReestablishmentComplete_v1020_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete-v8a0-IEs.h deleted file mode 100644 index 1dbedd68a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete-v8a0-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReestablishmentComplete_v8a0_IEs_H_ -#define _RRCConnectionReestablishmentComplete_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RRCConnectionReestablishmentComplete_v1020_IEs; - -/* RRCConnectionReestablishmentComplete-v8a0-IEs */ -typedef struct RRCConnectionReestablishmentComplete_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct RRCConnectionReestablishmentComplete_v1020_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReestablishmentComplete_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentComplete_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RRCConnectionReestablishmentComplete-v1020-IEs.h" - -#endif /* _RRCConnectionReestablishmentComplete_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete-v920-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete-v920-IEs.h deleted file mode 100644 index 57c838dd3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete-v920-IEs.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReestablishmentComplete_v920_IEs_H_ -#define _RRCConnectionReestablishmentComplete_v920_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RRCConnectionReestablishmentComplete_v920_IEs__rlf_InfoAvailable_r9 { - RRCConnectionReestablishmentComplete_v920_IEs__rlf_InfoAvailable_r9_true = 0 -} e_RRCConnectionReestablishmentComplete_v920_IEs__rlf_InfoAvailable_r9; - -/* Forward declarations */ -struct RRCConnectionReestablishmentComplete_v8a0_IEs; - -/* RRCConnectionReestablishmentComplete-v920-IEs */ -typedef struct RRCConnectionReestablishmentComplete_v920_IEs { - long *rlf_InfoAvailable_r9 /* OPTIONAL */; - struct RRCConnectionReestablishmentComplete_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReestablishmentComplete_v920_IEs_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_rlf_InfoAvailable_r9_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentComplete_v920_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RRCConnectionReestablishmentComplete-v8a0-IEs.h" - -#endif /* _RRCConnectionReestablishmentComplete_v920_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete.h deleted file mode 100644 index 3d6826808..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentComplete.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReestablishmentComplete_H_ -#define _RRCConnectionReestablishmentComplete_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/RRCConnectionReestablishmentComplete-r8-IEs.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RRCConnectionReestablishmentComplete__criticalExtensions_PR { - RRCConnectionReestablishmentComplete__criticalExtensions_PR_NOTHING, /* No components present */ - RRCConnectionReestablishmentComplete__criticalExtensions_PR_rrcConnectionReestablishmentComplete_r8, - RRCConnectionReestablishmentComplete__criticalExtensions_PR_criticalExtensionsFuture -} RRCConnectionReestablishmentComplete__criticalExtensions_PR; - -/* RRCConnectionReestablishmentComplete */ -typedef struct RRCConnectionReestablishmentComplete { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct RRCConnectionReestablishmentComplete__criticalExtensions { - RRCConnectionReestablishmentComplete__criticalExtensions_PR present; - union RRCConnectionReestablishmentComplete__criticalExtensions_u { - RRCConnectionReestablishmentComplete_r8_IEs_t rrcConnectionReestablishmentComplete_r8; - struct RRCConnectionReestablishmentComplete__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReestablishmentComplete_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentComplete; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionReestablishmentComplete_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentReject-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentReject-r8-IEs.h deleted file mode 100644 index febfb7a93..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentReject-r8-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReestablishmentReject_r8_IEs_H_ -#define _RRCConnectionReestablishmentReject_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RRCConnectionReestablishmentReject_v8a0_IEs; - -/* RRCConnectionReestablishmentReject-r8-IEs */ -typedef struct RRCConnectionReestablishmentReject_r8_IEs { - struct RRCConnectionReestablishmentReject_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReestablishmentReject_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentReject_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RRCConnectionReestablishmentReject-v8a0-IEs.h" - -#endif /* _RRCConnectionReestablishmentReject_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentReject-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentReject-v8a0-IEs.h deleted file mode 100644 index 59a491033..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentReject-v8a0-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReestablishmentReject_v8a0_IEs_H_ -#define _RRCConnectionReestablishmentReject_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RRCConnectionReestablishmentReject-v8a0-IEs */ -typedef struct RRCConnectionReestablishmentReject_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct RRCConnectionReestablishmentReject_v8a0_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReestablishmentReject_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentReject_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionReestablishmentReject_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentReject.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentReject.h deleted file mode 100644 index 8882c789b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentReject.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReestablishmentReject_H_ -#define _RRCConnectionReestablishmentReject_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRCConnectionReestablishmentReject-r8-IEs.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RRCConnectionReestablishmentReject__criticalExtensions_PR { - RRCConnectionReestablishmentReject__criticalExtensions_PR_NOTHING, /* No components present */ - RRCConnectionReestablishmentReject__criticalExtensions_PR_rrcConnectionReestablishmentReject_r8, - RRCConnectionReestablishmentReject__criticalExtensions_PR_criticalExtensionsFuture -} RRCConnectionReestablishmentReject__criticalExtensions_PR; - -/* RRCConnectionReestablishmentReject */ -typedef struct RRCConnectionReestablishmentReject { - struct RRCConnectionReestablishmentReject__criticalExtensions { - RRCConnectionReestablishmentReject__criticalExtensions_PR present; - union RRCConnectionReestablishmentReject__criticalExtensions_u { - RRCConnectionReestablishmentReject_r8_IEs_t rrcConnectionReestablishmentReject_r8; - struct RRCConnectionReestablishmentReject__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReestablishmentReject_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentReject; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionReestablishmentReject_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentRequest-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentRequest-r8-IEs.h deleted file mode 100644 index cc63393b1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentRequest-r8-IEs.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReestablishmentRequest_r8_IEs_H_ -#define _RRCConnectionReestablishmentRequest_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ReestabUE-Identity.h" -#include "liblte/rrc/asn/ReestablishmentCause.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RRCConnectionReestablishmentRequest-r8-IEs */ -typedef struct RRCConnectionReestablishmentRequest_r8_IEs { - ReestabUE_Identity_t ue_Identity; - ReestablishmentCause_t reestablishmentCause; - BIT_STRING_t spare; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReestablishmentRequest_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentRequest_r8_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionReestablishmentRequest_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentRequest.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentRequest.h deleted file mode 100644 index a2aea2b9b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReestablishmentRequest.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReestablishmentRequest_H_ -#define _RRCConnectionReestablishmentRequest_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRCConnectionReestablishmentRequest-r8-IEs.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RRCConnectionReestablishmentRequest__criticalExtensions_PR { - RRCConnectionReestablishmentRequest__criticalExtensions_PR_NOTHING, /* No components present */ - RRCConnectionReestablishmentRequest__criticalExtensions_PR_rrcConnectionReestablishmentRequest_r8, - RRCConnectionReestablishmentRequest__criticalExtensions_PR_criticalExtensionsFuture -} RRCConnectionReestablishmentRequest__criticalExtensions_PR; - -/* RRCConnectionReestablishmentRequest */ -typedef struct RRCConnectionReestablishmentRequest { - struct RRCConnectionReestablishmentRequest__criticalExtensions { - RRCConnectionReestablishmentRequest__criticalExtensions_PR present; - union RRCConnectionReestablishmentRequest__criticalExtensions_u { - RRCConnectionReestablishmentRequest_r8_IEs_t rrcConnectionReestablishmentRequest_r8; - struct RRCConnectionReestablishmentRequest__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReestablishmentRequest_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentRequest; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionReestablishmentRequest_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReject-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReject-r8-IEs.h deleted file mode 100644 index ce45c48af..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReject-r8-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReject_r8_IEs_H_ -#define _RRCConnectionReject_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RRCConnectionReject_v8a0_IEs; - -/* RRCConnectionReject-r8-IEs */ -typedef struct RRCConnectionReject_r8_IEs { - long waitTime; - struct RRCConnectionReject_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReject_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReject_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RRCConnectionReject-v8a0-IEs.h" - -#endif /* _RRCConnectionReject_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReject-v1020-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReject-v1020-IEs.h deleted file mode 100644 index 3d5480952..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReject-v1020-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReject_v1020_IEs_H_ -#define _RRCConnectionReject_v1020_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RRCConnectionReject-v1020-IEs */ -typedef struct RRCConnectionReject_v1020_IEs { - long *extendedWaitTime_r10 /* OPTIONAL */; - struct RRCConnectionReject_v1020_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReject_v1020_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReject_v1020_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionReject_v1020_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReject-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReject-v8a0-IEs.h deleted file mode 100644 index 654e61a15..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReject-v8a0-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReject_v8a0_IEs_H_ -#define _RRCConnectionReject_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RRCConnectionReject_v1020_IEs; - -/* RRCConnectionReject-v8a0-IEs */ -typedef struct RRCConnectionReject_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct RRCConnectionReject_v1020_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReject_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReject_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RRCConnectionReject-v1020-IEs.h" - -#endif /* _RRCConnectionReject_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReject.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionReject.h deleted file mode 100644 index 57f324323..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionReject.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionReject_H_ -#define _RRCConnectionReject_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRCConnectionReject-r8-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RRCConnectionReject__criticalExtensions_PR { - RRCConnectionReject__criticalExtensions_PR_NOTHING, /* No components present */ - RRCConnectionReject__criticalExtensions_PR_c1, - RRCConnectionReject__criticalExtensions_PR_criticalExtensionsFuture -} RRCConnectionReject__criticalExtensions_PR; -typedef enum RRCConnectionReject__criticalExtensions__c1_PR { - RRCConnectionReject__criticalExtensions__c1_PR_NOTHING, /* No components present */ - RRCConnectionReject__criticalExtensions__c1_PR_rrcConnectionReject_r8, - RRCConnectionReject__criticalExtensions__c1_PR_spare3, - RRCConnectionReject__criticalExtensions__c1_PR_spare2, - RRCConnectionReject__criticalExtensions__c1_PR_spare1 -} RRCConnectionReject__criticalExtensions__c1_PR; - -/* RRCConnectionReject */ -typedef struct RRCConnectionReject { - struct RRCConnectionReject__criticalExtensions { - RRCConnectionReject__criticalExtensions_PR present; - union RRCConnectionReject__criticalExtensions_u { - struct RRCConnectionReject__criticalExtensions__c1 { - RRCConnectionReject__criticalExtensions__c1_PR present; - union RRCConnectionReject__criticalExtensions__c1_u { - RRCConnectionReject_r8_IEs_t rrcConnectionReject_r8; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct RRCConnectionReject__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionReject_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReject; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionReject_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease-r8-IEs.h deleted file mode 100644 index 85bb882d3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease-r8-IEs.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionRelease_r8_IEs_H_ -#define _RRCConnectionRelease_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ReleaseCause.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RedirectedCarrierInfo; -struct IdleModeMobilityControlInfo; -struct RRCConnectionRelease_v890_IEs; - -/* RRCConnectionRelease-r8-IEs */ -typedef struct RRCConnectionRelease_r8_IEs { - ReleaseCause_t releaseCause; - struct RedirectedCarrierInfo *redirectedCarrierInfo /* OPTIONAL */; - struct IdleModeMobilityControlInfo *idleModeMobilityControlInfo /* OPTIONAL */; - struct RRCConnectionRelease_v890_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionRelease_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionRelease_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RedirectedCarrierInfo.h" -#include "liblte/rrc/asn/IdleModeMobilityControlInfo.h" -#include "liblte/rrc/asn/RRCConnectionRelease-v890-IEs.h" - -#endif /* _RRCConnectionRelease_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease-v1020-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease-v1020-IEs.h deleted file mode 100644 index e55b7e828..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease-v1020-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionRelease_v1020_IEs_H_ -#define _RRCConnectionRelease_v1020_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RRCConnectionRelease-v1020-IEs */ -typedef struct RRCConnectionRelease_v1020_IEs { - long *extendedWaitTime_r10 /* OPTIONAL */; - struct RRCConnectionRelease_v1020_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionRelease_v1020_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionRelease_v1020_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionRelease_v1020_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease-v890-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease-v890-IEs.h deleted file mode 100644 index 17a6b5843..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease-v890-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionRelease_v890_IEs_H_ -#define _RRCConnectionRelease_v890_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RRCConnectionRelease_v920_IEs; - -/* RRCConnectionRelease-v890-IEs */ -typedef struct RRCConnectionRelease_v890_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct RRCConnectionRelease_v920_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionRelease_v890_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionRelease_v890_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RRCConnectionRelease-v920-IEs.h" - -#endif /* _RRCConnectionRelease_v890_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease-v920-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease-v920-IEs.h deleted file mode 100644 index a405d8106..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease-v920-IEs.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionRelease_v920_IEs_H_ -#define _RRCConnectionRelease_v920_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CellInfoListGERAN-r9.h" -#include "liblte/rrc/asn/CellInfoListUTRA-FDD-r9.h" -#include "liblte/rrc/asn/CellInfoListUTRA-TDD-r9.h" -#include "liblte/rrc/asn/CellInfoListUTRA-TDD-r10.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RRCConnectionRelease_v920_IEs__cellInfoList_r9_PR { - RRCConnectionRelease_v920_IEs__cellInfoList_r9_PR_NOTHING, /* No components present */ - RRCConnectionRelease_v920_IEs__cellInfoList_r9_PR_geran_r9, - RRCConnectionRelease_v920_IEs__cellInfoList_r9_PR_utra_FDD_r9, - RRCConnectionRelease_v920_IEs__cellInfoList_r9_PR_utra_TDD_r9, - /* Extensions may appear below */ - RRCConnectionRelease_v920_IEs__cellInfoList_r9_PR_utra_TDD_r10 -} RRCConnectionRelease_v920_IEs__cellInfoList_r9_PR; - -/* Forward declarations */ -struct RRCConnectionRelease_v1020_IEs; - -/* RRCConnectionRelease-v920-IEs */ -typedef struct RRCConnectionRelease_v920_IEs { - struct RRCConnectionRelease_v920_IEs__cellInfoList_r9 { - RRCConnectionRelease_v920_IEs__cellInfoList_r9_PR present; - union RRCConnectionRelease_v920_IEs__cellInfoList_r9_u { - CellInfoListGERAN_r9_t geran_r9; - CellInfoListUTRA_FDD_r9_t utra_FDD_r9; - CellInfoListUTRA_TDD_r9_t utra_TDD_r9; - /* - * This type is extensible, - * possible extensions are below. - */ - CellInfoListUTRA_TDD_r10_t utra_TDD_r10; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *cellInfoList_r9; - struct RRCConnectionRelease_v1020_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionRelease_v920_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionRelease_v920_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RRCConnectionRelease-v1020-IEs.h" - -#endif /* _RRCConnectionRelease_v920_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease.h deleted file mode 100644 index f50fe611d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionRelease.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionRelease_H_ -#define _RRCConnectionRelease_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/RRCConnectionRelease-r8-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RRCConnectionRelease__criticalExtensions_PR { - RRCConnectionRelease__criticalExtensions_PR_NOTHING, /* No components present */ - RRCConnectionRelease__criticalExtensions_PR_c1, - RRCConnectionRelease__criticalExtensions_PR_criticalExtensionsFuture -} RRCConnectionRelease__criticalExtensions_PR; -typedef enum RRCConnectionRelease__criticalExtensions__c1_PR { - RRCConnectionRelease__criticalExtensions__c1_PR_NOTHING, /* No components present */ - RRCConnectionRelease__criticalExtensions__c1_PR_rrcConnectionRelease_r8, - RRCConnectionRelease__criticalExtensions__c1_PR_spare3, - RRCConnectionRelease__criticalExtensions__c1_PR_spare2, - RRCConnectionRelease__criticalExtensions__c1_PR_spare1 -} RRCConnectionRelease__criticalExtensions__c1_PR; - -/* RRCConnectionRelease */ -typedef struct RRCConnectionRelease { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct RRCConnectionRelease__criticalExtensions { - RRCConnectionRelease__criticalExtensions_PR present; - union RRCConnectionRelease__criticalExtensions_u { - struct RRCConnectionRelease__criticalExtensions__c1 { - RRCConnectionRelease__criticalExtensions__c1_PR present; - union RRCConnectionRelease__criticalExtensions__c1_u { - RRCConnectionRelease_r8_IEs_t rrcConnectionRelease_r8; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct RRCConnectionRelease__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionRelease_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionRelease; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionRelease_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionRequest-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionRequest-r8-IEs.h deleted file mode 100644 index b5db02b4c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionRequest-r8-IEs.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionRequest_r8_IEs_H_ -#define _RRCConnectionRequest_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/InitialUE-Identity.h" -#include "liblte/rrc/asn/EstablishmentCause.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RRCConnectionRequest-r8-IEs */ -typedef struct RRCConnectionRequest_r8_IEs { - InitialUE_Identity_t ue_Identity; - EstablishmentCause_t establishmentCause; - BIT_STRING_t spare; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionRequest_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionRequest_r8_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionRequest_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionRequest.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionRequest.h deleted file mode 100644 index 293379403..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionRequest.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionRequest_H_ -#define _RRCConnectionRequest_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRCConnectionRequest-r8-IEs.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RRCConnectionRequest__criticalExtensions_PR { - RRCConnectionRequest__criticalExtensions_PR_NOTHING, /* No components present */ - RRCConnectionRequest__criticalExtensions_PR_rrcConnectionRequest_r8, - RRCConnectionRequest__criticalExtensions_PR_criticalExtensionsFuture -} RRCConnectionRequest__criticalExtensions_PR; - -/* RRCConnectionRequest */ -typedef struct RRCConnectionRequest { - struct RRCConnectionRequest__criticalExtensions { - RRCConnectionRequest__criticalExtensions_PR present; - union RRCConnectionRequest__criticalExtensions_u { - RRCConnectionRequest_r8_IEs_t rrcConnectionRequest_r8; - struct RRCConnectionRequest__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionRequest_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionRequest; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionRequest_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetup-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetup-r8-IEs.h deleted file mode 100644 index 2fa814519..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetup-r8-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionSetup_r8_IEs_H_ -#define _RRCConnectionSetup_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RadioResourceConfigDedicated.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RRCConnectionSetup_v8a0_IEs; - -/* RRCConnectionSetup-r8-IEs */ -typedef struct RRCConnectionSetup_r8_IEs { - RadioResourceConfigDedicated_t radioResourceConfigDedicated; - struct RRCConnectionSetup_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionSetup_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionSetup_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RRCConnectionSetup-v8a0-IEs.h" - -#endif /* _RRCConnectionSetup_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetup-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetup-v8a0-IEs.h deleted file mode 100644 index 2dc97215b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetup-v8a0-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionSetup_v8a0_IEs_H_ -#define _RRCConnectionSetup_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RRCConnectionSetup-v8a0-IEs */ -typedef struct RRCConnectionSetup_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct RRCConnectionSetup_v8a0_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionSetup_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionSetup_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionSetup_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetup.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetup.h deleted file mode 100644 index 4ddeafcfe..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetup.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionSetup_H_ -#define _RRCConnectionSetup_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/RRCConnectionSetup-r8-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RRCConnectionSetup__criticalExtensions_PR { - RRCConnectionSetup__criticalExtensions_PR_NOTHING, /* No components present */ - RRCConnectionSetup__criticalExtensions_PR_c1, - RRCConnectionSetup__criticalExtensions_PR_criticalExtensionsFuture -} RRCConnectionSetup__criticalExtensions_PR; -typedef enum RRCConnectionSetup__criticalExtensions__c1_PR { - RRCConnectionSetup__criticalExtensions__c1_PR_NOTHING, /* No components present */ - RRCConnectionSetup__criticalExtensions__c1_PR_rrcConnectionSetup_r8, - RRCConnectionSetup__criticalExtensions__c1_PR_spare7, - RRCConnectionSetup__criticalExtensions__c1_PR_spare6, - RRCConnectionSetup__criticalExtensions__c1_PR_spare5, - RRCConnectionSetup__criticalExtensions__c1_PR_spare4, - RRCConnectionSetup__criticalExtensions__c1_PR_spare3, - RRCConnectionSetup__criticalExtensions__c1_PR_spare2, - RRCConnectionSetup__criticalExtensions__c1_PR_spare1 -} RRCConnectionSetup__criticalExtensions__c1_PR; - -/* RRCConnectionSetup */ -typedef struct RRCConnectionSetup { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct RRCConnectionSetup__criticalExtensions { - RRCConnectionSetup__criticalExtensions_PR present; - union RRCConnectionSetup__criticalExtensions_u { - struct RRCConnectionSetup__criticalExtensions__c1 { - RRCConnectionSetup__criticalExtensions__c1_PR present; - union RRCConnectionSetup__criticalExtensions__c1_u { - RRCConnectionSetup_r8_IEs_t rrcConnectionSetup_r8; - NULL_t spare7; - NULL_t spare6; - NULL_t spare5; - NULL_t spare4; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct RRCConnectionSetup__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionSetup_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionSetup; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionSetup_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetupComplete-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetupComplete-r8-IEs.h deleted file mode 100644 index 18d57c8b9..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetupComplete-r8-IEs.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionSetupComplete_r8_IEs_H_ -#define _RRCConnectionSetupComplete_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/DedicatedInfoNAS.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RegisteredMME; -struct RRCConnectionSetupComplete_v8a0_IEs; - -/* RRCConnectionSetupComplete-r8-IEs */ -typedef struct RRCConnectionSetupComplete_r8_IEs { - long selectedPLMN_Identity; - struct RegisteredMME *registeredMME /* OPTIONAL */; - DedicatedInfoNAS_t dedicatedInfoNAS; - struct RRCConnectionSetupComplete_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionSetupComplete_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionSetupComplete_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RegisteredMME.h" -#include "liblte/rrc/asn/RRCConnectionSetupComplete-v8a0-IEs.h" - -#endif /* _RRCConnectionSetupComplete_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetupComplete-v1020-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetupComplete-v1020-IEs.h deleted file mode 100644 index 982aab83d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetupComplete-v1020-IEs.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionSetupComplete_v1020_IEs_H_ -#define _RRCConnectionSetupComplete_v1020_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RRCConnectionSetupComplete_v1020_IEs__gummei_Type_r10 { - RRCConnectionSetupComplete_v1020_IEs__gummei_Type_r10_native = 0, - RRCConnectionSetupComplete_v1020_IEs__gummei_Type_r10_mapped = 1 -} e_RRCConnectionSetupComplete_v1020_IEs__gummei_Type_r10; -typedef enum RRCConnectionSetupComplete_v1020_IEs__rlf_InfoAvailable_r10 { - RRCConnectionSetupComplete_v1020_IEs__rlf_InfoAvailable_r10_true = 0 -} e_RRCConnectionSetupComplete_v1020_IEs__rlf_InfoAvailable_r10; -typedef enum RRCConnectionSetupComplete_v1020_IEs__logMeasAvailable_r10 { - RRCConnectionSetupComplete_v1020_IEs__logMeasAvailable_r10_true = 0 -} e_RRCConnectionSetupComplete_v1020_IEs__logMeasAvailable_r10; -typedef enum RRCConnectionSetupComplete_v1020_IEs__rn_SubframeConfigReq_r10 { - RRCConnectionSetupComplete_v1020_IEs__rn_SubframeConfigReq_r10_required = 0, - RRCConnectionSetupComplete_v1020_IEs__rn_SubframeConfigReq_r10_notRequired = 1 -} e_RRCConnectionSetupComplete_v1020_IEs__rn_SubframeConfigReq_r10; - -/* RRCConnectionSetupComplete-v1020-IEs */ -typedef struct RRCConnectionSetupComplete_v1020_IEs { - long *gummei_Type_r10 /* OPTIONAL */; - long *rlf_InfoAvailable_r10 /* OPTIONAL */; - long *logMeasAvailable_r10 /* OPTIONAL */; - long *rn_SubframeConfigReq_r10 /* OPTIONAL */; - struct RRCConnectionSetupComplete_v1020_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionSetupComplete_v1020_IEs_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_gummei_Type_r10_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_rlf_InfoAvailable_r10_5; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_logMeasAvailable_r10_7; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_rn_SubframeConfigReq_r10_9; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionSetupComplete_v1020_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionSetupComplete_v1020_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetupComplete-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetupComplete-v8a0-IEs.h deleted file mode 100644 index 9480f2a9c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetupComplete-v8a0-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionSetupComplete_v8a0_IEs_H_ -#define _RRCConnectionSetupComplete_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RRCConnectionSetupComplete_v1020_IEs; - -/* RRCConnectionSetupComplete-v8a0-IEs */ -typedef struct RRCConnectionSetupComplete_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct RRCConnectionSetupComplete_v1020_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionSetupComplete_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionSetupComplete_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RRCConnectionSetupComplete-v1020-IEs.h" - -#endif /* _RRCConnectionSetupComplete_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetupComplete.h b/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetupComplete.h deleted file mode 100644 index 9baa39aa6..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRCConnectionSetupComplete.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RRCConnectionSetupComplete_H_ -#define _RRCConnectionSetupComplete_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/RRCConnectionSetupComplete-r8-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RRCConnectionSetupComplete__criticalExtensions_PR { - RRCConnectionSetupComplete__criticalExtensions_PR_NOTHING, /* No components present */ - RRCConnectionSetupComplete__criticalExtensions_PR_c1, - RRCConnectionSetupComplete__criticalExtensions_PR_criticalExtensionsFuture -} RRCConnectionSetupComplete__criticalExtensions_PR; -typedef enum RRCConnectionSetupComplete__criticalExtensions__c1_PR { - RRCConnectionSetupComplete__criticalExtensions__c1_PR_NOTHING, /* No components present */ - RRCConnectionSetupComplete__criticalExtensions__c1_PR_rrcConnectionSetupComplete_r8, - RRCConnectionSetupComplete__criticalExtensions__c1_PR_spare3, - RRCConnectionSetupComplete__criticalExtensions__c1_PR_spare2, - RRCConnectionSetupComplete__criticalExtensions__c1_PR_spare1 -} RRCConnectionSetupComplete__criticalExtensions__c1_PR; - -/* RRCConnectionSetupComplete */ -typedef struct RRCConnectionSetupComplete { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct RRCConnectionSetupComplete__criticalExtensions { - RRCConnectionSetupComplete__criticalExtensions_PR present; - union RRCConnectionSetupComplete__criticalExtensions_u { - struct RRCConnectionSetupComplete__criticalExtensions__c1 { - RRCConnectionSetupComplete__criticalExtensions__c1_PR present; - union RRCConnectionSetupComplete__criticalExtensions__c1_u { - RRCConnectionSetupComplete_r8_IEs_t rrcConnectionSetupComplete_r8; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct RRCConnectionSetupComplete__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRCConnectionSetupComplete_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionSetupComplete; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRCConnectionSetupComplete_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RRM-Config.h b/lte/rrc/include/liblte/rrc/asn/RRM-Config.h deleted file mode 100644 index e94ab1143..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RRM-Config.h +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#ifndef _RRM_Config_H_ -#define _RRM_Config_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ue_InactiveTime { - ue_InactiveTime_s1 = 0, - ue_InactiveTime_s2 = 1, - ue_InactiveTime_s3 = 2, - ue_InactiveTime_s5 = 3, - ue_InactiveTime_s7 = 4, - ue_InactiveTime_s10 = 5, - ue_InactiveTime_s15 = 6, - ue_InactiveTime_s20 = 7, - ue_InactiveTime_s25 = 8, - ue_InactiveTime_s30 = 9, - ue_InactiveTime_s40 = 10, - ue_InactiveTime_s50 = 11, - ue_InactiveTime_min1 = 12, - ue_InactiveTime_min1s20c = 13, - ue_InactiveTime_min1s40 = 14, - ue_InactiveTime_min2 = 15, - ue_InactiveTime_min2s30 = 16, - ue_InactiveTime_min3 = 17, - ue_InactiveTime_min3s30 = 18, - ue_InactiveTime_min4 = 19, - ue_InactiveTime_min5 = 20, - ue_InactiveTime_min6 = 21, - ue_InactiveTime_min7 = 22, - ue_InactiveTime_min8 = 23, - ue_InactiveTime_min9 = 24, - ue_InactiveTime_min10 = 25, - ue_InactiveTime_min12 = 26, - ue_InactiveTime_min14 = 27, - ue_InactiveTime_min17 = 28, - ue_InactiveTime_min20 = 29, - ue_InactiveTime_min24 = 30, - ue_InactiveTime_min28 = 31, - ue_InactiveTime_min33 = 32, - ue_InactiveTime_min38 = 33, - ue_InactiveTime_min44 = 34, - ue_InactiveTime_min50 = 35, - ue_InactiveTime_hr1 = 36, - ue_InactiveTime_hr1min30 = 37, - ue_InactiveTime_hr2 = 38, - ue_InactiveTime_hr2min30 = 39, - ue_InactiveTime_hr3 = 40, - ue_InactiveTime_hr3min30 = 41, - ue_InactiveTime_hr4 = 42, - ue_InactiveTime_hr5 = 43, - ue_InactiveTime_hr6 = 44, - ue_InactiveTime_hr8 = 45, - ue_InactiveTime_hr10 = 46, - ue_InactiveTime_hr13 = 47, - ue_InactiveTime_hr16 = 48, - ue_InactiveTime_hr20 = 49, - ue_InactiveTime_day1 = 50, - ue_InactiveTime_day1hr12 = 51, - ue_InactiveTime_day2 = 52, - ue_InactiveTime_day2hr12 = 53, - ue_InactiveTime_day3 = 54, - ue_InactiveTime_day4 = 55, - ue_InactiveTime_day5 = 56, - ue_InactiveTime_day7 = 57, - ue_InactiveTime_day10 = 58, - ue_InactiveTime_day14 = 59, - ue_InactiveTime_day19 = 60, - ue_InactiveTime_day24 = 61, - ue_InactiveTime_day30 = 62, - ue_InactiveTime_dayMoreThan30 = 63 -} e_ue_InactiveTime; - -/* RRM-Config */ -typedef struct RRM_Config { - long *ue_InactiveTime /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRM_Config_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_ue_InactiveTime_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_RRM_Config; - -#ifdef __cplusplus -} -#endif - -#endif /* _RRM_Config_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RSRP-Range.h b/lte/rrc/include/liblte/rrc/asn/RSRP-Range.h deleted file mode 100644 index bca2fbc2a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RSRP-Range.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RSRP_Range_H_ -#define _RSRP_Range_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RSRP-Range */ -typedef long RSRP_Range_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RSRP_Range; -asn_struct_free_f RSRP_Range_free; -asn_struct_print_f RSRP_Range_print; -asn_constr_check_f RSRP_Range_constraint; -ber_type_decoder_f RSRP_Range_decode_ber; -der_type_encoder_f RSRP_Range_encode_der; -xer_type_decoder_f RSRP_Range_decode_xer; -xer_type_encoder_f RSRP_Range_encode_xer; -per_type_decoder_f RSRP_Range_decode_uper; -per_type_encoder_f RSRP_Range_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RSRP_Range_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RSRQ-Range.h b/lte/rrc/include/liblte/rrc/asn/RSRQ-Range.h deleted file mode 100644 index 31d8a0023..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RSRQ-Range.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RSRQ_Range_H_ -#define _RSRQ_Range_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RSRQ-Range */ -typedef long RSRQ_Range_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RSRQ_Range; -asn_struct_free_f RSRQ_Range_free; -asn_struct_print_f RSRQ_Range_print; -asn_constr_check_f RSRQ_Range_constraint; -ber_type_decoder_f RSRQ_Range_decode_ber; -der_type_encoder_f RSRQ_Range_encode_der; -xer_type_decoder_f RSRQ_Range_decode_xer; -xer_type_encoder_f RSRQ_Range_encode_xer; -per_type_decoder_f RSRQ_Range_decode_uper; -per_type_encoder_f RSRQ_Range_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RSRQ_Range_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RSTD-InterFreqInfo-r10.h b/lte/rrc/include/liblte/rrc/asn/RSTD-InterFreqInfo-r10.h deleted file mode 100644 index b9d8d7a4b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RSTD-InterFreqInfo-r10.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RSTD_InterFreqInfo_r10_H_ -#define _RSTD_InterFreqInfo_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ARFCN-ValueEUTRA.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RSTD-InterFreqInfo-r10 */ -typedef struct RSTD_InterFreqInfo_r10 { - ARFCN_ValueEUTRA_t carrierFreq_r10; - long measPRS_Offset_r10; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RSTD_InterFreqInfo_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RSTD_InterFreqInfo_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _RSTD_InterFreqInfo_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RSTD-InterFreqInfoList-r10.h b/lte/rrc/include/liblte/rrc/asn/RSTD-InterFreqInfoList-r10.h deleted file mode 100644 index d6c9a5e38..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RSTD-InterFreqInfoList-r10.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RSTD_InterFreqInfoList_r10_H_ -#define _RSTD_InterFreqInfoList_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RSTD_InterFreqInfo_r10; - -/* RSTD-InterFreqInfoList-r10 */ -typedef struct RSTD_InterFreqInfoList_r10 { - A_SEQUENCE_OF(struct RSTD_InterFreqInfo_r10) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RSTD_InterFreqInfoList_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RSTD_InterFreqInfoList_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RSTD-InterFreqInfo-r10.h" - -#endif /* _RSTD_InterFreqInfoList_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RadioResourceConfigCommon.h b/lte/rrc/include/liblte/rrc/asn/RadioResourceConfigCommon.h deleted file mode 100644 index e6a473176..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RadioResourceConfigCommon.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RadioResourceConfigCommon_H_ -#define _RadioResourceConfigCommon_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PRACH-Config.h" -#include "liblte/rrc/asn/PUSCH-ConfigCommon.h" -#include "liblte/rrc/asn/P-Max.h" -#include "liblte/rrc/asn/UL-CyclicPrefixLength.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RACH_ConfigCommon; -struct PDSCH_ConfigCommon; -struct PHICH_Config; -struct PUCCH_ConfigCommon; -struct SoundingRS_UL_ConfigCommon; -struct UplinkPowerControlCommon; -struct AntennaInfoCommon; -struct TDD_Config; -struct UplinkPowerControlCommon_v1020; - -/* RadioResourceConfigCommon */ -typedef struct RadioResourceConfigCommon { - struct RACH_ConfigCommon *rach_ConfigCommon /* OPTIONAL */; - PRACH_Config_t prach_Config; - struct PDSCH_ConfigCommon *pdsch_ConfigCommon /* OPTIONAL */; - PUSCH_ConfigCommon_t pusch_ConfigCommon; - struct PHICH_Config *phich_Config /* OPTIONAL */; - struct PUCCH_ConfigCommon *pucch_ConfigCommon /* OPTIONAL */; - struct SoundingRS_UL_ConfigCommon *soundingRS_UL_ConfigCommon /* OPTIONAL */; - struct UplinkPowerControlCommon *uplinkPowerControlCommon /* OPTIONAL */; - struct AntennaInfoCommon *antennaInfoCommon /* OPTIONAL */; - P_Max_t *p_Max /* OPTIONAL */; - struct TDD_Config *tdd_Config /* OPTIONAL */; - UL_CyclicPrefixLength_t ul_CyclicPrefixLength; - struct UplinkPowerControlCommon_v1020 *uplinkPowerControlCommon_v1020 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RadioResourceConfigCommon_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RadioResourceConfigCommon; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RACH-ConfigCommon.h" -#include "liblte/rrc/asn/PDSCH-ConfigCommon.h" -#include "liblte/rrc/asn/PHICH-Config.h" -#include "liblte/rrc/asn/PUCCH-ConfigCommon.h" -#include "liblte/rrc/asn/SoundingRS-UL-ConfigCommon.h" -#include "liblte/rrc/asn/UplinkPowerControlCommon.h" -#include "liblte/rrc/asn/AntennaInfoCommon.h" -#include "liblte/rrc/asn/TDD-Config.h" -#include "liblte/rrc/asn/UplinkPowerControlCommon-v1020.h" - -#endif /* _RadioResourceConfigCommon_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RadioResourceConfigCommonSCell-r10.h b/lte/rrc/include/liblte/rrc/asn/RadioResourceConfigCommonSCell-r10.h deleted file mode 100644 index 31ca58b8e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RadioResourceConfigCommonSCell-r10.h +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RadioResourceConfigCommonSCell_r10_H_ -#define _RadioResourceConfigCommonSCell_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/AntennaInfoCommon.h" -#include "liblte/rrc/asn/PHICH-Config.h" -#include "liblte/rrc/asn/PDSCH-ConfigCommon.h" -#include -#include "liblte/rrc/asn/P-Max.h" -#include "liblte/rrc/asn/UplinkPowerControlCommonSCell-r10.h" -#include "liblte/rrc/asn/SoundingRS-UL-ConfigCommon.h" -#include "liblte/rrc/asn/UL-CyclicPrefixLength.h" -#include "liblte/rrc/asn/PUSCH-ConfigCommon.h" -#include "liblte/rrc/asn/ARFCN-ValueEUTRA.h" -#include "liblte/rrc/asn/AdditionalSpectrumEmission.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RadioResourceConfigCommonSCell_r10__nonUL_Configuration_r10__dl_Bandwidth_r10 { - RadioResourceConfigCommonSCell_r10__nonUL_Configuration_r10__dl_Bandwidth_r10_n6 = 0, - RadioResourceConfigCommonSCell_r10__nonUL_Configuration_r10__dl_Bandwidth_r10_n15 = 1, - RadioResourceConfigCommonSCell_r10__nonUL_Configuration_r10__dl_Bandwidth_r10_n25 = 2, - RadioResourceConfigCommonSCell_r10__nonUL_Configuration_r10__dl_Bandwidth_r10_n50 = 3, - RadioResourceConfigCommonSCell_r10__nonUL_Configuration_r10__dl_Bandwidth_r10_n75 = 4, - RadioResourceConfigCommonSCell_r10__nonUL_Configuration_r10__dl_Bandwidth_r10_n100 = 5 -} e_RadioResourceConfigCommonSCell_r10__nonUL_Configuration_r10__dl_Bandwidth_r10; -typedef enum RadioResourceConfigCommonSCell_r10__ul_Configuration_r10__ul_FreqInfo_r10__ul_Bandwidth_r10 { - RadioResourceConfigCommonSCell_r10__ul_Configuration_r10__ul_FreqInfo_r10__ul_Bandwidth_r10_n6 = 0, - RadioResourceConfigCommonSCell_r10__ul_Configuration_r10__ul_FreqInfo_r10__ul_Bandwidth_r10_n15 = 1, - RadioResourceConfigCommonSCell_r10__ul_Configuration_r10__ul_FreqInfo_r10__ul_Bandwidth_r10_n25 = 2, - RadioResourceConfigCommonSCell_r10__ul_Configuration_r10__ul_FreqInfo_r10__ul_Bandwidth_r10_n50 = 3, - RadioResourceConfigCommonSCell_r10__ul_Configuration_r10__ul_FreqInfo_r10__ul_Bandwidth_r10_n75 = 4, - RadioResourceConfigCommonSCell_r10__ul_Configuration_r10__ul_FreqInfo_r10__ul_Bandwidth_r10_n100 = 5 -} e_RadioResourceConfigCommonSCell_r10__ul_Configuration_r10__ul_FreqInfo_r10__ul_Bandwidth_r10; - -/* Forward declarations */ -struct MBSFN_SubframeConfigList; -struct TDD_Config; -struct PRACH_ConfigSCell_r10; - -/* RadioResourceConfigCommonSCell-r10 */ -typedef struct RadioResourceConfigCommonSCell_r10 { - struct RadioResourceConfigCommonSCell_r10__nonUL_Configuration_r10 { - long dl_Bandwidth_r10; - AntennaInfoCommon_t antennaInfoCommon_r10; - struct MBSFN_SubframeConfigList *mbsfn_SubframeConfigList_r10 /* OPTIONAL */; - PHICH_Config_t phich_Config_r10; - PDSCH_ConfigCommon_t pdsch_ConfigCommon_r10; - struct TDD_Config *tdd_Config_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } nonUL_Configuration_r10; - struct RadioResourceConfigCommonSCell_r10__ul_Configuration_r10 { - struct RadioResourceConfigCommonSCell_r10__ul_Configuration_r10__ul_FreqInfo_r10 { - ARFCN_ValueEUTRA_t *ul_CarrierFreq_r10 /* OPTIONAL */; - long *ul_Bandwidth_r10 /* OPTIONAL */; - AdditionalSpectrumEmission_t additionalSpectrumEmission_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } ul_FreqInfo_r10; - P_Max_t *p_Max_r10 /* OPTIONAL */; - UplinkPowerControlCommonSCell_r10_t uplinkPowerControlCommonSCell_r10; - SoundingRS_UL_ConfigCommon_t soundingRS_UL_ConfigCommon_r10; - UL_CyclicPrefixLength_t ul_CyclicPrefixLength_r10; - struct PRACH_ConfigSCell_r10 *prach_ConfigSCell_r10 /* OPTIONAL */; - PUSCH_ConfigCommon_t pusch_ConfigCommon_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *ul_Configuration_r10; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RadioResourceConfigCommonSCell_r10_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_dl_Bandwidth_r10_3; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_ul_Bandwidth_r10_18; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_RadioResourceConfigCommonSCell_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MBSFN-SubframeConfigList.h" -#include "liblte/rrc/asn/TDD-Config.h" -#include "liblte/rrc/asn/PRACH-ConfigSCell-r10.h" - -#endif /* _RadioResourceConfigCommonSCell_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RadioResourceConfigCommonSIB.h b/lte/rrc/include/liblte/rrc/asn/RadioResourceConfigCommonSIB.h deleted file mode 100644 index 819b0c37d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RadioResourceConfigCommonSIB.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RadioResourceConfigCommonSIB_H_ -#define _RadioResourceConfigCommonSIB_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RACH-ConfigCommon.h" -#include "liblte/rrc/asn/BCCH-Config.h" -#include "liblte/rrc/asn/PCCH-Config.h" -#include "liblte/rrc/asn/PRACH-ConfigSIB.h" -#include "liblte/rrc/asn/PDSCH-ConfigCommon.h" -#include "liblte/rrc/asn/PUSCH-ConfigCommon.h" -#include "liblte/rrc/asn/PUCCH-ConfigCommon.h" -#include "liblte/rrc/asn/SoundingRS-UL-ConfigCommon.h" -#include "liblte/rrc/asn/UplinkPowerControlCommon.h" -#include "liblte/rrc/asn/UL-CyclicPrefixLength.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct UplinkPowerControlCommon_v1020; - -/* RadioResourceConfigCommonSIB */ -typedef struct RadioResourceConfigCommonSIB { - RACH_ConfigCommon_t rach_ConfigCommon; - BCCH_Config_t bcch_Config; - PCCH_Config_t pcch_Config; - PRACH_ConfigSIB_t prach_Config; - PDSCH_ConfigCommon_t pdsch_ConfigCommon; - PUSCH_ConfigCommon_t pusch_ConfigCommon; - PUCCH_ConfigCommon_t pucch_ConfigCommon; - SoundingRS_UL_ConfigCommon_t soundingRS_UL_ConfigCommon; - UplinkPowerControlCommon_t uplinkPowerControlCommon; - UL_CyclicPrefixLength_t ul_CyclicPrefixLength; - struct UplinkPowerControlCommon_v1020 *uplinkPowerControlCommon_v1020 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RadioResourceConfigCommonSIB_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RadioResourceConfigCommonSIB; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/UplinkPowerControlCommon-v1020.h" - -#endif /* _RadioResourceConfigCommonSIB_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RadioResourceConfigDedicated.h b/lte/rrc/include/liblte/rrc/asn/RadioResourceConfigDedicated.h deleted file mode 100644 index 4e56a610a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RadioResourceConfigDedicated.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RadioResourceConfigDedicated_H_ -#define _RadioResourceConfigDedicated_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MAC-MainConfig.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RadioResourceConfigDedicated__mac_MainConfig_PR { - RadioResourceConfigDedicated__mac_MainConfig_PR_NOTHING, /* No components present */ - RadioResourceConfigDedicated__mac_MainConfig_PR_explicitValue, - RadioResourceConfigDedicated__mac_MainConfig_PR_defaultValue -} RadioResourceConfigDedicated__mac_MainConfig_PR; - -/* Forward declarations */ -struct SRB_ToAddModList; -struct DRB_ToAddModList; -struct DRB_ToReleaseList; -struct SPS_Config; -struct PhysicalConfigDedicated; -struct RLF_TimersAndConstants_r9; -struct MeasSubframePatternPCell_r10; -struct SPS_RA_ConfigList_rlola; - -/* RadioResourceConfigDedicated */ -typedef struct RadioResourceConfigDedicated { - struct SRB_ToAddModList *srb_ToAddModList /* OPTIONAL */; - struct DRB_ToAddModList *drb_ToAddModList /* OPTIONAL */; - struct DRB_ToReleaseList *drb_ToReleaseList /* OPTIONAL */; - struct RadioResourceConfigDedicated__mac_MainConfig { - RadioResourceConfigDedicated__mac_MainConfig_PR present; - union RadioResourceConfigDedicated__mac_MainConfig_u { - MAC_MainConfig_t explicitValue; - NULL_t defaultValue; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *mac_MainConfig; - struct SPS_Config *sps_Config /* OPTIONAL */; - struct PhysicalConfigDedicated *physicalConfigDedicated /* OPTIONAL */; - struct RLF_TimersAndConstants_r9 *rlf_TimersAndConstants_r9 /* OPTIONAL */; - struct MeasSubframePatternPCell_r10 *measSubframePatternPCell_r10 /* OPTIONAL */; - struct SPS_RA_ConfigList_rlola *sps_RA_ConfigList_rlola /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RadioResourceConfigDedicated_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RadioResourceConfigDedicated; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SRB-ToAddModList.h" -#include "liblte/rrc/asn/DRB-ToAddModList.h" -#include "liblte/rrc/asn/DRB-ToReleaseList.h" -#include "liblte/rrc/asn/SPS-Config.h" -#include "liblte/rrc/asn/PhysicalConfigDedicated.h" -#include "liblte/rrc/asn/RLF-TimersAndConstants-r9.h" -#include "liblte/rrc/asn/MeasSubframePatternPCell-r10.h" -#include "liblte/rrc/asn/SPS-RA-ConfigList-rlola.h" - -#endif /* _RadioResourceConfigDedicated_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RadioResourceConfigDedicatedSCell-r10.h b/lte/rrc/include/liblte/rrc/asn/RadioResourceConfigDedicatedSCell-r10.h deleted file mode 100644 index 1717c0997..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RadioResourceConfigDedicatedSCell-r10.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RadioResourceConfigDedicatedSCell_r10_H_ -#define _RadioResourceConfigDedicatedSCell_r10_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct PhysicalConfigDedicatedSCell_r10; - -/* RadioResourceConfigDedicatedSCell-r10 */ -typedef struct RadioResourceConfigDedicatedSCell_r10 { - struct PhysicalConfigDedicatedSCell_r10 *physicalConfigDedicatedSCell_r10 /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RadioResourceConfigDedicatedSCell_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RadioResourceConfigDedicatedSCell_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PhysicalConfigDedicatedSCell-r10.h" - -#endif /* _RadioResourceConfigDedicatedSCell_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RedirectedCarrierInfo.h b/lte/rrc/include/liblte/rrc/asn/RedirectedCarrierInfo.h deleted file mode 100644 index 955901057..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RedirectedCarrierInfo.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RedirectedCarrierInfo_H_ -#define _RedirectedCarrierInfo_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ARFCN-ValueEUTRA.h" -#include "liblte/rrc/asn/CarrierFreqsGERAN.h" -#include "liblte/rrc/asn/ARFCN-ValueUTRA.h" -#include "liblte/rrc/asn/CarrierFreqCDMA2000.h" -#include "liblte/rrc/asn/CarrierFreqListUTRA-TDD-r10.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RedirectedCarrierInfo_PR { - RedirectedCarrierInfo_PR_NOTHING, /* No components present */ - RedirectedCarrierInfo_PR_eutra, - RedirectedCarrierInfo_PR_geran, - RedirectedCarrierInfo_PR_utra_FDD, - RedirectedCarrierInfo_PR_utra_TDD, - RedirectedCarrierInfo_PR_cdma2000_HRPD, - RedirectedCarrierInfo_PR_cdma2000_1xRTT, - /* Extensions may appear below */ - RedirectedCarrierInfo_PR_utra_TDD_r10 -} RedirectedCarrierInfo_PR; - -/* RedirectedCarrierInfo */ -typedef struct RedirectedCarrierInfo { - RedirectedCarrierInfo_PR present; - union RedirectedCarrierInfo_u { - ARFCN_ValueEUTRA_t eutra; - CarrierFreqsGERAN_t geran; - ARFCN_ValueUTRA_t utra_FDD; - ARFCN_ValueUTRA_t utra_TDD; - CarrierFreqCDMA2000_t cdma2000_HRPD; - CarrierFreqCDMA2000_t cdma2000_1xRTT; - /* - * This type is extensible, - * possible extensions are below. - */ - CarrierFreqListUTRA_TDD_r10_t utra_TDD_r10; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RedirectedCarrierInfo_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RedirectedCarrierInfo; - -#ifdef __cplusplus -} -#endif - -#endif /* _RedirectedCarrierInfo_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ReestabUE-Identity.h b/lte/rrc/include/liblte/rrc/asn/ReestabUE-Identity.h deleted file mode 100644 index a24927f40..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ReestabUE-Identity.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ReestabUE_Identity_H_ -#define _ReestabUE_Identity_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/C-RNTI.h" -#include "liblte/rrc/asn/PhysCellId.h" -#include "liblte/rrc/asn/ShortMAC-I.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ReestabUE-Identity */ -typedef struct ReestabUE_Identity { - C_RNTI_t c_RNTI; - PhysCellId_t physCellId; - ShortMAC_I_t shortMAC_I; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReestabUE_Identity_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReestabUE_Identity; - -#ifdef __cplusplus -} -#endif - -#endif /* _ReestabUE_Identity_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ReestablishmentCause.h b/lte/rrc/include/liblte/rrc/asn/ReestablishmentCause.h deleted file mode 100644 index f006a1115..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ReestablishmentCause.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ReestablishmentCause_H_ -#define _ReestablishmentCause_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ReestablishmentCause { - ReestablishmentCause_reconfigurationFailure = 0, - ReestablishmentCause_handoverFailure = 1, - ReestablishmentCause_otherFailure = 2, - ReestablishmentCause_spare1 = 3 -} e_ReestablishmentCause; - -/* ReestablishmentCause */ -typedef long ReestablishmentCause_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReestablishmentCause; -asn_struct_free_f ReestablishmentCause_free; -asn_struct_print_f ReestablishmentCause_print; -asn_constr_check_f ReestablishmentCause_constraint; -ber_type_decoder_f ReestablishmentCause_decode_ber; -der_type_encoder_f ReestablishmentCause_encode_der; -xer_type_decoder_f ReestablishmentCause_decode_xer; -xer_type_encoder_f ReestablishmentCause_encode_xer; -per_type_decoder_f ReestablishmentCause_decode_uper; -per_type_encoder_f ReestablishmentCause_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _ReestablishmentCause_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ReestablishmentInfo.h b/lte/rrc/include/liblte/rrc/asn/ReestablishmentInfo.h deleted file mode 100644 index f039b8432..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ReestablishmentInfo.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#ifndef _ReestablishmentInfo_H_ -#define _ReestablishmentInfo_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PhysCellId.h" -#include "liblte/rrc/asn/ShortMAC-I.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct AdditionalReestabInfoList; - -/* ReestablishmentInfo */ -typedef struct ReestablishmentInfo { - PhysCellId_t sourcePhysCellId; - ShortMAC_I_t targetCellShortMAC_I; - struct AdditionalReestabInfoList *additionalReestabInfoList /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReestablishmentInfo_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReestablishmentInfo; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/AdditionalReestabInfoList.h" - -#endif /* _ReestablishmentInfo_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/RegisteredMME.h b/lte/rrc/include/liblte/rrc/asn/RegisteredMME.h deleted file mode 100644 index bebd1def3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/RegisteredMME.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _RegisteredMME_H_ -#define _RegisteredMME_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/MMEC.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct PLMN_Identity; - -/* RegisteredMME */ -typedef struct RegisteredMME { - struct PLMN_Identity *plmn_Identity /* OPTIONAL */; - BIT_STRING_t mmegi; - MMEC_t mmec; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RegisteredMME_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RegisteredMME; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PLMN-Identity.h" - -#endif /* _RegisteredMME_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ReleaseCause.h b/lte/rrc/include/liblte/rrc/asn/ReleaseCause.h deleted file mode 100644 index 997e50676..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ReleaseCause.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ReleaseCause_H_ -#define _ReleaseCause_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ReleaseCause { - ReleaseCause_loadBalancingTAUrequired = 0, - ReleaseCause_other = 1, - ReleaseCause_cs_FallbackHighPriority = 2, - ReleaseCause_spare1 = 3 -} e_ReleaseCause; - -/* ReleaseCause */ -typedef long ReleaseCause_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReleaseCause; -asn_struct_free_f ReleaseCause_free; -asn_struct_print_f ReleaseCause_print; -asn_constr_check_f ReleaseCause_constraint; -ber_type_decoder_f ReleaseCause_decode_ber; -der_type_encoder_f ReleaseCause_encode_der; -xer_type_decoder_f ReleaseCause_decode_xer; -xer_type_encoder_f ReleaseCause_encode_xer; -per_type_decoder_f ReleaseCause_decode_uper; -per_type_encoder_f ReleaseCause_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _ReleaseCause_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ReportConfigEUTRA.h b/lte/rrc/include/liblte/rrc/asn/ReportConfigEUTRA.h deleted file mode 100644 index 1a6f07fc9..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ReportConfigEUTRA.h +++ /dev/null @@ -1,184 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ReportConfigEUTRA_H_ -#define _ReportConfigEUTRA_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include "liblte/rrc/asn/ReportInterval.h" -#include "liblte/rrc/asn/Hysteresis.h" -#include "liblte/rrc/asn/TimeToTrigger.h" -#include "liblte/rrc/asn/ThresholdEUTRA.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ReportConfigEUTRA__triggerType_PR { - ReportConfigEUTRA__triggerType_PR_NOTHING, /* No components present */ - ReportConfigEUTRA__triggerType_PR_event, - ReportConfigEUTRA__triggerType_PR_periodical -} ReportConfigEUTRA__triggerType_PR; -typedef enum ReportConfigEUTRA__triggerType__event__eventId_PR { - ReportConfigEUTRA__triggerType__event__eventId_PR_NOTHING, /* No components present */ - ReportConfigEUTRA__triggerType__event__eventId_PR_eventA1, - ReportConfigEUTRA__triggerType__event__eventId_PR_eventA2, - ReportConfigEUTRA__triggerType__event__eventId_PR_eventA3, - ReportConfigEUTRA__triggerType__event__eventId_PR_eventA4, - ReportConfigEUTRA__triggerType__event__eventId_PR_eventA5, - /* Extensions may appear below */ - ReportConfigEUTRA__triggerType__event__eventId_PR_eventA6_r10 -} ReportConfigEUTRA__triggerType__event__eventId_PR; -typedef enum ReportConfigEUTRA__triggerType__periodical__purpose { - ReportConfigEUTRA__triggerType__periodical__purpose_reportStrongestCells = 0, - ReportConfigEUTRA__triggerType__periodical__purpose_reportCGI = 1 -} e_ReportConfigEUTRA__triggerType__periodical__purpose; -typedef enum ReportConfigEUTRA__triggerQuantity { - ReportConfigEUTRA__triggerQuantity_rsrp = 0, - ReportConfigEUTRA__triggerQuantity_rsrq = 1 -} e_ReportConfigEUTRA__triggerQuantity; -typedef enum ReportConfigEUTRA__reportQuantity { - ReportConfigEUTRA__reportQuantity_sameAsTriggerQuantity = 0, - ReportConfigEUTRA__reportQuantity_both = 1 -} e_ReportConfigEUTRA__reportQuantity; -typedef enum ReportConfigEUTRA__reportAmount { - ReportConfigEUTRA__reportAmount_r1 = 0, - ReportConfigEUTRA__reportAmount_r2 = 1, - ReportConfigEUTRA__reportAmount_r4 = 2, - ReportConfigEUTRA__reportAmount_r8 = 3, - ReportConfigEUTRA__reportAmount_r16 = 4, - ReportConfigEUTRA__reportAmount_r32 = 5, - ReportConfigEUTRA__reportAmount_r64 = 6, - ReportConfigEUTRA__reportAmount_infinity = 7 -} e_ReportConfigEUTRA__reportAmount; -typedef enum ReportConfigEUTRA__si_RequestForHO_r9 { - ReportConfigEUTRA__si_RequestForHO_r9_setup = 0 -} e_ReportConfigEUTRA__si_RequestForHO_r9; -typedef enum ReportConfigEUTRA__ue_RxTxTimeDiffPeriodical_r9 { - ReportConfigEUTRA__ue_RxTxTimeDiffPeriodical_r9_setup = 0 -} e_ReportConfigEUTRA__ue_RxTxTimeDiffPeriodical_r9; -typedef enum ReportConfigEUTRA__includeLocationInfo_r10 { - ReportConfigEUTRA__includeLocationInfo_r10_true = 0 -} e_ReportConfigEUTRA__includeLocationInfo_r10; -typedef enum ReportConfigEUTRA__reportAddNeighMeas_r10 { - ReportConfigEUTRA__reportAddNeighMeas_r10_setup = 0 -} e_ReportConfigEUTRA__reportAddNeighMeas_r10; - -/* ReportConfigEUTRA */ -typedef struct ReportConfigEUTRA { - struct ReportConfigEUTRA__triggerType { - ReportConfigEUTRA__triggerType_PR present; - union ReportConfigEUTRA__triggerType_u { - struct ReportConfigEUTRA__triggerType__event { - struct ReportConfigEUTRA__triggerType__event__eventId { - ReportConfigEUTRA__triggerType__event__eventId_PR present; - union ReportConfigEUTRA__triggerType__event__eventId_u { - struct ReportConfigEUTRA__triggerType__event__eventId__eventA1 { - ThresholdEUTRA_t a1_Threshold; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } eventA1; - struct ReportConfigEUTRA__triggerType__event__eventId__eventA2 { - ThresholdEUTRA_t a2_Threshold; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } eventA2; - struct ReportConfigEUTRA__triggerType__event__eventId__eventA3 { - long a3_Offset; - BOOLEAN_t reportOnLeave; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } eventA3; - struct ReportConfigEUTRA__triggerType__event__eventId__eventA4 { - ThresholdEUTRA_t a4_Threshold; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } eventA4; - struct ReportConfigEUTRA__triggerType__event__eventId__eventA5 { - ThresholdEUTRA_t a5_Threshold1; - ThresholdEUTRA_t a5_Threshold2; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } eventA5; - /* - * This type is extensible, - * possible extensions are below. - */ - struct ReportConfigEUTRA__triggerType__event__eventId__eventA6_r10 { - long a6_Offset_r10; - BOOLEAN_t a6_ReportOnLeave_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } eventA6_r10; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } eventId; - Hysteresis_t hysteresis; - TimeToTrigger_t timeToTrigger; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } event; - struct ReportConfigEUTRA__triggerType__periodical { - long purpose; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } periodical; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } triggerType; - long triggerQuantity; - long reportQuantity; - long maxReportCells; - ReportInterval_t reportInterval; - long reportAmount; - long *si_RequestForHO_r9 /* OPTIONAL */; - long *ue_RxTxTimeDiffPeriodical_r9 /* OPTIONAL */; - long *includeLocationInfo_r10 /* OPTIONAL */; - long *reportAddNeighMeas_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReportConfigEUTRA_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_purpose_24; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_triggerQuantity_27; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_reportQuantity_30; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_reportAmount_35; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_si_RequestForHO_r9_44; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_ue_RxTxTimeDiffPeriodical_r9_46; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_includeLocationInfo_r10_48; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_reportAddNeighMeas_r10_50; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_ReportConfigEUTRA; - -#ifdef __cplusplus -} -#endif - -#endif /* _ReportConfigEUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ReportConfigId.h b/lte/rrc/include/liblte/rrc/asn/ReportConfigId.h deleted file mode 100644 index 4f0e8802e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ReportConfigId.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ReportConfigId_H_ -#define _ReportConfigId_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ReportConfigId */ -typedef long ReportConfigId_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReportConfigId; -asn_struct_free_f ReportConfigId_free; -asn_struct_print_f ReportConfigId_print; -asn_constr_check_f ReportConfigId_constraint; -ber_type_decoder_f ReportConfigId_decode_ber; -der_type_encoder_f ReportConfigId_encode_der; -xer_type_decoder_f ReportConfigId_decode_xer; -xer_type_encoder_f ReportConfigId_encode_xer; -per_type_decoder_f ReportConfigId_decode_uper; -per_type_encoder_f ReportConfigId_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _ReportConfigId_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ReportConfigInterRAT.h b/lte/rrc/include/liblte/rrc/asn/ReportConfigInterRAT.h deleted file mode 100644 index e408e01d3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ReportConfigInterRAT.h +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ReportConfigInterRAT_H_ -#define _ReportConfigInterRAT_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/ReportInterval.h" -#include -#include "liblte/rrc/asn/Hysteresis.h" -#include "liblte/rrc/asn/TimeToTrigger.h" -#include "liblte/rrc/asn/ThresholdUTRA.h" -#include "liblte/rrc/asn/ThresholdGERAN.h" -#include "liblte/rrc/asn/ThresholdCDMA2000.h" -#include -#include -#include "liblte/rrc/asn/ThresholdEUTRA.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ReportConfigInterRAT__triggerType_PR { - ReportConfigInterRAT__triggerType_PR_NOTHING, /* No components present */ - ReportConfigInterRAT__triggerType_PR_event, - ReportConfigInterRAT__triggerType_PR_periodical -} ReportConfigInterRAT__triggerType_PR; -typedef enum ReportConfigInterRAT__triggerType__event__eventId_PR { - ReportConfigInterRAT__triggerType__event__eventId_PR_NOTHING, /* No components present */ - ReportConfigInterRAT__triggerType__event__eventId_PR_eventB1, - ReportConfigInterRAT__triggerType__event__eventId_PR_eventB2, - /* Extensions may appear below */ - -} ReportConfigInterRAT__triggerType__event__eventId_PR; -typedef enum ReportConfigInterRAT__triggerType__event__eventId__eventB1__b1_Threshold_PR { - ReportConfigInterRAT__triggerType__event__eventId__eventB1__b1_Threshold_PR_NOTHING, /* No components present */ - ReportConfigInterRAT__triggerType__event__eventId__eventB1__b1_Threshold_PR_b1_ThresholdUTRA, - ReportConfigInterRAT__triggerType__event__eventId__eventB1__b1_Threshold_PR_b1_ThresholdGERAN, - ReportConfigInterRAT__triggerType__event__eventId__eventB1__b1_Threshold_PR_b1_ThresholdCDMA2000 -} ReportConfigInterRAT__triggerType__event__eventId__eventB1__b1_Threshold_PR; -typedef enum ReportConfigInterRAT__triggerType__event__eventId__eventB2__b2_Threshold2_PR { - ReportConfigInterRAT__triggerType__event__eventId__eventB2__b2_Threshold2_PR_NOTHING, /* No components present */ - ReportConfigInterRAT__triggerType__event__eventId__eventB2__b2_Threshold2_PR_b2_Threshold2UTRA, - ReportConfigInterRAT__triggerType__event__eventId__eventB2__b2_Threshold2_PR_b2_Threshold2GERAN, - ReportConfigInterRAT__triggerType__event__eventId__eventB2__b2_Threshold2_PR_b2_Threshold2CDMA2000 -} ReportConfigInterRAT__triggerType__event__eventId__eventB2__b2_Threshold2_PR; -typedef enum ReportConfigInterRAT__triggerType__periodical__purpose { - ReportConfigInterRAT__triggerType__periodical__purpose_reportStrongestCells = 0, - ReportConfigInterRAT__triggerType__periodical__purpose_reportStrongestCellsForSON = 1, - ReportConfigInterRAT__triggerType__periodical__purpose_reportCGI = 2 -} e_ReportConfigInterRAT__triggerType__periodical__purpose; -typedef enum ReportConfigInterRAT__reportAmount { - ReportConfigInterRAT__reportAmount_r1 = 0, - ReportConfigInterRAT__reportAmount_r2 = 1, - ReportConfigInterRAT__reportAmount_r4 = 2, - ReportConfigInterRAT__reportAmount_r8 = 3, - ReportConfigInterRAT__reportAmount_r16 = 4, - ReportConfigInterRAT__reportAmount_r32 = 5, - ReportConfigInterRAT__reportAmount_r64 = 6, - ReportConfigInterRAT__reportAmount_infinity = 7 -} e_ReportConfigInterRAT__reportAmount; -typedef enum ReportConfigInterRAT__si_RequestForHO_r9 { - ReportConfigInterRAT__si_RequestForHO_r9_setup = 0 -} e_ReportConfigInterRAT__si_RequestForHO_r9; -typedef enum ReportConfigInterRAT__reportQuantityUTRA_FDD_r10 { - ReportConfigInterRAT__reportQuantityUTRA_FDD_r10_both = 0 -} e_ReportConfigInterRAT__reportQuantityUTRA_FDD_r10; - -/* ReportConfigInterRAT */ -typedef struct ReportConfigInterRAT { - struct ReportConfigInterRAT__triggerType { - ReportConfigInterRAT__triggerType_PR present; - union ReportConfigInterRAT__triggerType_u { - struct ReportConfigInterRAT__triggerType__event { - struct ReportConfigInterRAT__triggerType__event__eventId { - ReportConfigInterRAT__triggerType__event__eventId_PR present; - union ReportConfigInterRAT__triggerType__event__eventId_u { - struct ReportConfigInterRAT__triggerType__event__eventId__eventB1 { - struct ReportConfigInterRAT__triggerType__event__eventId__eventB1__b1_Threshold { - ReportConfigInterRAT__triggerType__event__eventId__eventB1__b1_Threshold_PR present; - union ReportConfigInterRAT__triggerType__event__eventId__eventB1__b1_Threshold_u { - ThresholdUTRA_t b1_ThresholdUTRA; - ThresholdGERAN_t b1_ThresholdGERAN; - ThresholdCDMA2000_t b1_ThresholdCDMA2000; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } b1_Threshold; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } eventB1; - struct ReportConfigInterRAT__triggerType__event__eventId__eventB2 { - ThresholdEUTRA_t b2_Threshold1; - struct ReportConfigInterRAT__triggerType__event__eventId__eventB2__b2_Threshold2 { - ReportConfigInterRAT__triggerType__event__eventId__eventB2__b2_Threshold2_PR present; - union ReportConfigInterRAT__triggerType__event__eventId__eventB2__b2_Threshold2_u { - ThresholdUTRA_t b2_Threshold2UTRA; - ThresholdGERAN_t b2_Threshold2GERAN; - ThresholdCDMA2000_t b2_Threshold2CDMA2000; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } b2_Threshold2; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } eventB2; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } eventId; - Hysteresis_t hysteresis; - TimeToTrigger_t timeToTrigger; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } event; - struct ReportConfigInterRAT__triggerType__periodical { - long purpose; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } periodical; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } triggerType; - long maxReportCells; - ReportInterval_t reportInterval; - long reportAmount; - long *si_RequestForHO_r9 /* OPTIONAL */; - long *reportQuantityUTRA_FDD_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReportConfigInterRAT_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_purpose_20; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_reportAmount_26; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_si_RequestForHO_r9_35; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_reportQuantityUTRA_FDD_r10_37; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_ReportConfigInterRAT; - -#ifdef __cplusplus -} -#endif - -#endif /* _ReportConfigInterRAT_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ReportConfigToAddMod.h b/lte/rrc/include/liblte/rrc/asn/ReportConfigToAddMod.h deleted file mode 100644 index 752f48d33..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ReportConfigToAddMod.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ReportConfigToAddMod_H_ -#define _ReportConfigToAddMod_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ReportConfigId.h" -#include "liblte/rrc/asn/ReportConfigEUTRA.h" -#include "liblte/rrc/asn/ReportConfigInterRAT.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ReportConfigToAddMod__reportConfig_PR { - ReportConfigToAddMod__reportConfig_PR_NOTHING, /* No components present */ - ReportConfigToAddMod__reportConfig_PR_reportConfigEUTRA, - ReportConfigToAddMod__reportConfig_PR_reportConfigInterRAT -} ReportConfigToAddMod__reportConfig_PR; - -/* ReportConfigToAddMod */ -typedef struct ReportConfigToAddMod { - ReportConfigId_t reportConfigId; - struct ReportConfigToAddMod__reportConfig { - ReportConfigToAddMod__reportConfig_PR present; - union ReportConfigToAddMod__reportConfig_u { - ReportConfigEUTRA_t reportConfigEUTRA; - ReportConfigInterRAT_t reportConfigInterRAT; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } reportConfig; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReportConfigToAddMod_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReportConfigToAddMod; - -#ifdef __cplusplus -} -#endif - -#endif /* _ReportConfigToAddMod_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ReportConfigToAddModList.h b/lte/rrc/include/liblte/rrc/asn/ReportConfigToAddModList.h deleted file mode 100644 index 8f83a744c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ReportConfigToAddModList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ReportConfigToAddModList_H_ -#define _ReportConfigToAddModList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct ReportConfigToAddMod; - -/* ReportConfigToAddModList */ -typedef struct ReportConfigToAddModList { - A_SEQUENCE_OF(struct ReportConfigToAddMod) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReportConfigToAddModList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReportConfigToAddModList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/ReportConfigToAddMod.h" - -#endif /* _ReportConfigToAddModList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ReportConfigToRemoveList.h b/lte/rrc/include/liblte/rrc/asn/ReportConfigToRemoveList.h deleted file mode 100644 index 54ed770cb..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ReportConfigToRemoveList.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ReportConfigToRemoveList_H_ -#define _ReportConfigToRemoveList_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ReportConfigId.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ReportConfigToRemoveList */ -typedef struct ReportConfigToRemoveList { - A_SEQUENCE_OF(ReportConfigId_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReportConfigToRemoveList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReportConfigToRemoveList; - -#ifdef __cplusplus -} -#endif - -#endif /* _ReportConfigToRemoveList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ReportInterval.h b/lte/rrc/include/liblte/rrc/asn/ReportInterval.h deleted file mode 100644 index 662c71d0a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ReportInterval.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ReportInterval_H_ -#define _ReportInterval_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ReportInterval { - ReportInterval_ms120 = 0, - ReportInterval_ms240 = 1, - ReportInterval_ms480 = 2, - ReportInterval_ms640 = 3, - ReportInterval_ms1024 = 4, - ReportInterval_ms2048 = 5, - ReportInterval_ms5120 = 6, - ReportInterval_ms10240 = 7, - ReportInterval_min1 = 8, - ReportInterval_min6 = 9, - ReportInterval_min12 = 10, - ReportInterval_min30 = 11, - ReportInterval_min60 = 12, - ReportInterval_spare3 = 13, - ReportInterval_spare2 = 14, - ReportInterval_spare1 = 15 -} e_ReportInterval; - -/* ReportInterval */ -typedef long ReportInterval_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReportInterval; -asn_struct_free_f ReportInterval_free; -asn_struct_print_f ReportInterval_print; -asn_constr_check_f ReportInterval_constraint; -ber_type_decoder_f ReportInterval_decode_ber; -der_type_encoder_f ReportInterval_encode_der; -xer_type_decoder_f ReportInterval_decode_xer; -xer_type_encoder_f ReportInterval_encode_xer; -per_type_decoder_f ReportInterval_decode_uper; -per_type_encoder_f ReportInterval_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _ReportInterval_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ReportProximityConfig-r9.h b/lte/rrc/include/liblte/rrc/asn/ReportProximityConfig-r9.h deleted file mode 100644 index 40e5c4e1e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ReportProximityConfig-r9.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ReportProximityConfig_r9_H_ -#define _ReportProximityConfig_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ReportProximityConfig_r9__proximityIndicationEUTRA_r9 { - ReportProximityConfig_r9__proximityIndicationEUTRA_r9_enabled = 0 -} e_ReportProximityConfig_r9__proximityIndicationEUTRA_r9; -typedef enum ReportProximityConfig_r9__proximityIndicationUTRA_r9 { - ReportProximityConfig_r9__proximityIndicationUTRA_r9_enabled = 0 -} e_ReportProximityConfig_r9__proximityIndicationUTRA_r9; - -/* ReportProximityConfig-r9 */ -typedef struct ReportProximityConfig_r9 { - long *proximityIndicationEUTRA_r9 /* OPTIONAL */; - long *proximityIndicationUTRA_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReportProximityConfig_r9_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_proximityIndicationEUTRA_r9_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_proximityIndicationUTRA_r9_4; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_ReportProximityConfig_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _ReportProximityConfig_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ReselectionThreshold.h b/lte/rrc/include/liblte/rrc/asn/ReselectionThreshold.h deleted file mode 100644 index b2571805f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ReselectionThreshold.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ReselectionThreshold_H_ -#define _ReselectionThreshold_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ReselectionThreshold */ -typedef long ReselectionThreshold_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReselectionThreshold; -asn_struct_free_f ReselectionThreshold_free; -asn_struct_print_f ReselectionThreshold_print; -asn_constr_check_f ReselectionThreshold_constraint; -ber_type_decoder_f ReselectionThreshold_decode_ber; -der_type_encoder_f ReselectionThreshold_encode_der; -xer_type_decoder_f ReselectionThreshold_decode_xer; -xer_type_encoder_f ReselectionThreshold_encode_xer; -per_type_decoder_f ReselectionThreshold_decode_uper; -per_type_encoder_f ReselectionThreshold_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _ReselectionThreshold_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ReselectionThresholdQ-r9.h b/lte/rrc/include/liblte/rrc/asn/ReselectionThresholdQ-r9.h deleted file mode 100644 index 8a29d5701..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ReselectionThresholdQ-r9.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ReselectionThresholdQ_r9_H_ -#define _ReselectionThresholdQ_r9_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ReselectionThresholdQ-r9 */ -typedef long ReselectionThresholdQ_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReselectionThresholdQ_r9; -asn_struct_free_f ReselectionThresholdQ_r9_free; -asn_struct_print_f ReselectionThresholdQ_r9_print; -asn_constr_check_f ReselectionThresholdQ_r9_constraint; -ber_type_decoder_f ReselectionThresholdQ_r9_decode_ber; -der_type_encoder_f ReselectionThresholdQ_r9_encode_der; -xer_type_decoder_f ReselectionThresholdQ_r9_decode_xer; -xer_type_encoder_f ReselectionThresholdQ_r9_encode_xer; -per_type_decoder_f ReselectionThresholdQ_r9_decode_uper; -per_type_encoder_f ReselectionThresholdQ_r9_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _ReselectionThresholdQ_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/S-TMSI.h b/lte/rrc/include/liblte/rrc/asn/S-TMSI.h deleted file mode 100644 index dbd5e6fc4..000000000 --- a/lte/rrc/include/liblte/rrc/asn/S-TMSI.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _S_TMSI_H_ -#define _S_TMSI_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MMEC.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* S-TMSI */ -typedef struct S_TMSI { - MMEC_t mmec; - BIT_STRING_t m_TMSI; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} S_TMSI_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_S_TMSI; - -#ifdef __cplusplus -} -#endif - -#endif /* _S_TMSI_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SCellIndex-r10.h b/lte/rrc/include/liblte/rrc/asn/SCellIndex-r10.h deleted file mode 100644 index 9685e239b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SCellIndex-r10.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SCellIndex_r10_H_ -#define _SCellIndex_r10_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SCellIndex-r10 */ -typedef long SCellIndex_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SCellIndex_r10; -asn_struct_free_f SCellIndex_r10_free; -asn_struct_print_f SCellIndex_r10_print; -asn_constr_check_f SCellIndex_r10_constraint; -ber_type_decoder_f SCellIndex_r10_decode_ber; -der_type_encoder_f SCellIndex_r10_encode_der; -xer_type_decoder_f SCellIndex_r10_decode_xer; -xer_type_encoder_f SCellIndex_r10_encode_xer; -per_type_decoder_f SCellIndex_r10_decode_uper; -per_type_encoder_f SCellIndex_r10_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _SCellIndex_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SCellToAddMod-r10.h b/lte/rrc/include/liblte/rrc/asn/SCellToAddMod-r10.h deleted file mode 100644 index 0458c406d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SCellToAddMod-r10.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SCellToAddMod_r10_H_ -#define _SCellToAddMod_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SCellIndex-r10.h" -#include "liblte/rrc/asn/PhysCellId.h" -#include "liblte/rrc/asn/ARFCN-ValueEUTRA.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RadioResourceConfigCommonSCell_r10; -struct RadioResourceConfigDedicatedSCell_r10; - -/* SCellToAddMod-r10 */ -typedef struct SCellToAddMod_r10 { - SCellIndex_r10_t sCellIndex_r10; - struct SCellToAddMod_r10__cellIdentification_r10 { - PhysCellId_t physCellId_r10; - ARFCN_ValueEUTRA_t dl_CarrierFreq_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *cellIdentification_r10; - struct RadioResourceConfigCommonSCell_r10 *radioResourceConfigCommonSCell_r10 /* OPTIONAL */; - struct RadioResourceConfigDedicatedSCell_r10 *radioResourceConfigDedicatedSCell_r10 /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SCellToAddMod_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SCellToAddMod_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RadioResourceConfigCommonSCell-r10.h" -#include "liblte/rrc/asn/RadioResourceConfigDedicatedSCell-r10.h" - -#endif /* _SCellToAddMod_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SCellToAddModList-r10.h b/lte/rrc/include/liblte/rrc/asn/SCellToAddModList-r10.h deleted file mode 100644 index 0e75244c5..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SCellToAddModList-r10.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SCellToAddModList_r10_H_ -#define _SCellToAddModList_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct SCellToAddMod_r10; - -/* SCellToAddModList-r10 */ -typedef struct SCellToAddModList_r10 { - A_SEQUENCE_OF(struct SCellToAddMod_r10) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SCellToAddModList_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SCellToAddModList_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SCellToAddMod-r10.h" - -#endif /* _SCellToAddModList_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SCellToReleaseList-r10.h b/lte/rrc/include/liblte/rrc/asn/SCellToReleaseList-r10.h deleted file mode 100644 index 43b4709b6..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SCellToReleaseList-r10.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SCellToReleaseList_r10_H_ -#define _SCellToReleaseList_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SCellIndex-r10.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SCellToReleaseList-r10 */ -typedef struct SCellToReleaseList_r10 { - A_SEQUENCE_OF(SCellIndex_r10_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SCellToReleaseList_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SCellToReleaseList_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _SCellToReleaseList_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SI-OrPSI-GERAN.h b/lte/rrc/include/liblte/rrc/asn/SI-OrPSI-GERAN.h deleted file mode 100644 index 4f4f40942..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SI-OrPSI-GERAN.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SI_OrPSI_GERAN_H_ -#define _SI_OrPSI_GERAN_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SystemInfoListGERAN.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SI_OrPSI_GERAN_PR { - SI_OrPSI_GERAN_PR_NOTHING, /* No components present */ - SI_OrPSI_GERAN_PR_si, - SI_OrPSI_GERAN_PR_psi -} SI_OrPSI_GERAN_PR; - -/* SI-OrPSI-GERAN */ -typedef struct SI_OrPSI_GERAN { - SI_OrPSI_GERAN_PR present; - union SI_OrPSI_GERAN_u { - SystemInfoListGERAN_t si; - SystemInfoListGERAN_t psi; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SI_OrPSI_GERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SI_OrPSI_GERAN; - -#ifdef __cplusplus -} -#endif - -#endif /* _SI_OrPSI_GERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SIB-MappingInfo.h b/lte/rrc/include/liblte/rrc/asn/SIB-MappingInfo.h deleted file mode 100644 index dbd7064d2..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SIB-MappingInfo.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SIB_MappingInfo_H_ -#define _SIB_MappingInfo_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SIB-Type.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SIB-MappingInfo */ -typedef struct SIB_MappingInfo { - A_SEQUENCE_OF(SIB_Type_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SIB_MappingInfo_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SIB_MappingInfo; - -#ifdef __cplusplus -} -#endif - -#endif /* _SIB_MappingInfo_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SIB-Type.h b/lte/rrc/include/liblte/rrc/asn/SIB-Type.h deleted file mode 100644 index 62445ae10..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SIB-Type.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SIB_Type_H_ -#define _SIB_Type_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SIB_Type { - SIB_Type_sibType3 = 0, - SIB_Type_sibType4 = 1, - SIB_Type_sibType5 = 2, - SIB_Type_sibType6 = 3, - SIB_Type_sibType7 = 4, - SIB_Type_sibType8 = 5, - SIB_Type_sibType9 = 6, - SIB_Type_sibType10 = 7, - SIB_Type_sibType11 = 8, - SIB_Type_sibType12_v920 = 9, - SIB_Type_sibType13_v920 = 10, - SIB_Type_spare5 = 11, - SIB_Type_spare4 = 12, - SIB_Type_spare3 = 13, - SIB_Type_spare2 = 14, - SIB_Type_spare1 = 15 - /* - * Enumeration is extensible - */ -} e_SIB_Type; - -/* SIB-Type */ -typedef long SIB_Type_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SIB_Type; -asn_struct_free_f SIB_Type_free; -asn_struct_print_f SIB_Type_print; -asn_constr_check_f SIB_Type_constraint; -ber_type_decoder_f SIB_Type_decode_ber; -der_type_encoder_f SIB_Type_encode_der; -xer_type_decoder_f SIB_Type_decode_xer; -xer_type_encoder_f SIB_Type_encode_xer; -per_type_decoder_f SIB_Type_decode_uper; -per_type_encoder_f SIB_Type_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _SIB_Type_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SN-FieldLength.h b/lte/rrc/include/liblte/rrc/asn/SN-FieldLength.h deleted file mode 100644 index ee3d81b3d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SN-FieldLength.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SN_FieldLength_H_ -#define _SN_FieldLength_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SN_FieldLength { - SN_FieldLength_size5 = 0, - SN_FieldLength_size10 = 1 -} e_SN_FieldLength; - -/* SN-FieldLength */ -typedef long SN_FieldLength_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SN_FieldLength; -asn_struct_free_f SN_FieldLength_free; -asn_struct_print_f SN_FieldLength_print; -asn_constr_check_f SN_FieldLength_constraint; -ber_type_decoder_f SN_FieldLength_decode_ber; -der_type_encoder_f SN_FieldLength_encode_der; -xer_type_decoder_f SN_FieldLength_decode_xer; -xer_type_encoder_f SN_FieldLength_encode_xer; -per_type_decoder_f SN_FieldLength_decode_uper; -per_type_encoder_f SN_FieldLength_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _SN_FieldLength_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SON-Parameters-r9.h b/lte/rrc/include/liblte/rrc/asn/SON-Parameters-r9.h deleted file mode 100644 index 4d76cd214..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SON-Parameters-r9.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SON_Parameters_r9_H_ -#define _SON_Parameters_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SON_Parameters_r9__rach_Report_r9 { - SON_Parameters_r9__rach_Report_r9_supported = 0 -} e_SON_Parameters_r9__rach_Report_r9; - -/* SON-Parameters-r9 */ -typedef struct SON_Parameters_r9 { - long *rach_Report_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SON_Parameters_r9_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_rach_Report_r9_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SON_Parameters_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _SON_Parameters_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SPS-Config.h b/lte/rrc/include/liblte/rrc/asn/SPS-Config.h deleted file mode 100644 index db292777b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SPS-Config.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SPS_Config_H_ -#define _SPS_Config_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/C-RNTI.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct SPS_ConfigDL; -struct SPS_ConfigUL; - -/* SPS-Config */ -typedef struct SPS_Config { - C_RNTI_t *semiPersistSchedC_RNTI /* OPTIONAL */; - struct SPS_ConfigDL *sps_ConfigDL /* OPTIONAL */; - struct SPS_ConfigUL *sps_ConfigUL /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SPS_Config_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SPS_Config; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SPS-ConfigDL.h" -#include "liblte/rrc/asn/SPS-ConfigUL.h" - -#endif /* _SPS_Config_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SPS-ConfigDL.h b/lte/rrc/include/liblte/rrc/asn/SPS-ConfigDL.h deleted file mode 100644 index 778e89d9e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SPS-ConfigDL.h +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SPS_ConfigDL_H_ -#define _SPS_ConfigDL_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include "liblte/rrc/asn/N1PUCCH-AN-PersistentList.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SPS_ConfigDL_PR { - SPS_ConfigDL_PR_NOTHING, /* No components present */ - SPS_ConfigDL_PR_release, - SPS_ConfigDL_PR_setup -} SPS_ConfigDL_PR; -typedef enum SPS_ConfigDL__setup__semiPersistSchedIntervalDL { - SPS_ConfigDL__setup__semiPersistSchedIntervalDL_sf10 = 0, - SPS_ConfigDL__setup__semiPersistSchedIntervalDL_sf20 = 1, - SPS_ConfigDL__setup__semiPersistSchedIntervalDL_sf32 = 2, - SPS_ConfigDL__setup__semiPersistSchedIntervalDL_sf40 = 3, - SPS_ConfigDL__setup__semiPersistSchedIntervalDL_sf64 = 4, - SPS_ConfigDL__setup__semiPersistSchedIntervalDL_sf80 = 5, - SPS_ConfigDL__setup__semiPersistSchedIntervalDL_sf128 = 6, - SPS_ConfigDL__setup__semiPersistSchedIntervalDL_sf160 = 7, - SPS_ConfigDL__setup__semiPersistSchedIntervalDL_sf320 = 8, - SPS_ConfigDL__setup__semiPersistSchedIntervalDL_sf640 = 9, - SPS_ConfigDL__setup__semiPersistSchedIntervalDL_spare6 = 10, - SPS_ConfigDL__setup__semiPersistSchedIntervalDL_spare5 = 11, - SPS_ConfigDL__setup__semiPersistSchedIntervalDL_spare4 = 12, - SPS_ConfigDL__setup__semiPersistSchedIntervalDL_spare3 = 13, - SPS_ConfigDL__setup__semiPersistSchedIntervalDL_spare2 = 14, - SPS_ConfigDL__setup__semiPersistSchedIntervalDL_spare1 = 15 -} e_SPS_ConfigDL__setup__semiPersistSchedIntervalDL; -typedef enum SPS_ConfigDL__setup__twoAntennaPortActivated_r10_PR { - SPS_ConfigDL__setup__twoAntennaPortActivated_r10_PR_NOTHING, /* No components present */ - SPS_ConfigDL__setup__twoAntennaPortActivated_r10_PR_release, - SPS_ConfigDL__setup__twoAntennaPortActivated_r10_PR_setup -} SPS_ConfigDL__setup__twoAntennaPortActivated_r10_PR; - -/* SPS-ConfigDL */ -typedef struct SPS_ConfigDL { - SPS_ConfigDL_PR present; - union SPS_ConfigDL_u { - NULL_t release; - struct SPS_ConfigDL__setup { - long semiPersistSchedIntervalDL; - long numberOfConfSPS_Processes; - N1PUCCH_AN_PersistentList_t n1PUCCH_AN_PersistentList; - struct SPS_ConfigDL__setup__twoAntennaPortActivated_r10 { - SPS_ConfigDL__setup__twoAntennaPortActivated_r10_PR present; - union SPS_ConfigDL__setup__twoAntennaPortActivated_r10_u { - NULL_t release; - struct SPS_ConfigDL__setup__twoAntennaPortActivated_r10__setup { - N1PUCCH_AN_PersistentList_t n1PUCCH_AN_PersistentListP1_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *twoAntennaPortActivated_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SPS_ConfigDL_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_semiPersistSchedIntervalDL_4; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SPS_ConfigDL; - -#ifdef __cplusplus -} -#endif - -#endif /* _SPS_ConfigDL_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SPS-ConfigUL.h b/lte/rrc/include/liblte/rrc/asn/SPS-ConfigUL.h deleted file mode 100644 index 6f09c7c04..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SPS-ConfigUL.h +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SPS_ConfigUL_H_ -#define _SPS_ConfigUL_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SPS_ConfigUL_PR { - SPS_ConfigUL_PR_NOTHING, /* No components present */ - SPS_ConfigUL_PR_release, - SPS_ConfigUL_PR_setup -} SPS_ConfigUL_PR; -typedef enum SPS_ConfigUL__setup__semiPersistSchedIntervalUL { - SPS_ConfigUL__setup__semiPersistSchedIntervalUL_sf10 = 0, - SPS_ConfigUL__setup__semiPersistSchedIntervalUL_sf20 = 1, - SPS_ConfigUL__setup__semiPersistSchedIntervalUL_sf32 = 2, - SPS_ConfigUL__setup__semiPersistSchedIntervalUL_sf40 = 3, - SPS_ConfigUL__setup__semiPersistSchedIntervalUL_sf64 = 4, - SPS_ConfigUL__setup__semiPersistSchedIntervalUL_sf80 = 5, - SPS_ConfigUL__setup__semiPersistSchedIntervalUL_sf128 = 6, - SPS_ConfigUL__setup__semiPersistSchedIntervalUL_sf160 = 7, - SPS_ConfigUL__setup__semiPersistSchedIntervalUL_sf320 = 8, - SPS_ConfigUL__setup__semiPersistSchedIntervalUL_sf640 = 9, - SPS_ConfigUL__setup__semiPersistSchedIntervalUL_spare6 = 10, - SPS_ConfigUL__setup__semiPersistSchedIntervalUL_spare5 = 11, - SPS_ConfigUL__setup__semiPersistSchedIntervalUL_spare4 = 12, - SPS_ConfigUL__setup__semiPersistSchedIntervalUL_spare3 = 13, - SPS_ConfigUL__setup__semiPersistSchedIntervalUL_spare2 = 14, - SPS_ConfigUL__setup__semiPersistSchedIntervalUL_spare1 = 15 -} e_SPS_ConfigUL__setup__semiPersistSchedIntervalUL; -typedef enum SPS_ConfigUL__setup__implicitReleaseAfter { - SPS_ConfigUL__setup__implicitReleaseAfter_e2 = 0, - SPS_ConfigUL__setup__implicitReleaseAfter_e3 = 1, - SPS_ConfigUL__setup__implicitReleaseAfter_e4 = 2, - SPS_ConfigUL__setup__implicitReleaseAfter_e8 = 3 -} e_SPS_ConfigUL__setup__implicitReleaseAfter; -typedef enum SPS_ConfigUL__setup__twoIntervalsConfig { - SPS_ConfigUL__setup__twoIntervalsConfig_true = 0 -} e_SPS_ConfigUL__setup__twoIntervalsConfig; - -/* SPS-ConfigUL */ -typedef struct SPS_ConfigUL { - SPS_ConfigUL_PR present; - union SPS_ConfigUL_u { - NULL_t release; - struct SPS_ConfigUL__setup { - long semiPersistSchedIntervalUL; - long implicitReleaseAfter; - struct SPS_ConfigUL__setup__p0_Persistent { - long p0_NominalPUSCH_Persistent; - long p0_UE_PUSCH_Persistent; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *p0_Persistent; - long *twoIntervalsConfig /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SPS_ConfigUL_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_semiPersistSchedIntervalUL_4; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_implicitReleaseAfter_21; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_twoIntervalsConfig_29; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SPS_ConfigUL; - -#ifdef __cplusplus -} -#endif - -#endif /* _SPS_ConfigUL_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SPS-RA-ConfigList-rlola.h b/lte/rrc/include/liblte/rrc/asn/SPS-RA-ConfigList-rlola.h deleted file mode 100644 index 0070075b1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SPS-RA-ConfigList-rlola.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SPS_RA_ConfigList_rlola_H_ -#define _SPS_RA_ConfigList_rlola_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CA-RNTI.h" -#include "liblte/rrc/asn/CA-semiPersistSchedIntervalUL.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SPS-RA-ConfigList-rlola */ -typedef struct SPS_RA_ConfigList_rlola { - CA_RNTI_t *semiPersistSchedCA_RNTI /* OPTIONAL */; - CA_semiPersistSchedIntervalUL_t *ca_semiPersistSchedIntervalUL /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SPS_RA_ConfigList_rlola_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SPS_RA_ConfigList_rlola; - -#ifdef __cplusplus -} -#endif - -#endif /* _SPS_RA_ConfigList_rlola_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SRB-ToAddMod.h b/lte/rrc/include/liblte/rrc/asn/SRB-ToAddMod.h deleted file mode 100644 index b5115569d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SRB-ToAddMod.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SRB_ToAddMod_H_ -#define _SRB_ToAddMod_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/RLC-Config.h" -#include -#include -#include "liblte/rrc/asn/LogicalChannelConfig.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SRB_ToAddMod__rlc_Config_PR { - SRB_ToAddMod__rlc_Config_PR_NOTHING, /* No components present */ - SRB_ToAddMod__rlc_Config_PR_explicitValue, - SRB_ToAddMod__rlc_Config_PR_defaultValue -} SRB_ToAddMod__rlc_Config_PR; -typedef enum SRB_ToAddMod__logicalChannelConfig_PR { - SRB_ToAddMod__logicalChannelConfig_PR_NOTHING, /* No components present */ - SRB_ToAddMod__logicalChannelConfig_PR_explicitValue, - SRB_ToAddMod__logicalChannelConfig_PR_defaultValue -} SRB_ToAddMod__logicalChannelConfig_PR; - -/* SRB-ToAddMod */ -typedef struct SRB_ToAddMod { - long srb_Identity; - struct SRB_ToAddMod__rlc_Config { - SRB_ToAddMod__rlc_Config_PR present; - union SRB_ToAddMod__rlc_Config_u { - RLC_Config_t explicitValue; - NULL_t defaultValue; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *rlc_Config; - struct SRB_ToAddMod__logicalChannelConfig { - SRB_ToAddMod__logicalChannelConfig_PR present; - union SRB_ToAddMod__logicalChannelConfig_u { - LogicalChannelConfig_t explicitValue; - NULL_t defaultValue; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *logicalChannelConfig; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SRB_ToAddMod_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SRB_ToAddMod; - -#ifdef __cplusplus -} -#endif - -#endif /* _SRB_ToAddMod_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SRB-ToAddModList.h b/lte/rrc/include/liblte/rrc/asn/SRB-ToAddModList.h deleted file mode 100644 index cd96b2b46..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SRB-ToAddModList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SRB_ToAddModList_H_ -#define _SRB_ToAddModList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct SRB_ToAddMod; - -/* SRB-ToAddModList */ -typedef struct SRB_ToAddModList { - A_SEQUENCE_OF(struct SRB_ToAddMod) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SRB_ToAddModList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SRB_ToAddModList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SRB-ToAddMod.h" - -#endif /* _SRB_ToAddModList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SRS-ConfigAp-r10.h b/lte/rrc/include/liblte/rrc/asn/SRS-ConfigAp-r10.h deleted file mode 100644 index e801f46bc..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SRS-ConfigAp-r10.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SRS_ConfigAp_r10_H_ -#define _SRS_ConfigAp_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SRS_ConfigAp_r10__srs_AntennaPortAp_r10 { - SRS_ConfigAp_r10__srs_AntennaPortAp_r10_an1 = 0, - SRS_ConfigAp_r10__srs_AntennaPortAp_r10_an2 = 1, - SRS_ConfigAp_r10__srs_AntennaPortAp_r10_an4 = 2, - SRS_ConfigAp_r10__srs_AntennaPortAp_r10_spare1 = 3 -} e_SRS_ConfigAp_r10__srs_AntennaPortAp_r10; -typedef enum SRS_ConfigAp_r10__srs_BandwidthAp_r10 { - SRS_ConfigAp_r10__srs_BandwidthAp_r10_bw0 = 0, - SRS_ConfigAp_r10__srs_BandwidthAp_r10_bw1 = 1, - SRS_ConfigAp_r10__srs_BandwidthAp_r10_bw2 = 2, - SRS_ConfigAp_r10__srs_BandwidthAp_r10_bw3 = 3 -} e_SRS_ConfigAp_r10__srs_BandwidthAp_r10; -typedef enum SRS_ConfigAp_r10__cyclicShiftAp_r10 { - SRS_ConfigAp_r10__cyclicShiftAp_r10_cs0 = 0, - SRS_ConfigAp_r10__cyclicShiftAp_r10_cs1 = 1, - SRS_ConfigAp_r10__cyclicShiftAp_r10_cs2 = 2, - SRS_ConfigAp_r10__cyclicShiftAp_r10_cs3 = 3, - SRS_ConfigAp_r10__cyclicShiftAp_r10_cs4 = 4, - SRS_ConfigAp_r10__cyclicShiftAp_r10_cs5 = 5, - SRS_ConfigAp_r10__cyclicShiftAp_r10_cs6 = 6, - SRS_ConfigAp_r10__cyclicShiftAp_r10_cs7 = 7 -} e_SRS_ConfigAp_r10__cyclicShiftAp_r10; - -/* SRS-ConfigAp-r10 */ -typedef struct SRS_ConfigAp_r10 { - long srs_AntennaPortAp_r10; - long srs_BandwidthAp_r10; - long freqDomainPositionAp_r10; - long transmissionCombAp_r10; - long cyclicShiftAp_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SRS_ConfigAp_r10_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_srs_AntennaPortAp_r10_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_srs_BandwidthAp_r10_7; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_cyclicShiftAp_r10_14; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SRS_ConfigAp_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _SRS_ConfigAp_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SchedulingInfo.h b/lte/rrc/include/liblte/rrc/asn/SchedulingInfo.h deleted file mode 100644 index ebf2d010f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SchedulingInfo.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SchedulingInfo_H_ -#define _SchedulingInfo_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/SIB-MappingInfo.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SchedulingInfo__si_Periodicity { - SchedulingInfo__si_Periodicity_rf8 = 0, - SchedulingInfo__si_Periodicity_rf16 = 1, - SchedulingInfo__si_Periodicity_rf32 = 2, - SchedulingInfo__si_Periodicity_rf64 = 3, - SchedulingInfo__si_Periodicity_rf128 = 4, - SchedulingInfo__si_Periodicity_rf256 = 5, - SchedulingInfo__si_Periodicity_rf512 = 6 -} e_SchedulingInfo__si_Periodicity; - -/* SchedulingInfo */ -typedef struct SchedulingInfo { - long si_Periodicity; - SIB_MappingInfo_t sib_MappingInfo; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SchedulingInfo_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_si_Periodicity_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SchedulingInfo; - -#ifdef __cplusplus -} -#endif - -#endif /* _SchedulingInfo_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SchedulingInfoList.h b/lte/rrc/include/liblte/rrc/asn/SchedulingInfoList.h deleted file mode 100644 index 6acd4745e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SchedulingInfoList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SchedulingInfoList_H_ -#define _SchedulingInfoList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct SchedulingInfo; - -/* SchedulingInfoList */ -typedef struct SchedulingInfoList { - A_SEQUENCE_OF(struct SchedulingInfo) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SchedulingInfoList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SchedulingInfoList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SchedulingInfo.h" - -#endif /* _SchedulingInfoList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SchedulingRequestConfig-v1020.h b/lte/rrc/include/liblte/rrc/asn/SchedulingRequestConfig-v1020.h deleted file mode 100644 index 2e0cc6808..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SchedulingRequestConfig-v1020.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SchedulingRequestConfig_v1020_H_ -#define _SchedulingRequestConfig_v1020_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SchedulingRequestConfig-v1020 */ -typedef struct SchedulingRequestConfig_v1020 { - long *sr_PUCCH_ResourceIndexP1_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SchedulingRequestConfig_v1020_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SchedulingRequestConfig_v1020; - -#ifdef __cplusplus -} -#endif - -#endif /* _SchedulingRequestConfig_v1020_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SchedulingRequestConfig.h b/lte/rrc/include/liblte/rrc/asn/SchedulingRequestConfig.h deleted file mode 100644 index 797752805..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SchedulingRequestConfig.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SchedulingRequestConfig_H_ -#define _SchedulingRequestConfig_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SchedulingRequestConfig_PR { - SchedulingRequestConfig_PR_NOTHING, /* No components present */ - SchedulingRequestConfig_PR_release, - SchedulingRequestConfig_PR_setup -} SchedulingRequestConfig_PR; -typedef enum SchedulingRequestConfig__setup__dsr_TransMax { - SchedulingRequestConfig__setup__dsr_TransMax_n4 = 0, - SchedulingRequestConfig__setup__dsr_TransMax_n8 = 1, - SchedulingRequestConfig__setup__dsr_TransMax_n16 = 2, - SchedulingRequestConfig__setup__dsr_TransMax_n32 = 3, - SchedulingRequestConfig__setup__dsr_TransMax_n64 = 4, - SchedulingRequestConfig__setup__dsr_TransMax_spare3 = 5, - SchedulingRequestConfig__setup__dsr_TransMax_spare2 = 6, - SchedulingRequestConfig__setup__dsr_TransMax_spare1 = 7 -} e_SchedulingRequestConfig__setup__dsr_TransMax; - -/* SchedulingRequestConfig */ -typedef struct SchedulingRequestConfig { - SchedulingRequestConfig_PR present; - union SchedulingRequestConfig_u { - NULL_t release; - struct SchedulingRequestConfig__setup { - long sr_PUCCH_ResourceIndex; - long sr_ConfigIndex; - long dsr_TransMax; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SchedulingRequestConfig_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_dsr_TransMax_6; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SchedulingRequestConfig; - -#ifdef __cplusplus -} -#endif - -#endif /* _SchedulingRequestConfig_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SecondaryPreRegistrationZoneIdListHRPD.h b/lte/rrc/include/liblte/rrc/asn/SecondaryPreRegistrationZoneIdListHRPD.h deleted file mode 100644 index fdc18fdfe..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SecondaryPreRegistrationZoneIdListHRPD.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SecondaryPreRegistrationZoneIdListHRPD_H_ -#define _SecondaryPreRegistrationZoneIdListHRPD_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PreRegistrationZoneIdHRPD.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SecondaryPreRegistrationZoneIdListHRPD */ -typedef struct SecondaryPreRegistrationZoneIdListHRPD { - A_SEQUENCE_OF(PreRegistrationZoneIdHRPD_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SecondaryPreRegistrationZoneIdListHRPD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SecondaryPreRegistrationZoneIdListHRPD; - -#ifdef __cplusplus -} -#endif - -#endif /* _SecondaryPreRegistrationZoneIdListHRPD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SecurityAlgorithmConfig.h b/lte/rrc/include/liblte/rrc/asn/SecurityAlgorithmConfig.h deleted file mode 100644 index d7e7dc661..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SecurityAlgorithmConfig.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SecurityAlgorithmConfig_H_ -#define _SecurityAlgorithmConfig_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SecurityAlgorithmConfig__cipheringAlgorithm { - SecurityAlgorithmConfig__cipheringAlgorithm_eea0 = 0, - SecurityAlgorithmConfig__cipheringAlgorithm_eea1 = 1, - SecurityAlgorithmConfig__cipheringAlgorithm_eea2 = 2, - SecurityAlgorithmConfig__cipheringAlgorithm_spare5 = 3, - SecurityAlgorithmConfig__cipheringAlgorithm_spare4 = 4, - SecurityAlgorithmConfig__cipheringAlgorithm_spare3 = 5, - SecurityAlgorithmConfig__cipheringAlgorithm_spare2 = 6, - SecurityAlgorithmConfig__cipheringAlgorithm_spare1 = 7 - /* - * Enumeration is extensible - */ -} e_SecurityAlgorithmConfig__cipheringAlgorithm; -typedef enum SecurityAlgorithmConfig__integrityProtAlgorithm { - SecurityAlgorithmConfig__integrityProtAlgorithm_eia0_v920 = 0, - SecurityAlgorithmConfig__integrityProtAlgorithm_eia1 = 1, - SecurityAlgorithmConfig__integrityProtAlgorithm_eia2 = 2, - SecurityAlgorithmConfig__integrityProtAlgorithm_spare5 = 3, - SecurityAlgorithmConfig__integrityProtAlgorithm_spare4 = 4, - SecurityAlgorithmConfig__integrityProtAlgorithm_spare3 = 5, - SecurityAlgorithmConfig__integrityProtAlgorithm_spare2 = 6, - SecurityAlgorithmConfig__integrityProtAlgorithm_spare1 = 7 - /* - * Enumeration is extensible - */ -} e_SecurityAlgorithmConfig__integrityProtAlgorithm; - -/* SecurityAlgorithmConfig */ -typedef struct SecurityAlgorithmConfig { - long cipheringAlgorithm; - long integrityProtAlgorithm; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SecurityAlgorithmConfig_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_cipheringAlgorithm_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_integrityProtAlgorithm_12; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SecurityAlgorithmConfig; - -#ifdef __cplusplus -} -#endif - -#endif /* _SecurityAlgorithmConfig_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SecurityConfigHO.h b/lte/rrc/include/liblte/rrc/asn/SecurityConfigHO.h deleted file mode 100644 index d7f487e2a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SecurityConfigHO.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SecurityConfigHO_H_ -#define _SecurityConfigHO_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/NextHopChainingCount.h" -#include -#include "liblte/rrc/asn/SecurityAlgorithmConfig.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SecurityConfigHO__handoverType_PR { - SecurityConfigHO__handoverType_PR_NOTHING, /* No components present */ - SecurityConfigHO__handoverType_PR_intraLTE, - SecurityConfigHO__handoverType_PR_interRAT -} SecurityConfigHO__handoverType_PR; - -/* Forward declarations */ -struct SecurityAlgorithmConfig; - -/* SecurityConfigHO */ -typedef struct SecurityConfigHO { - struct SecurityConfigHO__handoverType { - SecurityConfigHO__handoverType_PR present; - union SecurityConfigHO__handoverType_u { - struct SecurityConfigHO__handoverType__intraLTE { - struct SecurityAlgorithmConfig *securityAlgorithmConfig /* OPTIONAL */; - BOOLEAN_t keyChangeIndicator; - NextHopChainingCount_t nextHopChainingCount; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } intraLTE; - struct SecurityConfigHO__handoverType__interRAT { - SecurityAlgorithmConfig_t securityAlgorithmConfig; - OCTET_STRING_t nas_SecurityParamToEUTRA; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } interRAT; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } handoverType; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SecurityConfigHO_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SecurityConfigHO; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SecurityAlgorithmConfig.h" - -#endif /* _SecurityConfigHO_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SecurityConfigSMC.h b/lte/rrc/include/liblte/rrc/asn/SecurityConfigSMC.h deleted file mode 100644 index 03e4a1932..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SecurityConfigSMC.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SecurityConfigSMC_H_ -#define _SecurityConfigSMC_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SecurityAlgorithmConfig.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SecurityConfigSMC */ -typedef struct SecurityConfigSMC { - SecurityAlgorithmConfig_t securityAlgorithmConfig; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SecurityConfigSMC_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SecurityConfigSMC; - -#ifdef __cplusplus -} -#endif - -#endif /* _SecurityConfigSMC_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SecurityModeCommand-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/SecurityModeCommand-r8-IEs.h deleted file mode 100644 index 76a9c1df7..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SecurityModeCommand-r8-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SecurityModeCommand_r8_IEs_H_ -#define _SecurityModeCommand_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SecurityConfigSMC.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct SecurityModeCommand_v8a0_IEs; - -/* SecurityModeCommand-r8-IEs */ -typedef struct SecurityModeCommand_r8_IEs { - SecurityConfigSMC_t securityConfigSMC; - struct SecurityModeCommand_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SecurityModeCommand_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SecurityModeCommand_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SecurityModeCommand-v8a0-IEs.h" - -#endif /* _SecurityModeCommand_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SecurityModeCommand-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/SecurityModeCommand-v8a0-IEs.h deleted file mode 100644 index 9575f558e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SecurityModeCommand-v8a0-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SecurityModeCommand_v8a0_IEs_H_ -#define _SecurityModeCommand_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SecurityModeCommand-v8a0-IEs */ -typedef struct SecurityModeCommand_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct SecurityModeCommand_v8a0_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SecurityModeCommand_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SecurityModeCommand_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _SecurityModeCommand_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SecurityModeCommand.h b/lte/rrc/include/liblte/rrc/asn/SecurityModeCommand.h deleted file mode 100644 index ae786c9d2..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SecurityModeCommand.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SecurityModeCommand_H_ -#define _SecurityModeCommand_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/SecurityModeCommand-r8-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SecurityModeCommand__criticalExtensions_PR { - SecurityModeCommand__criticalExtensions_PR_NOTHING, /* No components present */ - SecurityModeCommand__criticalExtensions_PR_c1, - SecurityModeCommand__criticalExtensions_PR_criticalExtensionsFuture -} SecurityModeCommand__criticalExtensions_PR; -typedef enum SecurityModeCommand__criticalExtensions__c1_PR { - SecurityModeCommand__criticalExtensions__c1_PR_NOTHING, /* No components present */ - SecurityModeCommand__criticalExtensions__c1_PR_securityModeCommand_r8, - SecurityModeCommand__criticalExtensions__c1_PR_spare3, - SecurityModeCommand__criticalExtensions__c1_PR_spare2, - SecurityModeCommand__criticalExtensions__c1_PR_spare1 -} SecurityModeCommand__criticalExtensions__c1_PR; - -/* SecurityModeCommand */ -typedef struct SecurityModeCommand { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct SecurityModeCommand__criticalExtensions { - SecurityModeCommand__criticalExtensions_PR present; - union SecurityModeCommand__criticalExtensions_u { - struct SecurityModeCommand__criticalExtensions__c1 { - SecurityModeCommand__criticalExtensions__c1_PR present; - union SecurityModeCommand__criticalExtensions__c1_u { - SecurityModeCommand_r8_IEs_t securityModeCommand_r8; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct SecurityModeCommand__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SecurityModeCommand_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SecurityModeCommand; - -#ifdef __cplusplus -} -#endif - -#endif /* _SecurityModeCommand_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SecurityModeComplete-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/SecurityModeComplete-r8-IEs.h deleted file mode 100644 index 80701c9ae..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SecurityModeComplete-r8-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SecurityModeComplete_r8_IEs_H_ -#define _SecurityModeComplete_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct SecurityModeComplete_v8a0_IEs; - -/* SecurityModeComplete-r8-IEs */ -typedef struct SecurityModeComplete_r8_IEs { - struct SecurityModeComplete_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SecurityModeComplete_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SecurityModeComplete_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SecurityModeComplete-v8a0-IEs.h" - -#endif /* _SecurityModeComplete_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SecurityModeComplete-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/SecurityModeComplete-v8a0-IEs.h deleted file mode 100644 index f9c7a9478..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SecurityModeComplete-v8a0-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SecurityModeComplete_v8a0_IEs_H_ -#define _SecurityModeComplete_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SecurityModeComplete-v8a0-IEs */ -typedef struct SecurityModeComplete_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct SecurityModeComplete_v8a0_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SecurityModeComplete_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SecurityModeComplete_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _SecurityModeComplete_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SecurityModeComplete.h b/lte/rrc/include/liblte/rrc/asn/SecurityModeComplete.h deleted file mode 100644 index 67a66e565..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SecurityModeComplete.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SecurityModeComplete_H_ -#define _SecurityModeComplete_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/SecurityModeComplete-r8-IEs.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SecurityModeComplete__criticalExtensions_PR { - SecurityModeComplete__criticalExtensions_PR_NOTHING, /* No components present */ - SecurityModeComplete__criticalExtensions_PR_securityModeComplete_r8, - SecurityModeComplete__criticalExtensions_PR_criticalExtensionsFuture -} SecurityModeComplete__criticalExtensions_PR; - -/* SecurityModeComplete */ -typedef struct SecurityModeComplete { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct SecurityModeComplete__criticalExtensions { - SecurityModeComplete__criticalExtensions_PR present; - union SecurityModeComplete__criticalExtensions_u { - SecurityModeComplete_r8_IEs_t securityModeComplete_r8; - struct SecurityModeComplete__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SecurityModeComplete_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SecurityModeComplete; - -#ifdef __cplusplus -} -#endif - -#endif /* _SecurityModeComplete_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SecurityModeFailure-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/SecurityModeFailure-r8-IEs.h deleted file mode 100644 index b7a5c443f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SecurityModeFailure-r8-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SecurityModeFailure_r8_IEs_H_ -#define _SecurityModeFailure_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct SecurityModeFailure_v8a0_IEs; - -/* SecurityModeFailure-r8-IEs */ -typedef struct SecurityModeFailure_r8_IEs { - struct SecurityModeFailure_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SecurityModeFailure_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SecurityModeFailure_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SecurityModeFailure-v8a0-IEs.h" - -#endif /* _SecurityModeFailure_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SecurityModeFailure-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/SecurityModeFailure-v8a0-IEs.h deleted file mode 100644 index e79c2fd46..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SecurityModeFailure-v8a0-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SecurityModeFailure_v8a0_IEs_H_ -#define _SecurityModeFailure_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SecurityModeFailure-v8a0-IEs */ -typedef struct SecurityModeFailure_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct SecurityModeFailure_v8a0_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SecurityModeFailure_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SecurityModeFailure_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _SecurityModeFailure_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SecurityModeFailure.h b/lte/rrc/include/liblte/rrc/asn/SecurityModeFailure.h deleted file mode 100644 index f33127e8d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SecurityModeFailure.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SecurityModeFailure_H_ -#define _SecurityModeFailure_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/SecurityModeFailure-r8-IEs.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SecurityModeFailure__criticalExtensions_PR { - SecurityModeFailure__criticalExtensions_PR_NOTHING, /* No components present */ - SecurityModeFailure__criticalExtensions_PR_securityModeFailure_r8, - SecurityModeFailure__criticalExtensions_PR_criticalExtensionsFuture -} SecurityModeFailure__criticalExtensions_PR; - -/* SecurityModeFailure */ -typedef struct SecurityModeFailure { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct SecurityModeFailure__criticalExtensions { - SecurityModeFailure__criticalExtensions_PR present; - union SecurityModeFailure__criticalExtensions_u { - SecurityModeFailure_r8_IEs_t securityModeFailure_r8; - struct SecurityModeFailure__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SecurityModeFailure_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SecurityModeFailure; - -#ifdef __cplusplus -} -#endif - -#endif /* _SecurityModeFailure_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ServCellIndex-r10.h b/lte/rrc/include/liblte/rrc/asn/ServCellIndex-r10.h deleted file mode 100644 index b8dff3cb1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ServCellIndex-r10.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ServCellIndex_r10_H_ -#define _ServCellIndex_r10_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ServCellIndex-r10 */ -typedef long ServCellIndex_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ServCellIndex_r10; -asn_struct_free_f ServCellIndex_r10_free; -asn_struct_print_f ServCellIndex_r10_print; -asn_constr_check_f ServCellIndex_r10_constraint; -ber_type_decoder_f ServCellIndex_r10_decode_ber; -der_type_encoder_f ServCellIndex_r10_encode_der; -xer_type_decoder_f ServCellIndex_r10_decode_xer; -xer_type_encoder_f ServCellIndex_r10_encode_xer; -per_type_decoder_f ServCellIndex_r10_decode_uper; -per_type_encoder_f ServCellIndex_r10_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _ServCellIndex_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ShortMAC-I.h b/lte/rrc/include/liblte/rrc/asn/ShortMAC-I.h deleted file mode 100644 index c90156cc0..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ShortMAC-I.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ShortMAC_I_H_ -#define _ShortMAC_I_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ShortMAC-I */ -typedef BIT_STRING_t ShortMAC_I_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ShortMAC_I; -asn_struct_free_f ShortMAC_I_free; -asn_struct_print_f ShortMAC_I_print; -asn_constr_check_f ShortMAC_I_constraint; -ber_type_decoder_f ShortMAC_I_decode_ber; -der_type_encoder_f ShortMAC_I_encode_der; -xer_type_decoder_f ShortMAC_I_decode_xer; -xer_type_encoder_f ShortMAC_I_encode_xer; -per_type_decoder_f ShortMAC_I_decode_uper; -per_type_encoder_f ShortMAC_I_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _ShortMAC_I_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SoundingRS-UL-ConfigCommon.h b/lte/rrc/include/liblte/rrc/asn/SoundingRS-UL-ConfigCommon.h deleted file mode 100644 index 3f5d8b6b1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SoundingRS-UL-ConfigCommon.h +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SoundingRS_UL_ConfigCommon_H_ -#define _SoundingRS_UL_ConfigCommon_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SoundingRS_UL_ConfigCommon_PR { - SoundingRS_UL_ConfigCommon_PR_NOTHING, /* No components present */ - SoundingRS_UL_ConfigCommon_PR_release, - SoundingRS_UL_ConfigCommon_PR_setup -} SoundingRS_UL_ConfigCommon_PR; -typedef enum SoundingRS_UL_ConfigCommon__setup__srs_BandwidthConfig { - SoundingRS_UL_ConfigCommon__setup__srs_BandwidthConfig_bw0 = 0, - SoundingRS_UL_ConfigCommon__setup__srs_BandwidthConfig_bw1 = 1, - SoundingRS_UL_ConfigCommon__setup__srs_BandwidthConfig_bw2 = 2, - SoundingRS_UL_ConfigCommon__setup__srs_BandwidthConfig_bw3 = 3, - SoundingRS_UL_ConfigCommon__setup__srs_BandwidthConfig_bw4 = 4, - SoundingRS_UL_ConfigCommon__setup__srs_BandwidthConfig_bw5 = 5, - SoundingRS_UL_ConfigCommon__setup__srs_BandwidthConfig_bw6 = 6, - SoundingRS_UL_ConfigCommon__setup__srs_BandwidthConfig_bw7 = 7 -} e_SoundingRS_UL_ConfigCommon__setup__srs_BandwidthConfig; -typedef enum SoundingRS_UL_ConfigCommon__setup__srs_SubframeConfig { - SoundingRS_UL_ConfigCommon__setup__srs_SubframeConfig_sc0 = 0, - SoundingRS_UL_ConfigCommon__setup__srs_SubframeConfig_sc1 = 1, - SoundingRS_UL_ConfigCommon__setup__srs_SubframeConfig_sc2 = 2, - SoundingRS_UL_ConfigCommon__setup__srs_SubframeConfig_sc3 = 3, - SoundingRS_UL_ConfigCommon__setup__srs_SubframeConfig_sc4 = 4, - SoundingRS_UL_ConfigCommon__setup__srs_SubframeConfig_sc5 = 5, - SoundingRS_UL_ConfigCommon__setup__srs_SubframeConfig_sc6 = 6, - SoundingRS_UL_ConfigCommon__setup__srs_SubframeConfig_sc7 = 7, - SoundingRS_UL_ConfigCommon__setup__srs_SubframeConfig_sc8 = 8, - SoundingRS_UL_ConfigCommon__setup__srs_SubframeConfig_sc9 = 9, - SoundingRS_UL_ConfigCommon__setup__srs_SubframeConfig_sc10 = 10, - SoundingRS_UL_ConfigCommon__setup__srs_SubframeConfig_sc11 = 11, - SoundingRS_UL_ConfigCommon__setup__srs_SubframeConfig_sc12 = 12, - SoundingRS_UL_ConfigCommon__setup__srs_SubframeConfig_sc13 = 13, - SoundingRS_UL_ConfigCommon__setup__srs_SubframeConfig_sc14 = 14, - SoundingRS_UL_ConfigCommon__setup__srs_SubframeConfig_sc15 = 15 -} e_SoundingRS_UL_ConfigCommon__setup__srs_SubframeConfig; -typedef enum SoundingRS_UL_ConfigCommon__setup__srs_MaxUpPts { - SoundingRS_UL_ConfigCommon__setup__srs_MaxUpPts_true = 0 -} e_SoundingRS_UL_ConfigCommon__setup__srs_MaxUpPts; - -/* SoundingRS-UL-ConfigCommon */ -typedef struct SoundingRS_UL_ConfigCommon { - SoundingRS_UL_ConfigCommon_PR present; - union SoundingRS_UL_ConfigCommon_u { - NULL_t release; - struct SoundingRS_UL_ConfigCommon__setup { - long srs_BandwidthConfig; - long srs_SubframeConfig; - BOOLEAN_t ackNackSRS_SimultaneousTransmission; - long *srs_MaxUpPts /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SoundingRS_UL_ConfigCommon_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_srs_BandwidthConfig_4; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_srs_SubframeConfig_13; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_srs_MaxUpPts_31; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SoundingRS_UL_ConfigCommon; - -#ifdef __cplusplus -} -#endif - -#endif /* _SoundingRS_UL_ConfigCommon_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SoundingRS-UL-ConfigDedicated-v1020.h b/lte/rrc/include/liblte/rrc/asn/SoundingRS-UL-ConfigDedicated-v1020.h deleted file mode 100644 index bec1fb14e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SoundingRS-UL-ConfigDedicated-v1020.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SoundingRS_UL_ConfigDedicated_v1020_H_ -#define _SoundingRS_UL_ConfigDedicated_v1020_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SoundingRS_UL_ConfigDedicated_v1020__srs_AntennaPort_r10 { - SoundingRS_UL_ConfigDedicated_v1020__srs_AntennaPort_r10_an1 = 0, - SoundingRS_UL_ConfigDedicated_v1020__srs_AntennaPort_r10_an2 = 1, - SoundingRS_UL_ConfigDedicated_v1020__srs_AntennaPort_r10_an4 = 2, - SoundingRS_UL_ConfigDedicated_v1020__srs_AntennaPort_r10_spare1 = 3 -} e_SoundingRS_UL_ConfigDedicated_v1020__srs_AntennaPort_r10; - -/* SoundingRS-UL-ConfigDedicated-v1020 */ -typedef struct SoundingRS_UL_ConfigDedicated_v1020 { - long srs_AntennaPort_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SoundingRS_UL_ConfigDedicated_v1020_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_srs_AntennaPort_r10_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SoundingRS_UL_ConfigDedicated_v1020; - -#ifdef __cplusplus -} -#endif - -#endif /* _SoundingRS_UL_ConfigDedicated_v1020_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SoundingRS-UL-ConfigDedicated.h b/lte/rrc/include/liblte/rrc/asn/SoundingRS-UL-ConfigDedicated.h deleted file mode 100644 index 1c1dcbe28..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SoundingRS-UL-ConfigDedicated.h +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SoundingRS_UL_ConfigDedicated_H_ -#define _SoundingRS_UL_ConfigDedicated_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SoundingRS_UL_ConfigDedicated_PR { - SoundingRS_UL_ConfigDedicated_PR_NOTHING, /* No components present */ - SoundingRS_UL_ConfigDedicated_PR_release, - SoundingRS_UL_ConfigDedicated_PR_setup -} SoundingRS_UL_ConfigDedicated_PR; -typedef enum SoundingRS_UL_ConfigDedicated__setup__srs_Bandwidth { - SoundingRS_UL_ConfigDedicated__setup__srs_Bandwidth_bw0 = 0, - SoundingRS_UL_ConfigDedicated__setup__srs_Bandwidth_bw1 = 1, - SoundingRS_UL_ConfigDedicated__setup__srs_Bandwidth_bw2 = 2, - SoundingRS_UL_ConfigDedicated__setup__srs_Bandwidth_bw3 = 3 -} e_SoundingRS_UL_ConfigDedicated__setup__srs_Bandwidth; -typedef enum SoundingRS_UL_ConfigDedicated__setup__srs_HoppingBandwidth { - SoundingRS_UL_ConfigDedicated__setup__srs_HoppingBandwidth_hbw0 = 0, - SoundingRS_UL_ConfigDedicated__setup__srs_HoppingBandwidth_hbw1 = 1, - SoundingRS_UL_ConfigDedicated__setup__srs_HoppingBandwidth_hbw2 = 2, - SoundingRS_UL_ConfigDedicated__setup__srs_HoppingBandwidth_hbw3 = 3 -} e_SoundingRS_UL_ConfigDedicated__setup__srs_HoppingBandwidth; -typedef enum SoundingRS_UL_ConfigDedicated__setup__cyclicShift { - SoundingRS_UL_ConfigDedicated__setup__cyclicShift_cs0 = 0, - SoundingRS_UL_ConfigDedicated__setup__cyclicShift_cs1 = 1, - SoundingRS_UL_ConfigDedicated__setup__cyclicShift_cs2 = 2, - SoundingRS_UL_ConfigDedicated__setup__cyclicShift_cs3 = 3, - SoundingRS_UL_ConfigDedicated__setup__cyclicShift_cs4 = 4, - SoundingRS_UL_ConfigDedicated__setup__cyclicShift_cs5 = 5, - SoundingRS_UL_ConfigDedicated__setup__cyclicShift_cs6 = 6, - SoundingRS_UL_ConfigDedicated__setup__cyclicShift_cs7 = 7 -} e_SoundingRS_UL_ConfigDedicated__setup__cyclicShift; - -/* SoundingRS-UL-ConfigDedicated */ -typedef struct SoundingRS_UL_ConfigDedicated { - SoundingRS_UL_ConfigDedicated_PR present; - union SoundingRS_UL_ConfigDedicated_u { - NULL_t release; - struct SoundingRS_UL_ConfigDedicated__setup { - long srs_Bandwidth; - long srs_HoppingBandwidth; - long freqDomainPosition; - BOOLEAN_t duration; - long srs_ConfigIndex; - long transmissionComb; - long cyclicShift; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SoundingRS_UL_ConfigDedicated_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_srs_Bandwidth_4; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_srs_HoppingBandwidth_9; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_cyclicShift_18; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SoundingRS_UL_ConfigDedicated; - -#ifdef __cplusplus -} -#endif - -#endif /* _SoundingRS_UL_ConfigDedicated_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SoundingRS-UL-ConfigDedicatedAperiodic-r10.h b/lte/rrc/include/liblte/rrc/asn/SoundingRS-UL-ConfigDedicatedAperiodic-r10.h deleted file mode 100644 index dc5b5e395..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SoundingRS-UL-ConfigDedicatedAperiodic-r10.h +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SoundingRS_UL_ConfigDedicatedAperiodic_r10_H_ -#define _SoundingRS_UL_ConfigDedicatedAperiodic_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include "liblte/rrc/asn/SRS-ConfigAp-r10.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SoundingRS_UL_ConfigDedicatedAperiodic_r10_PR { - SoundingRS_UL_ConfigDedicatedAperiodic_r10_PR_NOTHING, /* No components present */ - SoundingRS_UL_ConfigDedicatedAperiodic_r10_PR_release, - SoundingRS_UL_ConfigDedicatedAperiodic_r10_PR_setup -} SoundingRS_UL_ConfigDedicatedAperiodic_r10_PR; -typedef enum SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10_PR { - SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10_PR_NOTHING, /* No components present */ - SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10_PR_release, - SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10_PR_setup -} SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10_PR; - -/* Forward declarations */ -struct SRS_ConfigAp_r10; - -/* SoundingRS-UL-ConfigDedicatedAperiodic-r10 */ -typedef struct SoundingRS_UL_ConfigDedicatedAperiodic_r10 { - SoundingRS_UL_ConfigDedicatedAperiodic_r10_PR present; - union SoundingRS_UL_ConfigDedicatedAperiodic_r10_u { - NULL_t release; - struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup { - long srs_ConfigIndexAp_r10; - struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ConfigApDCI_Format4_r10 { - A_SEQUENCE_OF(struct SRS_ConfigAp_r10) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *srs_ConfigApDCI_Format4_r10; - struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10 { - SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10_PR present; - union SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10_u { - NULL_t release; - struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10__setup { - SRS_ConfigAp_r10_t srs_ConfigApDCI_Format0_r10; - SRS_ConfigAp_r10_t srs_ConfigApDCI_Format1a2b2c_r10; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *srs_ActivateAp_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SoundingRS_UL_ConfigDedicatedAperiodic_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SoundingRS_UL_ConfigDedicatedAperiodic_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SRS-ConfigAp-r10.h" - -#endif /* _SoundingRS_UL_ConfigDedicatedAperiodic_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SpeedStateScaleFactors.h b/lte/rrc/include/liblte/rrc/asn/SpeedStateScaleFactors.h deleted file mode 100644 index ce8c177ec..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SpeedStateScaleFactors.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SpeedStateScaleFactors_H_ -#define _SpeedStateScaleFactors_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SpeedStateScaleFactors__sf_Medium { - SpeedStateScaleFactors__sf_Medium_oDot25 = 0, - SpeedStateScaleFactors__sf_Medium_oDot5 = 1, - SpeedStateScaleFactors__sf_Medium_oDot75 = 2, - SpeedStateScaleFactors__sf_Medium_lDot0 = 3 -} e_SpeedStateScaleFactors__sf_Medium; -typedef enum SpeedStateScaleFactors__sf_High { - SpeedStateScaleFactors__sf_High_oDot25 = 0, - SpeedStateScaleFactors__sf_High_oDot5 = 1, - SpeedStateScaleFactors__sf_High_oDot75 = 2, - SpeedStateScaleFactors__sf_High_lDot0 = 3 -} e_SpeedStateScaleFactors__sf_High; - -/* SpeedStateScaleFactors */ -typedef struct SpeedStateScaleFactors { - long sf_Medium; - long sf_High; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SpeedStateScaleFactors_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_sf_Medium_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_sf_High_7; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SpeedStateScaleFactors; - -#ifdef __cplusplus -} -#endif - -#endif /* _SpeedStateScaleFactors_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SupportedBandCombination-r10.h b/lte/rrc/include/liblte/rrc/asn/SupportedBandCombination-r10.h deleted file mode 100644 index 7796258c3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SupportedBandCombination-r10.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SupportedBandCombination_r10_H_ -#define _SupportedBandCombination_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct BandCombinationParameters_r10; - -/* SupportedBandCombination-r10 */ -typedef struct SupportedBandCombination_r10 { - A_SEQUENCE_OF(struct BandCombinationParameters_r10) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SupportedBandCombination_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedBandCombination_r10; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/BandCombinationParameters-r10.h" - -#endif /* _SupportedBandCombination_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SupportedBandEUTRA.h b/lte/rrc/include/liblte/rrc/asn/SupportedBandEUTRA.h deleted file mode 100644 index 805d9cb14..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SupportedBandEUTRA.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SupportedBandEUTRA_H_ -#define _SupportedBandEUTRA_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SupportedBandEUTRA */ -typedef struct SupportedBandEUTRA { - long bandEUTRA; - BOOLEAN_t halfDuplex; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SupportedBandEUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedBandEUTRA; - -#ifdef __cplusplus -} -#endif - -#endif /* _SupportedBandEUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SupportedBandGERAN.h b/lte/rrc/include/liblte/rrc/asn/SupportedBandGERAN.h deleted file mode 100644 index fef864206..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SupportedBandGERAN.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SupportedBandGERAN_H_ -#define _SupportedBandGERAN_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SupportedBandGERAN { - SupportedBandGERAN_gsm450 = 0, - SupportedBandGERAN_gsm480 = 1, - SupportedBandGERAN_gsm710 = 2, - SupportedBandGERAN_gsm750 = 3, - SupportedBandGERAN_gsm810 = 4, - SupportedBandGERAN_gsm850 = 5, - SupportedBandGERAN_gsm900P = 6, - SupportedBandGERAN_gsm900E = 7, - SupportedBandGERAN_gsm900R = 8, - SupportedBandGERAN_gsm1800 = 9, - SupportedBandGERAN_gsm1900 = 10, - SupportedBandGERAN_spare5 = 11, - SupportedBandGERAN_spare4 = 12, - SupportedBandGERAN_spare3 = 13, - SupportedBandGERAN_spare2 = 14, - SupportedBandGERAN_spare1 = 15 - /* - * Enumeration is extensible - */ -} e_SupportedBandGERAN; - -/* SupportedBandGERAN */ -typedef long SupportedBandGERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedBandGERAN; -asn_struct_free_f SupportedBandGERAN_free; -asn_struct_print_f SupportedBandGERAN_print; -asn_constr_check_f SupportedBandGERAN_constraint; -ber_type_decoder_f SupportedBandGERAN_decode_ber; -der_type_encoder_f SupportedBandGERAN_encode_der; -xer_type_decoder_f SupportedBandGERAN_decode_xer; -xer_type_encoder_f SupportedBandGERAN_encode_xer; -per_type_decoder_f SupportedBandGERAN_decode_uper; -per_type_encoder_f SupportedBandGERAN_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _SupportedBandGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SupportedBandList1XRTT.h b/lte/rrc/include/liblte/rrc/asn/SupportedBandList1XRTT.h deleted file mode 100644 index 4e7de67b0..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SupportedBandList1XRTT.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SupportedBandList1XRTT_H_ -#define _SupportedBandList1XRTT_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/BandclassCDMA2000.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SupportedBandList1XRTT */ -typedef struct SupportedBandList1XRTT { - A_SEQUENCE_OF(BandclassCDMA2000_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SupportedBandList1XRTT_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedBandList1XRTT; - -#ifdef __cplusplus -} -#endif - -#endif /* _SupportedBandList1XRTT_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SupportedBandListEUTRA.h b/lte/rrc/include/liblte/rrc/asn/SupportedBandListEUTRA.h deleted file mode 100644 index 9919ecbc5..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SupportedBandListEUTRA.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SupportedBandListEUTRA_H_ -#define _SupportedBandListEUTRA_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct SupportedBandEUTRA; - -/* SupportedBandListEUTRA */ -typedef struct SupportedBandListEUTRA { - A_SEQUENCE_OF(struct SupportedBandEUTRA) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SupportedBandListEUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedBandListEUTRA; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SupportedBandEUTRA.h" - -#endif /* _SupportedBandListEUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SupportedBandListGERAN.h b/lte/rrc/include/liblte/rrc/asn/SupportedBandListGERAN.h deleted file mode 100644 index 23bd05549..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SupportedBandListGERAN.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SupportedBandListGERAN_H_ -#define _SupportedBandListGERAN_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SupportedBandGERAN.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SupportedBandListGERAN */ -typedef struct SupportedBandListGERAN { - A_SEQUENCE_OF(SupportedBandGERAN_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SupportedBandListGERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedBandListGERAN; - -#ifdef __cplusplus -} -#endif - -#endif /* _SupportedBandListGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SupportedBandListHRPD.h b/lte/rrc/include/liblte/rrc/asn/SupportedBandListHRPD.h deleted file mode 100644 index cce2163cd..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SupportedBandListHRPD.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SupportedBandListHRPD_H_ -#define _SupportedBandListHRPD_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/BandclassCDMA2000.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SupportedBandListHRPD */ -typedef struct SupportedBandListHRPD { - A_SEQUENCE_OF(BandclassCDMA2000_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SupportedBandListHRPD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedBandListHRPD; - -#ifdef __cplusplus -} -#endif - -#endif /* _SupportedBandListHRPD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SupportedBandListUTRA-FDD.h b/lte/rrc/include/liblte/rrc/asn/SupportedBandListUTRA-FDD.h deleted file mode 100644 index fac07df7e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SupportedBandListUTRA-FDD.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SupportedBandListUTRA_FDD_H_ -#define _SupportedBandListUTRA_FDD_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SupportedBandUTRA-FDD.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SupportedBandListUTRA-FDD */ -typedef struct SupportedBandListUTRA_FDD { - A_SEQUENCE_OF(SupportedBandUTRA_FDD_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SupportedBandListUTRA_FDD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedBandListUTRA_FDD; - -#ifdef __cplusplus -} -#endif - -#endif /* _SupportedBandListUTRA_FDD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SupportedBandListUTRA-TDD128.h b/lte/rrc/include/liblte/rrc/asn/SupportedBandListUTRA-TDD128.h deleted file mode 100644 index 8fdbaa37d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SupportedBandListUTRA-TDD128.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SupportedBandListUTRA_TDD128_H_ -#define _SupportedBandListUTRA_TDD128_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SupportedBandUTRA-TDD128.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SupportedBandListUTRA-TDD128 */ -typedef struct SupportedBandListUTRA_TDD128 { - A_SEQUENCE_OF(SupportedBandUTRA_TDD128_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SupportedBandListUTRA_TDD128_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedBandListUTRA_TDD128; - -#ifdef __cplusplus -} -#endif - -#endif /* _SupportedBandListUTRA_TDD128_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SupportedBandListUTRA-TDD384.h b/lte/rrc/include/liblte/rrc/asn/SupportedBandListUTRA-TDD384.h deleted file mode 100644 index 68f70810d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SupportedBandListUTRA-TDD384.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SupportedBandListUTRA_TDD384_H_ -#define _SupportedBandListUTRA_TDD384_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SupportedBandUTRA-TDD384.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SupportedBandListUTRA-TDD384 */ -typedef struct SupportedBandListUTRA_TDD384 { - A_SEQUENCE_OF(SupportedBandUTRA_TDD384_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SupportedBandListUTRA_TDD384_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedBandListUTRA_TDD384; - -#ifdef __cplusplus -} -#endif - -#endif /* _SupportedBandListUTRA_TDD384_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SupportedBandListUTRA-TDD768.h b/lte/rrc/include/liblte/rrc/asn/SupportedBandListUTRA-TDD768.h deleted file mode 100644 index 1007f1607..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SupportedBandListUTRA-TDD768.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SupportedBandListUTRA_TDD768_H_ -#define _SupportedBandListUTRA_TDD768_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SupportedBandUTRA-TDD768.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SupportedBandListUTRA-TDD768 */ -typedef struct SupportedBandListUTRA_TDD768 { - A_SEQUENCE_OF(SupportedBandUTRA_TDD768_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SupportedBandListUTRA_TDD768_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedBandListUTRA_TDD768; - -#ifdef __cplusplus -} -#endif - -#endif /* _SupportedBandListUTRA_TDD768_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SupportedBandUTRA-FDD.h b/lte/rrc/include/liblte/rrc/asn/SupportedBandUTRA-FDD.h deleted file mode 100644 index 228cd1058..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SupportedBandUTRA-FDD.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SupportedBandUTRA_FDD_H_ -#define _SupportedBandUTRA_FDD_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SupportedBandUTRA_FDD { - SupportedBandUTRA_FDD_bandI = 0, - SupportedBandUTRA_FDD_bandII = 1, - SupportedBandUTRA_FDD_bandIII = 2, - SupportedBandUTRA_FDD_bandIV = 3, - SupportedBandUTRA_FDD_bandV = 4, - SupportedBandUTRA_FDD_bandVI = 5, - SupportedBandUTRA_FDD_bandVII = 6, - SupportedBandUTRA_FDD_bandVIII = 7, - SupportedBandUTRA_FDD_bandIX = 8, - SupportedBandUTRA_FDD_bandX = 9, - SupportedBandUTRA_FDD_bandXI = 10, - SupportedBandUTRA_FDD_bandXII = 11, - SupportedBandUTRA_FDD_bandXIII = 12, - SupportedBandUTRA_FDD_bandXIV = 13, - SupportedBandUTRA_FDD_bandXV = 14, - SupportedBandUTRA_FDD_bandXVI = 15, - /* - * Enumeration is extensible - */ - SupportedBandUTRA_FDD_bandXVII_8a0 = 16, - SupportedBandUTRA_FDD_bandXVIII_8a0 = 17, - SupportedBandUTRA_FDD_bandXIX_8a0 = 18, - SupportedBandUTRA_FDD_bandXX_8a0 = 19, - SupportedBandUTRA_FDD_bandXXI_8a0 = 20, - SupportedBandUTRA_FDD_bandXXII_8a0 = 21, - SupportedBandUTRA_FDD_bandXXIII_8a0 = 22, - SupportedBandUTRA_FDD_bandXXIV_8a0 = 23, - SupportedBandUTRA_FDD_bandXXV_8a0 = 24, - SupportedBandUTRA_FDD_bandXXVI_8a0 = 25, - SupportedBandUTRA_FDD_bandXXVII_8a0 = 26, - SupportedBandUTRA_FDD_bandXXVIII_8a0 = 27, - SupportedBandUTRA_FDD_bandXXIX_8a0 = 28, - SupportedBandUTRA_FDD_bandXXX_8a0 = 29, - SupportedBandUTRA_FDD_bandXXXI_8a0 = 30, - SupportedBandUTRA_FDD_bandXXXII_8a0 = 31 -} e_SupportedBandUTRA_FDD; - -/* SupportedBandUTRA-FDD */ -typedef long SupportedBandUTRA_FDD_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedBandUTRA_FDD; -asn_struct_free_f SupportedBandUTRA_FDD_free; -asn_struct_print_f SupportedBandUTRA_FDD_print; -asn_constr_check_f SupportedBandUTRA_FDD_constraint; -ber_type_decoder_f SupportedBandUTRA_FDD_decode_ber; -der_type_encoder_f SupportedBandUTRA_FDD_encode_der; -xer_type_decoder_f SupportedBandUTRA_FDD_decode_xer; -xer_type_encoder_f SupportedBandUTRA_FDD_encode_xer; -per_type_decoder_f SupportedBandUTRA_FDD_decode_uper; -per_type_encoder_f SupportedBandUTRA_FDD_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _SupportedBandUTRA_FDD_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SupportedBandUTRA-TDD128.h b/lte/rrc/include/liblte/rrc/asn/SupportedBandUTRA-TDD128.h deleted file mode 100644 index 061810320..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SupportedBandUTRA-TDD128.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SupportedBandUTRA_TDD128_H_ -#define _SupportedBandUTRA_TDD128_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SupportedBandUTRA_TDD128 { - SupportedBandUTRA_TDD128_a = 0, - SupportedBandUTRA_TDD128_b = 1, - SupportedBandUTRA_TDD128_c = 2, - SupportedBandUTRA_TDD128_d = 3, - SupportedBandUTRA_TDD128_e = 4, - SupportedBandUTRA_TDD128_f = 5, - SupportedBandUTRA_TDD128_g = 6, - SupportedBandUTRA_TDD128_h = 7, - SupportedBandUTRA_TDD128_i = 8, - SupportedBandUTRA_TDD128_j = 9, - SupportedBandUTRA_TDD128_k = 10, - SupportedBandUTRA_TDD128_l = 11, - SupportedBandUTRA_TDD128_m = 12, - SupportedBandUTRA_TDD128_n = 13, - SupportedBandUTRA_TDD128_o = 14, - SupportedBandUTRA_TDD128_p = 15 - /* - * Enumeration is extensible - */ -} e_SupportedBandUTRA_TDD128; - -/* SupportedBandUTRA-TDD128 */ -typedef long SupportedBandUTRA_TDD128_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedBandUTRA_TDD128; -asn_struct_free_f SupportedBandUTRA_TDD128_free; -asn_struct_print_f SupportedBandUTRA_TDD128_print; -asn_constr_check_f SupportedBandUTRA_TDD128_constraint; -ber_type_decoder_f SupportedBandUTRA_TDD128_decode_ber; -der_type_encoder_f SupportedBandUTRA_TDD128_encode_der; -xer_type_decoder_f SupportedBandUTRA_TDD128_decode_xer; -xer_type_encoder_f SupportedBandUTRA_TDD128_encode_xer; -per_type_decoder_f SupportedBandUTRA_TDD128_decode_uper; -per_type_encoder_f SupportedBandUTRA_TDD128_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _SupportedBandUTRA_TDD128_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SupportedBandUTRA-TDD384.h b/lte/rrc/include/liblte/rrc/asn/SupportedBandUTRA-TDD384.h deleted file mode 100644 index e2bbcf48c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SupportedBandUTRA-TDD384.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SupportedBandUTRA_TDD384_H_ -#define _SupportedBandUTRA_TDD384_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SupportedBandUTRA_TDD384 { - SupportedBandUTRA_TDD384_a = 0, - SupportedBandUTRA_TDD384_b = 1, - SupportedBandUTRA_TDD384_c = 2, - SupportedBandUTRA_TDD384_d = 3, - SupportedBandUTRA_TDD384_e = 4, - SupportedBandUTRA_TDD384_f = 5, - SupportedBandUTRA_TDD384_g = 6, - SupportedBandUTRA_TDD384_h = 7, - SupportedBandUTRA_TDD384_i = 8, - SupportedBandUTRA_TDD384_j = 9, - SupportedBandUTRA_TDD384_k = 10, - SupportedBandUTRA_TDD384_l = 11, - SupportedBandUTRA_TDD384_m = 12, - SupportedBandUTRA_TDD384_n = 13, - SupportedBandUTRA_TDD384_o = 14, - SupportedBandUTRA_TDD384_p = 15 - /* - * Enumeration is extensible - */ -} e_SupportedBandUTRA_TDD384; - -/* SupportedBandUTRA-TDD384 */ -typedef long SupportedBandUTRA_TDD384_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedBandUTRA_TDD384; -asn_struct_free_f SupportedBandUTRA_TDD384_free; -asn_struct_print_f SupportedBandUTRA_TDD384_print; -asn_constr_check_f SupportedBandUTRA_TDD384_constraint; -ber_type_decoder_f SupportedBandUTRA_TDD384_decode_ber; -der_type_encoder_f SupportedBandUTRA_TDD384_encode_der; -xer_type_decoder_f SupportedBandUTRA_TDD384_decode_xer; -xer_type_encoder_f SupportedBandUTRA_TDD384_encode_xer; -per_type_decoder_f SupportedBandUTRA_TDD384_decode_uper; -per_type_encoder_f SupportedBandUTRA_TDD384_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _SupportedBandUTRA_TDD384_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SupportedBandUTRA-TDD768.h b/lte/rrc/include/liblte/rrc/asn/SupportedBandUTRA-TDD768.h deleted file mode 100644 index c800ce31f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SupportedBandUTRA-TDD768.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SupportedBandUTRA_TDD768_H_ -#define _SupportedBandUTRA_TDD768_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SupportedBandUTRA_TDD768 { - SupportedBandUTRA_TDD768_a = 0, - SupportedBandUTRA_TDD768_b = 1, - SupportedBandUTRA_TDD768_c = 2, - SupportedBandUTRA_TDD768_d = 3, - SupportedBandUTRA_TDD768_e = 4, - SupportedBandUTRA_TDD768_f = 5, - SupportedBandUTRA_TDD768_g = 6, - SupportedBandUTRA_TDD768_h = 7, - SupportedBandUTRA_TDD768_i = 8, - SupportedBandUTRA_TDD768_j = 9, - SupportedBandUTRA_TDD768_k = 10, - SupportedBandUTRA_TDD768_l = 11, - SupportedBandUTRA_TDD768_m = 12, - SupportedBandUTRA_TDD768_n = 13, - SupportedBandUTRA_TDD768_o = 14, - SupportedBandUTRA_TDD768_p = 15 - /* - * Enumeration is extensible - */ -} e_SupportedBandUTRA_TDD768; - -/* SupportedBandUTRA-TDD768 */ -typedef long SupportedBandUTRA_TDD768_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedBandUTRA_TDD768; -asn_struct_free_f SupportedBandUTRA_TDD768_free; -asn_struct_print_f SupportedBandUTRA_TDD768_print; -asn_constr_check_f SupportedBandUTRA_TDD768_constraint; -ber_type_decoder_f SupportedBandUTRA_TDD768_decode_ber; -der_type_encoder_f SupportedBandUTRA_TDD768_encode_der; -xer_type_decoder_f SupportedBandUTRA_TDD768_decode_xer; -xer_type_encoder_f SupportedBandUTRA_TDD768_encode_xer; -per_type_decoder_f SupportedBandUTRA_TDD768_decode_uper; -per_type_encoder_f SupportedBandUTRA_TDD768_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _SupportedBandUTRA_TDD768_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInfoListGERAN.h b/lte/rrc/include/liblte/rrc/asn/SystemInfoListGERAN.h deleted file mode 100644 index d34a3acd7..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInfoListGERAN.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInfoListGERAN_H_ -#define _SystemInfoListGERAN_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SystemInfoListGERAN */ -typedef struct SystemInfoListGERAN { - A_SEQUENCE_OF(OCTET_STRING_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInfoListGERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInfoListGERAN; - -#ifdef __cplusplus -} -#endif - -#endif /* _SystemInfoListGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInformation-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/SystemInformation-r8-IEs.h deleted file mode 100644 index 62e20a397..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInformation-r8-IEs.h +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInformation_r8_IEs_H_ -#define _SystemInformation_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/SystemInformationBlockType2.h" -#include "liblte/rrc/asn/SystemInformationBlockType3.h" -#include "liblte/rrc/asn/SystemInformationBlockType4.h" -#include "liblte/rrc/asn/SystemInformationBlockType5.h" -#include "liblte/rrc/asn/SystemInformationBlockType6.h" -#include "liblte/rrc/asn/SystemInformationBlockType7.h" -#include "liblte/rrc/asn/SystemInformationBlockType8.h" -#include "liblte/rrc/asn/SystemInformationBlockType9.h" -#include "liblte/rrc/asn/SystemInformationBlockType10.h" -#include "liblte/rrc/asn/SystemInformationBlockType11.h" -#include "liblte/rrc/asn/SystemInformationBlockType12-r9.h" -#include "liblte/rrc/asn/SystemInformationBlockType13-r9.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SystemInformation_r8_IEs__sib_TypeAndInfo__Member_PR { - SystemInformation_r8_IEs__sib_TypeAndInfo__Member_PR_NOTHING, /* No components present */ - SystemInformation_r8_IEs__sib_TypeAndInfo__Member_PR_sib2, - SystemInformation_r8_IEs__sib_TypeAndInfo__Member_PR_sib3, - SystemInformation_r8_IEs__sib_TypeAndInfo__Member_PR_sib4, - SystemInformation_r8_IEs__sib_TypeAndInfo__Member_PR_sib5, - SystemInformation_r8_IEs__sib_TypeAndInfo__Member_PR_sib6, - SystemInformation_r8_IEs__sib_TypeAndInfo__Member_PR_sib7, - SystemInformation_r8_IEs__sib_TypeAndInfo__Member_PR_sib8, - SystemInformation_r8_IEs__sib_TypeAndInfo__Member_PR_sib9, - SystemInformation_r8_IEs__sib_TypeAndInfo__Member_PR_sib10, - SystemInformation_r8_IEs__sib_TypeAndInfo__Member_PR_sib11, - /* Extensions may appear below */ - SystemInformation_r8_IEs__sib_TypeAndInfo__Member_PR_sib12_v920, - SystemInformation_r8_IEs__sib_TypeAndInfo__Member_PR_sib13_v920 -} SystemInformation_r8_IEs__sib_TypeAndInfo__Member_PR; - -/* Forward declarations */ -struct SystemInformation_v8a0_IEs; - -struct SystemInformation_r8_IEs__sib_TypeAndInfo__Member { - SystemInformation_r8_IEs__sib_TypeAndInfo__Member_PR present; - union SystemInformation_r8_IEs__sib_TypeAndInfo__Member_u { - SystemInformationBlockType2_t sib2; - SystemInformationBlockType3_t sib3; - SystemInformationBlockType4_t sib4; - SystemInformationBlockType5_t sib5; - SystemInformationBlockType6_t sib6; - SystemInformationBlockType7_t sib7; - SystemInformationBlockType8_t sib8; - SystemInformationBlockType9_t sib9; - SystemInformationBlockType10_t sib10; - SystemInformationBlockType11_t sib11; - /* - * This type is extensible, - * possible extensions are below. - */ - SystemInformationBlockType12_r9_t sib12_v920; - SystemInformationBlockType13_r9_t sib13_v920; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -}; - -/* SystemInformation-r8-IEs */ -typedef struct SystemInformation_r8_IEs { - struct SystemInformation_r8_IEs__sib_TypeAndInfo { - A_SEQUENCE_OF(struct SystemInformation_r8_IEs__sib_TypeAndInfo__Member) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } sib_TypeAndInfo; - struct SystemInformation_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInformation_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInformation_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SystemInformation-v8a0-IEs.h" - -#endif /* _SystemInformation_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInformation-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/SystemInformation-v8a0-IEs.h deleted file mode 100644 index 85f17ec6c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInformation-v8a0-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInformation_v8a0_IEs_H_ -#define _SystemInformation_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SystemInformation-v8a0-IEs */ -typedef struct SystemInformation_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct SystemInformation_v8a0_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInformation_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInformation_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _SystemInformation_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInformation.h b/lte/rrc/include/liblte/rrc/asn/SystemInformation.h deleted file mode 100644 index 0b674496b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInformation.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInformation_H_ -#define _SystemInformation_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SystemInformation-r8-IEs.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SystemInformation__criticalExtensions_PR { - SystemInformation__criticalExtensions_PR_NOTHING, /* No components present */ - SystemInformation__criticalExtensions_PR_systemInformation_r8, - SystemInformation__criticalExtensions_PR_criticalExtensionsFuture -} SystemInformation__criticalExtensions_PR; - -/* SystemInformation */ -typedef struct SystemInformation { - struct SystemInformation__criticalExtensions { - SystemInformation__criticalExtensions_PR present; - union SystemInformation__criticalExtensions_u { - SystemInformation_r8_IEs_t systemInformation_r8; - struct SystemInformation__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInformation_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInformation; - -#ifdef __cplusplus -} -#endif - -#endif /* _SystemInformation_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType1-v890-IEs.h b/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType1-v890-IEs.h deleted file mode 100644 index 5f19db944..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType1-v890-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInformationBlockType1_v890_IEs_H_ -#define _SystemInformationBlockType1_v890_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct SystemInformationBlockType1_v920_IEs; - -/* SystemInformationBlockType1-v890-IEs */ -typedef struct SystemInformationBlockType1_v890_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct SystemInformationBlockType1_v920_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInformationBlockType1_v890_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType1_v890_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SystemInformationBlockType1-v920-IEs.h" - -#endif /* _SystemInformationBlockType1_v890_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType1-v920-IEs.h b/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType1-v920-IEs.h deleted file mode 100644 index 9bd7f8a57..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType1-v920-IEs.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInformationBlockType1_v920_IEs_H_ -#define _SystemInformationBlockType1_v920_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SystemInformationBlockType1_v920_IEs__ims_EmergencySupport_r9 { - SystemInformationBlockType1_v920_IEs__ims_EmergencySupport_r9_true = 0 -} e_SystemInformationBlockType1_v920_IEs__ims_EmergencySupport_r9; - -/* Forward declarations */ -struct CellSelectionInfo_v920; - -/* SystemInformationBlockType1-v920-IEs */ -typedef struct SystemInformationBlockType1_v920_IEs { - long *ims_EmergencySupport_r9 /* OPTIONAL */; - struct CellSelectionInfo_v920 *cellSelectionInfo_v920 /* OPTIONAL */; - struct SystemInformationBlockType1_v920_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInformationBlockType1_v920_IEs_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_ims_EmergencySupport_r9_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType1_v920_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CellSelectionInfo-v920.h" - -#endif /* _SystemInformationBlockType1_v920_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType1.h b/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType1.h deleted file mode 100644 index 9cba3f0f9..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType1.h +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInformationBlockType1_H_ -#define _SystemInformationBlockType1_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/P-Max.h" -#include -#include "liblte/rrc/asn/SchedulingInfoList.h" -#include -#include "liblte/rrc/asn/PLMN-IdentityList.h" -#include "liblte/rrc/asn/TrackingAreaCode.h" -#include "liblte/rrc/asn/CellIdentity.h" -#include -#include "liblte/rrc/asn/CSG-Identity.h" -#include -#include "liblte/rrc/asn/Q-RxLevMin.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SystemInformationBlockType1__cellAccessRelatedInfo__cellBarred { - SystemInformationBlockType1__cellAccessRelatedInfo__cellBarred_barred = 0, - SystemInformationBlockType1__cellAccessRelatedInfo__cellBarred_notBarred = 1 -} e_SystemInformationBlockType1__cellAccessRelatedInfo__cellBarred; -typedef enum SystemInformationBlockType1__cellAccessRelatedInfo__intraFreqReselection { - SystemInformationBlockType1__cellAccessRelatedInfo__intraFreqReselection_allowed = 0, - SystemInformationBlockType1__cellAccessRelatedInfo__intraFreqReselection_notAllowed = 1 -} e_SystemInformationBlockType1__cellAccessRelatedInfo__intraFreqReselection; -typedef enum SystemInformationBlockType1__si_WindowLength { - SystemInformationBlockType1__si_WindowLength_ms1 = 0, - SystemInformationBlockType1__si_WindowLength_ms2 = 1, - SystemInformationBlockType1__si_WindowLength_ms5 = 2, - SystemInformationBlockType1__si_WindowLength_ms10 = 3, - SystemInformationBlockType1__si_WindowLength_ms15 = 4, - SystemInformationBlockType1__si_WindowLength_ms20 = 5, - SystemInformationBlockType1__si_WindowLength_ms40 = 6 -} e_SystemInformationBlockType1__si_WindowLength; - -/* Forward declarations */ -struct TDD_Config; -struct SystemInformationBlockType1_v890_IEs; - -/* SystemInformationBlockType1 */ -typedef struct SystemInformationBlockType1 { - struct SystemInformationBlockType1__cellAccessRelatedInfo { - PLMN_IdentityList_t plmn_IdentityList; - TrackingAreaCode_t trackingAreaCode; - CellIdentity_t cellIdentity; - long cellBarred; - long intraFreqReselection; - BOOLEAN_t csg_Indication; - CSG_Identity_t *csg_Identity /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } cellAccessRelatedInfo; - struct SystemInformationBlockType1__cellSelectionInfo { - Q_RxLevMin_t q_RxLevMin; - long *q_RxLevMinOffset /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } cellSelectionInfo; - P_Max_t *p_Max /* OPTIONAL */; - long freqBandIndicator; - SchedulingInfoList_t schedulingInfoList; - struct TDD_Config *tdd_Config /* OPTIONAL */; - long si_WindowLength; - long systemInfoValueTag; - struct SystemInformationBlockType1_v890_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInformationBlockType1_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_cellBarred_6; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_intraFreqReselection_9; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_si_WindowLength_21; // (Use -fall-defs-global to expose) */ -LIBLTE_API extern asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType1; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/TDD-Config.h" -#include "liblte/rrc/asn/SystemInformationBlockType1-v890-IEs.h" - -#endif /* _SystemInformationBlockType1_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType10.h b/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType10.h deleted file mode 100644 index 826feebcf..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType10.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInformationBlockType10_H_ -#define _SystemInformationBlockType10_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SystemInformationBlockType10 */ -typedef struct SystemInformationBlockType10 { - BIT_STRING_t messageIdentifier; - BIT_STRING_t serialNumber; - OCTET_STRING_t warningType; - OCTET_STRING_t *warningSecurityInfo /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInformationBlockType10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType10; - -#ifdef __cplusplus -} -#endif - -#endif /* _SystemInformationBlockType10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType11.h b/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType11.h deleted file mode 100644 index 1f4437c21..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType11.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInformationBlockType11_H_ -#define _SystemInformationBlockType11_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SystemInformationBlockType11__warningMessageSegmentType { - SystemInformationBlockType11__warningMessageSegmentType_notLastSegment = 0, - SystemInformationBlockType11__warningMessageSegmentType_lastSegment = 1 -} e_SystemInformationBlockType11__warningMessageSegmentType; - -/* SystemInformationBlockType11 */ -typedef struct SystemInformationBlockType11 { - BIT_STRING_t messageIdentifier; - BIT_STRING_t serialNumber; - long warningMessageSegmentType; - long warningMessageSegmentNumber; - OCTET_STRING_t warningMessageSegment; - OCTET_STRING_t *dataCodingScheme /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInformationBlockType11_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_warningMessageSegmentType_4; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType11; - -#ifdef __cplusplus -} -#endif - -#endif /* _SystemInformationBlockType11_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType12-r9.h b/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType12-r9.h deleted file mode 100644 index c78fcacf7..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType12-r9.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInformationBlockType12_r9_H_ -#define _SystemInformationBlockType12_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SystemInformationBlockType12_r9__warningMessageSegmentType_r9 { - SystemInformationBlockType12_r9__warningMessageSegmentType_r9_notLastSegment = 0, - SystemInformationBlockType12_r9__warningMessageSegmentType_r9_lastSegment = 1 -} e_SystemInformationBlockType12_r9__warningMessageSegmentType_r9; - -/* SystemInformationBlockType12-r9 */ -typedef struct SystemInformationBlockType12_r9 { - BIT_STRING_t messageIdentifier_r9; - BIT_STRING_t serialNumber_r9; - long warningMessageSegmentType_r9; - long warningMessageSegmentNumber_r9; - OCTET_STRING_t warningMessageSegment_r9; - OCTET_STRING_t *dataCodingScheme_r9 /* OPTIONAL */; - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInformationBlockType12_r9_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_warningMessageSegmentType_r9_4; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType12_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _SystemInformationBlockType12_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType13-r9.h b/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType13-r9.h deleted file mode 100644 index 1e3b2be5f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType13-r9.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInformationBlockType13_r9_H_ -#define _SystemInformationBlockType13_r9_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MBSFN-AreaInfoList-r9.h" -#include "liblte/rrc/asn/MBMS-NotificationConfig-r9.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SystemInformationBlockType13-r9 */ -typedef struct SystemInformationBlockType13_r9 { - MBSFN_AreaInfoList_r9_t mbsfn_AreaInfoList_r9; - MBMS_NotificationConfig_r9_t notificationConfig_r9; - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInformationBlockType13_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType13_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _SystemInformationBlockType13_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType2.h b/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType2.h deleted file mode 100644 index 1fd5b8f96..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType2.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInformationBlockType2_H_ -#define _SystemInformationBlockType2_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RadioResourceConfigCommonSIB.h" -#include "liblte/rrc/asn/UE-TimersAndConstants.h" -#include "liblte/rrc/asn/TimeAlignmentTimer.h" -#include -#include -#include -#include "liblte/rrc/asn/ARFCN-ValueEUTRA.h" -#include -#include "liblte/rrc/asn/AdditionalSpectrumEmission.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SystemInformationBlockType2__freqInfo__ul_Bandwidth { - SystemInformationBlockType2__freqInfo__ul_Bandwidth_n6 = 0, - SystemInformationBlockType2__freqInfo__ul_Bandwidth_n15 = 1, - SystemInformationBlockType2__freqInfo__ul_Bandwidth_n25 = 2, - SystemInformationBlockType2__freqInfo__ul_Bandwidth_n50 = 3, - SystemInformationBlockType2__freqInfo__ul_Bandwidth_n75 = 4, - SystemInformationBlockType2__freqInfo__ul_Bandwidth_n100 = 5 -} e_SystemInformationBlockType2__freqInfo__ul_Bandwidth; - -/* Forward declarations */ -struct MBSFN_SubframeConfigList; -struct AC_BarringConfig; - -/* SystemInformationBlockType2 */ -typedef struct SystemInformationBlockType2 { - struct SystemInformationBlockType2__ac_BarringInfo { - BOOLEAN_t ac_BarringForEmergency; - struct AC_BarringConfig *ac_BarringForMO_Signalling /* OPTIONAL */; - struct AC_BarringConfig *ac_BarringForMO_Data /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *ac_BarringInfo; - RadioResourceConfigCommonSIB_t radioResourceConfigCommon; - UE_TimersAndConstants_t ue_TimersAndConstants; - struct SystemInformationBlockType2__freqInfo { - ARFCN_ValueEUTRA_t *ul_CarrierFreq /* OPTIONAL */; - long *ul_Bandwidth /* OPTIONAL */; - AdditionalSpectrumEmission_t additionalSpectrumEmission; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } freqInfo; - struct MBSFN_SubframeConfigList *mbsfn_SubframeConfigList /* OPTIONAL */; - TimeAlignmentTimer_t timeAlignmentTimerCommon; - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct AC_BarringConfig *ssac_BarringForMMTEL_Voice_r9 /* OPTIONAL */; - struct AC_BarringConfig *ssac_BarringForMMTEL_Video_r9 /* OPTIONAL */; - struct AC_BarringConfig *ac_BarringForCSFB_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInformationBlockType2_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_ul_Bandwidth_10; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType2; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MBSFN-SubframeConfigList.h" -#include "liblte/rrc/asn/AC-BarringConfig.h" - -#endif /* _SystemInformationBlockType2_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType3.h b/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType3.h deleted file mode 100644 index 9ff2fce04..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType3.h +++ /dev/null @@ -1,147 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInformationBlockType3_H_ -#define _SystemInformationBlockType3_H_ - - -#include - -/* Including external dependencies */ -#include -#include "liblte/rrc/asn/Q-QualMin-r9.h" -#include "liblte/rrc/asn/ReselectionThresholdQ-r9.h" -#include -#include "liblte/rrc/asn/MobilityStateParameters.h" -#include -#include "liblte/rrc/asn/ReselectionThreshold.h" -#include "liblte/rrc/asn/CellReselectionPriority.h" -#include "liblte/rrc/asn/Q-RxLevMin.h" -#include "liblte/rrc/asn/P-Max.h" -#include "liblte/rrc/asn/AllowedMeasBandwidth.h" -#include "liblte/rrc/asn/PresenceAntennaPort1.h" -#include "liblte/rrc/asn/NeighCellConfig.h" -#include "liblte/rrc/asn/T-Reselection.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SystemInformationBlockType3__cellReselectionInfoCommon__q_Hyst { - SystemInformationBlockType3__cellReselectionInfoCommon__q_Hyst_dB0 = 0, - SystemInformationBlockType3__cellReselectionInfoCommon__q_Hyst_dB1 = 1, - SystemInformationBlockType3__cellReselectionInfoCommon__q_Hyst_dB2 = 2, - SystemInformationBlockType3__cellReselectionInfoCommon__q_Hyst_dB3 = 3, - SystemInformationBlockType3__cellReselectionInfoCommon__q_Hyst_dB4 = 4, - SystemInformationBlockType3__cellReselectionInfoCommon__q_Hyst_dB5 = 5, - SystemInformationBlockType3__cellReselectionInfoCommon__q_Hyst_dB6 = 6, - SystemInformationBlockType3__cellReselectionInfoCommon__q_Hyst_dB8 = 7, - SystemInformationBlockType3__cellReselectionInfoCommon__q_Hyst_dB10 = 8, - SystemInformationBlockType3__cellReselectionInfoCommon__q_Hyst_dB12 = 9, - SystemInformationBlockType3__cellReselectionInfoCommon__q_Hyst_dB14 = 10, - SystemInformationBlockType3__cellReselectionInfoCommon__q_Hyst_dB16 = 11, - SystemInformationBlockType3__cellReselectionInfoCommon__q_Hyst_dB18 = 12, - SystemInformationBlockType3__cellReselectionInfoCommon__q_Hyst_dB20 = 13, - SystemInformationBlockType3__cellReselectionInfoCommon__q_Hyst_dB22 = 14, - SystemInformationBlockType3__cellReselectionInfoCommon__q_Hyst_dB24 = 15 -} e_SystemInformationBlockType3__cellReselectionInfoCommon__q_Hyst; -typedef enum SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars__q_HystSF__sf_Medium { - SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars__q_HystSF__sf_Medium_dB_6 = 0, - SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars__q_HystSF__sf_Medium_dB_4 = 1, - SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars__q_HystSF__sf_Medium_dB_2 = 2, - SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars__q_HystSF__sf_Medium_dB0 = 3 -} e_SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars__q_HystSF__sf_Medium; -typedef enum SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars__q_HystSF__sf_High { - SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars__q_HystSF__sf_High_dB_6 = 0, - SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars__q_HystSF__sf_High_dB_4 = 1, - SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars__q_HystSF__sf_High_dB_2 = 2, - SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars__q_HystSF__sf_High_dB0 = 3 -} e_SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars__q_HystSF__sf_High; - -/* Forward declarations */ -struct SpeedStateScaleFactors; - -/* SystemInformationBlockType3 */ -typedef struct SystemInformationBlockType3 { - struct SystemInformationBlockType3__cellReselectionInfoCommon { - long q_Hyst; - struct SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars { - MobilityStateParameters_t mobilityStateParameters; - struct SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars__q_HystSF { - long sf_Medium; - long sf_High; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } q_HystSF; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *speedStateReselectionPars; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } cellReselectionInfoCommon; - struct SystemInformationBlockType3__cellReselectionServingFreqInfo { - ReselectionThreshold_t *s_NonIntraSearch /* OPTIONAL */; - ReselectionThreshold_t threshServingLow; - CellReselectionPriority_t cellReselectionPriority; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } cellReselectionServingFreqInfo; - struct SystemInformationBlockType3__intraFreqCellReselectionInfo { - Q_RxLevMin_t q_RxLevMin; - P_Max_t *p_Max /* OPTIONAL */; - ReselectionThreshold_t *s_IntraSearch /* OPTIONAL */; - AllowedMeasBandwidth_t *allowedMeasBandwidth /* OPTIONAL */; - PresenceAntennaPort1_t presenceAntennaPort1; - NeighCellConfig_t neighCellConfig; - T_Reselection_t t_ReselectionEUTRA; - struct SpeedStateScaleFactors *t_ReselectionEUTRA_SF /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } intraFreqCellReselectionInfo; - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct SystemInformationBlockType3__s_IntraSearch_v920 { - ReselectionThreshold_t s_IntraSearchP_r9; - ReselectionThresholdQ_r9_t s_IntraSearchQ_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *s_IntraSearch_v920; - struct SystemInformationBlockType3__s_NonIntraSearch_v920 { - ReselectionThreshold_t s_NonIntraSearchP_r9; - ReselectionThresholdQ_r9_t s_NonIntraSearchQ_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *s_NonIntraSearch_v920; - Q_QualMin_r9_t *q_QualMin_r9 /* OPTIONAL */; - ReselectionThresholdQ_r9_t *threshServingLowQ_r9 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInformationBlockType3_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_q_Hyst_3; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_sf_Medium_23; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_sf_High_28; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType3; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SpeedStateScaleFactors.h" - -#endif /* _SystemInformationBlockType3_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType4.h b/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType4.h deleted file mode 100644 index 8103e446f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType4.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInformationBlockType4_H_ -#define _SystemInformationBlockType4_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct IntraFreqNeighCellList; -struct IntraFreqBlackCellList; -struct PhysCellIdRange; - -/* SystemInformationBlockType4 */ -typedef struct SystemInformationBlockType4 { - struct IntraFreqNeighCellList *intraFreqNeighCellList /* OPTIONAL */; - struct IntraFreqBlackCellList *intraFreqBlackCellList /* OPTIONAL */; - struct PhysCellIdRange *csg_PhysCellIdRange /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInformationBlockType4_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType4; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/IntraFreqNeighCellList.h" -#include "liblte/rrc/asn/IntraFreqBlackCellList.h" -#include "liblte/rrc/asn/PhysCellIdRange.h" - -#endif /* _SystemInformationBlockType4_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType5.h b/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType5.h deleted file mode 100644 index 19de39ee0..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType5.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInformationBlockType5_H_ -#define _SystemInformationBlockType5_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/InterFreqCarrierFreqList.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SystemInformationBlockType5 */ -typedef struct SystemInformationBlockType5 { - InterFreqCarrierFreqList_t interFreqCarrierFreqList; - /* - * This type is extensible, - * possible extensions are below. - */ - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInformationBlockType5_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType5; - -#ifdef __cplusplus -} -#endif - -#endif /* _SystemInformationBlockType5_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType6.h b/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType6.h deleted file mode 100644 index 139b276e0..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType6.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInformationBlockType6_H_ -#define _SystemInformationBlockType6_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/T-Reselection.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CarrierFreqListUTRA_FDD; -struct CarrierFreqListUTRA_TDD; -struct SpeedStateScaleFactors; - -/* SystemInformationBlockType6 */ -typedef struct SystemInformationBlockType6 { - struct CarrierFreqListUTRA_FDD *carrierFreqListUTRA_FDD /* OPTIONAL */; - struct CarrierFreqListUTRA_TDD *carrierFreqListUTRA_TDD /* OPTIONAL */; - T_Reselection_t t_ReselectionUTRA; - struct SpeedStateScaleFactors *t_ReselectionUTRA_SF /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInformationBlockType6_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType6; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CarrierFreqListUTRA-FDD.h" -#include "liblte/rrc/asn/CarrierFreqListUTRA-TDD.h" -#include "liblte/rrc/asn/SpeedStateScaleFactors.h" - -#endif /* _SystemInformationBlockType6_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType7.h b/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType7.h deleted file mode 100644 index 6e64c5512..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType7.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInformationBlockType7_H_ -#define _SystemInformationBlockType7_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/T-Reselection.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct SpeedStateScaleFactors; -struct CarrierFreqsInfoListGERAN; - -/* SystemInformationBlockType7 */ -typedef struct SystemInformationBlockType7 { - T_Reselection_t t_ReselectionGERAN; - struct SpeedStateScaleFactors *t_ReselectionGERAN_SF /* OPTIONAL */; - struct CarrierFreqsInfoListGERAN *carrierFreqsInfoList /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInformationBlockType7_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType7; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SpeedStateScaleFactors.h" -#include "liblte/rrc/asn/CarrierFreqsInfoListGERAN.h" - -#endif /* _SystemInformationBlockType7_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType8.h b/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType8.h deleted file mode 100644 index 95ef6079f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType8.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInformationBlockType8_H_ -#define _SystemInformationBlockType8_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include -#include "liblte/rrc/asn/PreRegistrationInfoHRPD.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SystemInformationBlockType8__csfb_DualRxTxSupport_r10 { - SystemInformationBlockType8__csfb_DualRxTxSupport_r10_true = 0 -} e_SystemInformationBlockType8__csfb_DualRxTxSupport_r10; - -/* Forward declarations */ -struct SystemTimeInfoCDMA2000; -struct CellReselectionParametersCDMA2000_v920; -struct CSFB_RegistrationParam1XRTT_v920; -struct AC_BarringConfig1XRTT_r9; -struct CellReselectionParametersCDMA2000; -struct CSFB_RegistrationParam1XRTT; - -/* SystemInformationBlockType8 */ -typedef struct SystemInformationBlockType8 { - struct SystemTimeInfoCDMA2000 *systemTimeInfo /* OPTIONAL */; - long *searchWindowSize /* OPTIONAL */; - struct SystemInformationBlockType8__parametersHRPD { - PreRegistrationInfoHRPD_t preRegistrationInfoHRPD; - struct CellReselectionParametersCDMA2000 *cellReselectionParametersHRPD /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *parametersHRPD; - struct SystemInformationBlockType8__parameters1XRTT { - struct CSFB_RegistrationParam1XRTT *csfb_RegistrationParam1XRTT /* OPTIONAL */; - BIT_STRING_t *longCodeState1XRTT /* OPTIONAL */; - struct CellReselectionParametersCDMA2000 *cellReselectionParameters1XRTT /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *parameters1XRTT; - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - BOOLEAN_t *csfb_SupportForDualRxUEs_r9 /* OPTIONAL */; - struct CellReselectionParametersCDMA2000_v920 *cellReselectionParametersHRPD_v920 /* OPTIONAL */; - struct CellReselectionParametersCDMA2000_v920 *cellReselectionParameters1XRTT_v920 /* OPTIONAL */; - struct CSFB_RegistrationParam1XRTT_v920 *csfb_RegistrationParam1XRTT_v920 /* OPTIONAL */; - struct AC_BarringConfig1XRTT_r9 *ac_BarringConfig1XRTT_r9 /* OPTIONAL */; - long *csfb_DualRxTxSupport_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInformationBlockType8_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_csfb_DualRxTxSupport_r10_17; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType8; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/SystemTimeInfoCDMA2000.h" -#include "liblte/rrc/asn/CellReselectionParametersCDMA2000-v920.h" -#include "liblte/rrc/asn/CSFB-RegistrationParam1XRTT-v920.h" -#include "liblte/rrc/asn/AC-BarringConfig1XRTT-r9.h" -#include "liblte/rrc/asn/CellReselectionParametersCDMA2000.h" -#include "liblte/rrc/asn/CSFB-RegistrationParam1XRTT.h" - -#endif /* _SystemInformationBlockType8_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType9.h b/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType9.h deleted file mode 100644 index b718f72be..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemInformationBlockType9.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemInformationBlockType9_H_ -#define _SystemInformationBlockType9_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* SystemInformationBlockType9 */ -typedef struct SystemInformationBlockType9 { - OCTET_STRING_t *hnb_Name /* OPTIONAL */; - /* - * This type is extensible, - * possible extensions are below. - */ - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInformationBlockType9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType9; - -#ifdef __cplusplus -} -#endif - -#endif /* _SystemInformationBlockType9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/SystemTimeInfoCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/SystemTimeInfoCDMA2000.h deleted file mode 100644 index 357974e7f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/SystemTimeInfoCDMA2000.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _SystemTimeInfoCDMA2000_H_ -#define _SystemTimeInfoCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SystemTimeInfoCDMA2000__cdma_SystemTime_PR { - SystemTimeInfoCDMA2000__cdma_SystemTime_PR_NOTHING, /* No components present */ - SystemTimeInfoCDMA2000__cdma_SystemTime_PR_synchronousSystemTime, - SystemTimeInfoCDMA2000__cdma_SystemTime_PR_asynchronousSystemTime -} SystemTimeInfoCDMA2000__cdma_SystemTime_PR; - -/* SystemTimeInfoCDMA2000 */ -typedef struct SystemTimeInfoCDMA2000 { - BOOLEAN_t cdma_EUTRA_Synchronisation; - struct SystemTimeInfoCDMA2000__cdma_SystemTime { - SystemTimeInfoCDMA2000__cdma_SystemTime_PR present; - union SystemTimeInfoCDMA2000__cdma_SystemTime_u { - BIT_STRING_t synchronousSystemTime; - BIT_STRING_t asynchronousSystemTime; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } cdma_SystemTime; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemTimeInfoCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SystemTimeInfoCDMA2000; - -#ifdef __cplusplus -} -#endif - -#endif /* _SystemTimeInfoCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/T-PollRetransmit.h b/lte/rrc/include/liblte/rrc/asn/T-PollRetransmit.h deleted file mode 100644 index 29aed9c92..000000000 --- a/lte/rrc/include/liblte/rrc/asn/T-PollRetransmit.h +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _T_PollRetransmit_H_ -#define _T_PollRetransmit_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum T_PollRetransmit { - T_PollRetransmit_ms5 = 0, - T_PollRetransmit_ms10 = 1, - T_PollRetransmit_ms15 = 2, - T_PollRetransmit_ms20 = 3, - T_PollRetransmit_ms25 = 4, - T_PollRetransmit_ms30 = 5, - T_PollRetransmit_ms35 = 6, - T_PollRetransmit_ms40 = 7, - T_PollRetransmit_ms45 = 8, - T_PollRetransmit_ms50 = 9, - T_PollRetransmit_ms55 = 10, - T_PollRetransmit_ms60 = 11, - T_PollRetransmit_ms65 = 12, - T_PollRetransmit_ms70 = 13, - T_PollRetransmit_ms75 = 14, - T_PollRetransmit_ms80 = 15, - T_PollRetransmit_ms85 = 16, - T_PollRetransmit_ms90 = 17, - T_PollRetransmit_ms95 = 18, - T_PollRetransmit_ms100 = 19, - T_PollRetransmit_ms105 = 20, - T_PollRetransmit_ms110 = 21, - T_PollRetransmit_ms115 = 22, - T_PollRetransmit_ms120 = 23, - T_PollRetransmit_ms125 = 24, - T_PollRetransmit_ms130 = 25, - T_PollRetransmit_ms135 = 26, - T_PollRetransmit_ms140 = 27, - T_PollRetransmit_ms145 = 28, - T_PollRetransmit_ms150 = 29, - T_PollRetransmit_ms155 = 30, - T_PollRetransmit_ms160 = 31, - T_PollRetransmit_ms165 = 32, - T_PollRetransmit_ms170 = 33, - T_PollRetransmit_ms175 = 34, - T_PollRetransmit_ms180 = 35, - T_PollRetransmit_ms185 = 36, - T_PollRetransmit_ms190 = 37, - T_PollRetransmit_ms195 = 38, - T_PollRetransmit_ms200 = 39, - T_PollRetransmit_ms205 = 40, - T_PollRetransmit_ms210 = 41, - T_PollRetransmit_ms215 = 42, - T_PollRetransmit_ms220 = 43, - T_PollRetransmit_ms225 = 44, - T_PollRetransmit_ms230 = 45, - T_PollRetransmit_ms235 = 46, - T_PollRetransmit_ms240 = 47, - T_PollRetransmit_ms245 = 48, - T_PollRetransmit_ms250 = 49, - T_PollRetransmit_ms300 = 50, - T_PollRetransmit_ms350 = 51, - T_PollRetransmit_ms400 = 52, - T_PollRetransmit_ms450 = 53, - T_PollRetransmit_ms500 = 54, - T_PollRetransmit_spare9 = 55, - T_PollRetransmit_spare8 = 56, - T_PollRetransmit_spare7 = 57, - T_PollRetransmit_spare6 = 58, - T_PollRetransmit_spare5 = 59, - T_PollRetransmit_spare4 = 60, - T_PollRetransmit_spare3 = 61, - T_PollRetransmit_spare2 = 62, - T_PollRetransmit_spare1 = 63 -} e_T_PollRetransmit; - -/* T-PollRetransmit */ -typedef long T_PollRetransmit_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_T_PollRetransmit; -asn_struct_free_f T_PollRetransmit_free; -asn_struct_print_f T_PollRetransmit_print; -asn_constr_check_f T_PollRetransmit_constraint; -ber_type_decoder_f T_PollRetransmit_decode_ber; -der_type_encoder_f T_PollRetransmit_encode_der; -xer_type_decoder_f T_PollRetransmit_decode_xer; -xer_type_encoder_f T_PollRetransmit_encode_xer; -per_type_decoder_f T_PollRetransmit_decode_uper; -per_type_encoder_f T_PollRetransmit_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _T_PollRetransmit_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/T-Reordering.h b/lte/rrc/include/liblte/rrc/asn/T-Reordering.h deleted file mode 100644 index 45b9dd787..000000000 --- a/lte/rrc/include/liblte/rrc/asn/T-Reordering.h +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _T_Reordering_H_ -#define _T_Reordering_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum T_Reordering { - T_Reordering_ms0 = 0, - T_Reordering_ms5 = 1, - T_Reordering_ms10 = 2, - T_Reordering_ms15 = 3, - T_Reordering_ms20 = 4, - T_Reordering_ms25 = 5, - T_Reordering_ms30 = 6, - T_Reordering_ms35 = 7, - T_Reordering_ms40 = 8, - T_Reordering_ms45 = 9, - T_Reordering_ms50 = 10, - T_Reordering_ms55 = 11, - T_Reordering_ms60 = 12, - T_Reordering_ms65 = 13, - T_Reordering_ms70 = 14, - T_Reordering_ms75 = 15, - T_Reordering_ms80 = 16, - T_Reordering_ms85 = 17, - T_Reordering_ms90 = 18, - T_Reordering_ms95 = 19, - T_Reordering_ms100 = 20, - T_Reordering_ms110 = 21, - T_Reordering_ms120 = 22, - T_Reordering_ms130 = 23, - T_Reordering_ms140 = 24, - T_Reordering_ms150 = 25, - T_Reordering_ms160 = 26, - T_Reordering_ms170 = 27, - T_Reordering_ms180 = 28, - T_Reordering_ms190 = 29, - T_Reordering_ms200 = 30, - T_Reordering_spare1 = 31 -} e_T_Reordering; - -/* T-Reordering */ -typedef long T_Reordering_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_T_Reordering; -asn_struct_free_f T_Reordering_free; -asn_struct_print_f T_Reordering_print; -asn_constr_check_f T_Reordering_constraint; -ber_type_decoder_f T_Reordering_decode_ber; -der_type_encoder_f T_Reordering_encode_der; -xer_type_decoder_f T_Reordering_decode_xer; -xer_type_encoder_f T_Reordering_encode_xer; -per_type_decoder_f T_Reordering_decode_uper; -per_type_encoder_f T_Reordering_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _T_Reordering_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/T-Reselection.h b/lte/rrc/include/liblte/rrc/asn/T-Reselection.h deleted file mode 100644 index bcd09cb08..000000000 --- a/lte/rrc/include/liblte/rrc/asn/T-Reselection.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _T_Reselection_H_ -#define _T_Reselection_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* T-Reselection */ -typedef long T_Reselection_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_T_Reselection; -asn_struct_free_f T_Reselection_free; -asn_struct_print_f T_Reselection_print; -asn_constr_check_f T_Reselection_constraint; -ber_type_decoder_f T_Reselection_decode_ber; -der_type_encoder_f T_Reselection_encode_der; -xer_type_decoder_f T_Reselection_decode_xer; -xer_type_encoder_f T_Reselection_encode_xer; -per_type_decoder_f T_Reselection_decode_uper; -per_type_encoder_f T_Reselection_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _T_Reselection_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/T-StatusProhibit.h b/lte/rrc/include/liblte/rrc/asn/T-StatusProhibit.h deleted file mode 100644 index 39feea5c2..000000000 --- a/lte/rrc/include/liblte/rrc/asn/T-StatusProhibit.h +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _T_StatusProhibit_H_ -#define _T_StatusProhibit_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum T_StatusProhibit { - T_StatusProhibit_ms0 = 0, - T_StatusProhibit_ms5 = 1, - T_StatusProhibit_ms10 = 2, - T_StatusProhibit_ms15 = 3, - T_StatusProhibit_ms20 = 4, - T_StatusProhibit_ms25 = 5, - T_StatusProhibit_ms30 = 6, - T_StatusProhibit_ms35 = 7, - T_StatusProhibit_ms40 = 8, - T_StatusProhibit_ms45 = 9, - T_StatusProhibit_ms50 = 10, - T_StatusProhibit_ms55 = 11, - T_StatusProhibit_ms60 = 12, - T_StatusProhibit_ms65 = 13, - T_StatusProhibit_ms70 = 14, - T_StatusProhibit_ms75 = 15, - T_StatusProhibit_ms80 = 16, - T_StatusProhibit_ms85 = 17, - T_StatusProhibit_ms90 = 18, - T_StatusProhibit_ms95 = 19, - T_StatusProhibit_ms100 = 20, - T_StatusProhibit_ms105 = 21, - T_StatusProhibit_ms110 = 22, - T_StatusProhibit_ms115 = 23, - T_StatusProhibit_ms120 = 24, - T_StatusProhibit_ms125 = 25, - T_StatusProhibit_ms130 = 26, - T_StatusProhibit_ms135 = 27, - T_StatusProhibit_ms140 = 28, - T_StatusProhibit_ms145 = 29, - T_StatusProhibit_ms150 = 30, - T_StatusProhibit_ms155 = 31, - T_StatusProhibit_ms160 = 32, - T_StatusProhibit_ms165 = 33, - T_StatusProhibit_ms170 = 34, - T_StatusProhibit_ms175 = 35, - T_StatusProhibit_ms180 = 36, - T_StatusProhibit_ms185 = 37, - T_StatusProhibit_ms190 = 38, - T_StatusProhibit_ms195 = 39, - T_StatusProhibit_ms200 = 40, - T_StatusProhibit_ms205 = 41, - T_StatusProhibit_ms210 = 42, - T_StatusProhibit_ms215 = 43, - T_StatusProhibit_ms220 = 44, - T_StatusProhibit_ms225 = 45, - T_StatusProhibit_ms230 = 46, - T_StatusProhibit_ms235 = 47, - T_StatusProhibit_ms240 = 48, - T_StatusProhibit_ms245 = 49, - T_StatusProhibit_ms250 = 50, - T_StatusProhibit_ms300 = 51, - T_StatusProhibit_ms350 = 52, - T_StatusProhibit_ms400 = 53, - T_StatusProhibit_ms450 = 54, - T_StatusProhibit_ms500 = 55, - T_StatusProhibit_spare8 = 56, - T_StatusProhibit_spare7 = 57, - T_StatusProhibit_spare6 = 58, - T_StatusProhibit_spare5 = 59, - T_StatusProhibit_spare4 = 60, - T_StatusProhibit_spare3 = 61, - T_StatusProhibit_spare2 = 62, - T_StatusProhibit_spare1 = 63 -} e_T_StatusProhibit; - -/* T-StatusProhibit */ -typedef long T_StatusProhibit_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_T_StatusProhibit; -asn_struct_free_f T_StatusProhibit_free; -asn_struct_print_f T_StatusProhibit_print; -asn_constr_check_f T_StatusProhibit_constraint; -ber_type_decoder_f T_StatusProhibit_decode_ber; -der_type_encoder_f T_StatusProhibit_encode_der; -xer_type_decoder_f T_StatusProhibit_decode_xer; -xer_type_encoder_f T_StatusProhibit_encode_xer; -per_type_decoder_f T_StatusProhibit_decode_uper; -per_type_encoder_f T_StatusProhibit_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _T_StatusProhibit_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/TDD-Config.h b/lte/rrc/include/liblte/rrc/asn/TDD-Config.h deleted file mode 100644 index 2c1f69a5d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/TDD-Config.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _TDD_Config_H_ -#define _TDD_Config_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum TDD_Config__subframeAssignment { - TDD_Config__subframeAssignment_sa0 = 0, - TDD_Config__subframeAssignment_sa1 = 1, - TDD_Config__subframeAssignment_sa2 = 2, - TDD_Config__subframeAssignment_sa3 = 3, - TDD_Config__subframeAssignment_sa4 = 4, - TDD_Config__subframeAssignment_sa5 = 5, - TDD_Config__subframeAssignment_sa6 = 6 -} e_TDD_Config__subframeAssignment; -typedef enum TDD_Config__specialSubframePatterns { - TDD_Config__specialSubframePatterns_ssp0 = 0, - TDD_Config__specialSubframePatterns_ssp1 = 1, - TDD_Config__specialSubframePatterns_ssp2 = 2, - TDD_Config__specialSubframePatterns_ssp3 = 3, - TDD_Config__specialSubframePatterns_ssp4 = 4, - TDD_Config__specialSubframePatterns_ssp5 = 5, - TDD_Config__specialSubframePatterns_ssp6 = 6, - TDD_Config__specialSubframePatterns_ssp7 = 7, - TDD_Config__specialSubframePatterns_ssp8 = 8 -} e_TDD_Config__specialSubframePatterns; - -/* TDD-Config */ -typedef struct TDD_Config { - long subframeAssignment; - long specialSubframePatterns; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} TDD_Config_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_subframeAssignment_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_specialSubframePatterns_10; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_TDD_Config; - -#ifdef __cplusplus -} -#endif - -#endif /* _TDD_Config_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/TMGI-r9.h b/lte/rrc/include/liblte/rrc/asn/TMGI-r9.h deleted file mode 100644 index bbb5edd4f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/TMGI-r9.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _TMGI_r9_H_ -#define _TMGI_r9_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include "liblte/rrc/asn/PLMN-Identity.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum TMGI_r9__plmn_Id_r9_PR { - TMGI_r9__plmn_Id_r9_PR_NOTHING, /* No components present */ - TMGI_r9__plmn_Id_r9_PR_plmn_Index_r9, - TMGI_r9__plmn_Id_r9_PR_explicitValue_r9 -} TMGI_r9__plmn_Id_r9_PR; - -/* TMGI-r9 */ -typedef struct TMGI_r9 { - struct TMGI_r9__plmn_Id_r9 { - TMGI_r9__plmn_Id_r9_PR present; - union TMGI_r9__plmn_Id_r9_u { - long plmn_Index_r9; - PLMN_Identity_t explicitValue_r9; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } plmn_Id_r9; - OCTET_STRING_t serviceId_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} TMGI_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_TMGI_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _TMGI_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/TPC-Index.h b/lte/rrc/include/liblte/rrc/asn/TPC-Index.h deleted file mode 100644 index 55d5cc666..000000000 --- a/lte/rrc/include/liblte/rrc/asn/TPC-Index.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _TPC_Index_H_ -#define _TPC_Index_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum TPC_Index_PR { - TPC_Index_PR_NOTHING, /* No components present */ - TPC_Index_PR_indexOfFormat3, - TPC_Index_PR_indexOfFormat3A -} TPC_Index_PR; - -/* TPC-Index */ -typedef struct TPC_Index { - TPC_Index_PR present; - union TPC_Index_u { - long indexOfFormat3; - long indexOfFormat3A; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} TPC_Index_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_TPC_Index; - -#ifdef __cplusplus -} -#endif - -#endif /* _TPC_Index_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/TPC-PDCCH-Config.h b/lte/rrc/include/liblte/rrc/asn/TPC-PDCCH-Config.h deleted file mode 100644 index 58be486a5..000000000 --- a/lte/rrc/include/liblte/rrc/asn/TPC-PDCCH-Config.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _TPC_PDCCH_Config_H_ -#define _TPC_PDCCH_Config_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include "liblte/rrc/asn/TPC-Index.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum TPC_PDCCH_Config_PR { - TPC_PDCCH_Config_PR_NOTHING, /* No components present */ - TPC_PDCCH_Config_PR_release, - TPC_PDCCH_Config_PR_setup -} TPC_PDCCH_Config_PR; - -/* TPC-PDCCH-Config */ -typedef struct TPC_PDCCH_Config { - TPC_PDCCH_Config_PR present; - union TPC_PDCCH_Config_u { - NULL_t release; - struct TPC_PDCCH_Config__setup { - BIT_STRING_t tpc_RNTI; - TPC_Index_t tpc_Index; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} TPC_PDCCH_Config_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_TPC_PDCCH_Config; - -#ifdef __cplusplus -} -#endif - -#endif /* _TPC_PDCCH_Config_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ThresholdCDMA2000.h b/lte/rrc/include/liblte/rrc/asn/ThresholdCDMA2000.h deleted file mode 100644 index 4f8acca3b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ThresholdCDMA2000.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ThresholdCDMA2000_H_ -#define _ThresholdCDMA2000_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ThresholdCDMA2000 */ -typedef long ThresholdCDMA2000_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ThresholdCDMA2000; -asn_struct_free_f ThresholdCDMA2000_free; -asn_struct_print_f ThresholdCDMA2000_print; -asn_constr_check_f ThresholdCDMA2000_constraint; -ber_type_decoder_f ThresholdCDMA2000_decode_ber; -der_type_encoder_f ThresholdCDMA2000_encode_der; -xer_type_decoder_f ThresholdCDMA2000_decode_xer; -xer_type_encoder_f ThresholdCDMA2000_encode_xer; -per_type_decoder_f ThresholdCDMA2000_decode_uper; -per_type_encoder_f ThresholdCDMA2000_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _ThresholdCDMA2000_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ThresholdEUTRA.h b/lte/rrc/include/liblte/rrc/asn/ThresholdEUTRA.h deleted file mode 100644 index 1dd13ab1e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ThresholdEUTRA.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ThresholdEUTRA_H_ -#define _ThresholdEUTRA_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RSRP-Range.h" -#include "liblte/rrc/asn/RSRQ-Range.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ThresholdEUTRA_PR { - ThresholdEUTRA_PR_NOTHING, /* No components present */ - ThresholdEUTRA_PR_threshold_RSRP, - ThresholdEUTRA_PR_threshold_RSRQ -} ThresholdEUTRA_PR; - -/* ThresholdEUTRA */ -typedef struct ThresholdEUTRA { - ThresholdEUTRA_PR present; - union ThresholdEUTRA_u { - RSRP_Range_t threshold_RSRP; - RSRQ_Range_t threshold_RSRQ; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ThresholdEUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ThresholdEUTRA; - -#ifdef __cplusplus -} -#endif - -#endif /* _ThresholdEUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ThresholdGERAN.h b/lte/rrc/include/liblte/rrc/asn/ThresholdGERAN.h deleted file mode 100644 index ff8831557..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ThresholdGERAN.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ThresholdGERAN_H_ -#define _ThresholdGERAN_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ThresholdGERAN */ -typedef long ThresholdGERAN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ThresholdGERAN; -asn_struct_free_f ThresholdGERAN_free; -asn_struct_print_f ThresholdGERAN_print; -asn_constr_check_f ThresholdGERAN_constraint; -ber_type_decoder_f ThresholdGERAN_decode_ber; -der_type_encoder_f ThresholdGERAN_encode_der; -xer_type_decoder_f ThresholdGERAN_decode_xer; -xer_type_encoder_f ThresholdGERAN_encode_xer; -per_type_decoder_f ThresholdGERAN_decode_uper; -per_type_encoder_f ThresholdGERAN_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _ThresholdGERAN_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ThresholdUTRA.h b/lte/rrc/include/liblte/rrc/asn/ThresholdUTRA.h deleted file mode 100644 index 7c1f95b77..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ThresholdUTRA.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ThresholdUTRA_H_ -#define _ThresholdUTRA_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ThresholdUTRA_PR { - ThresholdUTRA_PR_NOTHING, /* No components present */ - ThresholdUTRA_PR_utra_RSCP, - ThresholdUTRA_PR_utra_EcN0 -} ThresholdUTRA_PR; - -/* ThresholdUTRA */ -typedef struct ThresholdUTRA { - ThresholdUTRA_PR present; - union ThresholdUTRA_u { - long utra_RSCP; - long utra_EcN0; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ThresholdUTRA_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ThresholdUTRA; - -#ifdef __cplusplus -} -#endif - -#endif /* _ThresholdUTRA_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/TimeAlignmentTimer.h b/lte/rrc/include/liblte/rrc/asn/TimeAlignmentTimer.h deleted file mode 100644 index c2e6c967f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/TimeAlignmentTimer.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _TimeAlignmentTimer_H_ -#define _TimeAlignmentTimer_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum TimeAlignmentTimer { - TimeAlignmentTimer_sf500 = 0, - TimeAlignmentTimer_sf750 = 1, - TimeAlignmentTimer_sf1280 = 2, - TimeAlignmentTimer_sf1920 = 3, - TimeAlignmentTimer_sf2560 = 4, - TimeAlignmentTimer_sf5120 = 5, - TimeAlignmentTimer_sf10240 = 6, - TimeAlignmentTimer_infinity = 7 -} e_TimeAlignmentTimer; - -/* TimeAlignmentTimer */ -typedef long TimeAlignmentTimer_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_TimeAlignmentTimer; -asn_struct_free_f TimeAlignmentTimer_free; -asn_struct_print_f TimeAlignmentTimer_print; -asn_constr_check_f TimeAlignmentTimer_constraint; -ber_type_decoder_f TimeAlignmentTimer_decode_ber; -der_type_encoder_f TimeAlignmentTimer_encode_der; -xer_type_decoder_f TimeAlignmentTimer_decode_xer; -xer_type_encoder_f TimeAlignmentTimer_encode_xer; -per_type_decoder_f TimeAlignmentTimer_decode_uper; -per_type_encoder_f TimeAlignmentTimer_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _TimeAlignmentTimer_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/TimeToTrigger.h b/lte/rrc/include/liblte/rrc/asn/TimeToTrigger.h deleted file mode 100644 index 36bc5f9dd..000000000 --- a/lte/rrc/include/liblte/rrc/asn/TimeToTrigger.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _TimeToTrigger_H_ -#define _TimeToTrigger_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum TimeToTrigger { - TimeToTrigger_ms0 = 0, - TimeToTrigger_ms40 = 1, - TimeToTrigger_ms64 = 2, - TimeToTrigger_ms80 = 3, - TimeToTrigger_ms100 = 4, - TimeToTrigger_ms128 = 5, - TimeToTrigger_ms160 = 6, - TimeToTrigger_ms256 = 7, - TimeToTrigger_ms320 = 8, - TimeToTrigger_ms480 = 9, - TimeToTrigger_ms512 = 10, - TimeToTrigger_ms640 = 11, - TimeToTrigger_ms1024 = 12, - TimeToTrigger_ms1280 = 13, - TimeToTrigger_ms2560 = 14, - TimeToTrigger_ms5120 = 15 -} e_TimeToTrigger; - -/* TimeToTrigger */ -typedef long TimeToTrigger_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_TimeToTrigger; -asn_struct_free_f TimeToTrigger_free; -asn_struct_print_f TimeToTrigger_print; -asn_constr_check_f TimeToTrigger_constraint; -ber_type_decoder_f TimeToTrigger_decode_ber; -der_type_encoder_f TimeToTrigger_encode_der; -xer_type_decoder_f TimeToTrigger_decode_xer; -xer_type_encoder_f TimeToTrigger_encode_xer; -per_type_decoder_f TimeToTrigger_decode_uper; -per_type_encoder_f TimeToTrigger_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _TimeToTrigger_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/TraceReference-r10.h b/lte/rrc/include/liblte/rrc/asn/TraceReference-r10.h deleted file mode 100644 index 66f79103e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/TraceReference-r10.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _TraceReference_r10_H_ -#define _TraceReference_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PLMN-Identity.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* TraceReference-r10 */ -typedef struct TraceReference_r10 { - PLMN_Identity_t plmn_Identity_r10; - OCTET_STRING_t traceId_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} TraceReference_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_TraceReference_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _TraceReference_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/TrackingAreaCode.h b/lte/rrc/include/liblte/rrc/asn/TrackingAreaCode.h deleted file mode 100644 index 8d1177073..000000000 --- a/lte/rrc/include/liblte/rrc/asn/TrackingAreaCode.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _TrackingAreaCode_H_ -#define _TrackingAreaCode_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* TrackingAreaCode */ -typedef BIT_STRING_t TrackingAreaCode_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_TrackingAreaCode; -asn_struct_free_f TrackingAreaCode_free; -asn_struct_print_f TrackingAreaCode_print; -asn_constr_check_f TrackingAreaCode_constraint; -ber_type_decoder_f TrackingAreaCode_decode_ber; -der_type_encoder_f TrackingAreaCode_encode_der; -xer_type_decoder_f TrackingAreaCode_decode_xer; -xer_type_encoder_f TrackingAreaCode_encode_xer; -per_type_decoder_f TrackingAreaCode_decode_uper; -per_type_encoder_f TrackingAreaCode_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _TrackingAreaCode_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/TrackingAreaCodeList-r10.h b/lte/rrc/include/liblte/rrc/asn/TrackingAreaCodeList-r10.h deleted file mode 100644 index b83dbcb1b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/TrackingAreaCodeList-r10.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _TrackingAreaCodeList_r10_H_ -#define _TrackingAreaCodeList_r10_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/TrackingAreaCode.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* TrackingAreaCodeList-r10 */ -typedef struct TrackingAreaCodeList_r10 { - A_SEQUENCE_OF(TrackingAreaCode_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} TrackingAreaCodeList_r10_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_TrackingAreaCodeList_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _TrackingAreaCodeList_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UE-BasedNetwPerfMeasParameters-r10.h b/lte/rrc/include/liblte/rrc/asn/UE-BasedNetwPerfMeasParameters-r10.h deleted file mode 100644 index 145dfc5d1..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UE-BasedNetwPerfMeasParameters-r10.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UE_BasedNetwPerfMeasParameters_r10_H_ -#define _UE_BasedNetwPerfMeasParameters_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum UE_BasedNetwPerfMeasParameters_r10__loggedMeasurementsIdle_r10 { - UE_BasedNetwPerfMeasParameters_r10__loggedMeasurementsIdle_r10_supported = 0 -} e_UE_BasedNetwPerfMeasParameters_r10__loggedMeasurementsIdle_r10; -typedef enum UE_BasedNetwPerfMeasParameters_r10__standaloneGNSS_Location_r10 { - UE_BasedNetwPerfMeasParameters_r10__standaloneGNSS_Location_r10_supported = 0 -} e_UE_BasedNetwPerfMeasParameters_r10__standaloneGNSS_Location_r10; - -/* UE-BasedNetwPerfMeasParameters-r10 */ -typedef struct UE_BasedNetwPerfMeasParameters_r10 { - long *loggedMeasurementsIdle_r10 /* OPTIONAL */; - long *standaloneGNSS_Location_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UE_BasedNetwPerfMeasParameters_r10_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_loggedMeasurementsIdle_r10_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_standaloneGNSS_Location_r10_4; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_UE_BasedNetwPerfMeasParameters_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _UE_BasedNetwPerfMeasParameters_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UE-CapabilityRAT-Container.h b/lte/rrc/include/liblte/rrc/asn/UE-CapabilityRAT-Container.h deleted file mode 100644 index 147414f94..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UE-CapabilityRAT-Container.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UE_CapabilityRAT_Container_H_ -#define _UE_CapabilityRAT_Container_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RAT-Type.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* UE-CapabilityRAT-Container */ -typedef struct UE_CapabilityRAT_Container { - RAT_Type_t rat_Type; - OCTET_STRING_t ueCapabilityRAT_Container; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UE_CapabilityRAT_Container_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UE_CapabilityRAT_Container; - -#ifdef __cplusplus -} -#endif - -#endif /* _UE_CapabilityRAT_Container_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UE-CapabilityRAT-ContainerList.h b/lte/rrc/include/liblte/rrc/asn/UE-CapabilityRAT-ContainerList.h deleted file mode 100644 index e4b8d90e9..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UE-CapabilityRAT-ContainerList.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UE_CapabilityRAT_ContainerList_H_ -#define _UE_CapabilityRAT_ContainerList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct UE_CapabilityRAT_Container; - -/* UE-CapabilityRAT-ContainerList */ -typedef struct UE_CapabilityRAT_ContainerList { - A_SEQUENCE_OF(struct UE_CapabilityRAT_Container) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UE_CapabilityRAT_ContainerList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UE_CapabilityRAT_ContainerList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/UE-CapabilityRAT-Container.h" - -#endif /* _UE_CapabilityRAT_ContainerList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UE-CapabilityRequest.h b/lte/rrc/include/liblte/rrc/asn/UE-CapabilityRequest.h deleted file mode 100644 index 2df3537df..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UE-CapabilityRequest.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UE_CapabilityRequest_H_ -#define _UE_CapabilityRequest_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RAT-Type.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* UE-CapabilityRequest */ -typedef struct UE_CapabilityRequest { - A_SEQUENCE_OF(RAT_Type_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UE_CapabilityRequest_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UE_CapabilityRequest; - -#ifdef __cplusplus -} -#endif - -#endif /* _UE_CapabilityRequest_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UE-EUTRA-Capability-v1020-IEs.h b/lte/rrc/include/liblte/rrc/asn/UE-EUTRA-Capability-v1020-IEs.h deleted file mode 100644 index db4839865..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UE-EUTRA-Capability-v1020-IEs.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UE_EUTRA_Capability_v1020_IEs_H_ -#define _UE_EUTRA_Capability_v1020_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct PhyLayerParameters_v1020; -struct RF_Parameters_v1020; -struct MeasParameters_v1020; -struct IRAT_ParametersCDMA2000_1XRTT_v1020; -struct UE_BasedNetwPerfMeasParameters_r10; -struct IRAT_ParametersUTRA_TDD_v1020; - -/* UE-EUTRA-Capability-v1020-IEs */ -typedef struct UE_EUTRA_Capability_v1020_IEs { - long *ue_Category_v1020 /* OPTIONAL */; - struct PhyLayerParameters_v1020 *phyLayerParameters_v1020 /* OPTIONAL */; - struct RF_Parameters_v1020 *rf_Parameters_v1020 /* OPTIONAL */; - struct MeasParameters_v1020 *measParameters_v1020 /* OPTIONAL */; - BIT_STRING_t *featureGroupIndicators_v1020 /* OPTIONAL */; - struct IRAT_ParametersCDMA2000_1XRTT_v1020 *interRAT_ParametersCDMA2000_v1020 /* OPTIONAL */; - struct UE_BasedNetwPerfMeasParameters_r10 *ue_BasedNetwPerfMeasParameters_r10 /* OPTIONAL */; - struct IRAT_ParametersUTRA_TDD_v1020 *interRAT_ParametersUTRA_TDD_v1020 /* OPTIONAL */; - struct UE_EUTRA_Capability_v1020_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UE_EUTRA_Capability_v1020_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UE_EUTRA_Capability_v1020_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/PhyLayerParameters-v1020.h" -#include "liblte/rrc/asn/RF-Parameters-v1020.h" -#include "liblte/rrc/asn/MeasParameters-v1020.h" -#include "liblte/rrc/asn/IRAT-ParametersCDMA2000-1XRTT-v1020.h" -#include "liblte/rrc/asn/UE-BasedNetwPerfMeasParameters-r10.h" -#include "liblte/rrc/asn/IRAT-ParametersUTRA-TDD-v1020.h" - -#endif /* _UE_EUTRA_Capability_v1020_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UE-EUTRA-Capability-v920-IEs.h b/lte/rrc/include/liblte/rrc/asn/UE-EUTRA-Capability-v920-IEs.h deleted file mode 100644 index 4f9e30fd8..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UE-EUTRA-Capability-v920-IEs.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UE_EUTRA_Capability_v920_IEs_H_ -#define _UE_EUTRA_Capability_v920_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/PhyLayerParameters-v920.h" -#include "liblte/rrc/asn/IRAT-ParametersGERAN-v920.h" -#include -#include "liblte/rrc/asn/CSG-ProximityIndicationParameters-r9.h" -#include "liblte/rrc/asn/NeighCellSI-AcquisitionParameters-r9.h" -#include "liblte/rrc/asn/SON-Parameters-r9.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum UE_EUTRA_Capability_v920_IEs__deviceType_r9 { - UE_EUTRA_Capability_v920_IEs__deviceType_r9_noBenFromBatConsumpOpt = 0 -} e_UE_EUTRA_Capability_v920_IEs__deviceType_r9; - -/* Forward declarations */ -struct IRAT_ParametersUTRA_v920; -struct IRAT_ParametersCDMA2000_1XRTT_v920; -struct UE_EUTRA_Capability_v940_IEs; - -/* UE-EUTRA-Capability-v920-IEs */ -typedef struct UE_EUTRA_Capability_v920_IEs { - PhyLayerParameters_v920_t phyLayerParameters_v920; - IRAT_ParametersGERAN_v920_t interRAT_ParametersGERAN_v920; - struct IRAT_ParametersUTRA_v920 *interRAT_ParametersUTRA_v920 /* OPTIONAL */; - struct IRAT_ParametersCDMA2000_1XRTT_v920 *interRAT_ParametersCDMA2000_v920 /* OPTIONAL */; - long *deviceType_r9 /* OPTIONAL */; - CSG_ProximityIndicationParameters_r9_t csg_ProximityIndicationParameters_r9; - NeighCellSI_AcquisitionParameters_r9_t neighCellSI_AcquisitionParameters_r9; - SON_Parameters_r9_t son_Parameters_r9; - struct UE_EUTRA_Capability_v940_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UE_EUTRA_Capability_v920_IEs_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_deviceType_r9_6; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_UE_EUTRA_Capability_v920_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/IRAT-ParametersUTRA-v920.h" -#include "liblte/rrc/asn/IRAT-ParametersCDMA2000-1XRTT-v920.h" -#include "liblte/rrc/asn/UE-EUTRA-Capability-v940-IEs.h" - -#endif /* _UE_EUTRA_Capability_v920_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UE-EUTRA-Capability-v940-IEs.h b/lte/rrc/include/liblte/rrc/asn/UE-EUTRA-Capability-v940-IEs.h deleted file mode 100644 index c8fa04354..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UE-EUTRA-Capability-v940-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UE_EUTRA_Capability_v940_IEs_H_ -#define _UE_EUTRA_Capability_v940_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct UE_EUTRA_Capability_v1020_IEs; - -/* UE-EUTRA-Capability-v940-IEs */ -typedef struct UE_EUTRA_Capability_v940_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct UE_EUTRA_Capability_v1020_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UE_EUTRA_Capability_v940_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UE_EUTRA_Capability_v940_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/UE-EUTRA-Capability-v1020-IEs.h" - -#endif /* _UE_EUTRA_Capability_v940_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UE-EUTRA-Capability.h b/lte/rrc/include/liblte/rrc/asn/UE-EUTRA-Capability.h deleted file mode 100644 index 879c6ef1a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UE-EUTRA-Capability.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UE_EUTRA_Capability_H_ -#define _UE_EUTRA_Capability_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/AccessStratumRelease.h" -#include -#include "liblte/rrc/asn/PDCP-Parameters.h" -#include "liblte/rrc/asn/PhyLayerParameters.h" -#include "liblte/rrc/asn/RF-Parameters.h" -#include "liblte/rrc/asn/MeasParameters.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct UE_EUTRA_Capability_v920_IEs; -struct IRAT_ParametersUTRA_FDD; -struct IRAT_ParametersUTRA_TDD128; -struct IRAT_ParametersUTRA_TDD384; -struct IRAT_ParametersUTRA_TDD768; -struct IRAT_ParametersGERAN; -struct IRAT_ParametersCDMA2000_HRPD; -struct IRAT_ParametersCDMA2000_1XRTT; - -/* UE-EUTRA-Capability */ -typedef struct UE_EUTRA_Capability { - AccessStratumRelease_t accessStratumRelease; - long ue_Category; - PDCP_Parameters_t pdcp_Parameters; - PhyLayerParameters_t phyLayerParameters; - RF_Parameters_t rf_Parameters; - MeasParameters_t measParameters; - BIT_STRING_t *featureGroupIndicators /* OPTIONAL */; - struct UE_EUTRA_Capability__interRAT_Parameters { - struct IRAT_ParametersUTRA_FDD *utraFDD /* OPTIONAL */; - struct IRAT_ParametersUTRA_TDD128 *utraTDD128 /* OPTIONAL */; - struct IRAT_ParametersUTRA_TDD384 *utraTDD384 /* OPTIONAL */; - struct IRAT_ParametersUTRA_TDD768 *utraTDD768 /* OPTIONAL */; - struct IRAT_ParametersGERAN *geran /* OPTIONAL */; - struct IRAT_ParametersCDMA2000_HRPD *cdma2000_HRPD /* OPTIONAL */; - struct IRAT_ParametersCDMA2000_1XRTT *cdma2000_1xRTT /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } interRAT_Parameters; - struct UE_EUTRA_Capability_v920_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UE_EUTRA_Capability_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UE_EUTRA_Capability; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/UE-EUTRA-Capability-v920-IEs.h" -#include "liblte/rrc/asn/IRAT-ParametersUTRA-FDD.h" -#include "liblte/rrc/asn/IRAT-ParametersUTRA-TDD128.h" -#include "liblte/rrc/asn/IRAT-ParametersUTRA-TDD384.h" -#include "liblte/rrc/asn/IRAT-ParametersUTRA-TDD768.h" -#include "liblte/rrc/asn/IRAT-ParametersGERAN.h" -#include "liblte/rrc/asn/IRAT-ParametersCDMA2000-HRPD.h" -#include "liblte/rrc/asn/IRAT-ParametersCDMA2000-1XRTT.h" - -#endif /* _UE_EUTRA_Capability_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UE-TimersAndConstants.h b/lte/rrc/include/liblte/rrc/asn/UE-TimersAndConstants.h deleted file mode 100644 index 123dcfc1b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UE-TimersAndConstants.h +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UE_TimersAndConstants_H_ -#define _UE_TimersAndConstants_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum UE_TimersAndConstants__t300 { - UE_TimersAndConstants__t300_ms100 = 0, - UE_TimersAndConstants__t300_ms200 = 1, - UE_TimersAndConstants__t300_ms300 = 2, - UE_TimersAndConstants__t300_ms400 = 3, - UE_TimersAndConstants__t300_ms600 = 4, - UE_TimersAndConstants__t300_ms1000 = 5, - UE_TimersAndConstants__t300_ms1500 = 6, - UE_TimersAndConstants__t300_ms2000 = 7 -} e_UE_TimersAndConstants__t300; -typedef enum UE_TimersAndConstants__t301 { - UE_TimersAndConstants__t301_ms100 = 0, - UE_TimersAndConstants__t301_ms200 = 1, - UE_TimersAndConstants__t301_ms300 = 2, - UE_TimersAndConstants__t301_ms400 = 3, - UE_TimersAndConstants__t301_ms600 = 4, - UE_TimersAndConstants__t301_ms1000 = 5, - UE_TimersAndConstants__t301_ms1500 = 6, - UE_TimersAndConstants__t301_ms2000 = 7 -} e_UE_TimersAndConstants__t301; -typedef enum UE_TimersAndConstants__t310 { - UE_TimersAndConstants__t310_ms0 = 0, - UE_TimersAndConstants__t310_ms50 = 1, - UE_TimersAndConstants__t310_ms100 = 2, - UE_TimersAndConstants__t310_ms200 = 3, - UE_TimersAndConstants__t310_ms500 = 4, - UE_TimersAndConstants__t310_ms1000 = 5, - UE_TimersAndConstants__t310_ms2000 = 6 -} e_UE_TimersAndConstants__t310; -typedef enum UE_TimersAndConstants__n310 { - UE_TimersAndConstants__n310_n1 = 0, - UE_TimersAndConstants__n310_n2 = 1, - UE_TimersAndConstants__n310_n3 = 2, - UE_TimersAndConstants__n310_n4 = 3, - UE_TimersAndConstants__n310_n6 = 4, - UE_TimersAndConstants__n310_n8 = 5, - UE_TimersAndConstants__n310_n10 = 6, - UE_TimersAndConstants__n310_n20 = 7 -} e_UE_TimersAndConstants__n310; -typedef enum UE_TimersAndConstants__t311 { - UE_TimersAndConstants__t311_ms1000 = 0, - UE_TimersAndConstants__t311_ms3000 = 1, - UE_TimersAndConstants__t311_ms5000 = 2, - UE_TimersAndConstants__t311_ms10000 = 3, - UE_TimersAndConstants__t311_ms15000 = 4, - UE_TimersAndConstants__t311_ms20000 = 5, - UE_TimersAndConstants__t311_ms30000 = 6 -} e_UE_TimersAndConstants__t311; -typedef enum UE_TimersAndConstants__n311 { - UE_TimersAndConstants__n311_n1 = 0, - UE_TimersAndConstants__n311_n2 = 1, - UE_TimersAndConstants__n311_n3 = 2, - UE_TimersAndConstants__n311_n4 = 3, - UE_TimersAndConstants__n311_n5 = 4, - UE_TimersAndConstants__n311_n6 = 5, - UE_TimersAndConstants__n311_n8 = 6, - UE_TimersAndConstants__n311_n10 = 7 -} e_UE_TimersAndConstants__n311; - -/* UE-TimersAndConstants */ -typedef struct UE_TimersAndConstants { - long t300; - long t301; - long t310; - long n310; - long t311; - long n311; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UE_TimersAndConstants_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_t300_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_t301_11; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_t310_20; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_n310_28; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_t311_37; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_n311_45; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_UE_TimersAndConstants; - -#ifdef __cplusplus -} -#endif - -#endif /* _UE_TimersAndConstants_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UECapabilityEnquiry-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/UECapabilityEnquiry-r8-IEs.h deleted file mode 100644 index 5bf8dcaf8..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UECapabilityEnquiry-r8-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UECapabilityEnquiry_r8_IEs_H_ -#define _UECapabilityEnquiry_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/UE-CapabilityRequest.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct UECapabilityEnquiry_v8a0_IEs; - -/* UECapabilityEnquiry-r8-IEs */ -typedef struct UECapabilityEnquiry_r8_IEs { - UE_CapabilityRequest_t ue_CapabilityRequest; - struct UECapabilityEnquiry_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UECapabilityEnquiry_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UECapabilityEnquiry_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/UECapabilityEnquiry-v8a0-IEs.h" - -#endif /* _UECapabilityEnquiry_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UECapabilityEnquiry-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/UECapabilityEnquiry-v8a0-IEs.h deleted file mode 100644 index 50584b193..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UECapabilityEnquiry-v8a0-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UECapabilityEnquiry_v8a0_IEs_H_ -#define _UECapabilityEnquiry_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* UECapabilityEnquiry-v8a0-IEs */ -typedef struct UECapabilityEnquiry_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct UECapabilityEnquiry_v8a0_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UECapabilityEnquiry_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UECapabilityEnquiry_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _UECapabilityEnquiry_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UECapabilityEnquiry.h b/lte/rrc/include/liblte/rrc/asn/UECapabilityEnquiry.h deleted file mode 100644 index 1684fdb23..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UECapabilityEnquiry.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UECapabilityEnquiry_H_ -#define _UECapabilityEnquiry_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/UECapabilityEnquiry-r8-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum UECapabilityEnquiry__criticalExtensions_PR { - UECapabilityEnquiry__criticalExtensions_PR_NOTHING, /* No components present */ - UECapabilityEnquiry__criticalExtensions_PR_c1, - UECapabilityEnquiry__criticalExtensions_PR_criticalExtensionsFuture -} UECapabilityEnquiry__criticalExtensions_PR; -typedef enum UECapabilityEnquiry__criticalExtensions__c1_PR { - UECapabilityEnquiry__criticalExtensions__c1_PR_NOTHING, /* No components present */ - UECapabilityEnquiry__criticalExtensions__c1_PR_ueCapabilityEnquiry_r8, - UECapabilityEnquiry__criticalExtensions__c1_PR_spare3, - UECapabilityEnquiry__criticalExtensions__c1_PR_spare2, - UECapabilityEnquiry__criticalExtensions__c1_PR_spare1 -} UECapabilityEnquiry__criticalExtensions__c1_PR; - -/* UECapabilityEnquiry */ -typedef struct UECapabilityEnquiry { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct UECapabilityEnquiry__criticalExtensions { - UECapabilityEnquiry__criticalExtensions_PR present; - union UECapabilityEnquiry__criticalExtensions_u { - struct UECapabilityEnquiry__criticalExtensions__c1 { - UECapabilityEnquiry__criticalExtensions__c1_PR present; - union UECapabilityEnquiry__criticalExtensions__c1_u { - UECapabilityEnquiry_r8_IEs_t ueCapabilityEnquiry_r8; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct UECapabilityEnquiry__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UECapabilityEnquiry_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UECapabilityEnquiry; - -#ifdef __cplusplus -} -#endif - -#endif /* _UECapabilityEnquiry_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UECapabilityInformation-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/UECapabilityInformation-r8-IEs.h deleted file mode 100644 index a192c8455..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UECapabilityInformation-r8-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UECapabilityInformation_r8_IEs_H_ -#define _UECapabilityInformation_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/UE-CapabilityRAT-ContainerList.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct UECapabilityInformation_v8a0_IEs; - -/* UECapabilityInformation-r8-IEs */ -typedef struct UECapabilityInformation_r8_IEs { - UE_CapabilityRAT_ContainerList_t ue_CapabilityRAT_ContainerList; - struct UECapabilityInformation_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UECapabilityInformation_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UECapabilityInformation_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/UECapabilityInformation-v8a0-IEs.h" - -#endif /* _UECapabilityInformation_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UECapabilityInformation-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/UECapabilityInformation-v8a0-IEs.h deleted file mode 100644 index 82fe59397..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UECapabilityInformation-v8a0-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UECapabilityInformation_v8a0_IEs_H_ -#define _UECapabilityInformation_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* UECapabilityInformation-v8a0-IEs */ -typedef struct UECapabilityInformation_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct UECapabilityInformation_v8a0_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UECapabilityInformation_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UECapabilityInformation_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _UECapabilityInformation_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UECapabilityInformation.h b/lte/rrc/include/liblte/rrc/asn/UECapabilityInformation.h deleted file mode 100644 index 5e5e9d245..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UECapabilityInformation.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UECapabilityInformation_H_ -#define _UECapabilityInformation_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/UECapabilityInformation-r8-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum UECapabilityInformation__criticalExtensions_PR { - UECapabilityInformation__criticalExtensions_PR_NOTHING, /* No components present */ - UECapabilityInformation__criticalExtensions_PR_c1, - UECapabilityInformation__criticalExtensions_PR_criticalExtensionsFuture -} UECapabilityInformation__criticalExtensions_PR; -typedef enum UECapabilityInformation__criticalExtensions__c1_PR { - UECapabilityInformation__criticalExtensions__c1_PR_NOTHING, /* No components present */ - UECapabilityInformation__criticalExtensions__c1_PR_ueCapabilityInformation_r8, - UECapabilityInformation__criticalExtensions__c1_PR_spare7, - UECapabilityInformation__criticalExtensions__c1_PR_spare6, - UECapabilityInformation__criticalExtensions__c1_PR_spare5, - UECapabilityInformation__criticalExtensions__c1_PR_spare4, - UECapabilityInformation__criticalExtensions__c1_PR_spare3, - UECapabilityInformation__criticalExtensions__c1_PR_spare2, - UECapabilityInformation__criticalExtensions__c1_PR_spare1 -} UECapabilityInformation__criticalExtensions__c1_PR; - -/* UECapabilityInformation */ -typedef struct UECapabilityInformation { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct UECapabilityInformation__criticalExtensions { - UECapabilityInformation__criticalExtensions_PR present; - union UECapabilityInformation__criticalExtensions_u { - struct UECapabilityInformation__criticalExtensions__c1 { - UECapabilityInformation__criticalExtensions__c1_PR present; - union UECapabilityInformation__criticalExtensions__c1_u { - UECapabilityInformation_r8_IEs_t ueCapabilityInformation_r8; - NULL_t spare7; - NULL_t spare6; - NULL_t spare5; - NULL_t spare4; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct UECapabilityInformation__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UECapabilityInformation_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UECapabilityInformation; - -#ifdef __cplusplus -} -#endif - -#endif /* _UECapabilityInformation_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UEInformationRequest-r9-IEs.h b/lte/rrc/include/liblte/rrc/asn/UEInformationRequest-r9-IEs.h deleted file mode 100644 index d03446eb2..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UEInformationRequest-r9-IEs.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UEInformationRequest_r9_IEs_H_ -#define _UEInformationRequest_r9_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct UEInformationRequest_v930_IEs; - -/* UEInformationRequest-r9-IEs */ -typedef struct UEInformationRequest_r9_IEs { - BOOLEAN_t rach_ReportReq_r9; - BOOLEAN_t rlf_ReportReq_r9; - struct UEInformationRequest_v930_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UEInformationRequest_r9_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UEInformationRequest_r9_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/UEInformationRequest-v930-IEs.h" - -#endif /* _UEInformationRequest_r9_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UEInformationRequest-r9.h b/lte/rrc/include/liblte/rrc/asn/UEInformationRequest-r9.h deleted file mode 100644 index e0f14cf58..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UEInformationRequest-r9.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UEInformationRequest_r9_H_ -#define _UEInformationRequest_r9_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/UEInformationRequest-r9-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum UEInformationRequest_r9__criticalExtensions_PR { - UEInformationRequest_r9__criticalExtensions_PR_NOTHING, /* No components present */ - UEInformationRequest_r9__criticalExtensions_PR_c1, - UEInformationRequest_r9__criticalExtensions_PR_criticalExtensionsFuture -} UEInformationRequest_r9__criticalExtensions_PR; -typedef enum UEInformationRequest_r9__criticalExtensions__c1_PR { - UEInformationRequest_r9__criticalExtensions__c1_PR_NOTHING, /* No components present */ - UEInformationRequest_r9__criticalExtensions__c1_PR_ueInformationRequest_r9, - UEInformationRequest_r9__criticalExtensions__c1_PR_spare3, - UEInformationRequest_r9__criticalExtensions__c1_PR_spare2, - UEInformationRequest_r9__criticalExtensions__c1_PR_spare1 -} UEInformationRequest_r9__criticalExtensions__c1_PR; - -/* UEInformationRequest-r9 */ -typedef struct UEInformationRequest_r9 { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct UEInformationRequest_r9__criticalExtensions { - UEInformationRequest_r9__criticalExtensions_PR present; - union UEInformationRequest_r9__criticalExtensions_u { - struct UEInformationRequest_r9__criticalExtensions__c1 { - UEInformationRequest_r9__criticalExtensions__c1_PR present; - union UEInformationRequest_r9__criticalExtensions__c1_u { - UEInformationRequest_r9_IEs_t ueInformationRequest_r9; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct UEInformationRequest_r9__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UEInformationRequest_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UEInformationRequest_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _UEInformationRequest_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UEInformationRequest-v1020-IEs.h b/lte/rrc/include/liblte/rrc/asn/UEInformationRequest-v1020-IEs.h deleted file mode 100644 index 6147e3b75..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UEInformationRequest-v1020-IEs.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UEInformationRequest_v1020_IEs_H_ -#define _UEInformationRequest_v1020_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum UEInformationRequest_v1020_IEs__logMeasReportReq_r10 { - UEInformationRequest_v1020_IEs__logMeasReportReq_r10_true = 0 -} e_UEInformationRequest_v1020_IEs__logMeasReportReq_r10; - -/* UEInformationRequest-v1020-IEs */ -typedef struct UEInformationRequest_v1020_IEs { - long *logMeasReportReq_r10 /* OPTIONAL */; - struct UEInformationRequest_v1020_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UEInformationRequest_v1020_IEs_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_logMeasReportReq_r10_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_UEInformationRequest_v1020_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _UEInformationRequest_v1020_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UEInformationRequest-v930-IEs.h b/lte/rrc/include/liblte/rrc/asn/UEInformationRequest-v930-IEs.h deleted file mode 100644 index 16f64ef7f..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UEInformationRequest-v930-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UEInformationRequest_v930_IEs_H_ -#define _UEInformationRequest_v930_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct UEInformationRequest_v1020_IEs; - -/* UEInformationRequest-v930-IEs */ -typedef struct UEInformationRequest_v930_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct UEInformationRequest_v1020_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UEInformationRequest_v930_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UEInformationRequest_v930_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/UEInformationRequest-v1020-IEs.h" - -#endif /* _UEInformationRequest_v930_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UEInformationResponse-r9-IEs.h b/lte/rrc/include/liblte/rrc/asn/UEInformationResponse-r9-IEs.h deleted file mode 100644 index 6fdb61357..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UEInformationResponse-r9-IEs.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UEInformationResponse_r9_IEs_H_ -#define _UEInformationResponse_r9_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RLF_Report_r9; -struct UEInformationResponse_v930_IEs; - -/* UEInformationResponse-r9-IEs */ -typedef struct UEInformationResponse_r9_IEs { - struct UEInformationResponse_r9_IEs__rach_Report_r9 { - long numberOfPreamblesSent_r9; - BOOLEAN_t contentionDetected_r9; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *rach_Report_r9; - struct RLF_Report_r9 *rlf_Report_r9 /* OPTIONAL */; - struct UEInformationResponse_v930_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UEInformationResponse_r9_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UEInformationResponse_r9_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/RLF-Report-r9.h" -#include "liblte/rrc/asn/UEInformationResponse-v930-IEs.h" - -#endif /* _UEInformationResponse_r9_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UEInformationResponse-r9.h b/lte/rrc/include/liblte/rrc/asn/UEInformationResponse-r9.h deleted file mode 100644 index 3b379aec8..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UEInformationResponse-r9.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UEInformationResponse_r9_H_ -#define _UEInformationResponse_r9_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" -#include "liblte/rrc/asn/UEInformationResponse-r9-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum UEInformationResponse_r9__criticalExtensions_PR { - UEInformationResponse_r9__criticalExtensions_PR_NOTHING, /* No components present */ - UEInformationResponse_r9__criticalExtensions_PR_c1, - UEInformationResponse_r9__criticalExtensions_PR_criticalExtensionsFuture -} UEInformationResponse_r9__criticalExtensions_PR; -typedef enum UEInformationResponse_r9__criticalExtensions__c1_PR { - UEInformationResponse_r9__criticalExtensions__c1_PR_NOTHING, /* No components present */ - UEInformationResponse_r9__criticalExtensions__c1_PR_ueInformationResponse_r9, - UEInformationResponse_r9__criticalExtensions__c1_PR_spare3, - UEInformationResponse_r9__criticalExtensions__c1_PR_spare2, - UEInformationResponse_r9__criticalExtensions__c1_PR_spare1 -} UEInformationResponse_r9__criticalExtensions__c1_PR; - -/* UEInformationResponse-r9 */ -typedef struct UEInformationResponse_r9 { - RRC_TransactionIdentifier_t rrc_TransactionIdentifier; - struct UEInformationResponse_r9__criticalExtensions { - UEInformationResponse_r9__criticalExtensions_PR present; - union UEInformationResponse_r9__criticalExtensions_u { - struct UEInformationResponse_r9__criticalExtensions__c1 { - UEInformationResponse_r9__criticalExtensions__c1_PR present; - union UEInformationResponse_r9__criticalExtensions__c1_u { - UEInformationResponse_r9_IEs_t ueInformationResponse_r9; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct UEInformationResponse_r9__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UEInformationResponse_r9_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UEInformationResponse_r9; - -#ifdef __cplusplus -} -#endif - -#endif /* _UEInformationResponse_r9_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UEInformationResponse-v1020-IEs.h b/lte/rrc/include/liblte/rrc/asn/UEInformationResponse-v1020-IEs.h deleted file mode 100644 index 694624af8..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UEInformationResponse-v1020-IEs.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UEInformationResponse_v1020_IEs_H_ -#define _UEInformationResponse_v1020_IEs_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct LogMeasReport_r10; - -/* UEInformationResponse-v1020-IEs */ -typedef struct UEInformationResponse_v1020_IEs { - struct LogMeasReport_r10 *logMeasReport_r10 /* OPTIONAL */; - struct UEInformationResponse_v1020_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UEInformationResponse_v1020_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UEInformationResponse_v1020_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/LogMeasReport-r10.h" - -#endif /* _UEInformationResponse_v1020_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UEInformationResponse-v930-IEs.h b/lte/rrc/include/liblte/rrc/asn/UEInformationResponse-v930-IEs.h deleted file mode 100644 index 0d950d38a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UEInformationResponse-v930-IEs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UEInformationResponse_v930_IEs_H_ -#define _UEInformationResponse_v930_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct UEInformationResponse_v1020_IEs; - -/* UEInformationResponse-v930-IEs */ -typedef struct UEInformationResponse_v930_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct UEInformationResponse_v1020_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UEInformationResponse_v930_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UEInformationResponse_v930_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/UEInformationResponse-v1020-IEs.h" - -#endif /* _UEInformationResponse_v930_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UERadioAccessCapabilityInformation-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/UERadioAccessCapabilityInformation-r8-IEs.h deleted file mode 100644 index 918c0c9e5..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UERadioAccessCapabilityInformation-r8-IEs.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#ifndef _UERadioAccessCapabilityInformation_r8_IEs_H_ -#define _UERadioAccessCapabilityInformation_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* UERadioAccessCapabilityInformation-r8-IEs */ -typedef struct UERadioAccessCapabilityInformation_r8_IEs { - OCTET_STRING_t ue_RadioAccessCapabilityInfo; - struct nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UERadioAccessCapabilityInformation_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UERadioAccessCapabilityInformation_r8_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _UERadioAccessCapabilityInformation_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UERadioAccessCapabilityInformation.h b/lte/rrc/include/liblte/rrc/asn/UERadioAccessCapabilityInformation.h deleted file mode 100644 index db8ad8410..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UERadioAccessCapabilityInformation.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#ifndef _UERadioAccessCapabilityInformation_H_ -#define _UERadioAccessCapabilityInformation_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/UERadioAccessCapabilityInformation-r8-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum criticalExtensions_PR { - criticalExtensions_PR_NOTHING, /* No components present */ - criticalExtensions_PR_c1, - criticalExtensions_PR_criticalExtensionsFuture -} criticalExtensions_PR; -typedef enum c1_PR { - c1_PR_NOTHING, /* No components present */ - c1_PR_ueRadioAccessCapabilityInformation_r8, - c1_PR_spare7, - c1_PR_spare6, - c1_PR_spare5, - c1_PR_spare4, - c1_PR_spare3, - c1_PR_spare2, - c1_PR_spare1 -} c1_PR; - -/* UERadioAccessCapabilityInformation */ -typedef struct UERadioAccessCapabilityInformation { - struct criticalExtensions { - criticalExtensions_PR present; - union UERadioAccessCapabilityInformation__criticalExtensions_u { - struct c1 { - c1_PR present; - union UERadioAccessCapabilityInformation__criticalExtensions__c1_u { - UERadioAccessCapabilityInformation_r8_IEs_t ueRadioAccessCapabilityInformation_r8; - NULL_t spare7; - NULL_t spare6; - NULL_t spare5; - NULL_t spare4; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UERadioAccessCapabilityInformation_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UERadioAccessCapabilityInformation; - -#ifdef __cplusplus -} -#endif - -#endif /* _UERadioAccessCapabilityInformation_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UL-AM-RLC.h b/lte/rrc/include/liblte/rrc/asn/UL-AM-RLC.h deleted file mode 100644 index 1c38943b4..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UL-AM-RLC.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UL_AM_RLC_H_ -#define _UL_AM_RLC_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/T-PollRetransmit.h" -#include "liblte/rrc/asn/PollPDU.h" -#include "liblte/rrc/asn/PollByte.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum UL_AM_RLC__maxRetxThreshold { - UL_AM_RLC__maxRetxThreshold_t1 = 0, - UL_AM_RLC__maxRetxThreshold_t2 = 1, - UL_AM_RLC__maxRetxThreshold_t3 = 2, - UL_AM_RLC__maxRetxThreshold_t4 = 3, - UL_AM_RLC__maxRetxThreshold_t6 = 4, - UL_AM_RLC__maxRetxThreshold_t8 = 5, - UL_AM_RLC__maxRetxThreshold_t16 = 6, - UL_AM_RLC__maxRetxThreshold_t32 = 7 -} e_UL_AM_RLC__maxRetxThreshold; - -/* UL-AM-RLC */ -typedef struct UL_AM_RLC { - T_PollRetransmit_t t_PollRetransmit; - PollPDU_t pollPDU; - PollByte_t pollByte; - long maxRetxThreshold; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UL_AM_RLC_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_maxRetxThreshold_5; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_UL_AM_RLC; - -#ifdef __cplusplus -} -#endif - -#endif /* _UL_AM_RLC_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UL-CCCH-Message.h b/lte/rrc/include/liblte/rrc/asn/UL-CCCH-Message.h deleted file mode 100644 index 4bf5d9094..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UL-CCCH-Message.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UL_CCCH_Message_H_ -#define _UL_CCCH_Message_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/UL-CCCH-MessageType.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* UL-CCCH-Message */ -typedef struct UL_CCCH_Message { - UL_CCCH_MessageType_t message; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UL_CCCH_Message_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UL_CCCH_Message; - -#ifdef __cplusplus -} -#endif - -#endif /* _UL_CCCH_Message_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UL-CCCH-MessageType.h b/lte/rrc/include/liblte/rrc/asn/UL-CCCH-MessageType.h deleted file mode 100644 index 770946638..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UL-CCCH-MessageType.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UL_CCCH_MessageType_H_ -#define _UL_CCCH_MessageType_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RRCConnectionReestablishmentRequest.h" -#include "liblte/rrc/asn/RRCConnectionRequest.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum UL_CCCH_MessageType_PR { - UL_CCCH_MessageType_PR_NOTHING, /* No components present */ - UL_CCCH_MessageType_PR_c1, - UL_CCCH_MessageType_PR_messageClassExtension -} UL_CCCH_MessageType_PR; -typedef enum UL_CCCH_MessageType__c1_PR { - UL_CCCH_MessageType__c1_PR_NOTHING, /* No components present */ - UL_CCCH_MessageType__c1_PR_rrcConnectionReestablishmentRequest, - UL_CCCH_MessageType__c1_PR_rrcConnectionRequest -} UL_CCCH_MessageType__c1_PR; - -/* UL-CCCH-MessageType */ -typedef struct UL_CCCH_MessageType { - UL_CCCH_MessageType_PR present; - union UL_CCCH_MessageType_u { - struct UL_CCCH_MessageType__c1 { - UL_CCCH_MessageType__c1_PR present; - union UL_CCCH_MessageType__c1_u { - RRCConnectionReestablishmentRequest_t rrcConnectionReestablishmentRequest; - RRCConnectionRequest_t rrcConnectionRequest; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct UL_CCCH_MessageType__messageClassExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } messageClassExtension; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UL_CCCH_MessageType_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UL_CCCH_MessageType; - -#ifdef __cplusplus -} -#endif - -#endif /* _UL_CCCH_MessageType_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UL-CyclicPrefixLength.h b/lte/rrc/include/liblte/rrc/asn/UL-CyclicPrefixLength.h deleted file mode 100644 index 75dd1c3e9..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UL-CyclicPrefixLength.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UL_CyclicPrefixLength_H_ -#define _UL_CyclicPrefixLength_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum UL_CyclicPrefixLength { - UL_CyclicPrefixLength_len1 = 0, - UL_CyclicPrefixLength_len2 = 1 -} e_UL_CyclicPrefixLength; - -/* UL-CyclicPrefixLength */ -typedef long UL_CyclicPrefixLength_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UL_CyclicPrefixLength; -asn_struct_free_f UL_CyclicPrefixLength_free; -asn_struct_print_f UL_CyclicPrefixLength_print; -asn_constr_check_f UL_CyclicPrefixLength_constraint; -ber_type_decoder_f UL_CyclicPrefixLength_decode_ber; -der_type_encoder_f UL_CyclicPrefixLength_encode_der; -xer_type_decoder_f UL_CyclicPrefixLength_decode_xer; -xer_type_encoder_f UL_CyclicPrefixLength_encode_xer; -per_type_decoder_f UL_CyclicPrefixLength_decode_uper; -per_type_encoder_f UL_CyclicPrefixLength_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _UL_CyclicPrefixLength_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UL-DCCH-Message.h b/lte/rrc/include/liblte/rrc/asn/UL-DCCH-Message.h deleted file mode 100644 index 977592a8a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UL-DCCH-Message.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UL_DCCH_Message_H_ -#define _UL_DCCH_Message_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/UL-DCCH-MessageType.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* UL-DCCH-Message */ -typedef struct UL_DCCH_Message { - UL_DCCH_MessageType_t message; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UL_DCCH_Message_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UL_DCCH_Message; - -#ifdef __cplusplus -} -#endif - -#endif /* _UL_DCCH_Message_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UL-DCCH-MessageType.h b/lte/rrc/include/liblte/rrc/asn/UL-DCCH-MessageType.h deleted file mode 100644 index 2801f8abb..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UL-DCCH-MessageType.h +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UL_DCCH_MessageType_H_ -#define _UL_DCCH_MessageType_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CSFBParametersRequestCDMA2000.h" -#include "liblte/rrc/asn/MeasurementReport.h" -#include "liblte/rrc/asn/RRCConnectionReconfigurationComplete.h" -#include "liblte/rrc/asn/RRCConnectionReestablishmentComplete.h" -#include "liblte/rrc/asn/RRCConnectionSetupComplete.h" -#include "liblte/rrc/asn/SecurityModeComplete.h" -#include "liblte/rrc/asn/SecurityModeFailure.h" -#include "liblte/rrc/asn/UECapabilityInformation.h" -#include "liblte/rrc/asn/ULHandoverPreparationTransfer.h" -#include "liblte/rrc/asn/ULInformationTransfer.h" -#include "liblte/rrc/asn/CounterCheckResponse.h" -#include "liblte/rrc/asn/UEInformationResponse-r9.h" -#include "liblte/rrc/asn/ProximityIndication-r9.h" -#include "liblte/rrc/asn/RNReconfigurationComplete-r10.h" -#include "liblte/rrc/asn/MBMSCountingResponse-r10.h" -#include "liblte/rrc/asn/InterFreqRSTDMeasurementIndication-r10.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum UL_DCCH_MessageType_PR { - UL_DCCH_MessageType_PR_NOTHING, /* No components present */ - UL_DCCH_MessageType_PR_c1, - UL_DCCH_MessageType_PR_messageClassExtension -} UL_DCCH_MessageType_PR; -typedef enum UL_DCCH_MessageType__c1_PR { - UL_DCCH_MessageType__c1_PR_NOTHING, /* No components present */ - UL_DCCH_MessageType__c1_PR_csfbParametersRequestCDMA2000, - UL_DCCH_MessageType__c1_PR_measurementReport, - UL_DCCH_MessageType__c1_PR_rrcConnectionReconfigurationComplete, - UL_DCCH_MessageType__c1_PR_rrcConnectionReestablishmentComplete, - UL_DCCH_MessageType__c1_PR_rrcConnectionSetupComplete, - UL_DCCH_MessageType__c1_PR_securityModeComplete, - UL_DCCH_MessageType__c1_PR_securityModeFailure, - UL_DCCH_MessageType__c1_PR_ueCapabilityInformation, - UL_DCCH_MessageType__c1_PR_ulHandoverPreparationTransfer, - UL_DCCH_MessageType__c1_PR_ulInformationTransfer, - UL_DCCH_MessageType__c1_PR_counterCheckResponse, - UL_DCCH_MessageType__c1_PR_ueInformationResponse_r9, - UL_DCCH_MessageType__c1_PR_proximityIndication_r9, - UL_DCCH_MessageType__c1_PR_rnReconfigurationComplete_r10, - UL_DCCH_MessageType__c1_PR_mbmsCountingResponse_r10, - UL_DCCH_MessageType__c1_PR_interFreqRSTDMeasurementIndication_r10 -} UL_DCCH_MessageType__c1_PR; - -/* UL-DCCH-MessageType */ -typedef struct UL_DCCH_MessageType { - UL_DCCH_MessageType_PR present; - union UL_DCCH_MessageType_u { - struct UL_DCCH_MessageType__c1 { - UL_DCCH_MessageType__c1_PR present; - union UL_DCCH_MessageType__c1_u { - CSFBParametersRequestCDMA2000_t csfbParametersRequestCDMA2000; - MeasurementReport_t measurementReport; - RRCConnectionReconfigurationComplete_t rrcConnectionReconfigurationComplete; - RRCConnectionReestablishmentComplete_t rrcConnectionReestablishmentComplete; - RRCConnectionSetupComplete_t rrcConnectionSetupComplete; - SecurityModeComplete_t securityModeComplete; - SecurityModeFailure_t securityModeFailure; - UECapabilityInformation_t ueCapabilityInformation; - ULHandoverPreparationTransfer_t ulHandoverPreparationTransfer; - ULInformationTransfer_t ulInformationTransfer; - CounterCheckResponse_t counterCheckResponse; - UEInformationResponse_r9_t ueInformationResponse_r9; - ProximityIndication_r9_t proximityIndication_r9; - RNReconfigurationComplete_r10_t rnReconfigurationComplete_r10; - MBMSCountingResponse_r10_t mbmsCountingResponse_r10; - InterFreqRSTDMeasurementIndication_r10_t interFreqRSTDMeasurementIndication_r10; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct UL_DCCH_MessageType__messageClassExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } messageClassExtension; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UL_DCCH_MessageType_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UL_DCCH_MessageType; - -#ifdef __cplusplus -} -#endif - -#endif /* _UL_DCCH_MessageType_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UL-ReferenceSignalsPUSCH.h b/lte/rrc/include/liblte/rrc/asn/UL-ReferenceSignalsPUSCH.h deleted file mode 100644 index 32e22d6b4..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UL-ReferenceSignalsPUSCH.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UL_ReferenceSignalsPUSCH_H_ -#define _UL_ReferenceSignalsPUSCH_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* UL-ReferenceSignalsPUSCH */ -typedef struct UL_ReferenceSignalsPUSCH { - BOOLEAN_t groupHoppingEnabled; - long groupAssignmentPUSCH; - BOOLEAN_t sequenceHoppingEnabled; - long cyclicShift; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UL_ReferenceSignalsPUSCH_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UL_ReferenceSignalsPUSCH; - -#ifdef __cplusplus -} -#endif - -#endif /* _UL_ReferenceSignalsPUSCH_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UL-UM-RLC.h b/lte/rrc/include/liblte/rrc/asn/UL-UM-RLC.h deleted file mode 100644 index acda0d861..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UL-UM-RLC.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UL_UM_RLC_H_ -#define _UL_UM_RLC_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/SN-FieldLength.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* UL-UM-RLC */ -typedef struct UL_UM_RLC { - SN_FieldLength_t sn_FieldLength; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UL_UM_RLC_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UL_UM_RLC; - -#ifdef __cplusplus -} -#endif - -#endif /* _UL_UM_RLC_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ULHandoverPreparationTransfer-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/ULHandoverPreparationTransfer-r8-IEs.h deleted file mode 100644 index 37cacdb6e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ULHandoverPreparationTransfer-r8-IEs.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ULHandoverPreparationTransfer_r8_IEs_H_ -#define _ULHandoverPreparationTransfer_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CDMA2000-Type.h" -#include -#include "liblte/rrc/asn/DedicatedInfoCDMA2000.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct ULHandoverPreparationTransfer_v8a0_IEs; - -/* ULHandoverPreparationTransfer-r8-IEs */ -typedef struct ULHandoverPreparationTransfer_r8_IEs { - CDMA2000_Type_t cdma2000_Type; - BIT_STRING_t *meid /* OPTIONAL */; - DedicatedInfoCDMA2000_t dedicatedInfo; - struct ULHandoverPreparationTransfer_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ULHandoverPreparationTransfer_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ULHandoverPreparationTransfer_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/ULHandoverPreparationTransfer-v8a0-IEs.h" - -#endif /* _ULHandoverPreparationTransfer_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ULHandoverPreparationTransfer-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/ULHandoverPreparationTransfer-v8a0-IEs.h deleted file mode 100644 index 550c54f03..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ULHandoverPreparationTransfer-v8a0-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ULHandoverPreparationTransfer_v8a0_IEs_H_ -#define _ULHandoverPreparationTransfer_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ULHandoverPreparationTransfer-v8a0-IEs */ -typedef struct ULHandoverPreparationTransfer_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct ULHandoverPreparationTransfer_v8a0_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ULHandoverPreparationTransfer_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ULHandoverPreparationTransfer_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _ULHandoverPreparationTransfer_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ULHandoverPreparationTransfer.h b/lte/rrc/include/liblte/rrc/asn/ULHandoverPreparationTransfer.h deleted file mode 100644 index 5f1743509..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ULHandoverPreparationTransfer.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ULHandoverPreparationTransfer_H_ -#define _ULHandoverPreparationTransfer_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ULHandoverPreparationTransfer-r8-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ULHandoverPreparationTransfer__criticalExtensions_PR { - ULHandoverPreparationTransfer__criticalExtensions_PR_NOTHING, /* No components present */ - ULHandoverPreparationTransfer__criticalExtensions_PR_c1, - ULHandoverPreparationTransfer__criticalExtensions_PR_criticalExtensionsFuture -} ULHandoverPreparationTransfer__criticalExtensions_PR; -typedef enum ULHandoverPreparationTransfer__criticalExtensions__c1_PR { - ULHandoverPreparationTransfer__criticalExtensions__c1_PR_NOTHING, /* No components present */ - ULHandoverPreparationTransfer__criticalExtensions__c1_PR_ulHandoverPreparationTransfer_r8, - ULHandoverPreparationTransfer__criticalExtensions__c1_PR_spare3, - ULHandoverPreparationTransfer__criticalExtensions__c1_PR_spare2, - ULHandoverPreparationTransfer__criticalExtensions__c1_PR_spare1 -} ULHandoverPreparationTransfer__criticalExtensions__c1_PR; - -/* ULHandoverPreparationTransfer */ -typedef struct ULHandoverPreparationTransfer { - struct ULHandoverPreparationTransfer__criticalExtensions { - ULHandoverPreparationTransfer__criticalExtensions_PR present; - union ULHandoverPreparationTransfer__criticalExtensions_u { - struct ULHandoverPreparationTransfer__criticalExtensions__c1 { - ULHandoverPreparationTransfer__criticalExtensions__c1_PR present; - union ULHandoverPreparationTransfer__criticalExtensions__c1_u { - ULHandoverPreparationTransfer_r8_IEs_t ulHandoverPreparationTransfer_r8; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct ULHandoverPreparationTransfer__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ULHandoverPreparationTransfer_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ULHandoverPreparationTransfer; - -#ifdef __cplusplus -} -#endif - -#endif /* _ULHandoverPreparationTransfer_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ULInformationTransfer-r8-IEs.h b/lte/rrc/include/liblte/rrc/asn/ULInformationTransfer-r8-IEs.h deleted file mode 100644 index e6de95d43..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ULInformationTransfer-r8-IEs.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ULInformationTransfer_r8_IEs_H_ -#define _ULInformationTransfer_r8_IEs_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/DedicatedInfoNAS.h" -#include "liblte/rrc/asn/DedicatedInfoCDMA2000.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ULInformationTransfer_r8_IEs__dedicatedInfoType_PR { - ULInformationTransfer_r8_IEs__dedicatedInfoType_PR_NOTHING, /* No components present */ - ULInformationTransfer_r8_IEs__dedicatedInfoType_PR_dedicatedInfoNAS, - ULInformationTransfer_r8_IEs__dedicatedInfoType_PR_dedicatedInfoCDMA2000_1XRTT, - ULInformationTransfer_r8_IEs__dedicatedInfoType_PR_dedicatedInfoCDMA2000_HRPD -} ULInformationTransfer_r8_IEs__dedicatedInfoType_PR; - -/* Forward declarations */ -struct ULInformationTransfer_v8a0_IEs; - -/* ULInformationTransfer-r8-IEs */ -typedef struct ULInformationTransfer_r8_IEs { - struct ULInformationTransfer_r8_IEs__dedicatedInfoType { - ULInformationTransfer_r8_IEs__dedicatedInfoType_PR present; - union ULInformationTransfer_r8_IEs__dedicatedInfoType_u { - DedicatedInfoNAS_t dedicatedInfoNAS; - DedicatedInfoCDMA2000_t dedicatedInfoCDMA2000_1XRTT; - DedicatedInfoCDMA2000_t dedicatedInfoCDMA2000_HRPD; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } dedicatedInfoType; - struct ULInformationTransfer_v8a0_IEs *nonCriticalExtension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ULInformationTransfer_r8_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ULInformationTransfer_r8_IEs; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/ULInformationTransfer-v8a0-IEs.h" - -#endif /* _ULInformationTransfer_r8_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ULInformationTransfer-v8a0-IEs.h b/lte/rrc/include/liblte/rrc/asn/ULInformationTransfer-v8a0-IEs.h deleted file mode 100644 index 51c4dcb99..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ULInformationTransfer-v8a0-IEs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ULInformationTransfer_v8a0_IEs_H_ -#define _ULInformationTransfer_v8a0_IEs_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ULInformationTransfer-v8a0-IEs */ -typedef struct ULInformationTransfer_v8a0_IEs { - OCTET_STRING_t *lateNonCriticalExtension /* OPTIONAL */; - struct ULInformationTransfer_v8a0_IEs__nonCriticalExtension { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *nonCriticalExtension; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ULInformationTransfer_v8a0_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ULInformationTransfer_v8a0_IEs; - -#ifdef __cplusplus -} -#endif - -#endif /* _ULInformationTransfer_v8a0_IEs_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/ULInformationTransfer.h b/lte/rrc/include/liblte/rrc/asn/ULInformationTransfer.h deleted file mode 100644 index 78e46db45..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ULInformationTransfer.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _ULInformationTransfer_H_ -#define _ULInformationTransfer_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/ULInformationTransfer-r8-IEs.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ULInformationTransfer__criticalExtensions_PR { - ULInformationTransfer__criticalExtensions_PR_NOTHING, /* No components present */ - ULInformationTransfer__criticalExtensions_PR_c1, - ULInformationTransfer__criticalExtensions_PR_criticalExtensionsFuture -} ULInformationTransfer__criticalExtensions_PR; -typedef enum ULInformationTransfer__criticalExtensions__c1_PR { - ULInformationTransfer__criticalExtensions__c1_PR_NOTHING, /* No components present */ - ULInformationTransfer__criticalExtensions__c1_PR_ulInformationTransfer_r8, - ULInformationTransfer__criticalExtensions__c1_PR_spare3, - ULInformationTransfer__criticalExtensions__c1_PR_spare2, - ULInformationTransfer__criticalExtensions__c1_PR_spare1 -} ULInformationTransfer__criticalExtensions__c1_PR; - -/* ULInformationTransfer */ -typedef struct ULInformationTransfer { - struct ULInformationTransfer__criticalExtensions { - ULInformationTransfer__criticalExtensions_PR present; - union ULInformationTransfer__criticalExtensions_u { - struct ULInformationTransfer__criticalExtensions__c1 { - ULInformationTransfer__criticalExtensions__c1_PR present; - union ULInformationTransfer__criticalExtensions__c1_u { - ULInformationTransfer_r8_IEs_t ulInformationTransfer_r8; - NULL_t spare3; - NULL_t spare2; - NULL_t spare1; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } c1; - struct ULInformationTransfer__criticalExtensions__criticalExtensionsFuture { - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensionsFuture; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } criticalExtensions; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ULInformationTransfer_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ULInformationTransfer; - -#ifdef __cplusplus -} -#endif - -#endif /* _ULInformationTransfer_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UplinkPowerControlCommon-v1020.h b/lte/rrc/include/liblte/rrc/asn/UplinkPowerControlCommon-v1020.h deleted file mode 100644 index e34b4467d..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UplinkPowerControlCommon-v1020.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UplinkPowerControlCommon_v1020_H_ -#define _UplinkPowerControlCommon_v1020_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum UplinkPowerControlCommon_v1020__deltaF_PUCCH_Format3_r10 { - UplinkPowerControlCommon_v1020__deltaF_PUCCH_Format3_r10_deltaF_1 = 0, - UplinkPowerControlCommon_v1020__deltaF_PUCCH_Format3_r10_deltaF0 = 1, - UplinkPowerControlCommon_v1020__deltaF_PUCCH_Format3_r10_deltaF1 = 2, - UplinkPowerControlCommon_v1020__deltaF_PUCCH_Format3_r10_deltaF2 = 3, - UplinkPowerControlCommon_v1020__deltaF_PUCCH_Format3_r10_deltaF3 = 4, - UplinkPowerControlCommon_v1020__deltaF_PUCCH_Format3_r10_deltaF4 = 5, - UplinkPowerControlCommon_v1020__deltaF_PUCCH_Format3_r10_deltaF5 = 6, - UplinkPowerControlCommon_v1020__deltaF_PUCCH_Format3_r10_deltaF6 = 7 -} e_UplinkPowerControlCommon_v1020__deltaF_PUCCH_Format3_r10; -typedef enum UplinkPowerControlCommon_v1020__deltaF_PUCCH_Format1bCS_r10 { - UplinkPowerControlCommon_v1020__deltaF_PUCCH_Format1bCS_r10_deltaF1 = 0, - UplinkPowerControlCommon_v1020__deltaF_PUCCH_Format1bCS_r10_deltaF2 = 1, - UplinkPowerControlCommon_v1020__deltaF_PUCCH_Format1bCS_r10_spare2 = 2, - UplinkPowerControlCommon_v1020__deltaF_PUCCH_Format1bCS_r10_spare1 = 3 -} e_UplinkPowerControlCommon_v1020__deltaF_PUCCH_Format1bCS_r10; - -/* UplinkPowerControlCommon-v1020 */ -typedef struct UplinkPowerControlCommon_v1020 { - long deltaF_PUCCH_Format3_r10; - long deltaF_PUCCH_Format1bCS_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UplinkPowerControlCommon_v1020_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_deltaF_PUCCH_Format3_r10_2; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_deltaF_PUCCH_Format1bCS_r10_11; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_UplinkPowerControlCommon_v1020; - -#ifdef __cplusplus -} -#endif - -#endif /* _UplinkPowerControlCommon_v1020_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UplinkPowerControlCommon.h b/lte/rrc/include/liblte/rrc/asn/UplinkPowerControlCommon.h deleted file mode 100644 index b51e525ef..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UplinkPowerControlCommon.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UplinkPowerControlCommon_H_ -#define _UplinkPowerControlCommon_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include "liblte/rrc/asn/DeltaFList-PUCCH.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum UplinkPowerControlCommon__alpha { - UplinkPowerControlCommon__alpha_al0 = 0, - UplinkPowerControlCommon__alpha_al04 = 1, - UplinkPowerControlCommon__alpha_al05 = 2, - UplinkPowerControlCommon__alpha_al06 = 3, - UplinkPowerControlCommon__alpha_al07 = 4, - UplinkPowerControlCommon__alpha_al08 = 5, - UplinkPowerControlCommon__alpha_al09 = 6, - UplinkPowerControlCommon__alpha_al1 = 7 -} e_UplinkPowerControlCommon__alpha; - -/* UplinkPowerControlCommon */ -typedef struct UplinkPowerControlCommon { - long p0_NominalPUSCH; - long alpha; - long p0_NominalPUCCH; - DeltaFList_PUCCH_t deltaFList_PUCCH; - long deltaPreambleMsg3; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UplinkPowerControlCommon_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_alpha_3; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_UplinkPowerControlCommon; - -#ifdef __cplusplus -} -#endif - -#endif /* _UplinkPowerControlCommon_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UplinkPowerControlCommonSCell-r10.h b/lte/rrc/include/liblte/rrc/asn/UplinkPowerControlCommonSCell-r10.h deleted file mode 100644 index 6eef53042..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UplinkPowerControlCommonSCell-r10.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UplinkPowerControlCommonSCell_r10_H_ -#define _UplinkPowerControlCommonSCell_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum UplinkPowerControlCommonSCell_r10__alpha_r10 { - UplinkPowerControlCommonSCell_r10__alpha_r10_al0 = 0, - UplinkPowerControlCommonSCell_r10__alpha_r10_al04 = 1, - UplinkPowerControlCommonSCell_r10__alpha_r10_al05 = 2, - UplinkPowerControlCommonSCell_r10__alpha_r10_al06 = 3, - UplinkPowerControlCommonSCell_r10__alpha_r10_al07 = 4, - UplinkPowerControlCommonSCell_r10__alpha_r10_al08 = 5, - UplinkPowerControlCommonSCell_r10__alpha_r10_al09 = 6, - UplinkPowerControlCommonSCell_r10__alpha_r10_al1 = 7 -} e_UplinkPowerControlCommonSCell_r10__alpha_r10; - -/* UplinkPowerControlCommonSCell-r10 */ -typedef struct UplinkPowerControlCommonSCell_r10 { - long p0_NominalPUSCH_r10; - long alpha_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UplinkPowerControlCommonSCell_r10_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_alpha_r10_3; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_UplinkPowerControlCommonSCell_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _UplinkPowerControlCommonSCell_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UplinkPowerControlDedicated-v1020.h b/lte/rrc/include/liblte/rrc/asn/UplinkPowerControlDedicated-v1020.h deleted file mode 100644 index 35d3289b9..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UplinkPowerControlDedicated-v1020.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UplinkPowerControlDedicated_v1020_H_ -#define _UplinkPowerControlDedicated_v1020_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct DeltaTxD_OffsetListPUCCH_r10; - -/* UplinkPowerControlDedicated-v1020 */ -typedef struct UplinkPowerControlDedicated_v1020 { - struct DeltaTxD_OffsetListPUCCH_r10 *deltaTxD_OffsetListPUCCH_r10 /* OPTIONAL */; - long *pSRS_OffsetAp_r10 /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UplinkPowerControlDedicated_v1020_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UplinkPowerControlDedicated_v1020; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/DeltaTxD-OffsetListPUCCH-r10.h" - -#endif /* _UplinkPowerControlDedicated_v1020_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UplinkPowerControlDedicated.h b/lte/rrc/include/liblte/rrc/asn/UplinkPowerControlDedicated.h deleted file mode 100644 index 334b7dfd5..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UplinkPowerControlDedicated.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UplinkPowerControlDedicated_H_ -#define _UplinkPowerControlDedicated_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include "liblte/rrc/asn/FilterCoefficient.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum UplinkPowerControlDedicated__deltaMCS_Enabled { - UplinkPowerControlDedicated__deltaMCS_Enabled_en0 = 0, - UplinkPowerControlDedicated__deltaMCS_Enabled_en1 = 1 -} e_UplinkPowerControlDedicated__deltaMCS_Enabled; - -/* UplinkPowerControlDedicated */ -typedef struct UplinkPowerControlDedicated { - long p0_UE_PUSCH; - long deltaMCS_Enabled; - BOOLEAN_t accumulationEnabled; - long p0_UE_PUCCH; - long pSRS_Offset; - FilterCoefficient_t *filterCoefficient /* DEFAULT 4 */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UplinkPowerControlDedicated_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_deltaMCS_Enabled_3; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_UplinkPowerControlDedicated; - -#ifdef __cplusplus -} -#endif - -#endif /* _UplinkPowerControlDedicated_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/UplinkPowerControlDedicatedSCell-r10.h b/lte/rrc/include/liblte/rrc/asn/UplinkPowerControlDedicatedSCell-r10.h deleted file mode 100644 index 5e61d787b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/UplinkPowerControlDedicatedSCell-r10.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#ifndef _UplinkPowerControlDedicatedSCell_r10_H_ -#define _UplinkPowerControlDedicatedSCell_r10_H_ - - -#include - -/* Including external dependencies */ -#include -#include -#include -#include "liblte/rrc/asn/FilterCoefficient.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum UplinkPowerControlDedicatedSCell_r10__deltaMCS_Enabled_r10 { - UplinkPowerControlDedicatedSCell_r10__deltaMCS_Enabled_r10_en0 = 0, - UplinkPowerControlDedicatedSCell_r10__deltaMCS_Enabled_r10_en1 = 1 -} e_UplinkPowerControlDedicatedSCell_r10__deltaMCS_Enabled_r10; -typedef enum UplinkPowerControlDedicatedSCell_r10__pathlossReferenceLinking_r10 { - UplinkPowerControlDedicatedSCell_r10__pathlossReferenceLinking_r10_pCell = 0, - UplinkPowerControlDedicatedSCell_r10__pathlossReferenceLinking_r10_sCell = 1 -} e_UplinkPowerControlDedicatedSCell_r10__pathlossReferenceLinking_r10; - -/* UplinkPowerControlDedicatedSCell-r10 */ -typedef struct UplinkPowerControlDedicatedSCell_r10 { - long p0_UE_PUSCH_r10; - long deltaMCS_Enabled_r10; - BOOLEAN_t accumulationEnabled_r10; - long pSRS_Offset_r10; - long *pSRS_OffsetAp_r10 /* OPTIONAL */; - FilterCoefficient_t *filterCoefficient_r10 /* DEFAULT 4 */; - long pathlossReferenceLinking_r10; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UplinkPowerControlDedicatedSCell_r10_t; - -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_deltaMCS_Enabled_r10_3; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_pathlossReferenceLinking_r10_10; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_UplinkPowerControlDedicatedSCell_r10; - -#ifdef __cplusplus -} -#endif - -#endif /* _UplinkPowerControlDedicatedSCell_r10_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/VarMeasConfig.h b/lte/rrc/include/liblte/rrc/asn/VarMeasConfig.h deleted file mode 100644 index 07b8aa479..000000000 --- a/lte/rrc/include/liblte/rrc/asn/VarMeasConfig.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-UE-Variables" - * found in "EUTRA-UE-Variables.asn" - */ - -#ifndef _VarMeasConfig_H_ -#define _VarMeasConfig_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/RSRP-Range.h" -#include -#include "liblte/rrc/asn/MobilityStateParameters.h" -#include "liblte/rrc/asn/SpeedStateScaleFactors.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum speedStatePars_PR { - speedStatePars_PR_NOTHING, /* No components present */ - speedStatePars_PR_release, - speedStatePars_PR_setup -} speedStatePars_PR; - -/* Forward declarations */ -struct MeasIdToAddModList; -struct MeasObjectToAddModList; -struct ReportConfigToAddModList; -struct QuantityConfig; - -/* VarMeasConfig */ -typedef struct VarMeasConfig { - struct MeasIdToAddModList *measIdList /* OPTIONAL */; - struct MeasObjectToAddModList *measObjectList /* OPTIONAL */; - struct ReportConfigToAddModList *reportConfigList /* OPTIONAL */; - struct QuantityConfig *quantityConfig /* OPTIONAL */; - RSRP_Range_t *s_Measure /* OPTIONAL */; - struct speedStatePars { - speedStatePars_PR present; - union VarMeasConfig__speedStatePars_u { - NULL_t release; - struct setup { - MobilityStateParameters_t mobilityStateParameters; - SpeedStateScaleFactors_t timeToTrigger_SF; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } setup; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *speedStatePars; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} VarMeasConfig_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_VarMeasConfig; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/MeasIdToAddModList.h" -#include "liblte/rrc/asn/MeasObjectToAddModList.h" -#include "liblte/rrc/asn/ReportConfigToAddModList.h" -#include "liblte/rrc/asn/QuantityConfig.h" - -#endif /* _VarMeasConfig_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/VarMeasReport.h b/lte/rrc/include/liblte/rrc/asn/VarMeasReport.h deleted file mode 100644 index 021e8a544..000000000 --- a/lte/rrc/include/liblte/rrc/asn/VarMeasReport.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-UE-Variables" - * found in "EUTRA-UE-Variables.asn" - */ - -#ifndef _VarMeasReport_H_ -#define _VarMeasReport_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/MeasId.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CellsTriggeredList; - -/* VarMeasReport */ -typedef struct VarMeasReport { - MeasId_t measId; - struct CellsTriggeredList *cellsTriggeredList /* OPTIONAL */; - long numberOfReportsSent; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} VarMeasReport_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_VarMeasReport; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/CellsTriggeredList.h" - -#endif /* _VarMeasReport_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/VarMeasReportList.h b/lte/rrc/include/liblte/rrc/asn/VarMeasReportList.h deleted file mode 100644 index d326e928e..000000000 --- a/lte/rrc/include/liblte/rrc/asn/VarMeasReportList.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-UE-Variables" - * found in "EUTRA-UE-Variables.asn" - */ - -#ifndef _VarMeasReportList_H_ -#define _VarMeasReportList_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct VarMeasReport; - -/* VarMeasReportList */ -typedef struct VarMeasReportList { - A_SEQUENCE_OF(struct VarMeasReport) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} VarMeasReportList_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_VarMeasReportList; - -#ifdef __cplusplus -} -#endif - -/* Referred external types */ -#include "liblte/rrc/asn/VarMeasReport.h" - -#endif /* _VarMeasReportList_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/VarShortMAC-Input.h b/lte/rrc/include/liblte/rrc/asn/VarShortMAC-Input.h deleted file mode 100644 index 21d211447..000000000 --- a/lte/rrc/include/liblte/rrc/asn/VarShortMAC-Input.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-UE-Variables" - * found in "EUTRA-UE-Variables.asn" - */ - -#ifndef _VarShortMAC_Input_H_ -#define _VarShortMAC_Input_H_ - - -#include - -/* Including external dependencies */ -#include "liblte/rrc/asn/CellIdentity.h" -#include "liblte/rrc/asn/PhysCellId.h" -#include "liblte/rrc/asn/C-RNTI.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* VarShortMAC-Input */ -typedef struct VarShortMAC_Input { - CellIdentity_t cellIdentity; - PhysCellId_t physCellId; - C_RNTI_t c_RNTI; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} VarShortMAC_Input_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_VarShortMAC_Input; - -#ifdef __cplusplus -} -#endif - -#endif /* _VarShortMAC_Input_H_ */ -#include diff --git a/lte/rrc/include/liblte/rrc/asn/asn_SEQUENCE_OF.h b/lte/rrc/include/liblte/rrc/asn/asn_SEQUENCE_OF.h deleted file mode 100644 index ed815fe4c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/asn_SEQUENCE_OF.h +++ /dev/null @@ -1,52 +0,0 @@ -/*- - * Copyright (c) 2003, 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef ASN_SEQUENCE_OF_H -#define ASN_SEQUENCE_OF_H - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* - * SEQUENCE OF is the same as SET OF with a tiny difference: - * the delete operation preserves the initial order of elements - * and thus MAY operate in non-constant time. - */ -#define A_SEQUENCE_OF(type) A_SET_OF(type) - -#define ASN_SEQUENCE_ADD(headptr, ptr) \ - asn_sequence_add((headptr), (ptr)) - -/*********************************************** - * Implementation of the SEQUENCE OF structure. - */ - -#define asn_sequence_add asn_set_add -#define asn_sequence_empty asn_set_empty - -/* - * Delete the element from the set by its number (base 0). - * This is NOT a constant-time operation. - * The order of elements is preserved. - * If _do_free is given AND the (*free) is initialized, the element - * will be freed using the custom (*free) function as well. - */ -void asn_sequence_del(void *asn_sequence_of_x, int number, int _do_free); - -/* - * Cope with different conversions requirements to/from void in C and C++. - * This is mostly useful for support library. - */ -typedef A_SEQUENCE_OF(void) asn_anonymous_sequence_; -#define _A_SEQUENCE_FROM_VOID(ptr) ((asn_anonymous_sequence_ *)(ptr)) -#define _A_CSEQUENCE_FROM_VOID(ptr) ((const asn_anonymous_sequence_ *)(ptr)) - -#ifdef __cplusplus -} -#endif - -#endif /* ASN_SEQUENCE_OF_H */ diff --git a/lte/rrc/include/liblte/rrc/asn/asn_SET_OF.h b/lte/rrc/include/liblte/rrc/asn/asn_SET_OF.h deleted file mode 100644 index e79757a2b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/asn_SET_OF.h +++ /dev/null @@ -1,62 +0,0 @@ -/*- - * Copyright (c) 2003, 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef ASN_SET_OF_H -#define ASN_SET_OF_H - -#ifdef __cplusplus -extern "C" { -#endif - -#define A_SET_OF(type) \ - struct { \ - type **array; \ - int count; /* Meaningful size */ \ - int size; /* Allocated size */ \ - void (*free)(type *); \ - } - -#define ASN_SET_ADD(headptr, ptr) \ - asn_set_add((headptr), (ptr)) - -/******************************************* - * Implementation of the SET OF structure. - */ - -/* - * Add another structure into the set by its pointer. - * RETURN VALUES: - * 0 for success and -1/errno for failure. - */ -LIBLTE_API int asn_set_add(void *asn_set_of_x, void *ptr); - -/* - * Delete the element from the set by its number (base 0). - * This is a constant-time operation. The order of elements before the - * deleted ones is guaranteed, the order of elements after the deleted - * one is NOT guaranteed. - * If _do_free is given AND the (*free) is initialized, the element - * will be freed using the custom (*free) function as well. - */ -LIBLTE_API void asn_set_del(void *asn_set_of_x, int number, int _do_free); - -/* - * Empty the contents of the set. Will free the elements, if (*free) is given. - * Will NOT free the set itself. - */ -LIBLTE_API void asn_set_empty(void *asn_set_of_x); - -/* - * Cope with different conversions requirements to/from void in C and C++. - * This is mostly useful for support library. - */ -typedef A_SET_OF(void) asn_anonymous_set_; -#define _A_SET_FROM_VOID(ptr) ((asn_anonymous_set_ *)(ptr)) -#define _A_CSET_FROM_VOID(ptr) ((const asn_anonymous_set_ *)(ptr)) - -#ifdef __cplusplus -} -#endif - -#endif /* ASN_SET_OF_H */ diff --git a/lte/rrc/include/liblte/rrc/asn/asn_application.h b/lte/rrc/include/liblte/rrc/asn/asn_application.h deleted file mode 100644 index 11965c9a5..000000000 --- a/lte/rrc/include/liblte/rrc/asn/asn_application.h +++ /dev/null @@ -1,47 +0,0 @@ -/*- - * Copyright (c) 2004, 2006 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -/* - * Application-level ASN.1 callbacks. - */ -#ifndef _ASN_APPLICATION_H_ -#define _ASN_APPLICATION_H_ - -#include "liblte/rrc/asn/asn_system.h" /* for platform-dependent types */ -#include "liblte/rrc/asn/asn_codecs.h" /* for ASN.1 codecs specifics */ - -#ifdef __cplusplus -extern "C" { -#endif - -/* - * Generic type of an application-defined callback to return various - * types of data to the application. - * EXPECTED RETURN VALUES: - * -1: Failed to consume bytes. Abort the mission. - * Non-negative return values indicate success, and ignored. - */ -typedef int (asn_app_consume_bytes_f)(const void *buffer, size_t size, - void *application_specific_key); - -/* - * A callback of this type is called whenever constraint validation fails - * on some ASN.1 type. See "constraints.h" for more details on constraint - * validation. - * This callback specifies a descriptor of the ASN.1 type which failed - * the constraint check, as well as human readable message on what - * particular constraint has failed. - */ -typedef void (asn_app_constraint_failed_f)(void *application_specific_key, - struct asn_TYPE_descriptor_s *type_descriptor_which_failed, - const void *structure_which_failed_ptr, - const char *error_message_format, ...) GCC_PRINTFLIKE(4, 5); - -#ifdef __cplusplus -} -#endif - -#include "liblte/rrc/asn/constr_TYPE.h" /* for asn_TYPE_descriptor_t */ - -#endif /* _ASN_APPLICATION_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/asn_codecs.h b/lte/rrc/include/liblte/rrc/asn/asn_codecs.h deleted file mode 100644 index 4a251d940..000000000 --- a/lte/rrc/include/liblte/rrc/asn/asn_codecs.h +++ /dev/null @@ -1,109 +0,0 @@ -/*- - * Copyright (c) 2003, 2004, 2005 Lev Walkin . - * All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _ASN_CODECS_H_ -#define _ASN_CODECS_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -struct asn_TYPE_descriptor_s; /* Forward declaration */ - -/* - * This structure defines a set of parameters that may be passed - * to every ASN.1 encoder or decoder function. - * WARNING: if max_stack_size member is set, and you are calling the - * function pointers of the asn_TYPE_descriptor_t directly, - * this structure must be ALLOCATED ON THE STACK! - * If you can't always satisfy this requirement, use ber_decode(), - * xer_decode() and uper_decode() functions instead. - */ -typedef struct asn_codec_ctx_s { - /* - * Limit the decoder routines to use no (much) more stack than a given - * number of bytes. Most of decoders are stack-based, and this - * would protect against stack overflows if the number of nested - * encodings is high. - * The OCTET STRING, BIT STRING and ANY BER decoders are heap-based, - * and are safe from this kind of overflow. - * A value from getrlimit(RLIMIT_STACK) may be used to initialize - * this variable. Be careful in multithreaded environments, as the - * stack size is rather limited. - */ - size_t max_stack_size; /* 0 disables stack bounds checking */ -} asn_codec_ctx_t; - -/* - * Type of the return value of the encoding functions (der_encode, xer_encode). - */ -typedef struct asn_enc_rval_s { - /* - * Number of bytes encoded. - * -1 indicates failure to encode the structure. - * In this case, the members below this one are meaningful. - */ - ssize_t encoded; - - /* - * Members meaningful when (encoded == -1), for post mortem analysis. - */ - - /* Type which cannot be encoded */ - struct asn_TYPE_descriptor_s *failed_type; - - /* Pointer to the structure of that type */ - void *structure_ptr; -} asn_enc_rval_t; -#define _ASN_ENCODE_FAILED do { \ - asn_enc_rval_t tmp_error; \ - tmp_error.encoded = -1; \ - tmp_error.failed_type = td; \ - tmp_error.structure_ptr = sptr; \ - ASN_DEBUG("Failed to encode element %s", td->name); \ - return tmp_error; \ -} while(0) -#define _ASN_ENCODED_OK(rval) do { \ - rval.structure_ptr = 0; \ - rval.failed_type = 0; \ - return rval; \ -} while(0) - -/* - * Type of the return value of the decoding functions (ber_decode, xer_decode) - * - * Please note that the number of consumed bytes is ALWAYS meaningful, - * even if code==RC_FAIL. This is to indicate the number of successfully - * decoded bytes, hence providing a possibility to fail with more diagnostics - * (i.e., print the offending remainder of the buffer). - */ -enum asn_dec_rval_code_e { - RC_OK, /* Decoded successfully */ - RC_WMORE, /* More data expected, call again */ - RC_FAIL /* Failure to decode data */ -}; -typedef struct asn_dec_rval_s { - enum asn_dec_rval_code_e code; /* Result code */ - size_t consumed; /* Number of bytes consumed */ -} asn_dec_rval_t; -#define _ASN_DECODE_FAILED do { \ - asn_dec_rval_t tmp_error; \ - tmp_error.code = RC_FAIL; \ - tmp_error.consumed = 0; \ - ASN_DEBUG("Failed to decode element %s", td->name); \ - return tmp_error; \ -} while(0) -#define _ASN_DECODE_STARVED do { \ - asn_dec_rval_t tmp_error; \ - tmp_error.code = RC_WMORE; \ - tmp_error.consumed = 0; \ - return tmp_error; \ -} while(0) - -#ifdef __cplusplus -} -#endif - -#endif /* _ASN_CODECS_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/asn_codecs_prim.h b/lte/rrc/include/liblte/rrc/asn/asn_codecs_prim.h deleted file mode 100644 index 5fcbc5296..000000000 --- a/lte/rrc/include/liblte/rrc/asn/asn_codecs_prim.h +++ /dev/null @@ -1,53 +0,0 @@ -/*- - * Copyright (c) 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef ASN_CODECS_PRIM_H -#define ASN_CODECS_PRIM_H - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct ASN__PRIMITIVE_TYPE_s { - uint8_t *buf; /* Buffer with consecutive primitive encoding bytes */ - int size; /* Size of the buffer */ -} ASN__PRIMITIVE_TYPE_t; /* Do not use this type directly! */ - -asn_struct_free_f ASN__PRIMITIVE_TYPE_free; -ber_type_decoder_f ber_decode_primitive; -der_type_encoder_f der_encode_primitive; - -/* - * A callback specification for the xer_decode_primitive() function below. - */ -enum xer_pbd_rval { - XPBD_SYSTEM_FAILURE, /* System failure (memory shortage, etc) */ - XPBD_DECODER_LIMIT, /* Hit some decoder limitation or deficiency */ - XPBD_BROKEN_ENCODING, /* Encoding of a primitive body is broken */ - XPBD_NOT_BODY_IGNORE, /* Not a body format, but safe to ignore */ - XPBD_BODY_CONSUMED /* Body is recognized and consumed */ -}; -typedef enum xer_pbd_rval (xer_primitive_body_decoder_f) - (asn_TYPE_descriptor_t *td, void *struct_ptr, - const void *chunk_buf, size_t chunk_size); - -/* - * Specific function to decode simple primitive types. - * Also see xer_decode_general() in xer_decoder.h - */ -asn_dec_rval_t xer_decode_primitive(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *type_descriptor, - void **struct_ptr, size_t struct_size, - const char *opt_mname, - const void *buf_ptr, size_t size, - xer_primitive_body_decoder_f *prim_body_decoder -); - -#ifdef __cplusplus -} -#endif - -#endif /* ASN_CODECS_PRIM_H */ diff --git a/lte/rrc/include/liblte/rrc/asn/asn_internal.h b/lte/rrc/include/liblte/rrc/asn/asn_internal.h deleted file mode 100644 index 9a2fe24c8..000000000 --- a/lte/rrc/include/liblte/rrc/asn/asn_internal.h +++ /dev/null @@ -1,122 +0,0 @@ -/*- - * Copyright (c) 2003, 2004, 2005, 2007 Lev Walkin . - * All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -/* - * Declarations internally useful for the ASN.1 support code. - */ -#ifndef _ASN_INTERNAL_H_ -#define _ASN_INTERNAL_H_ - -#define EMIT_ASN_DEBUG 0 - -#include "liblte/rrc/asn/asn_application.h" /* Application-visible API */ - -#ifndef __NO_ASSERT_H__ /* Include assert.h only for internal use. */ -#include /* for assert() macro */ -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* Environment version might be used to avoid running with the old library */ -#define ASN1C_ENVIRONMENT_VERSION 922 /* Compile-time version */ -int get_asn1c_environment_version(void); /* Run-time version */ - -#define CALLOC(nmemb, size) calloc(nmemb, size) -#define MALLOC(size) malloc(size) -#define REALLOC(oldptr, size) realloc(oldptr, size) -#define FREEMEM(ptr) free(ptr) - - -/* - * A macro for debugging the ASN.1 internals. - * You may enable or override it. - */ -#ifndef ASN_DEBUG /* If debugging code is not defined elsewhere... */ -#if EMIT_ASN_DEBUG == 1 /* And it was asked to emit this code... */ -#ifdef __GNUC__ -#ifdef ASN_THREAD_SAFE -#define asn_debug_indent 0 -#else /* !ASN_THREAD_SAFE */ -extern int asn_debug_indent; -#endif /* ASN_THREAD_SAFE */ -#define ASN_DEBUG(fmt, args...) do { \ - int adi = asn_debug_indent; \ - while(adi--) fprintf(stderr, " "); \ - fprintf(stderr, fmt, ##args); \ - fprintf(stderr, " (%s:%d)\n", \ - __FILE__, __LINE__); \ - } while(0) -#else /* !__GNUC__ */ -void ASN_DEBUG_f(const char *fmt, ...); -#define ASN_DEBUG ASN_DEBUG_f -#endif /* __GNUC__ */ -#else /* EMIT_ASN_DEBUG != 1 */ -static inline void ASN_DEBUG(const char *fmt, ...) { (void)fmt; } -#endif /* EMIT_ASN_DEBUG */ -#endif /* ASN_DEBUG */ - -/* - * Invoke the application-supplied callback and fail, if something is wrong. - */ -#define __ASN_E_cbc(buf, size) (cb((buf), (size), app_key) < 0) -#define _ASN_E_CALLBACK(foo) do { \ - if(foo) goto cb_failed; \ - } while(0) -#define _ASN_CALLBACK(buf, size) \ - _ASN_E_CALLBACK(__ASN_E_cbc(buf, size)) -#define _ASN_CALLBACK2(buf1, size1, buf2, size2) \ - _ASN_E_CALLBACK(__ASN_E_cbc(buf1, size1) || __ASN_E_cbc(buf2, size2)) -#define _ASN_CALLBACK3(buf1, size1, buf2, size2, buf3, size3) \ - _ASN_E_CALLBACK(__ASN_E_cbc(buf1, size1) \ - || __ASN_E_cbc(buf2, size2) \ - || __ASN_E_cbc(buf3, size3)) - -#define _i_ASN_TEXT_INDENT(nl, level) do { \ - int __level = (level); \ - int __nl = ((nl) != 0); \ - int __i; \ - if(__nl) _ASN_CALLBACK("\n", 1); \ - if(__level < 0) __level = 0; \ - for(__i = 0; __i < __level; __i++) \ - _ASN_CALLBACK(" ", 4); \ - er.encoded += __nl + 4 * __level; \ -} while(0) - -#define _i_INDENT(nl) do { \ - int __i; \ - if((nl) && cb("\n", 1, app_key) < 0) return -1; \ - for(__i = 0; __i < ilevel; __i++) \ - if(cb(" ", 4, app_key) < 0) return -1; \ -} while(0) - -/* - * Check stack against overflow, if limit is set. - */ -#define _ASN_DEFAULT_STACK_MAX (30000) -static inline int -_ASN_STACK_OVERFLOW_CHECK(asn_codec_ctx_t *ctx) { - if(ctx && ctx->max_stack_size) { - - /* ctx MUST be allocated on the stack */ - ptrdiff_t usedstack = ((char *)ctx - (char *)&ctx); - if(usedstack > 0) usedstack = -usedstack; /* grows up! */ - - /* double negative required to avoid int wrap-around */ - if(usedstack < -(ptrdiff_t)ctx->max_stack_size) { - ASN_DEBUG("Stack limit %ld reached", - (long)ctx->max_stack_size); - return -1; - } - } - return 0; -} - -#ifdef __cplusplus -} -#endif - -#endif /* _ASN_INTERNAL_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/asn_system.h b/lte/rrc/include/liblte/rrc/asn/asn_system.h deleted file mode 100644 index f257e1790..000000000 --- a/lte/rrc/include/liblte/rrc/asn/asn_system.h +++ /dev/null @@ -1,125 +0,0 @@ -/*- - * Copyright (c) 2003, 2004, 2007 Lev Walkin . - * All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -/* - * Miscellaneous system-dependent types. - */ -#ifndef _ASN_SYSTEM_H_ -#define _ASN_SYSTEM_H_ - - -#include "liblte/config.h" - -#define PDU MasterInformationBlock - -#include // For snprintf(3) -#include // For *alloc(3) -#include // For memcpy(3) -#include // For size_t -#include // For LONG_MAX -#include // For va_start -#include // for offsetof and ptrdiff_t -#include // For errno - -#ifdef WIN32 - -#include -#define snprintf _snprintf -#define vsnprintf _vsnprintf - -/* To avoid linking with ws2_32.lib, here's the definition of ntohl() */ -#define sys_ntohl(l) ((((l) << 24) & 0xff000000) \ - | (((l) << 16) & 0xff0000) \ - | (((l) << 8) & 0xff00) \ - | ((l) & 0xff)) - -#ifdef _MSC_VER /* MSVS.Net */ -#ifndef __cplusplus -#define inline __inline -#endif -#ifndef ASSUMESTDTYPES /* Standard types have been defined elsewhere */ -#define ssize_t SSIZE_T -typedef char int8_t; -typedef short int16_t; -typedef int int32_t; -typedef unsigned char uint8_t; -typedef unsigned short uint16_t; -typedef unsigned int uint32_t; -#endif /* ASSUMESTDTYPES */ -#define WIN32_LEAN_AND_MEAN -#include -#include -#define isnan _isnan -#define finite _finite -#define copysign _copysign -#define ilogb _logb -#else /* !_MSC_VER */ -#include -#endif /* _MSC_VER */ - -#else /* !WIN32 */ - -#if defined(__vxworks) -#include -#else /* !defined(__vxworks) */ - -#include /*C99 specifies this file */ - -/* - * 1. Earlier FreeBSD version didn't have , - * but was present. - * 2. Sun Solaris requires for alloca(3), - * but does not have . - */ -#if (!defined(__FreeBSD__) || !defined(_SYS_INTTYPES_H_)) -#if defined(sun) -#include /* For alloca(3) */ -#include /* for finite(3) */ -#elif defined(__hpux) -#ifdef __GNUC__ -#include /* For alloca(3) */ -#else /* !__GNUC__ */ -#define inline -#endif /* __GNUC__ */ -#else -#include /*SUSv2+ and C99 specify this file, for uintXX_t */ -#endif /* defined(sun) */ -#endif - -/*#include for ntohl() */ -#define sys_ntohl(foo) ntohl(foo) - -#endif /* defined(__vxworks) */ - -#endif /* WIN32 */ - -#if __GNUC__ >= 3 -#ifndef GCC_PRINTFLIKE -#define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var))) -#endif -#ifndef GCC_NOTUSED -#define GCC_NOTUSED __attribute__((unused)) -#endif -#else -#ifndef GCC_PRINTFLIKE -#define GCC_PRINTFLIKE(fmt,var) /* nothing */ -#endif -#ifndef GCC_NOTUSED -#define GCC_NOTUSED -#endif -#endif - -/* Figure out if thread safety is requested */ -#if !defined(ASN_THREAD_SAFE) && (defined(THREAD_SAFE) || defined(_REENTRANT)) -#define ASN_THREAD_SAFE -#endif /* Thread safety */ - -#ifndef offsetof /* If not defined by */ -#define offsetof(s, m) ((ptrdiff_t)&(((s *)0)->m) - (ptrdiff_t)((s *)0)) -#endif /* offsetof */ - -#define MIN(a,b) ((a)<(b)?(a):(b)) /* Unsafe variant */ - -#endif /* _ASN_SYSTEM_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/ber_decoder.h b/lte/rrc/include/liblte/rrc/asn/ber_decoder.h deleted file mode 100644 index c14135c53..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ber_decoder.h +++ /dev/null @@ -1,64 +0,0 @@ -/*- - * Copyright (c) 2003, 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _BER_DECODER_H_ -#define _BER_DECODER_H_ - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -struct asn_TYPE_descriptor_s; /* Forward declaration */ -struct asn_codec_ctx_s; /* Forward declaration */ - -/* - * The BER decoder of any type. - * This function may be invoked directly from the application. - * The der_encode() function (der_encoder.h) is an opposite to ber_decode(). - */ -asn_dec_rval_t ber_decode(struct asn_codec_ctx_s *opt_codec_ctx, - struct asn_TYPE_descriptor_s *type_descriptor, - void **struct_ptr, /* Pointer to a target structure's pointer */ - const void *buffer, /* Data to be decoded */ - size_t size /* Size of that buffer */ - ); - -/* - * Type of generic function which decodes the byte stream into the structure. - */ -typedef asn_dec_rval_t (ber_type_decoder_f)( - struct asn_codec_ctx_s *opt_codec_ctx, - struct asn_TYPE_descriptor_s *type_descriptor, - void **struct_ptr, const void *buf_ptr, size_t size, - int tag_mode); - -/******************************* - * INTERNALLY USEFUL FUNCTIONS * - *******************************/ - -/* - * Check that all tags correspond to the type definition (as given in head). - * On return, last_length would contain either a non-negative length of the - * value part of the last TLV, or the negative number of expected - * "end of content" sequences. The number may only be negative if the - * head->last_tag_form is non-zero. - */ -asn_dec_rval_t ber_check_tags( - struct asn_codec_ctx_s *opt_codec_ctx, /* codec options */ - struct asn_TYPE_descriptor_s *type_descriptor, - asn_struct_ctx_t *opt_ctx, /* saved decoding context */ - const void *ptr, size_t size, - int tag_mode, /* {-1,0,1}: IMPLICIT, no, EXPLICIT */ - int last_tag_form, /* {-1,0:1}: any, primitive, constr */ - ber_tlv_len_t *last_length, - int *opt_tlv_form /* optional tag form */ - ); - -#ifdef __cplusplus -} -#endif - -#endif /* _BER_DECODER_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/ber_tlv_length.h b/lte/rrc/include/liblte/rrc/asn/ber_tlv_length.h deleted file mode 100644 index 349680224..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ber_tlv_length.h +++ /dev/null @@ -1,50 +0,0 @@ -/*- - * Copyright (c) 2003 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _BER_TLV_LENGTH_H_ -#define _BER_TLV_LENGTH_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -typedef ssize_t ber_tlv_len_t; - -/* - * This function tries to fetch the length of the BER TLV value and place it - * in *len_r. - * RETURN VALUES: - * 0: More data expected than bufptr contains. - * -1: Fatal error deciphering length. - * >0: Number of bytes used from bufptr. - * On return with >0, len_r is constrained as -1..MAX, where -1 mean - * that the value is of indefinite length. - */ -ssize_t ber_fetch_length(int _is_constructed, const void *bufptr, size_t size, - ber_tlv_len_t *len_r); - -/* - * This function expects bufptr to be positioned over L in TLV. - * It returns number of bytes occupied by L and V together, suitable - * for skipping. The function properly handles indefinite length. - * RETURN VALUES: - * Standard {-1,0,>0} convention. - */ -ssize_t ber_skip_length( - struct asn_codec_ctx_s *opt_codec_ctx, /* optional context */ - int _is_constructed, const void *bufptr, size_t size); - -/* - * This function serializes the length (L from TLV) in DER format. - * It always returns number of bytes necessary to represent the length, - * it is a caller's responsibility to check the return value - * against the supplied buffer's size. - */ -size_t der_tlv_length_serialize(ber_tlv_len_t len, void *bufptr, size_t size); - -#ifdef __cplusplus -} -#endif - -#endif /* _BER_TLV_LENGTH_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/ber_tlv_tag.h b/lte/rrc/include/liblte/rrc/asn/ber_tlv_tag.h deleted file mode 100644 index 60e866861..000000000 --- a/lte/rrc/include/liblte/rrc/asn/ber_tlv_tag.h +++ /dev/null @@ -1,60 +0,0 @@ -/*- - * Copyright (c) 2003, 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _BER_TLV_TAG_H_ -#define _BER_TLV_TAG_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -enum asn_tag_class { - ASN_TAG_CLASS_UNIVERSAL = 0, /* 0b00 */ - ASN_TAG_CLASS_APPLICATION = 1, /* 0b01 */ - ASN_TAG_CLASS_CONTEXT = 2, /* 0b10 */ - ASN_TAG_CLASS_PRIVATE = 3 /* 0b11 */ -}; -typedef unsigned ber_tlv_tag_t; /* BER TAG from Tag-Length-Value */ - -/* - * Tag class is encoded together with tag value for optimization purposes. - */ -#define BER_TAG_CLASS(tag) ((tag) & 0x3) -#define BER_TAG_VALUE(tag) ((tag) >> 2) -#define BER_TLV_CONSTRUCTED(tagptr) (((*(const uint8_t *)tagptr)&0x20)?1:0) - -#define BER_TAGS_EQUAL(tag1, tag2) ((tag1) == (tag2)) - -/* - * Several functions for printing the TAG in the canonical form - * (i.e. "[PRIVATE 0]"). - * Return values correspond to their libc counterparts (if any). - */ -ssize_t ber_tlv_tag_snprint(ber_tlv_tag_t tag, char *buf, size_t buflen); -ssize_t ber_tlv_tag_fwrite(ber_tlv_tag_t tag, FILE *); -char *ber_tlv_tag_string(ber_tlv_tag_t tag); - - -/* - * This function tries to fetch the tag from the input stream. - * RETURN VALUES: - * 0: More data expected than bufptr contains. - * -1: Fatal error deciphering tag. - * >0: Number of bytes used from bufptr. tag_r will contain the tag. - */ -ssize_t ber_fetch_tag(const void *bufptr, size_t size, ber_tlv_tag_t *tag_r); - -/* - * This function serializes the tag (T from TLV) in BER format. - * It always returns number of bytes necessary to represent the tag, - * it is a caller's responsibility to check the return value - * against the supplied buffer's size. - */ -size_t ber_tlv_tag_serialize(ber_tlv_tag_t tag, void *bufptr, size_t size); - -#ifdef __cplusplus -} -#endif - -#endif /* _BER_TLV_TAG_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/constr_CHOICE.h b/lte/rrc/include/liblte/rrc/asn/constr_CHOICE.h deleted file mode 100644 index 1a8f5c1ba..000000000 --- a/lte/rrc/include/liblte/rrc/asn/constr_CHOICE.h +++ /dev/null @@ -1,57 +0,0 @@ -/*- - * Copyright (c) 2003, 2004, 2005 Lev Walkin . - * All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _CONSTR_CHOICE_H_ -#define _CONSTR_CHOICE_H_ - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct asn_CHOICE_specifics_s { - /* - * Target structure description. - */ - int struct_size; /* Size of the target structure. */ - int ctx_offset; /* Offset of the asn_codec_ctx_t member */ - int pres_offset; /* Identifier of the present member */ - int pres_size; /* Size of the identifier (enum) */ - - /* - * Tags to members mapping table. - */ - asn_TYPE_tag2member_t *tag2el; - int tag2el_count; - - /* Canonical ordering of CHOICE elements, for PER */ - int *canonical_order; - - /* - * Extensions-related stuff. - */ - int ext_start; /* First member of extensions, or -1 */ -} asn_CHOICE_specifics_t; - -/* - * A set specialized functions dealing with the CHOICE type. - */ -asn_struct_free_f CHOICE_free; -asn_struct_print_f CHOICE_print; -asn_constr_check_f CHOICE_constraint; -ber_type_decoder_f CHOICE_decode_ber; -der_type_encoder_f CHOICE_encode_der; -xer_type_decoder_f CHOICE_decode_xer; -xer_type_encoder_f CHOICE_encode_xer; -per_type_decoder_f CHOICE_decode_uper; -per_type_encoder_f CHOICE_encode_uper; -asn_outmost_tag_f CHOICE_outmost_tag; - -#ifdef __cplusplus -} -#endif - -#endif /* _CONSTR_CHOICE_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/constr_SEQUENCE.h b/lte/rrc/include/liblte/rrc/asn/constr_SEQUENCE.h deleted file mode 100644 index 1c90060c0..000000000 --- a/lte/rrc/include/liblte/rrc/asn/constr_SEQUENCE.h +++ /dev/null @@ -1,60 +0,0 @@ -/*- - * Copyright (c) 2003, 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _CONSTR_SEQUENCE_H_ -#define _CONSTR_SEQUENCE_H_ - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct asn_SEQUENCE_specifics_s { - /* - * Target structure description. - */ - int struct_size; /* Size of the target structure. */ - int ctx_offset; /* Offset of the asn_struct_ctx_t member */ - - /* - * Tags to members mapping table (sorted). - */ - asn_TYPE_tag2member_t *tag2el; - int tag2el_count; - - /* - * Optional members of the extensions root (roms) or additions (aoms). - * Meaningful for PER. - */ - int *oms; /* Optional MemberS */ - int roms_count; /* Root optional members count */ - int aoms_count; /* Additions optional members count */ - - /* - * Description of an extensions group. - */ - int ext_after; /* Extensions start after this member */ - int ext_before; /* Extensions stop before this member */ -} asn_SEQUENCE_specifics_t; - - -/* - * A set specialized functions dealing with the SEQUENCE type. - */ -asn_struct_free_f SEQUENCE_free; -asn_struct_print_f SEQUENCE_print; -asn_constr_check_f SEQUENCE_constraint; -ber_type_decoder_f SEQUENCE_decode_ber; -der_type_encoder_f SEQUENCE_encode_der; -xer_type_decoder_f SEQUENCE_decode_xer; -xer_type_encoder_f SEQUENCE_encode_xer; -per_type_decoder_f SEQUENCE_decode_uper; -per_type_encoder_f SEQUENCE_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _CONSTR_SEQUENCE_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/constr_SEQUENCE_OF.h b/lte/rrc/include/liblte/rrc/asn/constr_SEQUENCE_OF.h deleted file mode 100644 index 5672a5e21..000000000 --- a/lte/rrc/include/liblte/rrc/asn/constr_SEQUENCE_OF.h +++ /dev/null @@ -1,33 +0,0 @@ -/*- - * Copyright (c) 2003, 2005 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _CONSTR_SEQUENCE_OF_H_ -#define _CONSTR_SEQUENCE_OF_H_ - -#include -#include /* Implemented using SET OF */ - -#ifdef __cplusplus -extern "C" { -#endif - -/* - * A set specialized functions dealing with the SEQUENCE OF type. - * Generally implemented using SET OF. - */ -#define SEQUENCE_OF_free SET_OF_free -#define SEQUENCE_OF_print SET_OF_print -#define SEQUENCE_OF_constraint SET_OF_constraint -#define SEQUENCE_OF_decode_ber SET_OF_decode_ber -#define SEQUENCE_OF_decode_xer SET_OF_decode_xer -#define SEQUENCE_OF_decode_uper SET_OF_decode_uper -der_type_encoder_f SEQUENCE_OF_encode_der; -xer_type_encoder_f SEQUENCE_OF_encode_xer; -per_type_encoder_f SEQUENCE_OF_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _CONSTR_SET_OF_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/constr_SET_OF.h b/lte/rrc/include/liblte/rrc/asn/constr_SET_OF.h deleted file mode 100644 index 83e49d266..000000000 --- a/lte/rrc/include/liblte/rrc/asn/constr_SET_OF.h +++ /dev/null @@ -1,42 +0,0 @@ -/*- - * Copyright (c) 2003 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _CONSTR_SET_OF_H_ -#define _CONSTR_SET_OF_H_ - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct asn_SET_OF_specifics_s { - /* - * Target structure description. - */ - int struct_size; /* Size of the target structure. */ - int ctx_offset; /* Offset of the asn_struct_ctx_t member */ - - /* XER-specific stuff */ - int as_XMLValueList; /* The member type must be encoded like this */ -} asn_SET_OF_specifics_t; - -/* - * A set specialized functions dealing with the SET OF type. - */ -asn_struct_free_f SET_OF_free; -asn_struct_print_f SET_OF_print; -asn_constr_check_f SET_OF_constraint; -ber_type_decoder_f SET_OF_decode_ber; -der_type_encoder_f SET_OF_encode_der; -xer_type_decoder_f SET_OF_decode_xer; -xer_type_encoder_f SET_OF_encode_xer; -per_type_decoder_f SET_OF_decode_uper; -per_type_encoder_f SET_OF_encode_uper; - -#ifdef __cplusplus -} -#endif - -#endif /* _CONSTR_SET_OF_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/constr_TYPE.h b/lte/rrc/include/liblte/rrc/asn/constr_TYPE.h deleted file mode 100644 index e0a3c2ebf..000000000 --- a/lte/rrc/include/liblte/rrc/asn/constr_TYPE.h +++ /dev/null @@ -1,180 +0,0 @@ -/*- - * Copyright (c) 2003, 2004, 2005, 2006 Lev Walkin . - * All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -/* - * This file contains the declaration structure called "ASN.1 Type Definition", - * which holds all information necessary for encoding and decoding routines. - * This structure even contains pointer to these encoding and decoding routines - * for each defined ASN.1 type. - */ -#ifndef _CONSTR_TYPE_H_ -#define _CONSTR_TYPE_H_ - -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -struct asn_TYPE_descriptor_s; /* Forward declaration */ -struct asn_TYPE_member_s; /* Forward declaration */ - -/* - * This type provides the context information for various ASN.1 routines, - * primarily ones doing decoding. A member _asn_ctx of this type must be - * included into certain target language's structures, such as compound types. - */ -typedef struct asn_struct_ctx_s { - short phase; /* Decoding phase */ - short step; /* Elementary step of a phase */ - int context; /* Other context information */ - void *ptr; /* Decoder-specific stuff (stack elements) */ - ber_tlv_len_t left; /* Number of bytes left, -1 for indefinite */ -} asn_struct_ctx_t; - -#include /* Basic Encoding Rules decoder */ -#include /* Distinguished Encoding Rules encoder */ -#include /* Decoder of XER (XML, text) */ -#include /* Encoder into XER (XML, text) */ -#include /* Packet Encoding Rules decoder */ -#include /* Packet Encoding Rules encoder */ -#include /* Subtype constraints support */ - -/* - * Free the structure according to its specification. - * If (free_contents_only) is set, the wrapper structure itself (struct_ptr) - * will not be freed. (It may be useful in case the structure is allocated - * statically or arranged on the stack, yet its elements are allocated - * dynamically.) - */ -typedef void (asn_struct_free_f)( - struct asn_TYPE_descriptor_s *type_descriptor, - void *struct_ptr, int free_contents_only); -#define ASN_STRUCT_FREE(asn_DEF, ptr) (asn_DEF).free_struct(&(asn_DEF),ptr,0) -#define ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF, ptr) \ - (asn_DEF).free_struct(&(asn_DEF),ptr,1) - -/* - * Print the structure according to its specification. - */ -typedef int (asn_struct_print_f)( - struct asn_TYPE_descriptor_s *type_descriptor, - const void *struct_ptr, - int level, /* Indentation level */ - asn_app_consume_bytes_f *callback, void *app_key); - -/* - * Return the outmost tag of the type. - * If the type is untagged CHOICE, the dynamic operation is performed. - * NOTE: This function pointer type is only useful internally. - * Do not use it in your application. - */ -typedef ber_tlv_tag_t (asn_outmost_tag_f)( - struct asn_TYPE_descriptor_s *type_descriptor, - const void *struct_ptr, int tag_mode, ber_tlv_tag_t tag); -/* The instance of the above function type; used internally. */ -asn_outmost_tag_f asn_TYPE_outmost_tag; - - -/* - * The definitive description of the destination language's structure. - */ -typedef struct asn_TYPE_descriptor_s { - char *name; /* A name of the ASN.1 type. "" in some cases. */ - char *xml_tag; /* Name used in XML tag */ - - /* - * Generalized functions for dealing with the specific type. - * May be directly invoked by applications. - */ - asn_struct_free_f *free_struct; /* Free the structure */ - asn_struct_print_f *print_struct; /* Human readable output */ - asn_constr_check_f *check_constraints; /* Constraints validator */ - ber_type_decoder_f *ber_decoder; /* Generic BER decoder */ - der_type_encoder_f *der_encoder; /* Canonical DER encoder */ - xer_type_decoder_f *xer_decoder; /* Generic XER decoder */ - xer_type_encoder_f *xer_encoder; /* [Canonical] XER encoder */ - per_type_decoder_f *uper_decoder; /* Unaligned PER decoder */ - per_type_encoder_f *uper_encoder; /* Unaligned PER encoder */ - - /*********************************************************************** - * Internally useful members. Not to be used by applications directly. * - **********************************************************************/ - - /* - * Tags that are expected to occur. - */ - asn_outmost_tag_f *outmost_tag; /* */ - ber_tlv_tag_t *tags; /* Effective tags sequence for this type */ - int tags_count; /* Number of tags which are expected */ - ber_tlv_tag_t *all_tags;/* Every tag for BER/containment */ - int all_tags_count; /* Number of tags */ - - asn_per_constraints_t *per_constraints; /* PER compiled constraints */ - - /* - * An ASN.1 production type members (members of SEQUENCE, SET, CHOICE). - */ - struct asn_TYPE_member_s *elements; - int elements_count; - - /* - * Additional information describing the type, used by appropriate - * functions above. - */ - void *specifics; -} asn_TYPE_descriptor_t; - -/* - * This type describes an element of the constructed type, - * i.e. SEQUENCE, SET, CHOICE, etc. - */ - enum asn_TYPE_flags_e { - ATF_NOFLAGS, - ATF_POINTER = 0x01, /* Represented by the pointer */ - ATF_OPEN_TYPE = 0x02 /* ANY type, without meaningful tag */ - }; -typedef struct asn_TYPE_member_s { - enum asn_TYPE_flags_e flags; /* Element's presentation flags */ - int optional; /* Following optional members, including current */ - int memb_offset; /* Offset of the element */ - ber_tlv_tag_t tag; /* Outmost (most immediate) tag */ - int tag_mode; /* IMPLICIT/no/EXPLICIT tag at current level */ - asn_TYPE_descriptor_t *type; /* Member type descriptor */ - asn_constr_check_f *memb_constraints; /* Constraints validator */ - asn_per_constraints_t *per_constraints; /* PER compiled constraints */ - int (*default_value)(int setval, void **sptr); /* DEFAULT */ - char *name; /* ASN.1 identifier of the element */ -} asn_TYPE_member_t; - -/* - * BER tag to element number mapping. - */ -typedef struct asn_TYPE_tag2member_s { - ber_tlv_tag_t el_tag; /* Outmost tag of the member */ - int el_no; /* Index of the associated member, base 0 */ - int toff_first; /* First occurence of the el_tag, relative */ - int toff_last; /* Last occurence of the el_tag, relatvie */ -} asn_TYPE_tag2member_t; - -/* - * This function is a wrapper around (td)->print_struct, which prints out - * the contents of the target language's structure (struct_ptr) into the - * file pointer (stream) in human readable form. - * RETURN VALUES: - * 0: The structure is printed. - * -1: Problem dumping the structure. - * (See also xer_fprint() in xer_encoder.h) - */ -LIBLTE_API int asn_fprint(FILE *stream, /* Destination stream descriptor */ - asn_TYPE_descriptor_t *td, /* ASN.1 type descriptor */ - const void *struct_ptr); /* Structure to be printed */ - -#ifdef __cplusplus -} -#endif - -#endif /* _CONSTR_TYPE_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/constraints.h b/lte/rrc/include/liblte/rrc/asn/constraints.h deleted file mode 100644 index e921450f3..000000000 --- a/lte/rrc/include/liblte/rrc/asn/constraints.h +++ /dev/null @@ -1,63 +0,0 @@ -/*- - * Copyright (c) 2004, 2006 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _ASN1_CONSTRAINTS_VALIDATOR_H_ -#define _ASN1_CONSTRAINTS_VALIDATOR_H_ - -#include /* Platform-dependent types */ - -#ifdef __cplusplus -extern "C" { -#endif - -struct asn_TYPE_descriptor_s; /* Forward declaration */ - -/* - * Validate the structure according to the ASN.1 constraints. - * If errbuf and errlen are given, they shall be pointing to the appropriate - * buffer space and its length before calling this function. Alternatively, - * they could be passed as NULL's. If constraints validation fails, - * errlen will contain the actual number of bytes taken from the errbuf - * to encode an error message (properly 0-terminated). - * - * RETURN VALUES: - * This function returns 0 in case all ASN.1 constraints are met - * and -1 if one or more constraints were failed. - */ -int -asn_check_constraints(struct asn_TYPE_descriptor_s *type_descriptor, - const void *struct_ptr, /* Target language's structure */ - char *errbuf, /* Returned error description */ - size_t *errlen /* Length of the error description */ - ); - - -/* - * Generic type for constraint checking callback, - * associated with every type descriptor. - */ -typedef int (asn_constr_check_f)( - struct asn_TYPE_descriptor_s *type_descriptor, - const void *struct_ptr, - asn_app_constraint_failed_f *optional_callback, /* Log the error */ - void *optional_app_key /* Opaque key passed to a callback */ - ); - -/******************************* - * INTERNALLY USEFUL FUNCTIONS * - *******************************/ - -asn_constr_check_f asn_generic_no_constraint; /* No constraint whatsoever */ -asn_constr_check_f asn_generic_unknown_constraint; /* Not fully supported */ - -/* - * Invoke the callback with a complete error message. - */ -#define _ASN_CTFAIL if(ctfailcb) ctfailcb - -#ifdef __cplusplus -} -#endif - -#endif /* _ASN1_CONSTRAINTS_VALIDATOR_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/der_encoder.h b/lte/rrc/include/liblte/rrc/asn/der_encoder.h deleted file mode 100644 index 554ed064a..000000000 --- a/lte/rrc/include/liblte/rrc/asn/der_encoder.h +++ /dev/null @@ -1,68 +0,0 @@ -/*- - * Copyright (c) 2003, 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _DER_ENCODER_H_ -#define _DER_ENCODER_H_ - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -struct asn_TYPE_descriptor_s; /* Forward declaration */ - -/* - * The DER encoder of any type. May be invoked by the application. - * The ber_decode() function (ber_decoder.h) is an opposite of der_encode(). - */ -asn_enc_rval_t der_encode(struct asn_TYPE_descriptor_s *type_descriptor, - void *struct_ptr, /* Structure to be encoded */ - asn_app_consume_bytes_f *consume_bytes_cb, - void *app_key /* Arbitrary callback argument */ - ); - -/* A variant of der_encode() which encodes data into the pre-allocated buffer */ -asn_enc_rval_t der_encode_to_buffer( - struct asn_TYPE_descriptor_s *type_descriptor, - void *struct_ptr, /* Structure to be encoded */ - void *buffer, /* Pre-allocated buffer */ - size_t buffer_size /* Initial buffer size (maximum) */ - ); - -/* - * Type of the generic DER encoder. - */ -typedef asn_enc_rval_t (der_type_encoder_f)( - struct asn_TYPE_descriptor_s *type_descriptor, - void *struct_ptr, /* Structure to be encoded */ - int tag_mode, /* {-1,0,1}: IMPLICIT, no, EXPLICIT */ - ber_tlv_tag_t tag, - asn_app_consume_bytes_f *consume_bytes_cb, /* Callback */ - void *app_key /* Arbitrary callback argument */ - ); - - -/******************************* - * INTERNALLY USEFUL FUNCTIONS * - *******************************/ - -/* - * Write out leading TL[v] sequence according to the type definition. - */ -ssize_t der_write_tags( - struct asn_TYPE_descriptor_s *type_descriptor, - size_t struct_length, - int tag_mode, /* {-1,0,1}: IMPLICIT, no, EXPLICIT */ - int last_tag_form, /* {0,!0}: prim, constructed */ - ber_tlv_tag_t tag, - asn_app_consume_bytes_f *consume_bytes_cb, - void *app_key - ); - -#ifdef __cplusplus -} -#endif - -#endif /* _DER_ENCODER_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/per_decoder.h b/lte/rrc/include/liblte/rrc/asn/per_decoder.h deleted file mode 100644 index 935f7634b..000000000 --- a/lte/rrc/include/liblte/rrc/asn/per_decoder.h +++ /dev/null @@ -1,56 +0,0 @@ -/*- - * Copyright (c) 2005, 2007 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _PER_DECODER_H_ -#define _PER_DECODER_H_ - -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -struct asn_TYPE_descriptor_s; /* Forward declaration */ - -/* - * Unaligned PER decoder of a "complete encoding" as per X.691#10.1. - * On success, this call always returns (.consumed >= 1), as per X.691#10.1.3. - */ -asn_dec_rval_t uper_decode_complete(struct asn_codec_ctx_s *opt_codec_ctx, - struct asn_TYPE_descriptor_s *type_descriptor, /* Type to decode */ - void **struct_ptr, /* Pointer to a target structure's pointer */ - const void *buffer, /* Data to be decoded */ - size_t size /* Size of data buffer */ - ); - -/* - * Unaligned PER decoder of any ASN.1 type. May be invoked by the application. - * WARNING: This call returns the number of BITS read from the stream. Beware. - */ -LIBLTE_API asn_dec_rval_t uper_decode(struct asn_codec_ctx_s *opt_codec_ctx, - struct asn_TYPE_descriptor_s *type_descriptor, /* Type to decode */ - void **struct_ptr, /* Pointer to a target structure's pointer */ - const void *buffer, /* Data to be decoded */ - size_t size, /* Size of data buffer */ - int skip_bits, /* Number of unused leading bits, 0..7 */ - int unused_bits /* Number of unused tailing bits, 0..7 */ - ); - - -/* - * Type of the type-specific PER decoder function. - */ -typedef asn_dec_rval_t (per_type_decoder_f)(asn_codec_ctx_t *opt_codec_ctx, - struct asn_TYPE_descriptor_s *type_descriptor, - asn_per_constraints_t *constraints, - void **struct_ptr, - asn_per_data_t *per_data - ); - -#ifdef __cplusplus -} -#endif - -#endif /* _PER_DECODER_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/per_encoder.h b/lte/rrc/include/liblte/rrc/asn/per_encoder.h deleted file mode 100644 index ee044e902..000000000 --- a/lte/rrc/include/liblte/rrc/asn/per_encoder.h +++ /dev/null @@ -1,69 +0,0 @@ -/*- - * Copyright (c) 2006, 2007 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _PER_ENCODER_H_ -#define _PER_ENCODER_H_ - -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -struct asn_TYPE_descriptor_s; /* Forward declaration */ - -/* - * Unaligned PER encoder of any ASN.1 type. May be invoked by the application. - * WARNING: This function returns the number of encoded bits in the .encoded - * field of the return value. Use the following formula to convert to bytes: - * bytes = ((.encoded + 7) / 8) - */ -LIBLTE_API asn_enc_rval_t uper_encode(struct asn_TYPE_descriptor_s *type_descriptor, - void *struct_ptr, /* Structure to be encoded */ - asn_app_consume_bytes_f *consume_bytes_cb, /* Data collector */ - void *app_key /* Arbitrary callback argument */ -); - -/* - * A variant of uper_encode() which encodes data into the existing buffer - * WARNING: This function returns the number of encoded bits in the .encoded - * field of the return value. - */ -LIBLTE_API asn_enc_rval_t uper_encode_to_buffer( - struct asn_TYPE_descriptor_s *type_descriptor, - void *struct_ptr, /* Structure to be encoded */ - void *buffer, /* Pre-allocated buffer */ - size_t buffer_size /* Initial buffer size (max) */ -); - -/* - * A variant of uper_encode_to_buffer() which allocates buffer itself. - * Returns the number of bytes in the buffer or -1 in case of failure. - * WARNING: This function produces a "Production of the complete encoding", - * with length of at least one octet. Contrast this to precise bit-packing - * encoding of uper_encode() and uper_encode_to_buffer(). - */ -ssize_t uper_encode_to_new_buffer( - struct asn_TYPE_descriptor_s *type_descriptor, - asn_per_constraints_t *constraints, - void *struct_ptr, /* Structure to be encoded */ - void **buffer_r /* Buffer allocated and returned */ -); - -/* - * Type of the generic PER encoder function. - */ -typedef asn_enc_rval_t (per_type_encoder_f)( - struct asn_TYPE_descriptor_s *type_descriptor, - asn_per_constraints_t *constraints, - void *struct_ptr, - asn_per_outp_t *per_output -); - -#ifdef __cplusplus -} -#endif - -#endif /* _PER_ENCODER_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/per_opentype.h b/lte/rrc/include/liblte/rrc/asn/per_opentype.h deleted file mode 100644 index facfaa637..000000000 --- a/lte/rrc/include/liblte/rrc/asn/per_opentype.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2007 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _PER_OPENTYPE_H_ -#define _PER_OPENTYPE_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -asn_dec_rval_t uper_open_type_get(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd); - -int uper_open_type_skip(asn_codec_ctx_t *opt_codec_ctx, asn_per_data_t *pd); - -int uper_open_type_put(asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void *sptr, asn_per_outp_t *po); - -#ifdef __cplusplus -} -#endif - -#endif /* _PER_OPENTYPE_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/per_support.h b/lte/rrc/include/liblte/rrc/asn/per_support.h deleted file mode 100644 index 2ad4594a9..000000000 --- a/lte/rrc/include/liblte/rrc/asn/per_support.h +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright (c) 2005, 2006, 2007 Lev Walkin . - * All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _PER_SUPPORT_H_ -#define _PER_SUPPORT_H_ - -#include /* Platform-specific types */ - -#ifdef __cplusplus -extern "C" { -#endif - -/* - * Pre-computed PER constraints. - */ -typedef struct asn_per_constraint_s { - enum asn_per_constraint_flags { - APC_UNCONSTRAINED = 0x0, /* No PER visible constraints */ - APC_SEMI_CONSTRAINED = 0x1, /* Constrained at "lb" */ - APC_CONSTRAINED = 0x2, /* Fully constrained */ - APC_EXTENSIBLE = 0x4 /* May have extension */ - } flags; - int range_bits; /* Full number of bits in the range */ - int effective_bits; /* Effective bits */ - long lower_bound; /* "lb" value */ - long upper_bound; /* "ub" value */ -} asn_per_constraint_t; -typedef struct asn_per_constraints_s { - asn_per_constraint_t value; - asn_per_constraint_t size; - int (*value2code)(unsigned int value); - int (*code2value)(unsigned int code); -} asn_per_constraints_t; - -/* - * This structure describes a position inside an incoming PER bit stream. - */ -typedef struct asn_per_data_s { - const uint8_t *buffer; /* Pointer to the octet stream */ - size_t nboff; /* Bit offset to the meaningful bit */ - size_t nbits; /* Number of bits in the stream */ - size_t moved; /* Number of bits moved through this bit stream */ - int (*refill)(struct asn_per_data_s *); - void *refill_key; -} asn_per_data_t; - -/* - * Extract a small number of bits (<= 31) from the specified PER data pointer. - * This function returns -1 if the specified number of bits could not be - * extracted due to EOD or other conditions. - */ -int32_t per_get_few_bits(asn_per_data_t *per_data, int get_nbits); - -/* Undo the immediately preceeding "get_few_bits" operation */ -void per_get_undo(asn_per_data_t *per_data, int get_nbits); - -/* - * Extract a large number of bits from the specified PER data pointer. - * This function returns -1 if the specified number of bits could not be - * extracted due to EOD or other conditions. - */ -int per_get_many_bits(asn_per_data_t *pd, uint8_t *dst, int right_align, - int get_nbits); - -/* - * Get the length "n" from the Unaligned PER stream. - */ -ssize_t uper_get_length(asn_per_data_t *pd, - int effective_bound_bits, - int *repeat); - -/* - * Get the normally small length "n". - */ -ssize_t uper_get_nslength(asn_per_data_t *pd); - -/* - * Get the normally small non-negative whole number. - */ -ssize_t uper_get_nsnnwn(asn_per_data_t *pd); - -/* Non-thread-safe debugging function, don't use it */ -char *per_data_string(asn_per_data_t *pd); - -/* - * This structure supports forming PER output. - */ -typedef struct asn_per_outp_s { - uint8_t *buffer; /* Pointer into the (tmpspace) */ - size_t nboff; /* Bit offset to the meaningful bit */ - size_t nbits; /* Number of bits left in (tmpspace) */ - uint8_t tmpspace[32]; /* Preliminary storage to hold data */ - int (*outper)(const void *data, size_t size, void *op_key); - void *op_key; /* Key for (outper) data callback */ - size_t flushed_bytes; /* Bytes already flushed through (outper) */ -} asn_per_outp_t; - -/* Output a small number of bits (<= 31) */ -int per_put_few_bits(asn_per_outp_t *per_data, uint32_t bits, int obits); - -/* Output a large number of bits */ -int per_put_many_bits(asn_per_outp_t *po, const uint8_t *src, int put_nbits); - -/* - * Put the length "n" to the Unaligned PER stream. - * This function returns the number of units which may be flushed - * in the next units saving iteration. - */ -ssize_t uper_put_length(asn_per_outp_t *po, size_t whole_length); - -/* - * Put the normally small length "n" to the Unaligned PER stream. - * Returns 0 or -1. - */ -int uper_put_nslength(asn_per_outp_t *po, size_t length); - -/* - * Put the normally small non-negative whole number. - */ -int uper_put_nsnnwn(asn_per_outp_t *po, int n); - -#ifdef __cplusplus -} -#endif - -#endif /* _PER_SUPPORT_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/rrc_asn.h b/lte/rrc/include/liblte/rrc/asn/rrc_asn.h deleted file mode 100644 index 4dab8b98c..000000000 --- a/lte/rrc/include/liblte/rrc/asn/rrc_asn.h +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * \section COPYRIGHT - * - * Copyright 2013-2014 The libLTE Developers. See the - * COPYRIGHT file at the top-level directory of this distribution. - * - * \section LICENSE - * - * This file is part of the libLTE library. - * - * libLTE is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * libLTE is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * A copy of the GNU Lesser General Public License can be found in - * the LICENSE file in the top-level directory of this distribution - * and at http://www.gnu.org/licenses/. - * - */ - -#include "liblte/rrc/asn/BCCH-BCH-Message.h" -#include "liblte/rrc/asn/BCCH-DL-SCH-Message.h" -#include "liblte/rrc/asn/MasterInformationBlock.h" -#include "liblte/rrc/asn/SystemInformationBlockType1.h" -#include "liblte/rrc/asn/per_encoder.h" -#include "liblte/rrc/asn/xer_encoder.h" diff --git a/lte/rrc/include/liblte/rrc/asn/xer_decoder.h b/lte/rrc/include/liblte/rrc/asn/xer_decoder.h deleted file mode 100644 index 4a977eefe..000000000 --- a/lte/rrc/include/liblte/rrc/asn/xer_decoder.h +++ /dev/null @@ -1,106 +0,0 @@ -/*- - * Copyright (c) 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _XER_DECODER_H_ -#define _XER_DECODER_H_ - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -struct asn_TYPE_descriptor_s; /* Forward declaration */ - -/* - * The XER decoder of any ASN.1 type. May be invoked by the application. - */ -asn_dec_rval_t xer_decode(struct asn_codec_ctx_s *opt_codec_ctx, - struct asn_TYPE_descriptor_s *type_descriptor, - void **struct_ptr, /* Pointer to a target structure's pointer */ - const void *buffer, /* Data to be decoded */ - size_t size /* Size of data buffer */ - ); - -/* - * Type of the type-specific XER decoder function. - */ -typedef asn_dec_rval_t (xer_type_decoder_f)(asn_codec_ctx_t *opt_codec_ctx, - struct asn_TYPE_descriptor_s *type_descriptor, - void **struct_ptr, - const char *opt_mname, /* Member name */ - const void *buf_ptr, size_t size - ); - -/******************************* - * INTERNALLY USEFUL FUNCTIONS * - *******************************/ - -/* - * Generalized function for decoding the primitive values. - * Used by more specialized functions, such as OCTET_STRING_decode_xer_utf8 - * and others. This function should not be used by applications, as its API - * is subject to changes. - */ -asn_dec_rval_t xer_decode_general(asn_codec_ctx_t *opt_codec_ctx, - asn_struct_ctx_t *ctx, /* Type decoder context */ - void *struct_key, /* Treated as opaque pointer */ - const char *xml_tag, /* Expected XML tag name */ - const void *buf_ptr, size_t size, - int (*opt_unexpected_tag_decoder) - (void *struct_key, const void *chunk_buf, size_t chunk_size), - ssize_t (*body_receiver) - (void *struct_key, const void *chunk_buf, size_t chunk_size, - int have_more) - ); - - -/* - * Fetch the next XER (XML) token from the stream. - * The function returns the number of bytes occupied by the chunk type, - * returned in the _ch_type. The _ch_type is only set (and valid) when - * the return value is greater than 0. - */ - typedef enum pxer_chunk_type { - PXER_TAG, /* Complete XER tag */ - PXER_TEXT, /* Plain text between XER tags */ - PXER_COMMENT /* A comment, may be part of */ - } pxer_chunk_type_e; -ssize_t xer_next_token(int *stateContext, - const void *buffer, size_t size, pxer_chunk_type_e *_ch_type); - -/* - * This function checks the buffer against the tag name is expected to occur. - */ - typedef enum xer_check_tag { - XCT_BROKEN = 0, /* The tag is broken */ - XCT_OPENING = 1, /* This is the tag */ - XCT_CLOSING = 2, /* This is the tag */ - XCT_BOTH = 3, /* This is the tag */ - XCT__UNK__MASK = 4, /* Mask of everything unexpected */ - XCT_UNKNOWN_OP = 5, /* Unexpected tag */ - XCT_UNKNOWN_CL = 6, /* Unexpected tag */ - XCT_UNKNOWN_BO = 7 /* Unexpected tag */ - } xer_check_tag_e; -xer_check_tag_e xer_check_tag(const void *buf_ptr, int size, - const char *need_tag); - -/* - * Check whether this buffer consists of entirely XER whitespace characters. - * RETURN VALUES: - * 1: Whitespace or empty string - * 0: Non-whitespace - */ -int xer_is_whitespace(const void *chunk_buf, size_t chunk_size); - -/* - * Skip the series of anticipated extensions. - */ -int xer_skip_unknown(xer_check_tag_e tcv, ber_tlv_len_t *depth); - -#ifdef __cplusplus -} -#endif - -#endif /* _XER_DECODER_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/xer_encoder.h b/lte/rrc/include/liblte/rrc/asn/xer_encoder.h deleted file mode 100644 index a5c29fc25..000000000 --- a/lte/rrc/include/liblte/rrc/asn/xer_encoder.h +++ /dev/null @@ -1,59 +0,0 @@ -/*- - * Copyright (c) 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _XER_ENCODER_H_ -#define _XER_ENCODER_H_ - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -struct asn_TYPE_descriptor_s; /* Forward declaration */ - -/* Flags used by the xer_encode() and (*xer_type_encoder_f), defined below */ -enum xer_encoder_flags_e { - /* Mode of encoding */ - XER_F_BASIC = 0x01, /* BASIC-XER (pretty-printing) */ - XER_F_CANONICAL = 0x02 /* Canonical XER (strict rules) */ -}; - -/* - * The XER encoder of any type. May be invoked by the application. - */ -asn_enc_rval_t xer_encode(struct asn_TYPE_descriptor_s *type_descriptor, - void *struct_ptr, /* Structure to be encoded */ - enum xer_encoder_flags_e xer_flags, - asn_app_consume_bytes_f *consume_bytes_cb, - void *app_key /* Arbitrary callback argument */ - ); - -/* - * The variant of the above function which dumps the BASIC-XER (XER_F_BASIC) - * output into the chosen file pointer. - * RETURN VALUES: - * 0: The structure is printed. - * -1: Problem printing the structure. - * WARNING: No sensible errno value is returned. - */ -LIBLTE_API int xer_fprint(FILE *stream, struct asn_TYPE_descriptor_s *td, void *sptr); - -/* - * Type of the generic XER encoder. - */ -typedef asn_enc_rval_t (xer_type_encoder_f)( - struct asn_TYPE_descriptor_s *type_descriptor, - void *struct_ptr, /* Structure to be encoded */ - int ilevel, /* Level of indentation */ - enum xer_encoder_flags_e xer_flags, - asn_app_consume_bytes_f *consume_bytes_cb, /* Callback */ - void *app_key /* Arbitrary callback argument */ - ); - -#ifdef __cplusplus -} -#endif - -#endif /* _XER_ENCODER_H_ */ diff --git a/lte/rrc/include/liblte/rrc/asn/xer_support.h b/lte/rrc/include/liblte/rrc/asn/xer_support.h deleted file mode 100644 index 3a6fa7ca7..000000000 --- a/lte/rrc/include/liblte/rrc/asn/xer_support.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (c) 2003, 2004 X/IO Labs, xiolabs.com. - * Copyright (c) 2003, 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _XER_SUPPORT_H_ -#define _XER_SUPPORT_H_ - -#include /* Platform-specific types */ - -#ifdef __cplusplus -extern "C" { -#endif - -/* - * Types of data transferred to the application. - */ -typedef enum { - PXML_TEXT, /* Plain text between XML tags. */ - PXML_TAG, /* A tag, starting with '<'. */ - PXML_COMMENT, /* An XML comment, including "". */ - /* - * The following chunk types are reported if the chunk - * terminates the specified XML element. - */ - PXML_TAG_END, /* Tag ended */ - PXML_COMMENT_END /* Comment ended */ -} pxml_chunk_type_e; - -/* - * Callback function that is called by the parser when parsed data is - * available. The _opaque is the pointer to a field containing opaque user - * data specified in pxml_create() call. The chunk type is _type and the text - * data is the piece of buffer identified by _bufid (as supplied to - * pxml_feed() call) starting at offset _offset and of _size bytes size. - * The chunk is NOT '\0'-terminated. - */ -typedef int (pxml_callback_f)(pxml_chunk_type_e _type, - const void *_chunk_data, size_t _chunk_size, void *_key); - -/* - * Parse the given buffer as it were a chunk of XML data. - * Invoke the specified callback each time the meaninful data is found. - * This function returns number of bytes consumed from the bufer. - * It will always be lesser than or equal to the specified _size. - * The next invocation of this function must account the difference. - */ -ssize_t pxml_parse(int *_stateContext, const void *_buf, size_t _size, - pxml_callback_f *cb, void *_key); - -#ifdef __cplusplus -} -#endif - -#endif /* _XER_SUPPORT_H_ */ diff --git a/lte/rrc/include/liblte/rrc/common/rrc_common.h b/lte/rrc/include/liblte/rrc/common/rrc_common.h deleted file mode 100644 index 893c70c89..000000000 --- a/lte/rrc/include/liblte/rrc/common/rrc_common.h +++ /dev/null @@ -1,56 +0,0 @@ -/** - * - * \section COPYRIGHT - * - * Copyright 2013-2014 The libLTE Developers. See the - * COPYRIGHT file at the top-level directory of this distribution. - * - * \section LICENSE - * - * This file is part of the libLTE library. - * - * libLTE is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * libLTE is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * A copy of the GNU Lesser General Public License can be found in - * the LICENSE file in the top-level directory of this distribution - * and at http://www.gnu.org/licenses/. - * - */ - - -#ifndef RRC_COMMON_ -#define RRC_COMMON_ - -#include -#include - -typedef enum {SIB1=1, SIB2=2, SIB3=3, SIB4=4, SIB5=5, SIB6=6, SIB7=7, SIB8=8, SIB9=9, SIB_ERROR=0} sib_type_t; - -typedef struct { - uint32_t mcc; // 3 digits in Decimal value - uint32_t mnc; // 2 digits -} plmn_identity_t; - -typedef struct { - plmn_identity_t plmn; - uint32_t tracking_area_code; // 8 bits - uint32_t cell_id; // 24 bits - bool cellBarred; - bool intraFreqReselection; -} cell_access_info_t; - -typedef struct { - sib_type_t type; - uint32_t n; // Order of entry in scheduling info list - uint32_t period; -} scheduling_info_t; - -#endif diff --git a/lte/rrc/include/liblte/rrc/messages/bcch.h b/lte/rrc/include/liblte/rrc/messages/bcch.h deleted file mode 100644 index cac30904c..000000000 --- a/lte/rrc/include/liblte/rrc/messages/bcch.h +++ /dev/null @@ -1,64 +0,0 @@ -/** - * - * \section COPYRIGHT - * - * Copyright 2013-2014 The libLTE Developers. See the - * COPYRIGHT file at the top-level directory of this distribution. - * - * \section LICENSE - * - * This file is part of the libLTE library. - * - * libLTE is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * libLTE is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * A copy of the GNU Lesser General Public License can be found in - * the LICENSE file in the top-level directory of this distribution - * and at http://www.gnu.org/licenses/. - * - */ - - - -#ifndef BCCH_ -#define BCCH_ - -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" - -#include - - -LIBLTE_API int bcch_bch_pack(lte_cell_t *cell, - uint32_t sfn, - uint8_t *buffer, - uint32_t buffer_size_bytes); - -LIBLTE_API int bcch_bch_unpack(uint8_t *buffer, - uint32_t msg_nof_bits, - lte_cell_t *cell, - uint32_t *sfn); - -LIBLTE_API void bcch_bch_fprint(void *bcch_dlsch_msg, - FILE *stream); - -LIBLTE_API int bcch_dlsch_pack(void *bcch_dlsch_msg, - uint8_t *buffer, - uint32_t buffer_size_bytes); - -LIBLTE_API void* bcch_dlsch_unpack(uint8_t *buffer, - uint32_t msg_nof_bits); - -LIBLTE_API void bcch_dlsch_fprint(void *bcch_dlsch_msg, - FILE *stream); - -LIBLTE_API void bcch_dlsch_free(void *bcch_dlsch_msg); - -#endif // BCCH_ diff --git a/lte/rrc/include/liblte/rrc/messages/sib1.h b/lte/rrc/include/liblte/rrc/messages/sib1.h deleted file mode 100644 index 0f1f49c56..000000000 --- a/lte/rrc/include/liblte/rrc/messages/sib1.h +++ /dev/null @@ -1,62 +0,0 @@ -/** - * - * \section COPYRIGHT - * - * Copyright 2013-2014 The libLTE Developers. See the - * COPYRIGHT file at the top-level directory of this distribution. - * - * \section LICENSE - * - * This file is part of the libLTE library. - * - * libLTE is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * libLTE is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * A copy of the GNU Lesser General Public License can be found in - * the LICENSE file in the top-level directory of this distribution - * and at http://www.gnu.org/licenses/. - * - */ - - -#ifndef SIB1_ -#define SIB1_ - - -#include -#include - -#include "liblte/rrc/common/rrc_common.h" -#include "liblte/rrc/messages/bcch.h" -#include "liblte/phy/utils/bit.h" -#include "liblte/rrc/asn/rrc_asn.h" - -LIBLTE_API uint32_t bcch_dlsch_sib1_get_freq_num(void *bcch_dlsch_msg); - -LIBLTE_API void bcch_dlsch_sib1_get_plmns(void *bcch_dlsch_msg, - plmn_identity_t *plmns, - uint32_t max_plmn_identities); - -LIBLTE_API void bcch_dlsch_sib1_get_cell_access_info(void *bcch_dlsch_msg, - cell_access_info_t *info); - -LIBLTE_API int bcch_dlsch_sib1_get_scheduling_info(void *bcch_dlsch_msg, - uint32_t *si_window_length, - scheduling_info_t *info, - uint32_t max_elems); - -void bcch_dlsch_sib1(BCCH_DL_SCH_Message_t *sib1, - MCC_MNC_Digit_t mcc_val[3], - MCC_MNC_Digit_t mnc_val[2], - uint8_t tac_val[2], - uint8_t cid_val[4], - int freq_band); - -#endif \ No newline at end of file diff --git a/lte/rrc/include/liblte/rrc/messages/sib4.h b/lte/rrc/include/liblte/rrc/messages/sib4.h deleted file mode 100644 index 31961a7e9..000000000 --- a/lte/rrc/include/liblte/rrc/messages/sib4.h +++ /dev/null @@ -1,45 +0,0 @@ -/** - * - * \section COPYRIGHT - * - * Copyright 2013-2014 The libLTE Developers. See the - * COPYRIGHT file at the top-level directory of this distribution. - * - * \section LICENSE - * - * This file is part of the libLTE library. - * - * libLTE is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * libLTE is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * A copy of the GNU Lesser General Public License can be found in - * the LICENSE file in the top-level directory of this distribution - * and at http://www.gnu.org/licenses/. - * - */ - - -#ifndef SIB4_ -#define SIB4_ - - -#include -#include - -#include "liblte/rrc/common/rrc_common.h" -#include "liblte/rrc/messages/bcch.h" -#include "liblte/phy/utils/bit.h" -#include "liblte/rrc/asn/rrc_asn.h" - -LIBLTE_API int bcch_dlsch_sib4_get_neighbour_cells(void *bcch_dlsch_msg, - uint32_t *neighbour_cell_ids, - uint32_t max_elems); - -#endif diff --git a/lte/rrc/include/liblte/rrc/rrc.h b/lte/rrc/include/liblte/rrc/rrc.h deleted file mode 100644 index 513c0c4ed..000000000 --- a/lte/rrc/include/liblte/rrc/rrc.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * \section COPYRIGHT - * - * Copyright 2013-2014 The libLTE Developers. See the - * COPYRIGHT file at the top-level directory of this distribution. - * - * \section LICENSE - * - * This file is part of the libLTE library. - * - * libLTE is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * libLTE is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * A copy of the GNU Lesser General Public License can be found in - * the LICENSE file in the top-level directory of this distribution - * and at http://www.gnu.org/licenses/. - * - */ - - -#include -#include - -#ifndef _LTE_RRC_ -#define _LTE_RRC_ - -#ifdef __cplusplus - extern "C" { -#endif - -#include "liblte/config.h" - -#include "liblte/rrc/messages/bcch.h" -#include "liblte/rrc/messages/sib1.h" -#include "liblte/rrc/messages/sib4.h" -#include "liblte/rrc/common/rrc_common.h" - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/lte/rrc/lib/CMakeLists.txt b/lte/rrc/lib/CMakeLists.txt deleted file mode 100644 index 70f0efe7e..000000000 --- a/lte/rrc/lib/CMakeLists.txt +++ /dev/null @@ -1,56 +0,0 @@ -# -# Copyright 2012-2013 The libLTE Developers. See the -# COPYRIGHT file at the top-level directory of this distribution. -# -# This file is part of the libLTE library. -# -# libLTE is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# libLTE is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# A copy of the GNU Lesser General Public License can be found in -# the LICENSE file in the top-level directory of this distribution -# and at http://www.gnu.org/licenses/. -# - -######################################################################## -# Recurse subdirectories and compile all source files into the same lib -######################################################################## -FILE(GLOB modules *) -SET(SOURCES_ALL "") -FOREACH (_module ${modules}) - IF(IS_DIRECTORY ${_module}) - FILE(GLOB_RECURSE tmp "${_module}/src/*.c") - LIST(APPEND SOURCES_ALL ${tmp}) - ENDIF(IS_DIRECTORY ${_module}) -ENDFOREACH() - -SET(CMAKE_C_FLAGS "-std=c99 -D_GNU_SOURCE -w") - -ADD_LIBRARY(lte_rrc SHARED ${SOURCES_ALL}) -TARGET_LINK_LIBRARIES(lte_rrc m) -INSTALL(TARGETS lte_rrc DESTINATION ${LIBRARY_DIR}) -LIBLTE_SET_PIC(lte_rrc) - -######################################################################## -# Recurse subdirectories and find all directories with a CMakeLists.txt file in it -######################################################################## -FILE(GLOB_RECURSE cmakefiles CMakeLists.txt) -FOREACH (_file ${cmakefiles}) - GET_FILENAME_COMPONENT(dir ${_file} PATH) - IF (NOT ${dir} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}) - ADD_SUBDIRECTORY(${dir}) - ENDIF () -ENDFOREACH() - - - - - - diff --git a/lte/rrc/lib/asn/src/AC-BarringConfig.c b/lte/rrc/lib/asn/src/AC-BarringConfig.c deleted file mode 100644 index a81e300ab..000000000 --- a/lte/rrc/lib/asn/src/AC-BarringConfig.c +++ /dev/null @@ -1,434 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/AC-BarringConfig.h" - -static int -ac_BarringFactor_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -ac_BarringFactor_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -ac_BarringFactor_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ac_BarringFactor_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -ac_BarringFactor_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ac_BarringFactor_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -ac_BarringFactor_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ac_BarringFactor_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -ac_BarringFactor_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ac_BarringFactor_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -ac_BarringFactor_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ac_BarringFactor_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -ac_BarringFactor_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ac_BarringFactor_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -ac_BarringFactor_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ac_BarringFactor_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -ac_BarringFactor_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ac_BarringFactor_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -ac_BarringTime_19_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -ac_BarringTime_19_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -ac_BarringTime_19_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ac_BarringTime_19_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -ac_BarringTime_19_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ac_BarringTime_19_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -ac_BarringTime_19_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ac_BarringTime_19_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -ac_BarringTime_19_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ac_BarringTime_19_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -ac_BarringTime_19_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ac_BarringTime_19_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -ac_BarringTime_19_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ac_BarringTime_19_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -ac_BarringTime_19_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ac_BarringTime_19_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -ac_BarringTime_19_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ac_BarringTime_19_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_ac_BarringForSpecialAC_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 5)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_ac_BarringFactor_constr_2 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_ac_BarringTime_constr_19 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_ac_BarringForSpecialAC_constr_28 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 5, 5 } /* (SIZE(5..5)) */, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_ac_BarringFactor_value2enum_2[] = { - { 0, 3, "p00" }, - { 1, 3, "p05" }, - { 2, 3, "p10" }, - { 3, 3, "p15" }, - { 4, 3, "p20" }, - { 5, 3, "p25" }, - { 6, 3, "p30" }, - { 7, 3, "p40" }, - { 8, 3, "p50" }, - { 9, 3, "p60" }, - { 10, 3, "p70" }, - { 11, 3, "p75" }, - { 12, 3, "p80" }, - { 13, 3, "p85" }, - { 14, 3, "p90" }, - { 15, 3, "p95" } -}; -static unsigned int asn_MAP_ac_BarringFactor_enum2value_2[] = { - 0, /* p00(0) */ - 1, /* p05(1) */ - 2, /* p10(2) */ - 3, /* p15(3) */ - 4, /* p20(4) */ - 5, /* p25(5) */ - 6, /* p30(6) */ - 7, /* p40(7) */ - 8, /* p50(8) */ - 9, /* p60(9) */ - 10, /* p70(10) */ - 11, /* p75(11) */ - 12, /* p80(12) */ - 13, /* p85(13) */ - 14, /* p90(14) */ - 15 /* p95(15) */ -}; -static asn_INTEGER_specifics_t asn_SPC_ac_BarringFactor_specs_2 = { - asn_MAP_ac_BarringFactor_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_ac_BarringFactor_enum2value_2, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_ac_BarringFactor_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ac_BarringFactor_2 = { - "ac-BarringFactor", - "ac-BarringFactor", - ac_BarringFactor_2_free, - ac_BarringFactor_2_print, - ac_BarringFactor_2_constraint, - ac_BarringFactor_2_decode_ber, - ac_BarringFactor_2_encode_der, - ac_BarringFactor_2_decode_xer, - ac_BarringFactor_2_encode_xer, - ac_BarringFactor_2_decode_uper, - ac_BarringFactor_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ac_BarringFactor_tags_2, - sizeof(asn_DEF_ac_BarringFactor_tags_2) - /sizeof(asn_DEF_ac_BarringFactor_tags_2[0]) - 1, /* 1 */ - asn_DEF_ac_BarringFactor_tags_2, /* Same as above */ - sizeof(asn_DEF_ac_BarringFactor_tags_2) - /sizeof(asn_DEF_ac_BarringFactor_tags_2[0]), /* 2 */ - &asn_PER_type_ac_BarringFactor_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_ac_BarringFactor_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_ac_BarringTime_value2enum_19[] = { - { 0, 2, "s4" }, - { 1, 2, "s8" }, - { 2, 3, "s16" }, - { 3, 3, "s32" }, - { 4, 3, "s64" }, - { 5, 4, "s128" }, - { 6, 4, "s256" }, - { 7, 4, "s512" } -}; -static unsigned int asn_MAP_ac_BarringTime_enum2value_19[] = { - 5, /* s128(5) */ - 2, /* s16(2) */ - 6, /* s256(6) */ - 3, /* s32(3) */ - 0, /* s4(0) */ - 7, /* s512(7) */ - 4, /* s64(4) */ - 1 /* s8(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_ac_BarringTime_specs_19 = { - asn_MAP_ac_BarringTime_value2enum_19, /* "tag" => N; sorted by tag */ - asn_MAP_ac_BarringTime_enum2value_19, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_ac_BarringTime_tags_19[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ac_BarringTime_19 = { - "ac-BarringTime", - "ac-BarringTime", - ac_BarringTime_19_free, - ac_BarringTime_19_print, - ac_BarringTime_19_constraint, - ac_BarringTime_19_decode_ber, - ac_BarringTime_19_encode_der, - ac_BarringTime_19_decode_xer, - ac_BarringTime_19_encode_xer, - ac_BarringTime_19_decode_uper, - ac_BarringTime_19_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ac_BarringTime_tags_19, - sizeof(asn_DEF_ac_BarringTime_tags_19) - /sizeof(asn_DEF_ac_BarringTime_tags_19[0]) - 1, /* 1 */ - asn_DEF_ac_BarringTime_tags_19, /* Same as above */ - sizeof(asn_DEF_ac_BarringTime_tags_19) - /sizeof(asn_DEF_ac_BarringTime_tags_19[0]), /* 2 */ - &asn_PER_type_ac_BarringTime_constr_19, - 0, 0, /* Defined elsewhere */ - &asn_SPC_ac_BarringTime_specs_19 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_AC_BarringConfig_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct AC_BarringConfig, ac_BarringFactor), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ac_BarringFactor_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ac-BarringFactor" - }, - { ATF_NOFLAGS, 0, offsetof(struct AC_BarringConfig, ac_BarringTime), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ac_BarringTime_19, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ac-BarringTime" - }, - { ATF_NOFLAGS, 0, offsetof(struct AC_BarringConfig, ac_BarringForSpecialAC), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_ac_BarringForSpecialAC_constraint_1, - &asn_PER_memb_ac_BarringForSpecialAC_constr_28, - 0, - "ac-BarringForSpecialAC" - }, -}; -static ber_tlv_tag_t asn_DEF_AC_BarringConfig_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_AC_BarringConfig_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ac-BarringFactor at 1489 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ac-BarringTime at 1491 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* ac-BarringForSpecialAC at 1492 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_AC_BarringConfig_specs_1 = { - sizeof(struct AC_BarringConfig), - offsetof(struct AC_BarringConfig, _asn_ctx), - asn_MAP_AC_BarringConfig_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_AC_BarringConfig = { - "AC-BarringConfig", - "AC-BarringConfig", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_AC_BarringConfig_tags_1, - sizeof(asn_DEF_AC_BarringConfig_tags_1) - /sizeof(asn_DEF_AC_BarringConfig_tags_1[0]), /* 1 */ - asn_DEF_AC_BarringConfig_tags_1, /* Same as above */ - sizeof(asn_DEF_AC_BarringConfig_tags_1) - /sizeof(asn_DEF_AC_BarringConfig_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_AC_BarringConfig_1, - 3, /* Elements count */ - &asn_SPC_AC_BarringConfig_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/AC-BarringConfig1XRTT-r9.c b/lte/rrc/lib/asn/src/AC-BarringConfig1XRTT-r9.c deleted file mode 100644 index 8cc983162..000000000 --- a/lte/rrc/lib/asn/src/AC-BarringConfig1XRTT-r9.c +++ /dev/null @@ -1,450 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/AC-BarringConfig1XRTT-r9.h" - -static int -memb_ac_Barring0to9_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 63)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_ac_Barring10_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_ac_Barring11_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_ac_Barring12_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_ac_Barring13_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_ac_Barring14_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_ac_Barring15_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_ac_BarringMsg_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_ac_BarringReg_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_ac_BarringEmg_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_ac_Barring0to9_r9_constr_2 = { - { APC_CONSTRAINED, 6, 6, 0, 63 } /* (0..63) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_ac_Barring10_r9_constr_3 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_ac_Barring11_r9_constr_4 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_ac_Barring12_r9_constr_5 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_ac_Barring13_r9_constr_6 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_ac_Barring14_r9_constr_7 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_ac_Barring15_r9_constr_8 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_ac_BarringMsg_r9_constr_9 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_ac_BarringReg_r9_constr_10 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_ac_BarringEmg_r9_constr_11 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_AC_BarringConfig1XRTT_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct AC_BarringConfig1XRTT_r9, ac_Barring0to9_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_ac_Barring0to9_r9_constraint_1, - &asn_PER_memb_ac_Barring0to9_r9_constr_2, - 0, - "ac-Barring0to9-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct AC_BarringConfig1XRTT_r9, ac_Barring10_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_ac_Barring10_r9_constraint_1, - &asn_PER_memb_ac_Barring10_r9_constr_3, - 0, - "ac-Barring10-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct AC_BarringConfig1XRTT_r9, ac_Barring11_r9), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_ac_Barring11_r9_constraint_1, - &asn_PER_memb_ac_Barring11_r9_constr_4, - 0, - "ac-Barring11-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct AC_BarringConfig1XRTT_r9, ac_Barring12_r9), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_ac_Barring12_r9_constraint_1, - &asn_PER_memb_ac_Barring12_r9_constr_5, - 0, - "ac-Barring12-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct AC_BarringConfig1XRTT_r9, ac_Barring13_r9), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_ac_Barring13_r9_constraint_1, - &asn_PER_memb_ac_Barring13_r9_constr_6, - 0, - "ac-Barring13-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct AC_BarringConfig1XRTT_r9, ac_Barring14_r9), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_ac_Barring14_r9_constraint_1, - &asn_PER_memb_ac_Barring14_r9_constr_7, - 0, - "ac-Barring14-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct AC_BarringConfig1XRTT_r9, ac_Barring15_r9), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_ac_Barring15_r9_constraint_1, - &asn_PER_memb_ac_Barring15_r9_constr_8, - 0, - "ac-Barring15-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct AC_BarringConfig1XRTT_r9, ac_BarringMsg_r9), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_ac_BarringMsg_r9_constraint_1, - &asn_PER_memb_ac_BarringMsg_r9_constr_9, - 0, - "ac-BarringMsg-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct AC_BarringConfig1XRTT_r9, ac_BarringReg_r9), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_ac_BarringReg_r9_constraint_1, - &asn_PER_memb_ac_BarringReg_r9_constr_10, - 0, - "ac-BarringReg-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct AC_BarringConfig1XRTT_r9, ac_BarringEmg_r9), - (ASN_TAG_CLASS_CONTEXT | (9 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_ac_BarringEmg_r9_constraint_1, - &asn_PER_memb_ac_BarringEmg_r9_constr_11, - 0, - "ac-BarringEmg-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_AC_BarringConfig1XRTT_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_AC_BarringConfig1XRTT_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ac-Barring0to9-r9 at 1736 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ac-Barring10-r9 at 1737 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ac-Barring11-r9 at 1738 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* ac-Barring12-r9 at 1739 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* ac-Barring13-r9 at 1740 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* ac-Barring14-r9 at 1741 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* ac-Barring15-r9 at 1742 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* ac-BarringMsg-r9 at 1743 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* ac-BarringReg-r9 at 1744 */ - { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 } /* ac-BarringEmg-r9 at 1745 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_AC_BarringConfig1XRTT_r9_specs_1 = { - sizeof(struct AC_BarringConfig1XRTT_r9), - offsetof(struct AC_BarringConfig1XRTT_r9, _asn_ctx), - asn_MAP_AC_BarringConfig1XRTT_r9_tag2el_1, - 10, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_AC_BarringConfig1XRTT_r9 = { - "AC-BarringConfig1XRTT-r9", - "AC-BarringConfig1XRTT-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_AC_BarringConfig1XRTT_r9_tags_1, - sizeof(asn_DEF_AC_BarringConfig1XRTT_r9_tags_1) - /sizeof(asn_DEF_AC_BarringConfig1XRTT_r9_tags_1[0]), /* 1 */ - asn_DEF_AC_BarringConfig1XRTT_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_AC_BarringConfig1XRTT_r9_tags_1) - /sizeof(asn_DEF_AC_BarringConfig1XRTT_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_AC_BarringConfig1XRTT_r9_1, - 10, /* Elements count */ - &asn_SPC_AC_BarringConfig1XRTT_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ARFCN-ValueCDMA2000.c b/lte/rrc/lib/asn/src/ARFCN-ValueCDMA2000.c deleted file mode 100644 index d2a0eb943..000000000 --- a/lte/rrc/lib/asn/src/ARFCN-ValueCDMA2000.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ARFCN-ValueCDMA2000.h" - -int -ARFCN_ValueCDMA2000_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 2047)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -ARFCN_ValueCDMA2000_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -ARFCN_ValueCDMA2000_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ARFCN_ValueCDMA2000_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -ARFCN_ValueCDMA2000_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ARFCN_ValueCDMA2000_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -ARFCN_ValueCDMA2000_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ARFCN_ValueCDMA2000_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -ARFCN_ValueCDMA2000_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ARFCN_ValueCDMA2000_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -ARFCN_ValueCDMA2000_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ARFCN_ValueCDMA2000_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -ARFCN_ValueCDMA2000_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ARFCN_ValueCDMA2000_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -ARFCN_ValueCDMA2000_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ARFCN_ValueCDMA2000_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -ARFCN_ValueCDMA2000_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ARFCN_ValueCDMA2000_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_ARFCN_ValueCDMA2000_constr_1 = { - { APC_CONSTRAINED, 11, 11, 0, 2047 } /* (0..2047) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_ARFCN_ValueCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ARFCN_ValueCDMA2000 = { - "ARFCN-ValueCDMA2000", - "ARFCN-ValueCDMA2000", - ARFCN_ValueCDMA2000_free, - ARFCN_ValueCDMA2000_print, - ARFCN_ValueCDMA2000_constraint, - ARFCN_ValueCDMA2000_decode_ber, - ARFCN_ValueCDMA2000_encode_der, - ARFCN_ValueCDMA2000_decode_xer, - ARFCN_ValueCDMA2000_encode_xer, - ARFCN_ValueCDMA2000_decode_uper, - ARFCN_ValueCDMA2000_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ARFCN_ValueCDMA2000_tags_1, - sizeof(asn_DEF_ARFCN_ValueCDMA2000_tags_1) - /sizeof(asn_DEF_ARFCN_ValueCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_ARFCN_ValueCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_ARFCN_ValueCDMA2000_tags_1) - /sizeof(asn_DEF_ARFCN_ValueCDMA2000_tags_1[0]), /* 1 */ - &asn_PER_type_ARFCN_ValueCDMA2000_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/ARFCN-ValueEUTRA.c b/lte/rrc/lib/asn/src/ARFCN-ValueEUTRA.c deleted file mode 100644 index e686a85e3..000000000 --- a/lte/rrc/lib/asn/src/ARFCN-ValueEUTRA.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ARFCN-ValueEUTRA.h" - -int -ARFCN_ValueEUTRA_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -ARFCN_ValueEUTRA_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -ARFCN_ValueEUTRA_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ARFCN_ValueEUTRA_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -ARFCN_ValueEUTRA_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ARFCN_ValueEUTRA_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -ARFCN_ValueEUTRA_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ARFCN_ValueEUTRA_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -ARFCN_ValueEUTRA_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ARFCN_ValueEUTRA_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -ARFCN_ValueEUTRA_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ARFCN_ValueEUTRA_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -ARFCN_ValueEUTRA_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ARFCN_ValueEUTRA_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -ARFCN_ValueEUTRA_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ARFCN_ValueEUTRA_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -ARFCN_ValueEUTRA_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ARFCN_ValueEUTRA_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_ARFCN_ValueEUTRA_constr_1 = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_ARFCN_ValueEUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ARFCN_ValueEUTRA = { - "ARFCN-ValueEUTRA", - "ARFCN-ValueEUTRA", - ARFCN_ValueEUTRA_free, - ARFCN_ValueEUTRA_print, - ARFCN_ValueEUTRA_constraint, - ARFCN_ValueEUTRA_decode_ber, - ARFCN_ValueEUTRA_encode_der, - ARFCN_ValueEUTRA_decode_xer, - ARFCN_ValueEUTRA_encode_xer, - ARFCN_ValueEUTRA_decode_uper, - ARFCN_ValueEUTRA_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ARFCN_ValueEUTRA_tags_1, - sizeof(asn_DEF_ARFCN_ValueEUTRA_tags_1) - /sizeof(asn_DEF_ARFCN_ValueEUTRA_tags_1[0]), /* 1 */ - asn_DEF_ARFCN_ValueEUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_ARFCN_ValueEUTRA_tags_1) - /sizeof(asn_DEF_ARFCN_ValueEUTRA_tags_1[0]), /* 1 */ - &asn_PER_type_ARFCN_ValueEUTRA_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/ARFCN-ValueGERAN.c b/lte/rrc/lib/asn/src/ARFCN-ValueGERAN.c deleted file mode 100644 index 4b7505f9a..000000000 --- a/lte/rrc/lib/asn/src/ARFCN-ValueGERAN.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ARFCN-ValueGERAN.h" - -int -ARFCN_ValueGERAN_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 1023)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -ARFCN_ValueGERAN_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -ARFCN_ValueGERAN_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ARFCN_ValueGERAN_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -ARFCN_ValueGERAN_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ARFCN_ValueGERAN_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -ARFCN_ValueGERAN_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ARFCN_ValueGERAN_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -ARFCN_ValueGERAN_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ARFCN_ValueGERAN_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -ARFCN_ValueGERAN_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ARFCN_ValueGERAN_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -ARFCN_ValueGERAN_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ARFCN_ValueGERAN_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -ARFCN_ValueGERAN_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ARFCN_ValueGERAN_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -ARFCN_ValueGERAN_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ARFCN_ValueGERAN_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_ARFCN_ValueGERAN_constr_1 = { - { APC_CONSTRAINED, 10, 10, 0, 1023 } /* (0..1023) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_ARFCN_ValueGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ARFCN_ValueGERAN = { - "ARFCN-ValueGERAN", - "ARFCN-ValueGERAN", - ARFCN_ValueGERAN_free, - ARFCN_ValueGERAN_print, - ARFCN_ValueGERAN_constraint, - ARFCN_ValueGERAN_decode_ber, - ARFCN_ValueGERAN_encode_der, - ARFCN_ValueGERAN_decode_xer, - ARFCN_ValueGERAN_encode_xer, - ARFCN_ValueGERAN_decode_uper, - ARFCN_ValueGERAN_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ARFCN_ValueGERAN_tags_1, - sizeof(asn_DEF_ARFCN_ValueGERAN_tags_1) - /sizeof(asn_DEF_ARFCN_ValueGERAN_tags_1[0]), /* 1 */ - asn_DEF_ARFCN_ValueGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_ARFCN_ValueGERAN_tags_1) - /sizeof(asn_DEF_ARFCN_ValueGERAN_tags_1[0]), /* 1 */ - &asn_PER_type_ARFCN_ValueGERAN_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/ARFCN-ValueUTRA.c b/lte/rrc/lib/asn/src/ARFCN-ValueUTRA.c deleted file mode 100644 index f30a618d2..000000000 --- a/lte/rrc/lib/asn/src/ARFCN-ValueUTRA.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ARFCN-ValueUTRA.h" - -int -ARFCN_ValueUTRA_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 16383)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -ARFCN_ValueUTRA_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -ARFCN_ValueUTRA_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ARFCN_ValueUTRA_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -ARFCN_ValueUTRA_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ARFCN_ValueUTRA_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -ARFCN_ValueUTRA_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ARFCN_ValueUTRA_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -ARFCN_ValueUTRA_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ARFCN_ValueUTRA_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -ARFCN_ValueUTRA_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ARFCN_ValueUTRA_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -ARFCN_ValueUTRA_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ARFCN_ValueUTRA_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -ARFCN_ValueUTRA_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ARFCN_ValueUTRA_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -ARFCN_ValueUTRA_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ARFCN_ValueUTRA_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_ARFCN_ValueUTRA_constr_1 = { - { APC_CONSTRAINED, 14, 14, 0, 16383 } /* (0..16383) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_ARFCN_ValueUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ARFCN_ValueUTRA = { - "ARFCN-ValueUTRA", - "ARFCN-ValueUTRA", - ARFCN_ValueUTRA_free, - ARFCN_ValueUTRA_print, - ARFCN_ValueUTRA_constraint, - ARFCN_ValueUTRA_decode_ber, - ARFCN_ValueUTRA_encode_der, - ARFCN_ValueUTRA_decode_xer, - ARFCN_ValueUTRA_encode_xer, - ARFCN_ValueUTRA_decode_uper, - ARFCN_ValueUTRA_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ARFCN_ValueUTRA_tags_1, - sizeof(asn_DEF_ARFCN_ValueUTRA_tags_1) - /sizeof(asn_DEF_ARFCN_ValueUTRA_tags_1[0]), /* 1 */ - asn_DEF_ARFCN_ValueUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_ARFCN_ValueUTRA_tags_1) - /sizeof(asn_DEF_ARFCN_ValueUTRA_tags_1[0]), /* 1 */ - &asn_PER_type_ARFCN_ValueUTRA_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/AS-Config.c b/lte/rrc/lib/asn/src/AS-Config.c deleted file mode 100644 index 763139666..000000000 --- a/lte/rrc/lib/asn/src/AS-Config.c +++ /dev/null @@ -1,210 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#include "liblte/rrc/asn/AS-Config.h" - -static int -memb_sourceSystemInformationBlockType1_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_sourceSystemInformationBlockType1Ext_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_per_constraints_t asn_PER_memb_sourceSystemInformationBlockType1_constr_7 GCC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sourceSystemInformationBlockType1Ext_constr_12 GCC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_AS_Config_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct AS_Config, sourceMeasConfig), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sourceMeasConfig" - }, - { ATF_NOFLAGS, 0, offsetof(struct AS_Config, sourceRadioResourceConfig), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RadioResourceConfigDedicated, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sourceRadioResourceConfig" - }, - { ATF_NOFLAGS, 0, offsetof(struct AS_Config, sourceSecurityAlgorithmConfig), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SecurityAlgorithmConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sourceSecurityAlgorithmConfig" - }, - { ATF_NOFLAGS, 0, offsetof(struct AS_Config, sourceUE_Identity), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_C_RNTI, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sourceUE-Identity" - }, - { ATF_NOFLAGS, 0, offsetof(struct AS_Config, sourceMasterInformationBlock), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MasterInformationBlock, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sourceMasterInformationBlock" - }, - { ATF_NOFLAGS, 0, offsetof(struct AS_Config, sourceSystemInformationBlockType1), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformationBlockType1, - memb_sourceSystemInformationBlockType1_constraint_1, - &asn_PER_memb_sourceSystemInformationBlockType1_constr_7, - 0, - "sourceSystemInformationBlockType1" - }, - { ATF_NOFLAGS, 0, offsetof(struct AS_Config, sourceSystemInformationBlockType2), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformationBlockType2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sourceSystemInformationBlockType2" - }, - { ATF_NOFLAGS, 0, offsetof(struct AS_Config, antennaInfoCommon), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AntennaInfoCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "antennaInfoCommon" - }, - { ATF_NOFLAGS, 0, offsetof(struct AS_Config, sourceDl_CarrierFreq), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sourceDl-CarrierFreq" - }, - { ATF_POINTER, 2, offsetof(struct AS_Config, sourceSystemInformationBlockType1Ext), - (ASN_TAG_CLASS_CONTEXT | (9 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_sourceSystemInformationBlockType1Ext_constraint_1, - &asn_PER_memb_sourceSystemInformationBlockType1Ext_constr_12, - 0, - "sourceSystemInformationBlockType1Ext" - }, - { ATF_POINTER, 1, offsetof(struct AS_Config, sourceOtherConfig_r9), - (ASN_TAG_CLASS_CONTEXT | (10 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OtherConfig_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sourceOtherConfig-r9" - }, -}; -static const int asn_MAP_AS_Config_oms_1[] = { 9, 10 }; -static const ber_tlv_tag_t asn_DEF_AS_Config_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_AS_Config_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sourceMeasConfig */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* sourceRadioResourceConfig */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sourceSecurityAlgorithmConfig */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* sourceUE-Identity */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* sourceMasterInformationBlock */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* sourceSystemInformationBlockType1 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* sourceSystemInformationBlockType2 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* antennaInfoCommon */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* sourceDl-CarrierFreq */ - { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* sourceSystemInformationBlockType1Ext */ - { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 } /* sourceOtherConfig-r9 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_AS_Config_specs_1 = { - sizeof(struct AS_Config), - offsetof(struct AS_Config, _asn_ctx), - asn_MAP_AS_Config_tag2el_1, - 11, /* Count of tags in the map */ - asn_MAP_AS_Config_oms_1, /* Optional members */ - 0, 2, /* Root/Additions */ - 8, /* Start extensions */ - 12 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_AS_Config = { - "AS-Config", - "AS-Config", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_AS_Config_tags_1, - sizeof(asn_DEF_AS_Config_tags_1) - /sizeof(asn_DEF_AS_Config_tags_1[0]), /* 1 */ - asn_DEF_AS_Config_tags_1, /* Same as above */ - sizeof(asn_DEF_AS_Config_tags_1) - /sizeof(asn_DEF_AS_Config_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_AS_Config_1, - 11, /* Elements count */ - &asn_SPC_AS_Config_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/AS-Context.c b/lte/rrc/lib/asn/src/AS-Context.c deleted file mode 100644 index 6e75781dc..000000000 --- a/lte/rrc/lib/asn/src/AS-Context.c +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#include "liblte/rrc/asn/AS-Context.h" - -static asn_TYPE_member_t asn_MBR_AS_Context_1[] = { - { ATF_POINTER, 1, offsetof(struct AS_Context, reestablishmentInfo), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReestablishmentInfo, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reestablishmentInfo" - }, -}; -static const int asn_MAP_AS_Context_oms_1[] = { 0 }; -static const ber_tlv_tag_t asn_DEF_AS_Context_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_AS_Context_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* reestablishmentInfo */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_AS_Context_specs_1 = { - sizeof(struct AS_Context), - offsetof(struct AS_Context, _asn_ctx), - asn_MAP_AS_Context_tag2el_1, - 1, /* Count of tags in the map */ - asn_MAP_AS_Context_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_AS_Context = { - "AS-Context", - "AS-Context", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_AS_Context_tags_1, - sizeof(asn_DEF_AS_Context_tags_1) - /sizeof(asn_DEF_AS_Context_tags_1[0]), /* 1 */ - asn_DEF_AS_Context_tags_1, /* Same as above */ - sizeof(asn_DEF_AS_Context_tags_1) - /sizeof(asn_DEF_AS_Context_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_AS_Context_1, - 1, /* Elements count */ - &asn_SPC_AS_Context_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/AbsoluteTimeInfo-r10.c b/lte/rrc/lib/asn/src/AbsoluteTimeInfo-r10.c deleted file mode 100644 index 1de707dc6..000000000 --- a/lte/rrc/lib/asn/src/AbsoluteTimeInfo-r10.c +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/AbsoluteTimeInfo-r10.h" - -int -AbsoluteTimeInfo_r10_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 48)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using BIT_STRING, - * so here we adjust the DEF accordingly. - */ -static void -AbsoluteTimeInfo_r10_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_BIT_STRING.free_struct; - td->print_struct = asn_DEF_BIT_STRING.print_struct; - td->ber_decoder = asn_DEF_BIT_STRING.ber_decoder; - td->der_encoder = asn_DEF_BIT_STRING.der_encoder; - td->xer_decoder = asn_DEF_BIT_STRING.xer_decoder; - td->xer_encoder = asn_DEF_BIT_STRING.xer_encoder; - td->uper_decoder = asn_DEF_BIT_STRING.uper_decoder; - td->uper_encoder = asn_DEF_BIT_STRING.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_BIT_STRING.per_constraints; - td->elements = asn_DEF_BIT_STRING.elements; - td->elements_count = asn_DEF_BIT_STRING.elements_count; - td->specifics = asn_DEF_BIT_STRING.specifics; -} - -void -AbsoluteTimeInfo_r10_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - AbsoluteTimeInfo_r10_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -AbsoluteTimeInfo_r10_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - AbsoluteTimeInfo_r10_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -AbsoluteTimeInfo_r10_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - AbsoluteTimeInfo_r10_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -AbsoluteTimeInfo_r10_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - AbsoluteTimeInfo_r10_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -AbsoluteTimeInfo_r10_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - AbsoluteTimeInfo_r10_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -AbsoluteTimeInfo_r10_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - AbsoluteTimeInfo_r10_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -AbsoluteTimeInfo_r10_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - AbsoluteTimeInfo_r10_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -AbsoluteTimeInfo_r10_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - AbsoluteTimeInfo_r10_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_AbsoluteTimeInfo_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 48, 48 } /* (SIZE(48..48)) */, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_AbsoluteTimeInfo_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_AbsoluteTimeInfo_r10 = { - "AbsoluteTimeInfo-r10", - "AbsoluteTimeInfo-r10", - AbsoluteTimeInfo_r10_free, - AbsoluteTimeInfo_r10_print, - AbsoluteTimeInfo_r10_constraint, - AbsoluteTimeInfo_r10_decode_ber, - AbsoluteTimeInfo_r10_encode_der, - AbsoluteTimeInfo_r10_decode_xer, - AbsoluteTimeInfo_r10_encode_xer, - AbsoluteTimeInfo_r10_decode_uper, - AbsoluteTimeInfo_r10_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_AbsoluteTimeInfo_r10_tags_1, - sizeof(asn_DEF_AbsoluteTimeInfo_r10_tags_1) - /sizeof(asn_DEF_AbsoluteTimeInfo_r10_tags_1[0]), /* 1 */ - asn_DEF_AbsoluteTimeInfo_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_AbsoluteTimeInfo_r10_tags_1) - /sizeof(asn_DEF_AbsoluteTimeInfo_r10_tags_1[0]), /* 1 */ - &asn_PER_type_AbsoluteTimeInfo_r10_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/AccessStratumRelease.c b/lte/rrc/lib/asn/src/AccessStratumRelease.c deleted file mode 100644 index 06b7a297e..000000000 --- a/lte/rrc/lib/asn/src/AccessStratumRelease.c +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/AccessStratumRelease.h" - -int -AccessStratumRelease_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -AccessStratumRelease_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -AccessStratumRelease_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - AccessStratumRelease_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -AccessStratumRelease_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - AccessStratumRelease_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -AccessStratumRelease_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - AccessStratumRelease_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -AccessStratumRelease_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - AccessStratumRelease_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -AccessStratumRelease_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - AccessStratumRelease_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -AccessStratumRelease_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - AccessStratumRelease_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -AccessStratumRelease_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - AccessStratumRelease_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -AccessStratumRelease_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - AccessStratumRelease_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_AccessStratumRelease_constr_1 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 7 } /* (0..7,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_AccessStratumRelease_value2enum_1[] = { - { 0, 4, "rel8" }, - { 1, 4, "rel9" }, - { 2, 5, "rel10" }, - { 3, 6, "spare5" }, - { 4, 6, "spare4" }, - { 5, 6, "spare3" }, - { 6, 6, "spare2" }, - { 7, 6, "spare1" } - /* This list is extensible */ -}; -static unsigned int asn_MAP_AccessStratumRelease_enum2value_1[] = { - 2, /* rel10(2) */ - 0, /* rel8(0) */ - 1, /* rel9(1) */ - 7, /* spare1(7) */ - 6, /* spare2(6) */ - 5, /* spare3(5) */ - 4, /* spare4(4) */ - 3 /* spare5(3) */ - /* This list is extensible */ -}; -static asn_INTEGER_specifics_t asn_SPC_AccessStratumRelease_specs_1 = { - asn_MAP_AccessStratumRelease_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_AccessStratumRelease_enum2value_1, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 9, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_AccessStratumRelease_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_AccessStratumRelease = { - "AccessStratumRelease", - "AccessStratumRelease", - AccessStratumRelease_free, - AccessStratumRelease_print, - AccessStratumRelease_constraint, - AccessStratumRelease_decode_ber, - AccessStratumRelease_encode_der, - AccessStratumRelease_decode_xer, - AccessStratumRelease_encode_xer, - AccessStratumRelease_decode_uper, - AccessStratumRelease_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_AccessStratumRelease_tags_1, - sizeof(asn_DEF_AccessStratumRelease_tags_1) - /sizeof(asn_DEF_AccessStratumRelease_tags_1[0]), /* 1 */ - asn_DEF_AccessStratumRelease_tags_1, /* Same as above */ - sizeof(asn_DEF_AccessStratumRelease_tags_1) - /sizeof(asn_DEF_AccessStratumRelease_tags_1[0]), /* 1 */ - &asn_PER_type_AccessStratumRelease_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_AccessStratumRelease_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/AdditionalReestabInfo.c b/lte/rrc/lib/asn/src/AdditionalReestabInfo.c deleted file mode 100644 index a1143bf4e..000000000 --- a/lte/rrc/lib/asn/src/AdditionalReestabInfo.c +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#include "liblte/rrc/asn/AdditionalReestabInfo.h" - -static asn_TYPE_member_t asn_MBR_AdditionalReestabInfo_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct AdditionalReestabInfo, cellIdentity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellIdentity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellIdentity" - }, - { ATF_NOFLAGS, 0, offsetof(struct AdditionalReestabInfo, key_eNodeB_Star), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Key_eNodeB_Star, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "key-eNodeB-Star" - }, - { ATF_NOFLAGS, 0, offsetof(struct AdditionalReestabInfo, shortMAC_I), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ShortMAC_I, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "shortMAC-I" - }, -}; -static const ber_tlv_tag_t asn_DEF_AdditionalReestabInfo_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_AdditionalReestabInfo_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellIdentity */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* key-eNodeB-Star */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* shortMAC-I */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_AdditionalReestabInfo_specs_1 = { - sizeof(struct AdditionalReestabInfo), - offsetof(struct AdditionalReestabInfo, _asn_ctx), - asn_MAP_AdditionalReestabInfo_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_AdditionalReestabInfo = { - "AdditionalReestabInfo", - "AdditionalReestabInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_AdditionalReestabInfo_tags_1, - sizeof(asn_DEF_AdditionalReestabInfo_tags_1) - /sizeof(asn_DEF_AdditionalReestabInfo_tags_1[0]), /* 1 */ - asn_DEF_AdditionalReestabInfo_tags_1, /* Same as above */ - sizeof(asn_DEF_AdditionalReestabInfo_tags_1) - /sizeof(asn_DEF_AdditionalReestabInfo_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_AdditionalReestabInfo_1, - 3, /* Elements count */ - &asn_SPC_AdditionalReestabInfo_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/AdditionalReestabInfoList.c b/lte/rrc/lib/asn/src/AdditionalReestabInfoList.c deleted file mode 100644 index cd729d810..000000000 --- a/lte/rrc/lib/asn/src/AdditionalReestabInfoList.c +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#include "liblte/rrc/asn/AdditionalReestabInfoList.h" - -static asn_per_constraints_t asn_PER_type_AdditionalReestabInfoList_constr_1 GCC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_AdditionalReestabInfoList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_AdditionalReestabInfo, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_AdditionalReestabInfoList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_AdditionalReestabInfoList_specs_1 = { - sizeof(struct AdditionalReestabInfoList), - offsetof(struct AdditionalReestabInfoList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_AdditionalReestabInfoList = { - "AdditionalReestabInfoList", - "AdditionalReestabInfoList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_AdditionalReestabInfoList_tags_1, - sizeof(asn_DEF_AdditionalReestabInfoList_tags_1) - /sizeof(asn_DEF_AdditionalReestabInfoList_tags_1[0]), /* 1 */ - asn_DEF_AdditionalReestabInfoList_tags_1, /* Same as above */ - sizeof(asn_DEF_AdditionalReestabInfoList_tags_1) - /sizeof(asn_DEF_AdditionalReestabInfoList_tags_1[0]), /* 1 */ - &asn_PER_type_AdditionalReestabInfoList_constr_1, - asn_MBR_AdditionalReestabInfoList_1, - 1, /* Single element */ - &asn_SPC_AdditionalReestabInfoList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/AdditionalSI-Info-r9.c b/lte/rrc/lib/asn/src/AdditionalSI-Info-r9.c deleted file mode 100644 index 85430ed30..000000000 --- a/lte/rrc/lib/asn/src/AdditionalSI-Info-r9.c +++ /dev/null @@ -1,209 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/AdditionalSI-Info-r9.h" - -static int -csg_MemberStatus_r9_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -csg_MemberStatus_r9_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -csg_MemberStatus_r9_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - csg_MemberStatus_r9_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -csg_MemberStatus_r9_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - csg_MemberStatus_r9_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -csg_MemberStatus_r9_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - csg_MemberStatus_r9_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -csg_MemberStatus_r9_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - csg_MemberStatus_r9_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -csg_MemberStatus_r9_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - csg_MemberStatus_r9_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -csg_MemberStatus_r9_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - csg_MemberStatus_r9_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -csg_MemberStatus_r9_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - csg_MemberStatus_r9_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -csg_MemberStatus_r9_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - csg_MemberStatus_r9_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_csg_MemberStatus_r9_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_csg_MemberStatus_r9_value2enum_2[] = { - { 0, 6, "member" } -}; -static unsigned int asn_MAP_csg_MemberStatus_r9_enum2value_2[] = { - 0 /* member(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_csg_MemberStatus_r9_specs_2 = { - asn_MAP_csg_MemberStatus_r9_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_csg_MemberStatus_r9_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_csg_MemberStatus_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_csg_MemberStatus_r9_2 = { - "csg-MemberStatus-r9", - "csg-MemberStatus-r9", - csg_MemberStatus_r9_2_free, - csg_MemberStatus_r9_2_print, - csg_MemberStatus_r9_2_constraint, - csg_MemberStatus_r9_2_decode_ber, - csg_MemberStatus_r9_2_encode_der, - csg_MemberStatus_r9_2_decode_xer, - csg_MemberStatus_r9_2_encode_xer, - csg_MemberStatus_r9_2_decode_uper, - csg_MemberStatus_r9_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_csg_MemberStatus_r9_tags_2, - sizeof(asn_DEF_csg_MemberStatus_r9_tags_2) - /sizeof(asn_DEF_csg_MemberStatus_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_csg_MemberStatus_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_csg_MemberStatus_r9_tags_2) - /sizeof(asn_DEF_csg_MemberStatus_r9_tags_2[0]), /* 2 */ - &asn_PER_type_csg_MemberStatus_r9_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_csg_MemberStatus_r9_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_AdditionalSI_Info_r9_1[] = { - { ATF_POINTER, 2, offsetof(struct AdditionalSI_Info_r9, csg_MemberStatus_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_csg_MemberStatus_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csg-MemberStatus-r9" - }, - { ATF_POINTER, 1, offsetof(struct AdditionalSI_Info_r9, csg_Identity_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CSG_Identity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csg-Identity-r9" - }, -}; -static int asn_MAP_AdditionalSI_Info_r9_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_AdditionalSI_Info_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_AdditionalSI_Info_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* csg-MemberStatus-r9 at 3458 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* csg-Identity-r9 at 3459 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_AdditionalSI_Info_r9_specs_1 = { - sizeof(struct AdditionalSI_Info_r9), - offsetof(struct AdditionalSI_Info_r9, _asn_ctx), - asn_MAP_AdditionalSI_Info_r9_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_AdditionalSI_Info_r9_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_AdditionalSI_Info_r9 = { - "AdditionalSI-Info-r9", - "AdditionalSI-Info-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_AdditionalSI_Info_r9_tags_1, - sizeof(asn_DEF_AdditionalSI_Info_r9_tags_1) - /sizeof(asn_DEF_AdditionalSI_Info_r9_tags_1[0]), /* 1 */ - asn_DEF_AdditionalSI_Info_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_AdditionalSI_Info_r9_tags_1) - /sizeof(asn_DEF_AdditionalSI_Info_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_AdditionalSI_Info_r9_1, - 2, /* Elements count */ - &asn_SPC_AdditionalSI_Info_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/AdditionalSpectrumEmission.c b/lte/rrc/lib/asn/src/AdditionalSpectrumEmission.c deleted file mode 100644 index d85f9e312..000000000 --- a/lte/rrc/lib/asn/src/AdditionalSpectrumEmission.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/AdditionalSpectrumEmission.h" - -int -AdditionalSpectrumEmission_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 32)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -AdditionalSpectrumEmission_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -AdditionalSpectrumEmission_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - AdditionalSpectrumEmission_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -AdditionalSpectrumEmission_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - AdditionalSpectrumEmission_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -AdditionalSpectrumEmission_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - AdditionalSpectrumEmission_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -AdditionalSpectrumEmission_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - AdditionalSpectrumEmission_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -AdditionalSpectrumEmission_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - AdditionalSpectrumEmission_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -AdditionalSpectrumEmission_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - AdditionalSpectrumEmission_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -AdditionalSpectrumEmission_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - AdditionalSpectrumEmission_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -AdditionalSpectrumEmission_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - AdditionalSpectrumEmission_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_AdditionalSpectrumEmission_constr_1 = { - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (1..32) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_AdditionalSpectrumEmission_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_AdditionalSpectrumEmission = { - "AdditionalSpectrumEmission", - "AdditionalSpectrumEmission", - AdditionalSpectrumEmission_free, - AdditionalSpectrumEmission_print, - AdditionalSpectrumEmission_constraint, - AdditionalSpectrumEmission_decode_ber, - AdditionalSpectrumEmission_encode_der, - AdditionalSpectrumEmission_decode_xer, - AdditionalSpectrumEmission_encode_xer, - AdditionalSpectrumEmission_decode_uper, - AdditionalSpectrumEmission_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_AdditionalSpectrumEmission_tags_1, - sizeof(asn_DEF_AdditionalSpectrumEmission_tags_1) - /sizeof(asn_DEF_AdditionalSpectrumEmission_tags_1[0]), /* 1 */ - asn_DEF_AdditionalSpectrumEmission_tags_1, /* Same as above */ - sizeof(asn_DEF_AdditionalSpectrumEmission_tags_1) - /sizeof(asn_DEF_AdditionalSpectrumEmission_tags_1[0]), /* 1 */ - &asn_PER_type_AdditionalSpectrumEmission_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/AllowedMeasBandwidth.c b/lte/rrc/lib/asn/src/AllowedMeasBandwidth.c deleted file mode 100644 index 9c2fdac6a..000000000 --- a/lte/rrc/lib/asn/src/AllowedMeasBandwidth.c +++ /dev/null @@ -1,154 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/AllowedMeasBandwidth.h" - -int -AllowedMeasBandwidth_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -AllowedMeasBandwidth_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -AllowedMeasBandwidth_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - AllowedMeasBandwidth_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -AllowedMeasBandwidth_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - AllowedMeasBandwidth_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -AllowedMeasBandwidth_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - AllowedMeasBandwidth_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -AllowedMeasBandwidth_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - AllowedMeasBandwidth_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -AllowedMeasBandwidth_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - AllowedMeasBandwidth_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -AllowedMeasBandwidth_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - AllowedMeasBandwidth_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -AllowedMeasBandwidth_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - AllowedMeasBandwidth_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -AllowedMeasBandwidth_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - AllowedMeasBandwidth_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_AllowedMeasBandwidth_constr_1 = { - { APC_CONSTRAINED, 3, 3, 0, 5 } /* (0..5) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_AllowedMeasBandwidth_value2enum_1[] = { - { 0, 4, "mbw6" }, - { 1, 5, "mbw15" }, - { 2, 5, "mbw25" }, - { 3, 5, "mbw50" }, - { 4, 5, "mbw75" }, - { 5, 6, "mbw100" } -}; -static unsigned int asn_MAP_AllowedMeasBandwidth_enum2value_1[] = { - 5, /* mbw100(5) */ - 1, /* mbw15(1) */ - 2, /* mbw25(2) */ - 3, /* mbw50(3) */ - 0, /* mbw6(0) */ - 4 /* mbw75(4) */ -}; -static asn_INTEGER_specifics_t asn_SPC_AllowedMeasBandwidth_specs_1 = { - asn_MAP_AllowedMeasBandwidth_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_AllowedMeasBandwidth_enum2value_1, /* N => "tag"; sorted by N */ - 6, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_AllowedMeasBandwidth_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_AllowedMeasBandwidth = { - "AllowedMeasBandwidth", - "AllowedMeasBandwidth", - AllowedMeasBandwidth_free, - AllowedMeasBandwidth_print, - AllowedMeasBandwidth_constraint, - AllowedMeasBandwidth_decode_ber, - AllowedMeasBandwidth_encode_der, - AllowedMeasBandwidth_decode_xer, - AllowedMeasBandwidth_encode_xer, - AllowedMeasBandwidth_decode_uper, - AllowedMeasBandwidth_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_AllowedMeasBandwidth_tags_1, - sizeof(asn_DEF_AllowedMeasBandwidth_tags_1) - /sizeof(asn_DEF_AllowedMeasBandwidth_tags_1[0]), /* 1 */ - asn_DEF_AllowedMeasBandwidth_tags_1, /* Same as above */ - sizeof(asn_DEF_AllowedMeasBandwidth_tags_1) - /sizeof(asn_DEF_AllowedMeasBandwidth_tags_1[0]), /* 1 */ - &asn_PER_type_AllowedMeasBandwidth_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_AllowedMeasBandwidth_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/AntennaInfoCommon.c b/lte/rrc/lib/asn/src/AntennaInfoCommon.c deleted file mode 100644 index b5cb9b448..000000000 --- a/lte/rrc/lib/asn/src/AntennaInfoCommon.c +++ /dev/null @@ -1,203 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/AntennaInfoCommon.h" - -static int -antennaPortsCount_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -antennaPortsCount_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -antennaPortsCount_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - antennaPortsCount_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -antennaPortsCount_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - antennaPortsCount_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -antennaPortsCount_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - antennaPortsCount_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -antennaPortsCount_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - antennaPortsCount_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -antennaPortsCount_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - antennaPortsCount_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -antennaPortsCount_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - antennaPortsCount_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -antennaPortsCount_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - antennaPortsCount_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -antennaPortsCount_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - antennaPortsCount_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_antennaPortsCount_constr_2 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_antennaPortsCount_value2enum_2[] = { - { 0, 3, "an1" }, - { 1, 3, "an2" }, - { 2, 3, "an4" }, - { 3, 6, "spare1" } -}; -static unsigned int asn_MAP_antennaPortsCount_enum2value_2[] = { - 0, /* an1(0) */ - 1, /* an2(1) */ - 2, /* an4(2) */ - 3 /* spare1(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_antennaPortsCount_specs_2 = { - asn_MAP_antennaPortsCount_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_antennaPortsCount_enum2value_2, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_antennaPortsCount_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_antennaPortsCount_2 = { - "antennaPortsCount", - "antennaPortsCount", - antennaPortsCount_2_free, - antennaPortsCount_2_print, - antennaPortsCount_2_constraint, - antennaPortsCount_2_decode_ber, - antennaPortsCount_2_encode_der, - antennaPortsCount_2_decode_xer, - antennaPortsCount_2_encode_xer, - antennaPortsCount_2_decode_uper, - antennaPortsCount_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_antennaPortsCount_tags_2, - sizeof(asn_DEF_antennaPortsCount_tags_2) - /sizeof(asn_DEF_antennaPortsCount_tags_2[0]) - 1, /* 1 */ - asn_DEF_antennaPortsCount_tags_2, /* Same as above */ - sizeof(asn_DEF_antennaPortsCount_tags_2) - /sizeof(asn_DEF_antennaPortsCount_tags_2[0]), /* 2 */ - &asn_PER_type_antennaPortsCount_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_antennaPortsCount_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_AntennaInfoCommon_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoCommon, antennaPortsCount), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_antennaPortsCount_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "antennaPortsCount" - }, -}; -static ber_tlv_tag_t asn_DEF_AntennaInfoCommon_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_AntennaInfoCommon_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* antennaPortsCount at 1799 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_AntennaInfoCommon_specs_1 = { - sizeof(struct AntennaInfoCommon), - offsetof(struct AntennaInfoCommon, _asn_ctx), - asn_MAP_AntennaInfoCommon_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_AntennaInfoCommon = { - "AntennaInfoCommon", - "AntennaInfoCommon", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_AntennaInfoCommon_tags_1, - sizeof(asn_DEF_AntennaInfoCommon_tags_1) - /sizeof(asn_DEF_AntennaInfoCommon_tags_1[0]), /* 1 */ - asn_DEF_AntennaInfoCommon_tags_1, /* Same as above */ - sizeof(asn_DEF_AntennaInfoCommon_tags_1) - /sizeof(asn_DEF_AntennaInfoCommon_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_AntennaInfoCommon_1, - 1, /* Elements count */ - &asn_SPC_AntennaInfoCommon_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/AntennaInfoDedicated-r10.c b/lte/rrc/lib/asn/src/AntennaInfoDedicated-r10.c deleted file mode 100644 index c272bebbd..000000000 --- a/lte/rrc/lib/asn/src/AntennaInfoDedicated-r10.c +++ /dev/null @@ -1,451 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/AntennaInfoDedicated-r10.h" - -static int -transmissionMode_r10_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -transmissionMode_r10_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -transmissionMode_r10_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - transmissionMode_r10_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -transmissionMode_r10_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - transmissionMode_r10_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -transmissionMode_r10_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - transmissionMode_r10_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -transmissionMode_r10_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - transmissionMode_r10_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -transmissionMode_r10_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - transmissionMode_r10_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -transmissionMode_r10_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - transmissionMode_r10_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -transmissionMode_r10_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - transmissionMode_r10_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -transmissionMode_r10_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - transmissionMode_r10_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -setup_22_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -setup_22_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -setup_22_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - setup_22_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -setup_22_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - setup_22_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -setup_22_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - setup_22_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -setup_22_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - setup_22_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -setup_22_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - setup_22_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -setup_22_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - setup_22_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -setup_22_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - setup_22_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -setup_22_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - setup_22_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_transmissionMode_r10_constr_2 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_setup_constr_22 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_ue_TransmitAntennaSelection_constr_20 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_transmissionMode_r10_value2enum_2[] = { - { 0, 3, "tm1" }, - { 1, 3, "tm2" }, - { 2, 3, "tm3" }, - { 3, 3, "tm4" }, - { 4, 3, "tm5" }, - { 5, 3, "tm6" }, - { 6, 3, "tm7" }, - { 7, 8, "tm8-v920" }, - { 8, 9, "tm9-v1020" }, - { 9, 6, "spare7" }, - { 10, 6, "spare6" }, - { 11, 6, "spare5" }, - { 12, 6, "spare4" }, - { 13, 6, "spare3" }, - { 14, 6, "spare2" }, - { 15, 6, "spare1" } -}; -static unsigned int asn_MAP_transmissionMode_r10_enum2value_2[] = { - 15, /* spare1(15) */ - 14, /* spare2(14) */ - 13, /* spare3(13) */ - 12, /* spare4(12) */ - 11, /* spare5(11) */ - 10, /* spare6(10) */ - 9, /* spare7(9) */ - 0, /* tm1(0) */ - 1, /* tm2(1) */ - 2, /* tm3(2) */ - 3, /* tm4(3) */ - 4, /* tm5(4) */ - 5, /* tm6(5) */ - 6, /* tm7(6) */ - 7, /* tm8-v920(7) */ - 8 /* tm9-v1020(8) */ -}; -static asn_INTEGER_specifics_t asn_SPC_transmissionMode_r10_specs_2 = { - asn_MAP_transmissionMode_r10_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_transmissionMode_r10_enum2value_2, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_transmissionMode_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_transmissionMode_r10_2 = { - "transmissionMode-r10", - "transmissionMode-r10", - transmissionMode_r10_2_free, - transmissionMode_r10_2_print, - transmissionMode_r10_2_constraint, - transmissionMode_r10_2_decode_ber, - transmissionMode_r10_2_encode_der, - transmissionMode_r10_2_decode_xer, - transmissionMode_r10_2_encode_xer, - transmissionMode_r10_2_decode_uper, - transmissionMode_r10_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_transmissionMode_r10_tags_2, - sizeof(asn_DEF_transmissionMode_r10_tags_2) - /sizeof(asn_DEF_transmissionMode_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_transmissionMode_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_transmissionMode_r10_tags_2) - /sizeof(asn_DEF_transmissionMode_r10_tags_2[0]), /* 2 */ - &asn_PER_type_transmissionMode_r10_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_transmissionMode_r10_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_setup_value2enum_22[] = { - { 0, 10, "closedLoop" }, - { 1, 8, "openLoop" } -}; -static unsigned int asn_MAP_setup_enum2value_22[] = { - 0, /* closedLoop(0) */ - 1 /* openLoop(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_setup_specs_22 = { - asn_MAP_setup_value2enum_22, /* "tag" => N; sorted by tag */ - asn_MAP_setup_enum2value_22, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_setup_tags_22[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_22 = { - "setup", - "setup", - setup_22_free, - setup_22_print, - setup_22_constraint, - setup_22_decode_ber, - setup_22_encode_der, - setup_22_decode_xer, - setup_22_encode_xer, - setup_22_decode_uper, - setup_22_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_22, - sizeof(asn_DEF_setup_tags_22) - /sizeof(asn_DEF_setup_tags_22[0]) - 1, /* 1 */ - asn_DEF_setup_tags_22, /* Same as above */ - sizeof(asn_DEF_setup_tags_22) - /sizeof(asn_DEF_setup_tags_22[0]), /* 2 */ - &asn_PER_type_setup_constr_22, - 0, 0, /* Defined elsewhere */ - &asn_SPC_setup_specs_22 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ue_TransmitAntennaSelection_20[] = { - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoDedicated_r10__ue_TransmitAntennaSelection, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoDedicated_r10__ue_TransmitAntennaSelection, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_setup_22, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_ue_TransmitAntennaSelection_tag2el_20[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 1836 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 1837 */ -}; -static asn_CHOICE_specifics_t asn_SPC_ue_TransmitAntennaSelection_specs_20 = { - sizeof(struct AntennaInfoDedicated_r10__ue_TransmitAntennaSelection), - offsetof(struct AntennaInfoDedicated_r10__ue_TransmitAntennaSelection, _asn_ctx), - offsetof(struct AntennaInfoDedicated_r10__ue_TransmitAntennaSelection, present), - sizeof(((struct AntennaInfoDedicated_r10__ue_TransmitAntennaSelection *)0)->present), - asn_MAP_ue_TransmitAntennaSelection_tag2el_20, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ue_TransmitAntennaSelection_20 = { - "ue-TransmitAntennaSelection", - "ue-TransmitAntennaSelection", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_ue_TransmitAntennaSelection_constr_20, - asn_MBR_ue_TransmitAntennaSelection_20, - 2, /* Elements count */ - &asn_SPC_ue_TransmitAntennaSelection_specs_20 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_AntennaInfoDedicated_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoDedicated_r10, transmissionMode_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_transmissionMode_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "transmissionMode-r10" - }, - { ATF_POINTER, 1, offsetof(struct AntennaInfoDedicated_r10, codebookSubsetRestriction_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "codebookSubsetRestriction-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoDedicated_r10, ue_TransmitAntennaSelection), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_ue_TransmitAntennaSelection_20, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ue-TransmitAntennaSelection" - }, -}; -static int asn_MAP_AntennaInfoDedicated_r10_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_AntennaInfoDedicated_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_AntennaInfoDedicated_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* transmissionMode-r10 at 1831 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* codebookSubsetRestriction-r10 at 1834 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* ue-TransmitAntennaSelection at 1836 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_AntennaInfoDedicated_r10_specs_1 = { - sizeof(struct AntennaInfoDedicated_r10), - offsetof(struct AntennaInfoDedicated_r10, _asn_ctx), - asn_MAP_AntennaInfoDedicated_r10_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_AntennaInfoDedicated_r10_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_AntennaInfoDedicated_r10 = { - "AntennaInfoDedicated-r10", - "AntennaInfoDedicated-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_AntennaInfoDedicated_r10_tags_1, - sizeof(asn_DEF_AntennaInfoDedicated_r10_tags_1) - /sizeof(asn_DEF_AntennaInfoDedicated_r10_tags_1[0]), /* 1 */ - asn_DEF_AntennaInfoDedicated_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_AntennaInfoDedicated_r10_tags_1) - /sizeof(asn_DEF_AntennaInfoDedicated_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_AntennaInfoDedicated_r10_1, - 3, /* Elements count */ - &asn_SPC_AntennaInfoDedicated_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/AntennaInfoDedicated-v920.c b/lte/rrc/lib/asn/src/AntennaInfoDedicated-v920.c deleted file mode 100644 index 8ee29f67a..000000000 --- a/lte/rrc/lib/asn/src/AntennaInfoDedicated-v920.c +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/AntennaInfoDedicated-v920.h" - -static int -memb_n2TxAntenna_tm8_r9_constraint_2(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 6)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_n4TxAntenna_tm8_r9_constraint_2(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 32)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_n2TxAntenna_tm8_r9_constr_3 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 6, 6 } /* (SIZE(6..6)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n4TxAntenna_tm8_r9_constr_4 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 32, 32 } /* (SIZE(32..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_codebookSubsetRestriction_v920_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_codebookSubsetRestriction_v920_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoDedicated_v920__codebookSubsetRestriction_v920, choice.n2TxAntenna_tm8_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_n2TxAntenna_tm8_r9_constraint_2, - &asn_PER_memb_n2TxAntenna_tm8_r9_constr_3, - 0, - "n2TxAntenna-tm8-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoDedicated_v920__codebookSubsetRestriction_v920, choice.n4TxAntenna_tm8_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_n4TxAntenna_tm8_r9_constraint_2, - &asn_PER_memb_n4TxAntenna_tm8_r9_constr_4, - 0, - "n4TxAntenna-tm8-r9" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_codebookSubsetRestriction_v920_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* n2TxAntenna-tm8-r9 at 1824 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* n4TxAntenna-tm8-r9 at 1825 */ -}; -static asn_CHOICE_specifics_t asn_SPC_codebookSubsetRestriction_v920_specs_2 = { - sizeof(struct AntennaInfoDedicated_v920__codebookSubsetRestriction_v920), - offsetof(struct AntennaInfoDedicated_v920__codebookSubsetRestriction_v920, _asn_ctx), - offsetof(struct AntennaInfoDedicated_v920__codebookSubsetRestriction_v920, present), - sizeof(((struct AntennaInfoDedicated_v920__codebookSubsetRestriction_v920 *)0)->present), - asn_MAP_codebookSubsetRestriction_v920_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_codebookSubsetRestriction_v920_2 = { - "codebookSubsetRestriction-v920", - "codebookSubsetRestriction-v920", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_codebookSubsetRestriction_v920_constr_2, - asn_MBR_codebookSubsetRestriction_v920_2, - 2, /* Elements count */ - &asn_SPC_codebookSubsetRestriction_v920_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_AntennaInfoDedicated_v920_1[] = { - { ATF_POINTER, 1, offsetof(struct AntennaInfoDedicated_v920, codebookSubsetRestriction_v920), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_codebookSubsetRestriction_v920_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "codebookSubsetRestriction-v920" - }, -}; -static int asn_MAP_AntennaInfoDedicated_v920_oms_1[] = { 0 }; -static ber_tlv_tag_t asn_DEF_AntennaInfoDedicated_v920_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_AntennaInfoDedicated_v920_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* codebookSubsetRestriction-v920 at 1824 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_AntennaInfoDedicated_v920_specs_1 = { - sizeof(struct AntennaInfoDedicated_v920), - offsetof(struct AntennaInfoDedicated_v920, _asn_ctx), - asn_MAP_AntennaInfoDedicated_v920_tag2el_1, - 1, /* Count of tags in the map */ - asn_MAP_AntennaInfoDedicated_v920_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_AntennaInfoDedicated_v920 = { - "AntennaInfoDedicated-v920", - "AntennaInfoDedicated-v920", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_AntennaInfoDedicated_v920_tags_1, - sizeof(asn_DEF_AntennaInfoDedicated_v920_tags_1) - /sizeof(asn_DEF_AntennaInfoDedicated_v920_tags_1[0]), /* 1 */ - asn_DEF_AntennaInfoDedicated_v920_tags_1, /* Same as above */ - sizeof(asn_DEF_AntennaInfoDedicated_v920_tags_1) - /sizeof(asn_DEF_AntennaInfoDedicated_v920_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_AntennaInfoDedicated_v920_1, - 1, /* Elements count */ - &asn_SPC_AntennaInfoDedicated_v920_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/AntennaInfoDedicated.c b/lte/rrc/lib/asn/src/AntennaInfoDedicated.c deleted file mode 100644 index 802cd7787..000000000 --- a/lte/rrc/lib/asn/src/AntennaInfoDedicated.c +++ /dev/null @@ -1,846 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/AntennaInfoDedicated.h" - -static int -transmissionMode_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -transmissionMode_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -transmissionMode_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - transmissionMode_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -transmissionMode_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - transmissionMode_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -transmissionMode_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - transmissionMode_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -transmissionMode_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - transmissionMode_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -transmissionMode_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - transmissionMode_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -transmissionMode_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - transmissionMode_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -transmissionMode_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - transmissionMode_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -transmissionMode_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - transmissionMode_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_n2TxAntenna_tm3_constraint_11(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 2)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_n4TxAntenna_tm3_constraint_11(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 4)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_n2TxAntenna_tm4_constraint_11(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 6)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_n4TxAntenna_tm4_constraint_11(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 64)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_n2TxAntenna_tm5_constraint_11(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 4)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_n4TxAntenna_tm5_constraint_11(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_n2TxAntenna_tm6_constraint_11(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 4)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_n4TxAntenna_tm6_constraint_11(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -setup_22_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -setup_22_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -setup_22_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - setup_22_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -setup_22_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - setup_22_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -setup_22_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - setup_22_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -setup_22_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - setup_22_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -setup_22_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - setup_22_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -setup_22_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - setup_22_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -setup_22_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - setup_22_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -setup_22_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - setup_22_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_transmissionMode_constr_2 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n2TxAntenna_tm3_constr_12 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 2, 2 } /* (SIZE(2..2)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n4TxAntenna_tm3_constr_13 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 4, 4 } /* (SIZE(4..4)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n2TxAntenna_tm4_constr_14 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 6, 6 } /* (SIZE(6..6)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n4TxAntenna_tm4_constr_15 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 64, 64 } /* (SIZE(64..64)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n2TxAntenna_tm5_constr_16 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 4, 4 } /* (SIZE(4..4)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n4TxAntenna_tm5_constr_17 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n2TxAntenna_tm6_constr_18 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 4, 4 } /* (SIZE(4..4)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n4TxAntenna_tm6_constr_19 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_codebookSubsetRestriction_constr_11 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_setup_constr_22 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_ue_TransmitAntennaSelection_constr_20 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_transmissionMode_value2enum_2[] = { - { 0, 3, "tm1" }, - { 1, 3, "tm2" }, - { 2, 3, "tm3" }, - { 3, 3, "tm4" }, - { 4, 3, "tm5" }, - { 5, 3, "tm6" }, - { 6, 3, "tm7" }, - { 7, 8, "tm8-v920" } -}; -static unsigned int asn_MAP_transmissionMode_enum2value_2[] = { - 0, /* tm1(0) */ - 1, /* tm2(1) */ - 2, /* tm3(2) */ - 3, /* tm4(3) */ - 4, /* tm5(4) */ - 5, /* tm6(5) */ - 6, /* tm7(6) */ - 7 /* tm8-v920(7) */ -}; -static asn_INTEGER_specifics_t asn_SPC_transmissionMode_specs_2 = { - asn_MAP_transmissionMode_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_transmissionMode_enum2value_2, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_transmissionMode_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_transmissionMode_2 = { - "transmissionMode", - "transmissionMode", - transmissionMode_2_free, - transmissionMode_2_print, - transmissionMode_2_constraint, - transmissionMode_2_decode_ber, - transmissionMode_2_encode_der, - transmissionMode_2_decode_xer, - transmissionMode_2_encode_xer, - transmissionMode_2_decode_uper, - transmissionMode_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_transmissionMode_tags_2, - sizeof(asn_DEF_transmissionMode_tags_2) - /sizeof(asn_DEF_transmissionMode_tags_2[0]) - 1, /* 1 */ - asn_DEF_transmissionMode_tags_2, /* Same as above */ - sizeof(asn_DEF_transmissionMode_tags_2) - /sizeof(asn_DEF_transmissionMode_tags_2[0]), /* 2 */ - &asn_PER_type_transmissionMode_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_transmissionMode_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_codebookSubsetRestriction_11[] = { - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoDedicated__codebookSubsetRestriction, choice.n2TxAntenna_tm3), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_n2TxAntenna_tm3_constraint_11, - &asn_PER_memb_n2TxAntenna_tm3_constr_12, - 0, - "n2TxAntenna-tm3" - }, - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoDedicated__codebookSubsetRestriction, choice.n4TxAntenna_tm3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_n4TxAntenna_tm3_constraint_11, - &asn_PER_memb_n4TxAntenna_tm3_constr_13, - 0, - "n4TxAntenna-tm3" - }, - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoDedicated__codebookSubsetRestriction, choice.n2TxAntenna_tm4), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_n2TxAntenna_tm4_constraint_11, - &asn_PER_memb_n2TxAntenna_tm4_constr_14, - 0, - "n2TxAntenna-tm4" - }, - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoDedicated__codebookSubsetRestriction, choice.n4TxAntenna_tm4), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_n4TxAntenna_tm4_constraint_11, - &asn_PER_memb_n4TxAntenna_tm4_constr_15, - 0, - "n4TxAntenna-tm4" - }, - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoDedicated__codebookSubsetRestriction, choice.n2TxAntenna_tm5), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_n2TxAntenna_tm5_constraint_11, - &asn_PER_memb_n2TxAntenna_tm5_constr_16, - 0, - "n2TxAntenna-tm5" - }, - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoDedicated__codebookSubsetRestriction, choice.n4TxAntenna_tm5), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_n4TxAntenna_tm5_constraint_11, - &asn_PER_memb_n4TxAntenna_tm5_constr_17, - 0, - "n4TxAntenna-tm5" - }, - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoDedicated__codebookSubsetRestriction, choice.n2TxAntenna_tm6), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_n2TxAntenna_tm6_constraint_11, - &asn_PER_memb_n2TxAntenna_tm6_constr_18, - 0, - "n2TxAntenna-tm6" - }, - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoDedicated__codebookSubsetRestriction, choice.n4TxAntenna_tm6), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_n4TxAntenna_tm6_constraint_11, - &asn_PER_memb_n4TxAntenna_tm6_constr_19, - 0, - "n4TxAntenna-tm6" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_codebookSubsetRestriction_tag2el_11[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* n2TxAntenna-tm3 at 1807 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* n4TxAntenna-tm3 at 1808 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* n2TxAntenna-tm4 at 1809 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* n4TxAntenna-tm4 at 1810 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* n2TxAntenna-tm5 at 1811 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* n4TxAntenna-tm5 at 1812 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* n2TxAntenna-tm6 at 1813 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* n4TxAntenna-tm6 at 1814 */ -}; -static asn_CHOICE_specifics_t asn_SPC_codebookSubsetRestriction_specs_11 = { - sizeof(struct AntennaInfoDedicated__codebookSubsetRestriction), - offsetof(struct AntennaInfoDedicated__codebookSubsetRestriction, _asn_ctx), - offsetof(struct AntennaInfoDedicated__codebookSubsetRestriction, present), - sizeof(((struct AntennaInfoDedicated__codebookSubsetRestriction *)0)->present), - asn_MAP_codebookSubsetRestriction_tag2el_11, - 8, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_codebookSubsetRestriction_11 = { - "codebookSubsetRestriction", - "codebookSubsetRestriction", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_codebookSubsetRestriction_constr_11, - asn_MBR_codebookSubsetRestriction_11, - 8, /* Elements count */ - &asn_SPC_codebookSubsetRestriction_specs_11 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_setup_value2enum_22[] = { - { 0, 10, "closedLoop" }, - { 1, 8, "openLoop" } -}; -static unsigned int asn_MAP_setup_enum2value_22[] = { - 0, /* closedLoop(0) */ - 1 /* openLoop(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_setup_specs_22 = { - asn_MAP_setup_value2enum_22, /* "tag" => N; sorted by tag */ - asn_MAP_setup_enum2value_22, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_setup_tags_22[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_22 = { - "setup", - "setup", - setup_22_free, - setup_22_print, - setup_22_constraint, - setup_22_decode_ber, - setup_22_encode_der, - setup_22_decode_xer, - setup_22_encode_xer, - setup_22_decode_uper, - setup_22_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_22, - sizeof(asn_DEF_setup_tags_22) - /sizeof(asn_DEF_setup_tags_22[0]) - 1, /* 1 */ - asn_DEF_setup_tags_22, /* Same as above */ - sizeof(asn_DEF_setup_tags_22) - /sizeof(asn_DEF_setup_tags_22[0]), /* 2 */ - &asn_PER_type_setup_constr_22, - 0, 0, /* Defined elsewhere */ - &asn_SPC_setup_specs_22 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ue_TransmitAntennaSelection_20[] = { - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoDedicated__ue_TransmitAntennaSelection, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoDedicated__ue_TransmitAntennaSelection, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_setup_22, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_ue_TransmitAntennaSelection_tag2el_20[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 1817 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 1818 */ -}; -static asn_CHOICE_specifics_t asn_SPC_ue_TransmitAntennaSelection_specs_20 = { - sizeof(struct AntennaInfoDedicated__ue_TransmitAntennaSelection), - offsetof(struct AntennaInfoDedicated__ue_TransmitAntennaSelection, _asn_ctx), - offsetof(struct AntennaInfoDedicated__ue_TransmitAntennaSelection, present), - sizeof(((struct AntennaInfoDedicated__ue_TransmitAntennaSelection *)0)->present), - asn_MAP_ue_TransmitAntennaSelection_tag2el_20, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ue_TransmitAntennaSelection_20 = { - "ue-TransmitAntennaSelection", - "ue-TransmitAntennaSelection", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_ue_TransmitAntennaSelection_constr_20, - asn_MBR_ue_TransmitAntennaSelection_20, - 2, /* Elements count */ - &asn_SPC_ue_TransmitAntennaSelection_specs_20 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_AntennaInfoDedicated_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoDedicated, transmissionMode), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_transmissionMode_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "transmissionMode" - }, - { ATF_POINTER, 1, offsetof(struct AntennaInfoDedicated, codebookSubsetRestriction), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_codebookSubsetRestriction_11, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "codebookSubsetRestriction" - }, - { ATF_NOFLAGS, 0, offsetof(struct AntennaInfoDedicated, ue_TransmitAntennaSelection), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_ue_TransmitAntennaSelection_20, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ue-TransmitAntennaSelection" - }, -}; -static int asn_MAP_AntennaInfoDedicated_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_AntennaInfoDedicated_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_AntennaInfoDedicated_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* transmissionMode at 1804 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* codebookSubsetRestriction at 1807 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* ue-TransmitAntennaSelection at 1817 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_AntennaInfoDedicated_specs_1 = { - sizeof(struct AntennaInfoDedicated), - offsetof(struct AntennaInfoDedicated, _asn_ctx), - asn_MAP_AntennaInfoDedicated_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_AntennaInfoDedicated_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_AntennaInfoDedicated = { - "AntennaInfoDedicated", - "AntennaInfoDedicated", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_AntennaInfoDedicated_tags_1, - sizeof(asn_DEF_AntennaInfoDedicated_tags_1) - /sizeof(asn_DEF_AntennaInfoDedicated_tags_1[0]), /* 1 */ - asn_DEF_AntennaInfoDedicated_tags_1, /* Same as above */ - sizeof(asn_DEF_AntennaInfoDedicated_tags_1) - /sizeof(asn_DEF_AntennaInfoDedicated_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_AntennaInfoDedicated_1, - 3, /* Elements count */ - &asn_SPC_AntennaInfoDedicated_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/AntennaInfoUL-r10.c b/lte/rrc/lib/asn/src/AntennaInfoUL-r10.c deleted file mode 100644 index 641ca7524..000000000 --- a/lte/rrc/lib/asn/src/AntennaInfoUL-r10.c +++ /dev/null @@ -1,360 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/AntennaInfoUL-r10.h" - -static int -transmissionModeUL_r10_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -transmissionModeUL_r10_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -transmissionModeUL_r10_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - transmissionModeUL_r10_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -transmissionModeUL_r10_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - transmissionModeUL_r10_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -transmissionModeUL_r10_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - transmissionModeUL_r10_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -transmissionModeUL_r10_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - transmissionModeUL_r10_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -transmissionModeUL_r10_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - transmissionModeUL_r10_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -transmissionModeUL_r10_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - transmissionModeUL_r10_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -transmissionModeUL_r10_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - transmissionModeUL_r10_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -transmissionModeUL_r10_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - transmissionModeUL_r10_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -fourAntennaPortActivated_r10_11_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -fourAntennaPortActivated_r10_11_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -fourAntennaPortActivated_r10_11_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - fourAntennaPortActivated_r10_11_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -fourAntennaPortActivated_r10_11_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - fourAntennaPortActivated_r10_11_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -fourAntennaPortActivated_r10_11_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - fourAntennaPortActivated_r10_11_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -fourAntennaPortActivated_r10_11_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - fourAntennaPortActivated_r10_11_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -fourAntennaPortActivated_r10_11_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - fourAntennaPortActivated_r10_11_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -fourAntennaPortActivated_r10_11_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - fourAntennaPortActivated_r10_11_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -fourAntennaPortActivated_r10_11_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - fourAntennaPortActivated_r10_11_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -fourAntennaPortActivated_r10_11_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - fourAntennaPortActivated_r10_11_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_transmissionModeUL_r10_constr_2 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_fourAntennaPortActivated_r10_constr_11 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_transmissionModeUL_r10_value2enum_2[] = { - { 0, 3, "tm1" }, - { 1, 3, "tm2" }, - { 2, 6, "spare6" }, - { 3, 6, "spare5" }, - { 4, 6, "spare4" }, - { 5, 6, "spare3" }, - { 6, 6, "spare2" }, - { 7, 6, "spare1" } -}; -static unsigned int asn_MAP_transmissionModeUL_r10_enum2value_2[] = { - 7, /* spare1(7) */ - 6, /* spare2(6) */ - 5, /* spare3(5) */ - 4, /* spare4(4) */ - 3, /* spare5(3) */ - 2, /* spare6(2) */ - 0, /* tm1(0) */ - 1 /* tm2(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_transmissionModeUL_r10_specs_2 = { - asn_MAP_transmissionModeUL_r10_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_transmissionModeUL_r10_enum2value_2, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_transmissionModeUL_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_transmissionModeUL_r10_2 = { - "transmissionModeUL-r10", - "transmissionModeUL-r10", - transmissionModeUL_r10_2_free, - transmissionModeUL_r10_2_print, - transmissionModeUL_r10_2_constraint, - transmissionModeUL_r10_2_decode_ber, - transmissionModeUL_r10_2_encode_der, - transmissionModeUL_r10_2_decode_xer, - transmissionModeUL_r10_2_encode_xer, - transmissionModeUL_r10_2_decode_uper, - transmissionModeUL_r10_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_transmissionModeUL_r10_tags_2, - sizeof(asn_DEF_transmissionModeUL_r10_tags_2) - /sizeof(asn_DEF_transmissionModeUL_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_transmissionModeUL_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_transmissionModeUL_r10_tags_2) - /sizeof(asn_DEF_transmissionModeUL_r10_tags_2[0]), /* 2 */ - &asn_PER_type_transmissionModeUL_r10_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_transmissionModeUL_r10_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_fourAntennaPortActivated_r10_value2enum_11[] = { - { 0, 5, "setup" } -}; -static unsigned int asn_MAP_fourAntennaPortActivated_r10_enum2value_11[] = { - 0 /* setup(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_fourAntennaPortActivated_r10_specs_11 = { - asn_MAP_fourAntennaPortActivated_r10_value2enum_11, /* "tag" => N; sorted by tag */ - asn_MAP_fourAntennaPortActivated_r10_enum2value_11, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_fourAntennaPortActivated_r10_tags_11[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_fourAntennaPortActivated_r10_11 = { - "fourAntennaPortActivated-r10", - "fourAntennaPortActivated-r10", - fourAntennaPortActivated_r10_11_free, - fourAntennaPortActivated_r10_11_print, - fourAntennaPortActivated_r10_11_constraint, - fourAntennaPortActivated_r10_11_decode_ber, - fourAntennaPortActivated_r10_11_encode_der, - fourAntennaPortActivated_r10_11_decode_xer, - fourAntennaPortActivated_r10_11_encode_xer, - fourAntennaPortActivated_r10_11_decode_uper, - fourAntennaPortActivated_r10_11_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_fourAntennaPortActivated_r10_tags_11, - sizeof(asn_DEF_fourAntennaPortActivated_r10_tags_11) - /sizeof(asn_DEF_fourAntennaPortActivated_r10_tags_11[0]) - 1, /* 1 */ - asn_DEF_fourAntennaPortActivated_r10_tags_11, /* Same as above */ - sizeof(asn_DEF_fourAntennaPortActivated_r10_tags_11) - /sizeof(asn_DEF_fourAntennaPortActivated_r10_tags_11[0]), /* 2 */ - &asn_PER_type_fourAntennaPortActivated_r10_constr_11, - 0, 0, /* Defined elsewhere */ - &asn_SPC_fourAntennaPortActivated_r10_specs_11 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_AntennaInfoUL_r10_1[] = { - { ATF_POINTER, 2, offsetof(struct AntennaInfoUL_r10, transmissionModeUL_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_transmissionModeUL_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "transmissionModeUL-r10" - }, - { ATF_POINTER, 1, offsetof(struct AntennaInfoUL_r10, fourAntennaPortActivated_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_fourAntennaPortActivated_r10_11, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "fourAntennaPortActivated-r10" - }, -}; -static int asn_MAP_AntennaInfoUL_r10_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_AntennaInfoUL_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_AntennaInfoUL_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* transmissionModeUL-r10 at 1843 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* fourAntennaPortActivated-r10 at 1845 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_AntennaInfoUL_r10_specs_1 = { - sizeof(struct AntennaInfoUL_r10), - offsetof(struct AntennaInfoUL_r10, _asn_ctx), - asn_MAP_AntennaInfoUL_r10_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_AntennaInfoUL_r10_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_AntennaInfoUL_r10 = { - "AntennaInfoUL-r10", - "AntennaInfoUL-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_AntennaInfoUL_r10_tags_1, - sizeof(asn_DEF_AntennaInfoUL_r10_tags_1) - /sizeof(asn_DEF_AntennaInfoUL_r10_tags_1[0]), /* 1 */ - asn_DEF_AntennaInfoUL_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_AntennaInfoUL_r10_tags_1) - /sizeof(asn_DEF_AntennaInfoUL_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_AntennaInfoUL_r10_1, - 2, /* Elements count */ - &asn_SPC_AntennaInfoUL_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/AreaConfiguration-r10.c b/lte/rrc/lib/asn/src/AreaConfiguration-r10.c deleted file mode 100644 index 723dbb99f..000000000 --- a/lte/rrc/lib/asn/src/AreaConfiguration-r10.c +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/AreaConfiguration-r10.h" - -static asn_per_constraints_t asn_PER_type_AreaConfiguration_r10_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_AreaConfiguration_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct AreaConfiguration_r10, choice.cellGlobalIdList_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellGlobalIdList_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellGlobalIdList-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct AreaConfiguration_r10, choice.trackingAreaCodeList_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_TrackingAreaCodeList_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "trackingAreaCodeList-r10" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_AreaConfiguration_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellGlobalIdList-r10 at 3632 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* trackingAreaCodeList-r10 at 3634 */ -}; -static asn_CHOICE_specifics_t asn_SPC_AreaConfiguration_r10_specs_1 = { - sizeof(struct AreaConfiguration_r10), - offsetof(struct AreaConfiguration_r10, _asn_ctx), - offsetof(struct AreaConfiguration_r10, present), - sizeof(((struct AreaConfiguration_r10 *)0)->present), - asn_MAP_AreaConfiguration_r10_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_AreaConfiguration_r10 = { - "AreaConfiguration-r10", - "AreaConfiguration-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_AreaConfiguration_r10_constr_1, - asn_MBR_AreaConfiguration_r10_1, - 2, /* Elements count */ - &asn_SPC_AreaConfiguration_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BCCH-BCH-Message.c b/lte/rrc/lib/asn/src/BCCH-BCH-Message.c deleted file mode 100644 index 90f537ad0..000000000 --- a/lte/rrc/lib/asn/src/BCCH-BCH-Message.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BCCH-BCH-Message.h" - -static asn_TYPE_member_t asn_MBR_BCCH_BCH_Message_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct BCCH_BCH_Message, message), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BCCH_BCH_MessageType, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "message" - }, -}; -static ber_tlv_tag_t asn_DEF_BCCH_BCH_Message_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_BCCH_BCH_Message_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* message at 8 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_BCCH_BCH_Message_specs_1 = { - sizeof(struct BCCH_BCH_Message), - offsetof(struct BCCH_BCH_Message, _asn_ctx), - asn_MAP_BCCH_BCH_Message_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_BCCH_BCH_Message = { - "BCCH-BCH-Message", - "BCCH-BCH-Message", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BCCH_BCH_Message_tags_1, - sizeof(asn_DEF_BCCH_BCH_Message_tags_1) - /sizeof(asn_DEF_BCCH_BCH_Message_tags_1[0]), /* 1 */ - asn_DEF_BCCH_BCH_Message_tags_1, /* Same as above */ - sizeof(asn_DEF_BCCH_BCH_Message_tags_1) - /sizeof(asn_DEF_BCCH_BCH_Message_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_BCCH_BCH_Message_1, - 1, /* Elements count */ - &asn_SPC_BCCH_BCH_Message_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BCCH-BCH-MessageType.c b/lte/rrc/lib/asn/src/BCCH-BCH-MessageType.c deleted file mode 100644 index c89b1dac5..000000000 --- a/lte/rrc/lib/asn/src/BCCH-BCH-MessageType.c +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BCCH-BCH-MessageType.h" - -int -BCCH_BCH_MessageType_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_MasterInformationBlock.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using MasterInformationBlock, - * so here we adjust the DEF accordingly. - */ -static void -BCCH_BCH_MessageType_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_MasterInformationBlock.free_struct; - td->print_struct = asn_DEF_MasterInformationBlock.print_struct; - td->ber_decoder = asn_DEF_MasterInformationBlock.ber_decoder; - td->der_encoder = asn_DEF_MasterInformationBlock.der_encoder; - td->xer_decoder = asn_DEF_MasterInformationBlock.xer_decoder; - td->xer_encoder = asn_DEF_MasterInformationBlock.xer_encoder; - td->uper_decoder = asn_DEF_MasterInformationBlock.uper_decoder; - td->uper_encoder = asn_DEF_MasterInformationBlock.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_MasterInformationBlock.per_constraints; - td->elements = asn_DEF_MasterInformationBlock.elements; - td->elements_count = asn_DEF_MasterInformationBlock.elements_count; - td->specifics = asn_DEF_MasterInformationBlock.specifics; -} - -void -BCCH_BCH_MessageType_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - BCCH_BCH_MessageType_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -BCCH_BCH_MessageType_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - BCCH_BCH_MessageType_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -BCCH_BCH_MessageType_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - BCCH_BCH_MessageType_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -BCCH_BCH_MessageType_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - BCCH_BCH_MessageType_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -BCCH_BCH_MessageType_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - BCCH_BCH_MessageType_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -BCCH_BCH_MessageType_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - BCCH_BCH_MessageType_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -BCCH_BCH_MessageType_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - BCCH_BCH_MessageType_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -BCCH_BCH_MessageType_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - BCCH_BCH_MessageType_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static ber_tlv_tag_t asn_DEF_BCCH_BCH_MessageType_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_BCCH_BCH_MessageType = { - "BCCH-BCH-MessageType", - "BCCH-BCH-MessageType", - BCCH_BCH_MessageType_free, - BCCH_BCH_MessageType_print, - BCCH_BCH_MessageType_constraint, - BCCH_BCH_MessageType_decode_ber, - BCCH_BCH_MessageType_encode_der, - BCCH_BCH_MessageType_decode_xer, - BCCH_BCH_MessageType_encode_xer, - BCCH_BCH_MessageType_decode_uper, - BCCH_BCH_MessageType_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BCCH_BCH_MessageType_tags_1, - sizeof(asn_DEF_BCCH_BCH_MessageType_tags_1) - /sizeof(asn_DEF_BCCH_BCH_MessageType_tags_1[0]), /* 1 */ - asn_DEF_BCCH_BCH_MessageType_tags_1, /* Same as above */ - sizeof(asn_DEF_BCCH_BCH_MessageType_tags_1) - /sizeof(asn_DEF_BCCH_BCH_MessageType_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - 0, 0, /* Defined elsewhere */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/BCCH-Config.c b/lte/rrc/lib/asn/src/BCCH-Config.c deleted file mode 100644 index a6ec9fc52..000000000 --- a/lte/rrc/lib/asn/src/BCCH-Config.c +++ /dev/null @@ -1,203 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BCCH-Config.h" - -static int -modificationPeriodCoeff_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -modificationPeriodCoeff_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -modificationPeriodCoeff_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - modificationPeriodCoeff_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -modificationPeriodCoeff_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - modificationPeriodCoeff_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -modificationPeriodCoeff_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - modificationPeriodCoeff_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -modificationPeriodCoeff_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - modificationPeriodCoeff_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -modificationPeriodCoeff_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - modificationPeriodCoeff_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -modificationPeriodCoeff_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - modificationPeriodCoeff_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -modificationPeriodCoeff_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - modificationPeriodCoeff_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -modificationPeriodCoeff_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - modificationPeriodCoeff_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_modificationPeriodCoeff_constr_2 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_modificationPeriodCoeff_value2enum_2[] = { - { 0, 2, "n2" }, - { 1, 2, "n4" }, - { 2, 2, "n8" }, - { 3, 3, "n16" } -}; -static unsigned int asn_MAP_modificationPeriodCoeff_enum2value_2[] = { - 3, /* n16(3) */ - 0, /* n2(0) */ - 1, /* n4(1) */ - 2 /* n8(2) */ -}; -static asn_INTEGER_specifics_t asn_SPC_modificationPeriodCoeff_specs_2 = { - asn_MAP_modificationPeriodCoeff_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_modificationPeriodCoeff_enum2value_2, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_modificationPeriodCoeff_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_modificationPeriodCoeff_2 = { - "modificationPeriodCoeff", - "modificationPeriodCoeff", - modificationPeriodCoeff_2_free, - modificationPeriodCoeff_2_print, - modificationPeriodCoeff_2_constraint, - modificationPeriodCoeff_2_decode_ber, - modificationPeriodCoeff_2_encode_der, - modificationPeriodCoeff_2_decode_xer, - modificationPeriodCoeff_2_encode_xer, - modificationPeriodCoeff_2_decode_uper, - modificationPeriodCoeff_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_modificationPeriodCoeff_tags_2, - sizeof(asn_DEF_modificationPeriodCoeff_tags_2) - /sizeof(asn_DEF_modificationPeriodCoeff_tags_2[0]) - 1, /* 1 */ - asn_DEF_modificationPeriodCoeff_tags_2, /* Same as above */ - sizeof(asn_DEF_modificationPeriodCoeff_tags_2) - /sizeof(asn_DEF_modificationPeriodCoeff_tags_2[0]), /* 2 */ - &asn_PER_type_modificationPeriodCoeff_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_modificationPeriodCoeff_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_BCCH_Config_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct BCCH_Config, modificationPeriodCoeff), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_modificationPeriodCoeff_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "modificationPeriodCoeff" - }, -}; -static ber_tlv_tag_t asn_DEF_BCCH_Config_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_BCCH_Config_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* modificationPeriodCoeff at 2428 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_BCCH_Config_specs_1 = { - sizeof(struct BCCH_Config), - offsetof(struct BCCH_Config, _asn_ctx), - asn_MAP_BCCH_Config_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_BCCH_Config = { - "BCCH-Config", - "BCCH-Config", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BCCH_Config_tags_1, - sizeof(asn_DEF_BCCH_Config_tags_1) - /sizeof(asn_DEF_BCCH_Config_tags_1[0]), /* 1 */ - asn_DEF_BCCH_Config_tags_1, /* Same as above */ - sizeof(asn_DEF_BCCH_Config_tags_1) - /sizeof(asn_DEF_BCCH_Config_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_BCCH_Config_1, - 1, /* Elements count */ - &asn_SPC_BCCH_Config_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BCCH-DL-SCH-Message.c b/lte/rrc/lib/asn/src/BCCH-DL-SCH-Message.c deleted file mode 100644 index c07ab964e..000000000 --- a/lte/rrc/lib/asn/src/BCCH-DL-SCH-Message.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BCCH-DL-SCH-Message.h" - -static asn_TYPE_member_t asn_MBR_BCCH_DL_SCH_Message_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct BCCH_DL_SCH_Message, message), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_BCCH_DL_SCH_MessageType, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "message" - }, -}; -static ber_tlv_tag_t asn_DEF_BCCH_DL_SCH_Message_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_BCCH_DL_SCH_Message_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* message at 15 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_BCCH_DL_SCH_Message_specs_1 = { - sizeof(struct BCCH_DL_SCH_Message), - offsetof(struct BCCH_DL_SCH_Message, _asn_ctx), - asn_MAP_BCCH_DL_SCH_Message_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_BCCH_DL_SCH_Message = { - "BCCH-DL-SCH-Message", - "BCCH-DL-SCH-Message", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BCCH_DL_SCH_Message_tags_1, - sizeof(asn_DEF_BCCH_DL_SCH_Message_tags_1) - /sizeof(asn_DEF_BCCH_DL_SCH_Message_tags_1[0]), /* 1 */ - asn_DEF_BCCH_DL_SCH_Message_tags_1, /* Same as above */ - sizeof(asn_DEF_BCCH_DL_SCH_Message_tags_1) - /sizeof(asn_DEF_BCCH_DL_SCH_Message_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_BCCH_DL_SCH_Message_1, - 1, /* Elements count */ - &asn_SPC_BCCH_DL_SCH_Message_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BCCH-DL-SCH-MessageType.c b/lte/rrc/lib/asn/src/BCCH-DL-SCH-MessageType.c deleted file mode 100644 index ab297a6ce..000000000 --- a/lte/rrc/lib/asn/src/BCCH-DL-SCH-MessageType.c +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BCCH-DL-SCH-MessageType.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_BCCH_DL_SCH_MessageType_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct BCCH_DL_SCH_MessageType__c1, choice.systemInformation), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformation, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "systemInformation" - }, - { ATF_NOFLAGS, 0, offsetof(struct BCCH_DL_SCH_MessageType__c1, choice.systemInformationBlockType1), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformationBlockType1, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "systemInformationBlockType1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* systemInformation at 19 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* systemInformationBlockType1 at 21 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_2 = { - sizeof(struct BCCH_DL_SCH_MessageType__c1), - offsetof(struct BCCH_DL_SCH_MessageType__c1, _asn_ctx), - offsetof(struct BCCH_DL_SCH_MessageType__c1, present), - sizeof(((struct BCCH_DL_SCH_MessageType__c1 *)0)->present), - asn_MAP_c1_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_2 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_2, - asn_MBR_c1_2, - 2, /* Elements count */ - &asn_SPC_c1_specs_2 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_messageClassExtension_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_messageClassExtension_specs_5 = { - sizeof(struct BCCH_DL_SCH_MessageType__messageClassExtension), - offsetof(struct BCCH_DL_SCH_MessageType__messageClassExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_messageClassExtension_5 = { - "messageClassExtension", - "messageClassExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_messageClassExtension_tags_5, - sizeof(asn_DEF_messageClassExtension_tags_5) - /sizeof(asn_DEF_messageClassExtension_tags_5[0]) - 1, /* 1 */ - asn_DEF_messageClassExtension_tags_5, /* Same as above */ - sizeof(asn_DEF_messageClassExtension_tags_5) - /sizeof(asn_DEF_messageClassExtension_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_messageClassExtension_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_BCCH_DL_SCH_MessageType_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct BCCH_DL_SCH_MessageType, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct BCCH_DL_SCH_MessageType, choice.messageClassExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_messageClassExtension_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "messageClassExtension" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_BCCH_DL_SCH_MessageType_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 19 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* messageClassExtension at 22 */ -}; -static asn_CHOICE_specifics_t asn_SPC_BCCH_DL_SCH_MessageType_specs_1 = { - sizeof(struct BCCH_DL_SCH_MessageType), - offsetof(struct BCCH_DL_SCH_MessageType, _asn_ctx), - offsetof(struct BCCH_DL_SCH_MessageType, present), - sizeof(((struct BCCH_DL_SCH_MessageType *)0)->present), - asn_MAP_BCCH_DL_SCH_MessageType_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_BCCH_DL_SCH_MessageType = { - "BCCH-DL-SCH-MessageType", - "BCCH-DL-SCH-MessageType", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_BCCH_DL_SCH_MessageType_constr_1, - asn_MBR_BCCH_DL_SCH_MessageType_1, - 2, /* Elements count */ - &asn_SPC_BCCH_DL_SCH_MessageType_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BIT_STRING.c b/lte/rrc/lib/asn/src/BIT_STRING.c deleted file mode 100644 index 316cef39f..000000000 --- a/lte/rrc/lib/asn/src/BIT_STRING.c +++ /dev/null @@ -1,189 +0,0 @@ -/*- - * Copyright (c) 2003, 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include -#include - -/* - * BIT STRING basic type description. - */ -static ber_tlv_tag_t asn_DEF_BIT_STRING_tags[] = { - (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)) -}; -static asn_OCTET_STRING_specifics_t asn_DEF_BIT_STRING_specs = { - sizeof(BIT_STRING_t), - offsetof(BIT_STRING_t, _asn_ctx), - ASN_OSUBV_BIT -}; -asn_TYPE_descriptor_t asn_DEF_BIT_STRING = { - "BIT STRING", - "BIT_STRING", - OCTET_STRING_free, /* Implemented in terms of OCTET STRING */ - BIT_STRING_print, - BIT_STRING_constraint, - OCTET_STRING_decode_ber, /* Implemented in terms of OCTET STRING */ - OCTET_STRING_encode_der, /* Implemented in terms of OCTET STRING */ - OCTET_STRING_decode_xer_binary, - BIT_STRING_encode_xer, - OCTET_STRING_decode_uper, /* Unaligned PER decoder */ - OCTET_STRING_encode_uper, /* Unaligned PER encoder */ - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BIT_STRING_tags, - sizeof(asn_DEF_BIT_STRING_tags) - / sizeof(asn_DEF_BIT_STRING_tags[0]), - asn_DEF_BIT_STRING_tags, /* Same as above */ - sizeof(asn_DEF_BIT_STRING_tags) - / sizeof(asn_DEF_BIT_STRING_tags[0]), - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_DEF_BIT_STRING_specs -}; - -/* - * BIT STRING generic constraint. - */ -int -BIT_STRING_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - - if(st && st->buf) { - if((st->size == 0 && st->bits_unused) - || st->bits_unused < 0 || st->bits_unused > 7) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: invalid padding byte (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - return 0; -} - -static char *_bit_pattern[16] = { - "0000", "0001", "0010", "0011", "0100", "0101", "0110", "0111", - "1000", "1001", "1010", "1011", "1100", "1101", "1110", "1111" -}; - -asn_enc_rval_t -BIT_STRING_encode_xer(asn_TYPE_descriptor_t *td, void *sptr, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_enc_rval_t er; - char scratch[128]; - char *p = scratch; - char *scend = scratch + (sizeof(scratch) - 10); - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - int xcan = (flags & XER_F_CANONICAL); - uint8_t *buf; - uint8_t *end; - - if(!st || !st->buf) - _ASN_ENCODE_FAILED; - - er.encoded = 0; - - buf = st->buf; - end = buf + st->size - 1; /* Last byte is special */ - - /* - * Binary dump - */ - for(; buf < end; buf++) { - int v = *buf; - int nline = xcan?0:(((buf - st->buf) % 8) == 0); - if(p >= scend || nline) { - er.encoded += p - scratch; - _ASN_CALLBACK(scratch, p - scratch); - p = scratch; - if(nline) _i_ASN_TEXT_INDENT(1, ilevel); - } - memcpy(p + 0, _bit_pattern[v >> 4], 4); - memcpy(p + 4, _bit_pattern[v & 0x0f], 4); - p += 8; - } - - if(!xcan && ((buf - st->buf) % 8) == 0) - _i_ASN_TEXT_INDENT(1, ilevel); - er.encoded += p - scratch; - _ASN_CALLBACK(scratch, p - scratch); - p = scratch; - - if(buf == end) { - int v = *buf; - int ubits = st->bits_unused; - int i; - for(i = 7; i >= ubits; i--) - *p++ = (v & (1 << i)) ? 0x31 : 0x30; - er.encoded += p - scratch; - _ASN_CALLBACK(scratch, p - scratch); - } - - if(!xcan) _i_ASN_TEXT_INDENT(1, ilevel - 1); - - _ASN_ENCODED_OK(er); -cb_failed: - _ASN_ENCODE_FAILED; -} - - -/* - * BIT STRING specific contents printer. - */ -int -BIT_STRING_print(asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, - asn_app_consume_bytes_f *cb, void *app_key) { - static const char *h2c = "0123456789ABCDEF"; - char scratch[64]; - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - uint8_t *buf; - uint8_t *end; - char *p = scratch; - - (void)td; /* Unused argument */ - - if(!st || !st->buf) - return (cb("", 8, app_key) < 0) ? -1 : 0; - - ilevel++; - buf = st->buf; - end = buf + st->size; - - /* - * Hexadecimal dump. - */ - for(; buf < end; buf++) { - if((buf - st->buf) % 16 == 0 && (st->size > 16) - && buf != st->buf) { - _i_INDENT(1); - /* Dump the string */ - if(cb(scratch, p - scratch, app_key) < 0) return -1; - p = scratch; - } - *p++ = h2c[*buf >> 4]; - *p++ = h2c[*buf & 0x0F]; - *p++ = 0x20; - } - - if(p > scratch) { - p--; /* Eat the tailing space */ - - if((st->size > 16)) { - _i_INDENT(1); - } - - /* Dump the incomplete 16-bytes row */ - if(cb(scratch, p - scratch, app_key) < 0) - return -1; - } - - return 0; -} - diff --git a/lte/rrc/lib/asn/src/BOOLEAN.c b/lte/rrc/lib/asn/src/BOOLEAN.c deleted file mode 100644 index 2c4fe8226..000000000 --- a/lte/rrc/lib/asn/src/BOOLEAN.c +++ /dev/null @@ -1,284 +0,0 @@ -/*- - * Copyright (c) 2003, 2005 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include -#include - -/* - * BOOLEAN basic type description. - */ -static ber_tlv_tag_t asn_DEF_BOOLEAN_tags[] = { - (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_BOOLEAN = { - "BOOLEAN", - "BOOLEAN", - BOOLEAN_free, - BOOLEAN_print, - asn_generic_no_constraint, - BOOLEAN_decode_ber, - BOOLEAN_encode_der, - BOOLEAN_decode_xer, - BOOLEAN_encode_xer, - BOOLEAN_decode_uper, /* Unaligned PER decoder */ - BOOLEAN_encode_uper, /* Unaligned PER encoder */ - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BOOLEAN_tags, - sizeof(asn_DEF_BOOLEAN_tags) / sizeof(asn_DEF_BOOLEAN_tags[0]), - asn_DEF_BOOLEAN_tags, /* Same as above */ - sizeof(asn_DEF_BOOLEAN_tags) / sizeof(asn_DEF_BOOLEAN_tags[0]), - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - 0 /* No specifics */ -}; - -/* - * Decode BOOLEAN type. - */ -asn_dec_rval_t -BOOLEAN_decode_ber(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *td, - void **bool_value, const void *buf_ptr, size_t size, - int tag_mode) { - BOOLEAN_t *st = (BOOLEAN_t *)*bool_value; - asn_dec_rval_t rval; - ber_tlv_len_t length; - ber_tlv_len_t lidx; - - if(st == NULL) { - st = (BOOLEAN_t *)(*bool_value = CALLOC(1, sizeof(*st))); - if(st == NULL) { - rval.code = RC_FAIL; - rval.consumed = 0; - return rval; - } - } - - ASN_DEBUG("Decoding %s as BOOLEAN (tm=%d)", - td->name, tag_mode); - - /* - * Check tags. - */ - rval = ber_check_tags(opt_codec_ctx, td, 0, buf_ptr, size, - tag_mode, 0, &length, 0); - if(rval.code != RC_OK) - return rval; - - ASN_DEBUG("Boolean length is %d bytes", (int)length); - - buf_ptr = ((const char *)buf_ptr) + rval.consumed; - size -= rval.consumed; - if(length > (ber_tlv_len_t)size) { - rval.code = RC_WMORE; - rval.consumed = 0; - return rval; - } - - /* - * Compute boolean value. - */ - for(*st = 0, lidx = 0; - (lidx < length) && *st == 0; lidx++) { - /* - * Very simple approach: read bytes until the end or - * value is already TRUE. - * BOOLEAN is not supposed to contain meaningful data anyway. - */ - *st |= ((const uint8_t *)buf_ptr)[lidx]; - } - - rval.code = RC_OK; - rval.consumed += length; - - ASN_DEBUG("Took %ld/%ld bytes to encode %s, value=%d", - (long)rval.consumed, (long)length, - td->name, *st); - - return rval; -} - -asn_enc_rval_t -BOOLEAN_encode_der(asn_TYPE_descriptor_t *td, void *sptr, - int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_enc_rval_t erval; - BOOLEAN_t *st = (BOOLEAN_t *)sptr; - - erval.encoded = der_write_tags(td, 1, tag_mode, 0, tag, cb, app_key); - if(erval.encoded == -1) { - erval.failed_type = td; - erval.structure_ptr = sptr; - return erval; - } - - if(cb) { - uint8_t bool_value; - - bool_value = *st ? 0xff : 0; /* 0xff mandated by DER */ - - if(cb(&bool_value, 1, app_key) < 0) { - erval.encoded = -1; - erval.failed_type = td; - erval.structure_ptr = sptr; - return erval; - } - } - - erval.encoded += 1; - - _ASN_ENCODED_OK(erval); -} - - -/* - * Decode the chunk of XML text encoding INTEGER. - */ -static enum xer_pbd_rval -BOOLEAN__xer_body_decode(asn_TYPE_descriptor_t *td, void *sptr, const void *chunk_buf, size_t chunk_size) { - BOOLEAN_t *st = (BOOLEAN_t *)sptr; - const char *p = (const char *)chunk_buf; - - (void)td; - - if(chunk_size && p[0] == 0x3c /* '<' */) { - switch(xer_check_tag(chunk_buf, chunk_size, "false")) { - case XCT_BOTH: - /* "" */ - *st = 0; - break; - case XCT_UNKNOWN_BO: - if(xer_check_tag(chunk_buf, chunk_size, "true") - != XCT_BOTH) - return XPBD_BROKEN_ENCODING; - /* "" */ - *st = 1; /* Or 0xff as in DER?.. */ - break; - default: - return XPBD_BROKEN_ENCODING; - } - return XPBD_BODY_CONSUMED; - } else { - if(xer_is_whitespace(chunk_buf, chunk_size)) - return XPBD_NOT_BODY_IGNORE; - else - return XPBD_BROKEN_ENCODING; - } -} - - -asn_dec_rval_t -BOOLEAN_decode_xer(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *td, void **sptr, const char *opt_mname, - const void *buf_ptr, size_t size) { - - return xer_decode_primitive(opt_codec_ctx, td, - sptr, sizeof(BOOLEAN_t), opt_mname, buf_ptr, size, - BOOLEAN__xer_body_decode); -} - -asn_enc_rval_t -BOOLEAN_encode_xer(asn_TYPE_descriptor_t *td, void *sptr, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - const BOOLEAN_t *st = (const BOOLEAN_t *)sptr; - asn_enc_rval_t er; - - (void)ilevel; - (void)flags; - - if(!st) _ASN_ENCODE_FAILED; - - if(*st) { - _ASN_CALLBACK("", 7); - er.encoded = 7; - } else { - _ASN_CALLBACK("", 8); - er.encoded = 8; - } - - _ASN_ENCODED_OK(er); -cb_failed: - _ASN_ENCODE_FAILED; -} - -int -BOOLEAN_print(asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, - asn_app_consume_bytes_f *cb, void *app_key) { - const BOOLEAN_t *st = (const BOOLEAN_t *)sptr; - const char *buf; - size_t buflen; - - (void)td; /* Unused argument */ - (void)ilevel; /* Unused argument */ - - if(st) { - if(*st) { - buf = "TRUE"; - buflen = 4; - } else { - buf = "FALSE"; - buflen = 5; - } - } else { - buf = ""; - buflen = 8; - } - - return (cb(buf, buflen, app_key) < 0) ? -1 : 0; -} - -void -BOOLEAN_free(asn_TYPE_descriptor_t *td, void *ptr, int contents_only) { - if(td && ptr && !contents_only) { - FREEMEM(ptr); - } -} - -asn_dec_rval_t -BOOLEAN_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd) { - asn_dec_rval_t rv; - BOOLEAN_t *st = (BOOLEAN_t *)*sptr; - - (void)opt_codec_ctx; - (void)constraints; - - if(!st) { - st = (BOOLEAN_t *)(*sptr = MALLOC(sizeof(*st))); - if(!st) _ASN_DECODE_FAILED; - } - - /* - * Extract a single bit - */ - switch(per_get_few_bits(pd, 1)) { - case 1: *st = 1; break; - case 0: *st = 0; break; - case -1: default: _ASN_DECODE_STARVED; - } - - ASN_DEBUG("%s decoded as %s", td->name, *st ? "TRUE" : "FALSE"); - - rv.code = RC_OK; - rv.consumed = 1; - return rv; -} - - -asn_enc_rval_t -BOOLEAN_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void *sptr, asn_per_outp_t *po) { - const BOOLEAN_t *st = (const BOOLEAN_t *)sptr; - asn_enc_rval_t er; - - (void)constraints; - - if(!st) _ASN_ENCODE_FAILED; - - per_put_few_bits(po, *st ? 1 : 0, 1); - - _ASN_ENCODED_OK(er); -} diff --git a/lte/rrc/lib/asn/src/BandClassInfoCDMA2000.c b/lte/rrc/lib/asn/src/BandClassInfoCDMA2000.c deleted file mode 100644 index 29911c34d..000000000 --- a/lte/rrc/lib/asn/src/BandClassInfoCDMA2000.c +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BandClassInfoCDMA2000.h" - -static int -memb_threshX_High_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 63)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_threshX_Low_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 63)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_threshX_High_constr_4 = { - { APC_CONSTRAINED, 6, 6, 0, 63 } /* (0..63) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_threshX_Low_constr_5 = { - { APC_CONSTRAINED, 6, 6, 0, 63 } /* (0..63) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_BandClassInfoCDMA2000_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct BandClassInfoCDMA2000, bandClass), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BandclassCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "bandClass" - }, - { ATF_POINTER, 1, offsetof(struct BandClassInfoCDMA2000, cellReselectionPriority), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellReselectionPriority, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReselectionPriority" - }, - { ATF_NOFLAGS, 0, offsetof(struct BandClassInfoCDMA2000, threshX_High), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_threshX_High_constraint_1, - &asn_PER_memb_threshX_High_constr_4, - 0, - "threshX-High" - }, - { ATF_NOFLAGS, 0, offsetof(struct BandClassInfoCDMA2000, threshX_Low), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_threshX_Low_constraint_1, - &asn_PER_memb_threshX_Low_constr_5, - 0, - "threshX-Low" - }, -}; -static int asn_MAP_BandClassInfoCDMA2000_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_BandClassInfoCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_BandClassInfoCDMA2000_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bandClass at 1728 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cellReselectionPriority at 1729 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* threshX-High at 1730 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* threshX-Low at 1731 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_BandClassInfoCDMA2000_specs_1 = { - sizeof(struct BandClassInfoCDMA2000), - offsetof(struct BandClassInfoCDMA2000, _asn_ctx), - asn_MAP_BandClassInfoCDMA2000_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_BandClassInfoCDMA2000_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - 3, /* Start extensions */ - 5 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_BandClassInfoCDMA2000 = { - "BandClassInfoCDMA2000", - "BandClassInfoCDMA2000", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BandClassInfoCDMA2000_tags_1, - sizeof(asn_DEF_BandClassInfoCDMA2000_tags_1) - /sizeof(asn_DEF_BandClassInfoCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_BandClassInfoCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_BandClassInfoCDMA2000_tags_1) - /sizeof(asn_DEF_BandClassInfoCDMA2000_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_BandClassInfoCDMA2000_1, - 4, /* Elements count */ - &asn_SPC_BandClassInfoCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BandClassListCDMA2000.c b/lte/rrc/lib/asn/src/BandClassListCDMA2000.c deleted file mode 100644 index 5ee6532f2..000000000 --- a/lte/rrc/lib/asn/src/BandClassListCDMA2000.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BandClassListCDMA2000.h" - -static asn_per_constraints_t asn_PER_type_BandClassListCDMA2000_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_BandClassListCDMA2000_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_BandClassInfoCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_BandClassListCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_BandClassListCDMA2000_specs_1 = { - sizeof(struct BandClassListCDMA2000), - offsetof(struct BandClassListCDMA2000, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_BandClassListCDMA2000 = { - "BandClassListCDMA2000", - "BandClassListCDMA2000", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BandClassListCDMA2000_tags_1, - sizeof(asn_DEF_BandClassListCDMA2000_tags_1) - /sizeof(asn_DEF_BandClassListCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_BandClassListCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_BandClassListCDMA2000_tags_1) - /sizeof(asn_DEF_BandClassListCDMA2000_tags_1[0]), /* 1 */ - &asn_PER_type_BandClassListCDMA2000_constr_1, - asn_MBR_BandClassListCDMA2000_1, - 1, /* Single element */ - &asn_SPC_BandClassListCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BandClassPriority1XRTT.c b/lte/rrc/lib/asn/src/BandClassPriority1XRTT.c deleted file mode 100644 index 503e4ee5e..000000000 --- a/lte/rrc/lib/asn/src/BandClassPriority1XRTT.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BandClassPriority1XRTT.h" - -static asn_TYPE_member_t asn_MBR_BandClassPriority1XRTT_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct BandClassPriority1XRTT, bandClass), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BandclassCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "bandClass" - }, - { ATF_NOFLAGS, 0, offsetof(struct BandClassPriority1XRTT, cellReselectionPriority), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellReselectionPriority, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReselectionPriority" - }, -}; -static ber_tlv_tag_t asn_DEF_BandClassPriority1XRTT_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_BandClassPriority1XRTT_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bandClass at 954 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cellReselectionPriority at 956 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_BandClassPriority1XRTT_specs_1 = { - sizeof(struct BandClassPriority1XRTT), - offsetof(struct BandClassPriority1XRTT, _asn_ctx), - asn_MAP_BandClassPriority1XRTT_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_BandClassPriority1XRTT = { - "BandClassPriority1XRTT", - "BandClassPriority1XRTT", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BandClassPriority1XRTT_tags_1, - sizeof(asn_DEF_BandClassPriority1XRTT_tags_1) - /sizeof(asn_DEF_BandClassPriority1XRTT_tags_1[0]), /* 1 */ - asn_DEF_BandClassPriority1XRTT_tags_1, /* Same as above */ - sizeof(asn_DEF_BandClassPriority1XRTT_tags_1) - /sizeof(asn_DEF_BandClassPriority1XRTT_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_BandClassPriority1XRTT_1, - 2, /* Elements count */ - &asn_SPC_BandClassPriority1XRTT_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BandClassPriorityHRPD.c b/lte/rrc/lib/asn/src/BandClassPriorityHRPD.c deleted file mode 100644 index c0ea535ca..000000000 --- a/lte/rrc/lib/asn/src/BandClassPriorityHRPD.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BandClassPriorityHRPD.h" - -static asn_TYPE_member_t asn_MBR_BandClassPriorityHRPD_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct BandClassPriorityHRPD, bandClass), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BandclassCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "bandClass" - }, - { ATF_NOFLAGS, 0, offsetof(struct BandClassPriorityHRPD, cellReselectionPriority), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellReselectionPriority, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReselectionPriority" - }, -}; -static ber_tlv_tag_t asn_DEF_BandClassPriorityHRPD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_BandClassPriorityHRPD_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bandClass at 947 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cellReselectionPriority at 949 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_BandClassPriorityHRPD_specs_1 = { - sizeof(struct BandClassPriorityHRPD), - offsetof(struct BandClassPriorityHRPD, _asn_ctx), - asn_MAP_BandClassPriorityHRPD_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_BandClassPriorityHRPD = { - "BandClassPriorityHRPD", - "BandClassPriorityHRPD", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BandClassPriorityHRPD_tags_1, - sizeof(asn_DEF_BandClassPriorityHRPD_tags_1) - /sizeof(asn_DEF_BandClassPriorityHRPD_tags_1[0]), /* 1 */ - asn_DEF_BandClassPriorityHRPD_tags_1, /* Same as above */ - sizeof(asn_DEF_BandClassPriorityHRPD_tags_1) - /sizeof(asn_DEF_BandClassPriorityHRPD_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_BandClassPriorityHRPD_1, - 2, /* Elements count */ - &asn_SPC_BandClassPriorityHRPD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BandClassPriorityList1XRTT.c b/lte/rrc/lib/asn/src/BandClassPriorityList1XRTT.c deleted file mode 100644 index 3f2183784..000000000 --- a/lte/rrc/lib/asn/src/BandClassPriorityList1XRTT.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BandClassPriorityList1XRTT.h" - -static asn_per_constraints_t asn_PER_type_BandClassPriorityList1XRTT_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_BandClassPriorityList1XRTT_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_BandClassPriority1XRTT, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_BandClassPriorityList1XRTT_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_BandClassPriorityList1XRTT_specs_1 = { - sizeof(struct BandClassPriorityList1XRTT), - offsetof(struct BandClassPriorityList1XRTT, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_BandClassPriorityList1XRTT = { - "BandClassPriorityList1XRTT", - "BandClassPriorityList1XRTT", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BandClassPriorityList1XRTT_tags_1, - sizeof(asn_DEF_BandClassPriorityList1XRTT_tags_1) - /sizeof(asn_DEF_BandClassPriorityList1XRTT_tags_1[0]), /* 1 */ - asn_DEF_BandClassPriorityList1XRTT_tags_1, /* Same as above */ - sizeof(asn_DEF_BandClassPriorityList1XRTT_tags_1) - /sizeof(asn_DEF_BandClassPriorityList1XRTT_tags_1[0]), /* 1 */ - &asn_PER_type_BandClassPriorityList1XRTT_constr_1, - asn_MBR_BandClassPriorityList1XRTT_1, - 1, /* Single element */ - &asn_SPC_BandClassPriorityList1XRTT_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BandClassPriorityListHRPD.c b/lte/rrc/lib/asn/src/BandClassPriorityListHRPD.c deleted file mode 100644 index 54c16d167..000000000 --- a/lte/rrc/lib/asn/src/BandClassPriorityListHRPD.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BandClassPriorityListHRPD.h" - -static asn_per_constraints_t asn_PER_type_BandClassPriorityListHRPD_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_BandClassPriorityListHRPD_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_BandClassPriorityHRPD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_BandClassPriorityListHRPD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_BandClassPriorityListHRPD_specs_1 = { - sizeof(struct BandClassPriorityListHRPD), - offsetof(struct BandClassPriorityListHRPD, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_BandClassPriorityListHRPD = { - "BandClassPriorityListHRPD", - "BandClassPriorityListHRPD", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BandClassPriorityListHRPD_tags_1, - sizeof(asn_DEF_BandClassPriorityListHRPD_tags_1) - /sizeof(asn_DEF_BandClassPriorityListHRPD_tags_1[0]), /* 1 */ - asn_DEF_BandClassPriorityListHRPD_tags_1, /* Same as above */ - sizeof(asn_DEF_BandClassPriorityListHRPD_tags_1) - /sizeof(asn_DEF_BandClassPriorityListHRPD_tags_1[0]), /* 1 */ - &asn_PER_type_BandClassPriorityListHRPD_constr_1, - asn_MBR_BandClassPriorityListHRPD_1, - 1, /* Single element */ - &asn_SPC_BandClassPriorityListHRPD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BandCombinationListEUTRA-r10.c b/lte/rrc/lib/asn/src/BandCombinationListEUTRA-r10.c deleted file mode 100644 index 6334bf98a..000000000 --- a/lte/rrc/lib/asn/src/BandCombinationListEUTRA-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BandCombinationListEUTRA-r10.h" - -static asn_per_constraints_t asn_PER_type_BandCombinationListEUTRA_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 7, 7, 1, 128 } /* (SIZE(1..128)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_BandCombinationListEUTRA_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_BandInfoEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_BandCombinationListEUTRA_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_BandCombinationListEUTRA_r10_specs_1 = { - sizeof(struct BandCombinationListEUTRA_r10), - offsetof(struct BandCombinationListEUTRA_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_BandCombinationListEUTRA_r10 = { - "BandCombinationListEUTRA-r10", - "BandCombinationListEUTRA-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BandCombinationListEUTRA_r10_tags_1, - sizeof(asn_DEF_BandCombinationListEUTRA_r10_tags_1) - /sizeof(asn_DEF_BandCombinationListEUTRA_r10_tags_1[0]), /* 1 */ - asn_DEF_BandCombinationListEUTRA_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_BandCombinationListEUTRA_r10_tags_1) - /sizeof(asn_DEF_BandCombinationListEUTRA_r10_tags_1[0]), /* 1 */ - &asn_PER_type_BandCombinationListEUTRA_r10_constr_1, - asn_MBR_BandCombinationListEUTRA_r10_1, - 1, /* Single element */ - &asn_SPC_BandCombinationListEUTRA_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BandCombinationParameters-r10.c b/lte/rrc/lib/asn/src/BandCombinationParameters-r10.c deleted file mode 100644 index 41f4b5fea..000000000 --- a/lte/rrc/lib/asn/src/BandCombinationParameters-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BandCombinationParameters-r10.h" - -static asn_per_constraints_t asn_PER_type_BandCombinationParameters_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 6, 6, 1, 64 } /* (SIZE(1..64)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_BandCombinationParameters_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_BandParameters_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_BandCombinationParameters_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_BandCombinationParameters_r10_specs_1 = { - sizeof(struct BandCombinationParameters_r10), - offsetof(struct BandCombinationParameters_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_BandCombinationParameters_r10 = { - "BandCombinationParameters-r10", - "BandCombinationParameters-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BandCombinationParameters_r10_tags_1, - sizeof(asn_DEF_BandCombinationParameters_r10_tags_1) - /sizeof(asn_DEF_BandCombinationParameters_r10_tags_1[0]), /* 1 */ - asn_DEF_BandCombinationParameters_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_BandCombinationParameters_r10_tags_1) - /sizeof(asn_DEF_BandCombinationParameters_r10_tags_1[0]), /* 1 */ - &asn_PER_type_BandCombinationParameters_r10_constr_1, - asn_MBR_BandCombinationParameters_r10_1, - 1, /* Single element */ - &asn_SPC_BandCombinationParameters_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BandIndicatorGERAN.c b/lte/rrc/lib/asn/src/BandIndicatorGERAN.c deleted file mode 100644 index 726e4df6a..000000000 --- a/lte/rrc/lib/asn/src/BandIndicatorGERAN.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BandIndicatorGERAN.h" - -int -BandIndicatorGERAN_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -BandIndicatorGERAN_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -BandIndicatorGERAN_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - BandIndicatorGERAN_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -BandIndicatorGERAN_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - BandIndicatorGERAN_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -BandIndicatorGERAN_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - BandIndicatorGERAN_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -BandIndicatorGERAN_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - BandIndicatorGERAN_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -BandIndicatorGERAN_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - BandIndicatorGERAN_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -BandIndicatorGERAN_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - BandIndicatorGERAN_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -BandIndicatorGERAN_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - BandIndicatorGERAN_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -BandIndicatorGERAN_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - BandIndicatorGERAN_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_BandIndicatorGERAN_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_BandIndicatorGERAN_value2enum_1[] = { - { 0, 7, "dcs1800" }, - { 1, 7, "pcs1900" } -}; -static unsigned int asn_MAP_BandIndicatorGERAN_enum2value_1[] = { - 0, /* dcs1800(0) */ - 1 /* pcs1900(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_BandIndicatorGERAN_specs_1 = { - asn_MAP_BandIndicatorGERAN_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_BandIndicatorGERAN_enum2value_1, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_BandIndicatorGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_BandIndicatorGERAN = { - "BandIndicatorGERAN", - "BandIndicatorGERAN", - BandIndicatorGERAN_free, - BandIndicatorGERAN_print, - BandIndicatorGERAN_constraint, - BandIndicatorGERAN_decode_ber, - BandIndicatorGERAN_encode_der, - BandIndicatorGERAN_decode_xer, - BandIndicatorGERAN_encode_xer, - BandIndicatorGERAN_decode_uper, - BandIndicatorGERAN_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BandIndicatorGERAN_tags_1, - sizeof(asn_DEF_BandIndicatorGERAN_tags_1) - /sizeof(asn_DEF_BandIndicatorGERAN_tags_1[0]), /* 1 */ - asn_DEF_BandIndicatorGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_BandIndicatorGERAN_tags_1) - /sizeof(asn_DEF_BandIndicatorGERAN_tags_1[0]), /* 1 */ - &asn_PER_type_BandIndicatorGERAN_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_BandIndicatorGERAN_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BandInfoEUTRA.c b/lte/rrc/lib/asn/src/BandInfoEUTRA.c deleted file mode 100644 index 583e7e779..000000000 --- a/lte/rrc/lib/asn/src/BandInfoEUTRA.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BandInfoEUTRA.h" - -static asn_TYPE_member_t asn_MBR_BandInfoEUTRA_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct BandInfoEUTRA, interFreqBandList), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_InterFreqBandList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interFreqBandList" - }, - { ATF_POINTER, 1, offsetof(struct BandInfoEUTRA, interRAT_BandList), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_InterRAT_BandList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interRAT-BandList" - }, -}; -static int asn_MAP_BandInfoEUTRA_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_BandInfoEUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_BandInfoEUTRA_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* interFreqBandList at 3881 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* interRAT-BandList at 3882 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_BandInfoEUTRA_specs_1 = { - sizeof(struct BandInfoEUTRA), - offsetof(struct BandInfoEUTRA, _asn_ctx), - asn_MAP_BandInfoEUTRA_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_BandInfoEUTRA_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_BandInfoEUTRA = { - "BandInfoEUTRA", - "BandInfoEUTRA", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BandInfoEUTRA_tags_1, - sizeof(asn_DEF_BandInfoEUTRA_tags_1) - /sizeof(asn_DEF_BandInfoEUTRA_tags_1[0]), /* 1 */ - asn_DEF_BandInfoEUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_BandInfoEUTRA_tags_1) - /sizeof(asn_DEF_BandInfoEUTRA_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_BandInfoEUTRA_1, - 2, /* Elements count */ - &asn_SPC_BandInfoEUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BandListEUTRA.c b/lte/rrc/lib/asn/src/BandListEUTRA.c deleted file mode 100644 index 45292ea14..000000000 --- a/lte/rrc/lib/asn/src/BandListEUTRA.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BandListEUTRA.h" - -static asn_per_constraints_t asn_PER_type_BandListEUTRA_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 6, 6, 1, 64 } /* (SIZE(1..64)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_BandListEUTRA_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_BandInfoEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_BandListEUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_BandListEUTRA_specs_1 = { - sizeof(struct BandListEUTRA), - offsetof(struct BandListEUTRA, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_BandListEUTRA = { - "BandListEUTRA", - "BandListEUTRA", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BandListEUTRA_tags_1, - sizeof(asn_DEF_BandListEUTRA_tags_1) - /sizeof(asn_DEF_BandListEUTRA_tags_1[0]), /* 1 */ - asn_DEF_BandListEUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_BandListEUTRA_tags_1) - /sizeof(asn_DEF_BandListEUTRA_tags_1[0]), /* 1 */ - &asn_PER_type_BandListEUTRA_constr_1, - asn_MBR_BandListEUTRA_1, - 1, /* Single element */ - &asn_SPC_BandListEUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BandParameters-r10.c b/lte/rrc/lib/asn/src/BandParameters-r10.c deleted file mode 100644 index 394ceeeba..000000000 --- a/lte/rrc/lib/asn/src/BandParameters-r10.c +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BandParameters-r10.h" - -static int -memb_bandEUTRA_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 64)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_bandEUTRA_r10_constr_2 = { - { APC_CONSTRAINED, 6, 6, 1, 64 } /* (1..64) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_BandParameters_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct BandParameters_r10, bandEUTRA_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_bandEUTRA_r10_constraint_1, - &asn_PER_memb_bandEUTRA_r10_constr_2, - 0, - "bandEUTRA-r10" - }, - { ATF_POINTER, 2, offsetof(struct BandParameters_r10, bandParametersUL_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BandParametersUL_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "bandParametersUL-r10" - }, - { ATF_POINTER, 1, offsetof(struct BandParameters_r10, bandParametersDL_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BandParametersDL_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "bandParametersDL-r10" - }, -}; -static int asn_MAP_BandParameters_r10_oms_1[] = { 1, 2 }; -static ber_tlv_tag_t asn_DEF_BandParameters_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_BandParameters_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bandEUTRA-r10 at 3836 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* bandParametersUL-r10 at 3837 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* bandParametersDL-r10 at 3838 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_BandParameters_r10_specs_1 = { - sizeof(struct BandParameters_r10), - offsetof(struct BandParameters_r10, _asn_ctx), - asn_MAP_BandParameters_r10_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_BandParameters_r10_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_BandParameters_r10 = { - "BandParameters-r10", - "BandParameters-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BandParameters_r10_tags_1, - sizeof(asn_DEF_BandParameters_r10_tags_1) - /sizeof(asn_DEF_BandParameters_r10_tags_1[0]), /* 1 */ - asn_DEF_BandParameters_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_BandParameters_r10_tags_1) - /sizeof(asn_DEF_BandParameters_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_BandParameters_r10_1, - 3, /* Elements count */ - &asn_SPC_BandParameters_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BandParametersDL-r10.c b/lte/rrc/lib/asn/src/BandParametersDL-r10.c deleted file mode 100644 index 4aeddcd96..000000000 --- a/lte/rrc/lib/asn/src/BandParametersDL-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BandParametersDL-r10.h" - -static asn_per_constraints_t asn_PER_type_BandParametersDL_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_BandParametersDL_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CA_MIMO_ParametersDL_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_BandParametersDL_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_BandParametersDL_r10_specs_1 = { - sizeof(struct BandParametersDL_r10), - offsetof(struct BandParametersDL_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_BandParametersDL_r10 = { - "BandParametersDL-r10", - "BandParametersDL-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BandParametersDL_r10_tags_1, - sizeof(asn_DEF_BandParametersDL_r10_tags_1) - /sizeof(asn_DEF_BandParametersDL_r10_tags_1[0]), /* 1 */ - asn_DEF_BandParametersDL_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_BandParametersDL_r10_tags_1) - /sizeof(asn_DEF_BandParametersDL_r10_tags_1[0]), /* 1 */ - &asn_PER_type_BandParametersDL_r10_constr_1, - asn_MBR_BandParametersDL_r10_1, - 1, /* Single element */ - &asn_SPC_BandParametersDL_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BandParametersUL-r10.c b/lte/rrc/lib/asn/src/BandParametersUL-r10.c deleted file mode 100644 index 1e9d12b7c..000000000 --- a/lte/rrc/lib/asn/src/BandParametersUL-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BandParametersUL-r10.h" - -static asn_per_constraints_t asn_PER_type_BandParametersUL_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_BandParametersUL_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CA_MIMO_ParametersUL_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_BandParametersUL_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_BandParametersUL_r10_specs_1 = { - sizeof(struct BandParametersUL_r10), - offsetof(struct BandParametersUL_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_BandParametersUL_r10 = { - "BandParametersUL-r10", - "BandParametersUL-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BandParametersUL_r10_tags_1, - sizeof(asn_DEF_BandParametersUL_r10_tags_1) - /sizeof(asn_DEF_BandParametersUL_r10_tags_1[0]), /* 1 */ - asn_DEF_BandParametersUL_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_BandParametersUL_r10_tags_1) - /sizeof(asn_DEF_BandParametersUL_r10_tags_1[0]), /* 1 */ - &asn_PER_type_BandParametersUL_r10_constr_1, - asn_MBR_BandParametersUL_r10_1, - 1, /* Single element */ - &asn_SPC_BandParametersUL_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BandclassCDMA2000.c b/lte/rrc/lib/asn/src/BandclassCDMA2000.c deleted file mode 100644 index 1a40defa0..000000000 --- a/lte/rrc/lib/asn/src/BandclassCDMA2000.c +++ /dev/null @@ -1,208 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BandclassCDMA2000.h" - -int -BandclassCDMA2000_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -BandclassCDMA2000_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -BandclassCDMA2000_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - BandclassCDMA2000_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -BandclassCDMA2000_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - BandclassCDMA2000_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -BandclassCDMA2000_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - BandclassCDMA2000_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -BandclassCDMA2000_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - BandclassCDMA2000_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -BandclassCDMA2000_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - BandclassCDMA2000_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -BandclassCDMA2000_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - BandclassCDMA2000_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -BandclassCDMA2000_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - BandclassCDMA2000_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -BandclassCDMA2000_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - BandclassCDMA2000_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_BandclassCDMA2000_constr_1 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 5, 5, 0, 31 } /* (0..31,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_BandclassCDMA2000_value2enum_1[] = { - { 0, 3, "bc0" }, - { 1, 3, "bc1" }, - { 2, 3, "bc2" }, - { 3, 3, "bc3" }, - { 4, 3, "bc4" }, - { 5, 3, "bc5" }, - { 6, 3, "bc6" }, - { 7, 3, "bc7" }, - { 8, 3, "bc8" }, - { 9, 3, "bc9" }, - { 10, 4, "bc10" }, - { 11, 4, "bc11" }, - { 12, 4, "bc12" }, - { 13, 4, "bc13" }, - { 14, 4, "bc14" }, - { 15, 4, "bc15" }, - { 16, 4, "bc16" }, - { 17, 4, "bc17" }, - { 18, 7, "spare14" }, - { 19, 7, "spare13" }, - { 20, 7, "spare12" }, - { 21, 7, "spare11" }, - { 22, 7, "spare10" }, - { 23, 6, "spare9" }, - { 24, 6, "spare8" }, - { 25, 6, "spare7" }, - { 26, 6, "spare6" }, - { 27, 6, "spare5" }, - { 28, 6, "spare4" }, - { 29, 6, "spare3" }, - { 30, 6, "spare2" }, - { 31, 6, "spare1" } - /* This list is extensible */ -}; -static unsigned int asn_MAP_BandclassCDMA2000_enum2value_1[] = { - 0, /* bc0(0) */ - 1, /* bc1(1) */ - 10, /* bc10(10) */ - 11, /* bc11(11) */ - 12, /* bc12(12) */ - 13, /* bc13(13) */ - 14, /* bc14(14) */ - 15, /* bc15(15) */ - 16, /* bc16(16) */ - 17, /* bc17(17) */ - 2, /* bc2(2) */ - 3, /* bc3(3) */ - 4, /* bc4(4) */ - 5, /* bc5(5) */ - 6, /* bc6(6) */ - 7, /* bc7(7) */ - 8, /* bc8(8) */ - 9, /* bc9(9) */ - 31, /* spare1(31) */ - 22, /* spare10(22) */ - 21, /* spare11(21) */ - 20, /* spare12(20) */ - 19, /* spare13(19) */ - 18, /* spare14(18) */ - 30, /* spare2(30) */ - 29, /* spare3(29) */ - 28, /* spare4(28) */ - 27, /* spare5(27) */ - 26, /* spare6(26) */ - 25, /* spare7(25) */ - 24, /* spare8(24) */ - 23 /* spare9(23) */ - /* This list is extensible */ -}; -static asn_INTEGER_specifics_t asn_SPC_BandclassCDMA2000_specs_1 = { - asn_MAP_BandclassCDMA2000_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_BandclassCDMA2000_enum2value_1, /* N => "tag"; sorted by N */ - 32, /* Number of elements in the maps */ - 33, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_BandclassCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_BandclassCDMA2000 = { - "BandclassCDMA2000", - "BandclassCDMA2000", - BandclassCDMA2000_free, - BandclassCDMA2000_print, - BandclassCDMA2000_constraint, - BandclassCDMA2000_decode_ber, - BandclassCDMA2000_encode_der, - BandclassCDMA2000_decode_xer, - BandclassCDMA2000_encode_xer, - BandclassCDMA2000_decode_uper, - BandclassCDMA2000_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BandclassCDMA2000_tags_1, - sizeof(asn_DEF_BandclassCDMA2000_tags_1) - /sizeof(asn_DEF_BandclassCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_BandclassCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_BandclassCDMA2000_tags_1) - /sizeof(asn_DEF_BandclassCDMA2000_tags_1[0]), /* 1 */ - &asn_PER_type_BandclassCDMA2000_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_BandclassCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BetaOffset-CA-Index.c b/lte/rrc/lib/asn/src/BetaOffset-CA-Index.c deleted file mode 100644 index b0bdb9205..000000000 --- a/lte/rrc/lib/asn/src/BetaOffset-CA-Index.c +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BetaOffset-CA-Index.h" - -int -BetaOffset_CA_Index_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeInteger.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -BetaOffset_CA_Index_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -BetaOffset_CA_Index_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - BetaOffset_CA_Index_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -BetaOffset_CA_Index_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - BetaOffset_CA_Index_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -BetaOffset_CA_Index_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - BetaOffset_CA_Index_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -BetaOffset_CA_Index_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - BetaOffset_CA_Index_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -BetaOffset_CA_Index_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - BetaOffset_CA_Index_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -BetaOffset_CA_Index_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - BetaOffset_CA_Index_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -BetaOffset_CA_Index_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - BetaOffset_CA_Index_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -BetaOffset_CA_Index_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - BetaOffset_CA_Index_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static ber_tlv_tag_t asn_DEF_BetaOffset_CA_Index_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_BetaOffset_CA_Index = { - "BetaOffset-CA-Index", - "BetaOffset-CA-Index", - BetaOffset_CA_Index_free, - BetaOffset_CA_Index_print, - BetaOffset_CA_Index_constraint, - BetaOffset_CA_Index_decode_ber, - BetaOffset_CA_Index_encode_der, - BetaOffset_CA_Index_decode_xer, - BetaOffset_CA_Index_encode_xer, - BetaOffset_CA_Index_decode_uper, - BetaOffset_CA_Index_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BetaOffset_CA_Index_tags_1, - sizeof(asn_DEF_BetaOffset_CA_Index_tags_1) - /sizeof(asn_DEF_BetaOffset_CA_Index_tags_1[0]), /* 1 */ - asn_DEF_BetaOffset_CA_Index_tags_1, /* Same as above */ - sizeof(asn_DEF_BetaOffset_CA_Index_tags_1) - /sizeof(asn_DEF_BetaOffset_CA_Index_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/BlackCellsToAddMod.c b/lte/rrc/lib/asn/src/BlackCellsToAddMod.c deleted file mode 100644 index cb3c65e0b..000000000 --- a/lte/rrc/lib/asn/src/BlackCellsToAddMod.c +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BlackCellsToAddMod.h" - -static int -memb_cellIndex_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 32)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_cellIndex_constr_2 = { - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (1..32) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_BlackCellsToAddMod_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct BlackCellsToAddMod, cellIndex), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_cellIndex_constraint_1, - &asn_PER_memb_cellIndex_constr_2, - 0, - "cellIndex" - }, - { ATF_NOFLAGS, 0, offsetof(struct BlackCellsToAddMod, physCellIdRange), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdRange, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellIdRange" - }, -}; -static ber_tlv_tag_t asn_DEF_BlackCellsToAddMod_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_BlackCellsToAddMod_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellIndex at 3271 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* physCellIdRange at 3273 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_BlackCellsToAddMod_specs_1 = { - sizeof(struct BlackCellsToAddMod), - offsetof(struct BlackCellsToAddMod, _asn_ctx), - asn_MAP_BlackCellsToAddMod_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_BlackCellsToAddMod = { - "BlackCellsToAddMod", - "BlackCellsToAddMod", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BlackCellsToAddMod_tags_1, - sizeof(asn_DEF_BlackCellsToAddMod_tags_1) - /sizeof(asn_DEF_BlackCellsToAddMod_tags_1[0]), /* 1 */ - asn_DEF_BlackCellsToAddMod_tags_1, /* Same as above */ - sizeof(asn_DEF_BlackCellsToAddMod_tags_1) - /sizeof(asn_DEF_BlackCellsToAddMod_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_BlackCellsToAddMod_1, - 2, /* Elements count */ - &asn_SPC_BlackCellsToAddMod_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/BlackCellsToAddModList.c b/lte/rrc/lib/asn/src/BlackCellsToAddModList.c deleted file mode 100644 index 717ba0d94..000000000 --- a/lte/rrc/lib/asn/src/BlackCellsToAddModList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/BlackCellsToAddModList.h" - -static asn_per_constraints_t asn_PER_type_BlackCellsToAddModList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_BlackCellsToAddModList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_BlackCellsToAddMod, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_BlackCellsToAddModList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_BlackCellsToAddModList_specs_1 = { - sizeof(struct BlackCellsToAddModList), - offsetof(struct BlackCellsToAddModList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_BlackCellsToAddModList = { - "BlackCellsToAddModList", - "BlackCellsToAddModList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_BlackCellsToAddModList_tags_1, - sizeof(asn_DEF_BlackCellsToAddModList_tags_1) - /sizeof(asn_DEF_BlackCellsToAddModList_tags_1[0]), /* 1 */ - asn_DEF_BlackCellsToAddModList_tags_1, /* Same as above */ - sizeof(asn_DEF_BlackCellsToAddModList_tags_1) - /sizeof(asn_DEF_BlackCellsToAddModList_tags_1[0]), /* 1 */ - &asn_PER_type_BlackCellsToAddModList_constr_1, - asn_MBR_BlackCellsToAddModList_1, - 1, /* Single element */ - &asn_SPC_BlackCellsToAddModList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/C-RNTI.c b/lte/rrc/lib/asn/src/C-RNTI.c deleted file mode 100644 index 9fa3eff04..000000000 --- a/lte/rrc/lib/asn/src/C-RNTI.c +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/C-RNTI.h" - -int -C_RNTI_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using BIT_STRING, - * so here we adjust the DEF accordingly. - */ -static void -C_RNTI_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_BIT_STRING.free_struct; - td->print_struct = asn_DEF_BIT_STRING.print_struct; - td->ber_decoder = asn_DEF_BIT_STRING.ber_decoder; - td->der_encoder = asn_DEF_BIT_STRING.der_encoder; - td->xer_decoder = asn_DEF_BIT_STRING.xer_decoder; - td->xer_encoder = asn_DEF_BIT_STRING.xer_encoder; - td->uper_decoder = asn_DEF_BIT_STRING.uper_decoder; - td->uper_encoder = asn_DEF_BIT_STRING.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_BIT_STRING.per_constraints; - td->elements = asn_DEF_BIT_STRING.elements; - td->elements_count = asn_DEF_BIT_STRING.elements_count; - td->specifics = asn_DEF_BIT_STRING.specifics; -} - -void -C_RNTI_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - C_RNTI_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -C_RNTI_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - C_RNTI_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -C_RNTI_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - C_RNTI_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -C_RNTI_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - C_RNTI_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -C_RNTI_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - C_RNTI_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -C_RNTI_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - C_RNTI_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -C_RNTI_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - C_RNTI_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -C_RNTI_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - C_RNTI_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_C_RNTI_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_C_RNTI_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_C_RNTI = { - "C-RNTI", - "C-RNTI", - C_RNTI_free, - C_RNTI_print, - C_RNTI_constraint, - C_RNTI_decode_ber, - C_RNTI_encode_der, - C_RNTI_decode_xer, - C_RNTI_encode_xer, - C_RNTI_decode_uper, - C_RNTI_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_C_RNTI_tags_1, - sizeof(asn_DEF_C_RNTI_tags_1) - /sizeof(asn_DEF_C_RNTI_tags_1[0]), /* 1 */ - asn_DEF_C_RNTI_tags_1, /* Same as above */ - sizeof(asn_DEF_C_RNTI_tags_1) - /sizeof(asn_DEF_C_RNTI_tags_1[0]), /* 1 */ - &asn_PER_type_C_RNTI_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/CA-BandwidthClass-r10.c b/lte/rrc/lib/asn/src/CA-BandwidthClass-r10.c deleted file mode 100644 index f20b7156f..000000000 --- a/lte/rrc/lib/asn/src/CA-BandwidthClass-r10.c +++ /dev/null @@ -1,156 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CA-BandwidthClass-r10.h" - -int -CA_BandwidthClass_r10_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -CA_BandwidthClass_r10_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -CA_BandwidthClass_r10_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - CA_BandwidthClass_r10_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -CA_BandwidthClass_r10_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - CA_BandwidthClass_r10_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -CA_BandwidthClass_r10_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - CA_BandwidthClass_r10_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -CA_BandwidthClass_r10_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - CA_BandwidthClass_r10_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -CA_BandwidthClass_r10_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - CA_BandwidthClass_r10_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -CA_BandwidthClass_r10_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - CA_BandwidthClass_r10_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -CA_BandwidthClass_r10_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - CA_BandwidthClass_r10_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -CA_BandwidthClass_r10_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - CA_BandwidthClass_r10_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_CA_BandwidthClass_r10_constr_1 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 5 } /* (0..5,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_CA_BandwidthClass_r10_value2enum_1[] = { - { 0, 1, "a" }, - { 1, 1, "b" }, - { 2, 1, "c" }, - { 3, 1, "d" }, - { 4, 1, "e" }, - { 5, 1, "f" } - /* This list is extensible */ -}; -static unsigned int asn_MAP_CA_BandwidthClass_r10_enum2value_1[] = { - 0, /* a(0) */ - 1, /* b(1) */ - 2, /* c(2) */ - 3, /* d(3) */ - 4, /* e(4) */ - 5 /* f(5) */ - /* This list is extensible */ -}; -static asn_INTEGER_specifics_t asn_SPC_CA_BandwidthClass_r10_specs_1 = { - asn_MAP_CA_BandwidthClass_r10_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_CA_BandwidthClass_r10_enum2value_1, /* N => "tag"; sorted by N */ - 6, /* Number of elements in the maps */ - 7, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_CA_BandwidthClass_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_CA_BandwidthClass_r10 = { - "CA-BandwidthClass-r10", - "CA-BandwidthClass-r10", - CA_BandwidthClass_r10_free, - CA_BandwidthClass_r10_print, - CA_BandwidthClass_r10_constraint, - CA_BandwidthClass_r10_decode_ber, - CA_BandwidthClass_r10_encode_der, - CA_BandwidthClass_r10_decode_xer, - CA_BandwidthClass_r10_encode_xer, - CA_BandwidthClass_r10_decode_uper, - CA_BandwidthClass_r10_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CA_BandwidthClass_r10_tags_1, - sizeof(asn_DEF_CA_BandwidthClass_r10_tags_1) - /sizeof(asn_DEF_CA_BandwidthClass_r10_tags_1[0]), /* 1 */ - asn_DEF_CA_BandwidthClass_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_CA_BandwidthClass_r10_tags_1) - /sizeof(asn_DEF_CA_BandwidthClass_r10_tags_1[0]), /* 1 */ - &asn_PER_type_CA_BandwidthClass_r10_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_CA_BandwidthClass_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CA-MIMO-ParametersDL-r10.c b/lte/rrc/lib/asn/src/CA-MIMO-ParametersDL-r10.c deleted file mode 100644 index 3e0261d87..000000000 --- a/lte/rrc/lib/asn/src/CA-MIMO-ParametersDL-r10.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CA-MIMO-ParametersDL-r10.h" - -static asn_TYPE_member_t asn_MBR_CA_MIMO_ParametersDL_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CA_MIMO_ParametersDL_r10, ca_BandwidthClassDL_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CA_BandwidthClass_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ca-BandwidthClassDL-r10" - }, - { ATF_POINTER, 1, offsetof(struct CA_MIMO_ParametersDL_r10, supportedMIMO_CapabilityDL_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MIMO_CapabilityDL_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "supportedMIMO-CapabilityDL-r10" - }, -}; -static int asn_MAP_CA_MIMO_ParametersDL_r10_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_CA_MIMO_ParametersDL_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CA_MIMO_ParametersDL_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ca-BandwidthClassDL-r10 at 3851 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* supportedMIMO-CapabilityDL-r10 at 3852 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CA_MIMO_ParametersDL_r10_specs_1 = { - sizeof(struct CA_MIMO_ParametersDL_r10), - offsetof(struct CA_MIMO_ParametersDL_r10, _asn_ctx), - asn_MAP_CA_MIMO_ParametersDL_r10_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_CA_MIMO_ParametersDL_r10_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CA_MIMO_ParametersDL_r10 = { - "CA-MIMO-ParametersDL-r10", - "CA-MIMO-ParametersDL-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CA_MIMO_ParametersDL_r10_tags_1, - sizeof(asn_DEF_CA_MIMO_ParametersDL_r10_tags_1) - /sizeof(asn_DEF_CA_MIMO_ParametersDL_r10_tags_1[0]), /* 1 */ - asn_DEF_CA_MIMO_ParametersDL_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_CA_MIMO_ParametersDL_r10_tags_1) - /sizeof(asn_DEF_CA_MIMO_ParametersDL_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CA_MIMO_ParametersDL_r10_1, - 2, /* Elements count */ - &asn_SPC_CA_MIMO_ParametersDL_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CA-MIMO-ParametersUL-r10.c b/lte/rrc/lib/asn/src/CA-MIMO-ParametersUL-r10.c deleted file mode 100644 index 3037c142f..000000000 --- a/lte/rrc/lib/asn/src/CA-MIMO-ParametersUL-r10.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CA-MIMO-ParametersUL-r10.h" - -static asn_TYPE_member_t asn_MBR_CA_MIMO_ParametersUL_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CA_MIMO_ParametersUL_r10, ca_BandwidthClassUL_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CA_BandwidthClass_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ca-BandwidthClassUL-r10" - }, - { ATF_POINTER, 1, offsetof(struct CA_MIMO_ParametersUL_r10, supportedMIMO_CapabilityUL_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MIMO_CapabilityUL_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "supportedMIMO-CapabilityUL-r10" - }, -}; -static int asn_MAP_CA_MIMO_ParametersUL_r10_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_CA_MIMO_ParametersUL_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CA_MIMO_ParametersUL_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ca-BandwidthClassUL-r10 at 3844 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* supportedMIMO-CapabilityUL-r10 at 3845 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CA_MIMO_ParametersUL_r10_specs_1 = { - sizeof(struct CA_MIMO_ParametersUL_r10), - offsetof(struct CA_MIMO_ParametersUL_r10, _asn_ctx), - asn_MAP_CA_MIMO_ParametersUL_r10_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_CA_MIMO_ParametersUL_r10_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CA_MIMO_ParametersUL_r10 = { - "CA-MIMO-ParametersUL-r10", - "CA-MIMO-ParametersUL-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CA_MIMO_ParametersUL_r10_tags_1, - sizeof(asn_DEF_CA_MIMO_ParametersUL_r10_tags_1) - /sizeof(asn_DEF_CA_MIMO_ParametersUL_r10_tags_1[0]), /* 1 */ - asn_DEF_CA_MIMO_ParametersUL_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_CA_MIMO_ParametersUL_r10_tags_1) - /sizeof(asn_DEF_CA_MIMO_ParametersUL_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CA_MIMO_ParametersUL_r10_1, - 2, /* Elements count */ - &asn_SPC_CA_MIMO_ParametersUL_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CA-RNTI.c b/lte/rrc/lib/asn/src/CA-RNTI.c deleted file mode 100644 index 5ec418d43..000000000 --- a/lte/rrc/lib/asn/src/CA-RNTI.c +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CA-RNTI.h" - -int -CA_RNTI_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using BIT_STRING, - * so here we adjust the DEF accordingly. - */ -static void -CA_RNTI_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_BIT_STRING.free_struct; - td->print_struct = asn_DEF_BIT_STRING.print_struct; - td->ber_decoder = asn_DEF_BIT_STRING.ber_decoder; - td->der_encoder = asn_DEF_BIT_STRING.der_encoder; - td->xer_decoder = asn_DEF_BIT_STRING.xer_decoder; - td->xer_encoder = asn_DEF_BIT_STRING.xer_encoder; - td->uper_decoder = asn_DEF_BIT_STRING.uper_decoder; - td->uper_encoder = asn_DEF_BIT_STRING.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_BIT_STRING.per_constraints; - td->elements = asn_DEF_BIT_STRING.elements; - td->elements_count = asn_DEF_BIT_STRING.elements_count; - td->specifics = asn_DEF_BIT_STRING.specifics; -} - -void -CA_RNTI_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - CA_RNTI_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -CA_RNTI_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - CA_RNTI_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -CA_RNTI_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - CA_RNTI_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -CA_RNTI_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - CA_RNTI_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -CA_RNTI_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - CA_RNTI_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -CA_RNTI_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - CA_RNTI_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -CA_RNTI_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - CA_RNTI_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -CA_RNTI_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - CA_RNTI_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_CA_RNTI_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_CA_RNTI_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_CA_RNTI = { - "CA-RNTI", - "CA-RNTI", - CA_RNTI_free, - CA_RNTI_print, - CA_RNTI_constraint, - CA_RNTI_decode_ber, - CA_RNTI_encode_der, - CA_RNTI_decode_xer, - CA_RNTI_encode_xer, - CA_RNTI_decode_uper, - CA_RNTI_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CA_RNTI_tags_1, - sizeof(asn_DEF_CA_RNTI_tags_1) - /sizeof(asn_DEF_CA_RNTI_tags_1[0]), /* 1 */ - asn_DEF_CA_RNTI_tags_1, /* Same as above */ - sizeof(asn_DEF_CA_RNTI_tags_1) - /sizeof(asn_DEF_CA_RNTI_tags_1[0]), /* 1 */ - &asn_PER_type_CA_RNTI_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/CA-semiPersistSchedIntervalUL.c b/lte/rrc/lib/asn/src/CA-semiPersistSchedIntervalUL.c deleted file mode 100644 index 77fbb830c..000000000 --- a/lte/rrc/lib/asn/src/CA-semiPersistSchedIntervalUL.c +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CA-semiPersistSchedIntervalUL.h" - -int -CA_semiPersistSchedIntervalUL_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -CA_semiPersistSchedIntervalUL_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -CA_semiPersistSchedIntervalUL_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - CA_semiPersistSchedIntervalUL_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -CA_semiPersistSchedIntervalUL_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - CA_semiPersistSchedIntervalUL_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -CA_semiPersistSchedIntervalUL_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - CA_semiPersistSchedIntervalUL_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -CA_semiPersistSchedIntervalUL_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - CA_semiPersistSchedIntervalUL_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -CA_semiPersistSchedIntervalUL_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - CA_semiPersistSchedIntervalUL_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -CA_semiPersistSchedIntervalUL_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - CA_semiPersistSchedIntervalUL_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -CA_semiPersistSchedIntervalUL_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - CA_semiPersistSchedIntervalUL_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -CA_semiPersistSchedIntervalUL_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - CA_semiPersistSchedIntervalUL_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_CA_semiPersistSchedIntervalUL_constr_1 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_CA_semiPersistSchedIntervalUL_value2enum_1[] = { - { 0, 4, "sf10" }, - { 1, 4, "sf20" }, - { 2, 4, "sf32" }, - { 3, 4, "sf40" }, - { 4, 4, "sf64" }, - { 5, 4, "sf80" }, - { 6, 5, "sf128" }, - { 7, 5, "sf160" }, - { 8, 5, "sf320" }, - { 9, 5, "sf640" }, - { 10, 6, "spare6" }, - { 11, 6, "spare5" }, - { 12, 6, "spare4" }, - { 13, 6, "spare3" }, - { 14, 6, "spare2" }, - { 15, 6, "spare1" } -}; -static unsigned int asn_MAP_CA_semiPersistSchedIntervalUL_enum2value_1[] = { - 0, /* sf10(0) */ - 6, /* sf128(6) */ - 7, /* sf160(7) */ - 1, /* sf20(1) */ - 2, /* sf32(2) */ - 8, /* sf320(8) */ - 3, /* sf40(3) */ - 4, /* sf64(4) */ - 9, /* sf640(9) */ - 5, /* sf80(5) */ - 15, /* spare1(15) */ - 14, /* spare2(14) */ - 13, /* spare3(13) */ - 12, /* spare4(12) */ - 11, /* spare5(11) */ - 10 /* spare6(10) */ -}; -static asn_INTEGER_specifics_t asn_SPC_CA_semiPersistSchedIntervalUL_specs_1 = { - asn_MAP_CA_semiPersistSchedIntervalUL_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_CA_semiPersistSchedIntervalUL_enum2value_1, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_CA_semiPersistSchedIntervalUL_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_CA_semiPersistSchedIntervalUL = { - "CA-semiPersistSchedIntervalUL", - "CA-semiPersistSchedIntervalUL", - CA_semiPersistSchedIntervalUL_free, - CA_semiPersistSchedIntervalUL_print, - CA_semiPersistSchedIntervalUL_constraint, - CA_semiPersistSchedIntervalUL_decode_ber, - CA_semiPersistSchedIntervalUL_encode_der, - CA_semiPersistSchedIntervalUL_decode_xer, - CA_semiPersistSchedIntervalUL_encode_xer, - CA_semiPersistSchedIntervalUL_decode_uper, - CA_semiPersistSchedIntervalUL_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CA_semiPersistSchedIntervalUL_tags_1, - sizeof(asn_DEF_CA_semiPersistSchedIntervalUL_tags_1) - /sizeof(asn_DEF_CA_semiPersistSchedIntervalUL_tags_1[0]), /* 1 */ - asn_DEF_CA_semiPersistSchedIntervalUL_tags_1, /* Same as above */ - sizeof(asn_DEF_CA_semiPersistSchedIntervalUL_tags_1) - /sizeof(asn_DEF_CA_semiPersistSchedIntervalUL_tags_1[0]), /* 1 */ - &asn_PER_type_CA_semiPersistSchedIntervalUL_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_CA_semiPersistSchedIntervalUL_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CDMA2000-Type.c b/lte/rrc/lib/asn/src/CDMA2000-Type.c deleted file mode 100644 index 5a8953c14..000000000 --- a/lte/rrc/lib/asn/src/CDMA2000-Type.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CDMA2000-Type.h" - -int -CDMA2000_Type_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -CDMA2000_Type_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -CDMA2000_Type_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - CDMA2000_Type_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -CDMA2000_Type_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - CDMA2000_Type_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -CDMA2000_Type_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - CDMA2000_Type_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -CDMA2000_Type_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - CDMA2000_Type_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -CDMA2000_Type_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - CDMA2000_Type_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -CDMA2000_Type_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - CDMA2000_Type_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -CDMA2000_Type_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - CDMA2000_Type_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -CDMA2000_Type_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - CDMA2000_Type_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_CDMA2000_Type_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_CDMA2000_Type_value2enum_1[] = { - { 0, 9, "type1XRTT" }, - { 1, 8, "typeHRPD" } -}; -static unsigned int asn_MAP_CDMA2000_Type_enum2value_1[] = { - 0, /* type1XRTT(0) */ - 1 /* typeHRPD(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_CDMA2000_Type_specs_1 = { - asn_MAP_CDMA2000_Type_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_CDMA2000_Type_enum2value_1, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_CDMA2000_Type_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_CDMA2000_Type = { - "CDMA2000-Type", - "CDMA2000-Type", - CDMA2000_Type_free, - CDMA2000_Type_print, - CDMA2000_Type_constraint, - CDMA2000_Type_decode_ber, - CDMA2000_Type_encode_der, - CDMA2000_Type_decode_xer, - CDMA2000_Type_encode_xer, - CDMA2000_Type_decode_uper, - CDMA2000_Type_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CDMA2000_Type_tags_1, - sizeof(asn_DEF_CDMA2000_Type_tags_1) - /sizeof(asn_DEF_CDMA2000_Type_tags_1[0]), /* 1 */ - asn_DEF_CDMA2000_Type_tags_1, /* Same as above */ - sizeof(asn_DEF_CDMA2000_Type_tags_1) - /sizeof(asn_DEF_CDMA2000_Type_tags_1[0]), /* 1 */ - &asn_PER_type_CDMA2000_Type_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_CDMA2000_Type_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CQI-ReportAperiodic-r10.c b/lte/rrc/lib/asn/src/CQI-ReportAperiodic-r10.c deleted file mode 100644 index 9dd607de2..000000000 --- a/lte/rrc/lib/asn/src/CQI-ReportAperiodic-r10.c +++ /dev/null @@ -1,422 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CQI-ReportAperiodic-r10.h" - -static int -cqi_ReportModeAperiodic_r10_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -cqi_ReportModeAperiodic_r10_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -cqi_ReportModeAperiodic_r10_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - cqi_ReportModeAperiodic_r10_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -cqi_ReportModeAperiodic_r10_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - cqi_ReportModeAperiodic_r10_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -cqi_ReportModeAperiodic_r10_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - cqi_ReportModeAperiodic_r10_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -cqi_ReportModeAperiodic_r10_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - cqi_ReportModeAperiodic_r10_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -cqi_ReportModeAperiodic_r10_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - cqi_ReportModeAperiodic_r10_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -cqi_ReportModeAperiodic_r10_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - cqi_ReportModeAperiodic_r10_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -cqi_ReportModeAperiodic_r10_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - cqi_ReportModeAperiodic_r10_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -cqi_ReportModeAperiodic_r10_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - cqi_ReportModeAperiodic_r10_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_trigger1_r10_constraint_13(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 8)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_trigger2_r10_constraint_13(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 8)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_cqi_ReportModeAperiodic_r10_constr_4 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_trigger1_r10_constr_14 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 8, 8 } /* (SIZE(8..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_trigger2_r10_constr_15 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 8, 8 } /* (SIZE(8..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_CQI_ReportAperiodic_r10_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_cqi_ReportModeAperiodic_r10_value2enum_4[] = { - { 0, 4, "rm12" }, - { 1, 4, "rm20" }, - { 2, 4, "rm22" }, - { 3, 4, "rm30" }, - { 4, 4, "rm31" }, - { 5, 6, "spare3" }, - { 6, 6, "spare2" }, - { 7, 6, "spare1" } -}; -static unsigned int asn_MAP_cqi_ReportModeAperiodic_r10_enum2value_4[] = { - 0, /* rm12(0) */ - 1, /* rm20(1) */ - 2, /* rm22(2) */ - 3, /* rm30(3) */ - 4, /* rm31(4) */ - 7, /* spare1(7) */ - 6, /* spare2(6) */ - 5 /* spare3(5) */ -}; -static asn_INTEGER_specifics_t asn_SPC_cqi_ReportModeAperiodic_r10_specs_4 = { - asn_MAP_cqi_ReportModeAperiodic_r10_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_cqi_ReportModeAperiodic_r10_enum2value_4, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_cqi_ReportModeAperiodic_r10_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cqi_ReportModeAperiodic_r10_4 = { - "cqi-ReportModeAperiodic-r10", - "cqi-ReportModeAperiodic-r10", - cqi_ReportModeAperiodic_r10_4_free, - cqi_ReportModeAperiodic_r10_4_print, - cqi_ReportModeAperiodic_r10_4_constraint, - cqi_ReportModeAperiodic_r10_4_decode_ber, - cqi_ReportModeAperiodic_r10_4_encode_der, - cqi_ReportModeAperiodic_r10_4_decode_xer, - cqi_ReportModeAperiodic_r10_4_encode_xer, - cqi_ReportModeAperiodic_r10_4_decode_uper, - cqi_ReportModeAperiodic_r10_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_cqi_ReportModeAperiodic_r10_tags_4, - sizeof(asn_DEF_cqi_ReportModeAperiodic_r10_tags_4) - /sizeof(asn_DEF_cqi_ReportModeAperiodic_r10_tags_4[0]) - 1, /* 1 */ - asn_DEF_cqi_ReportModeAperiodic_r10_tags_4, /* Same as above */ - sizeof(asn_DEF_cqi_ReportModeAperiodic_r10_tags_4) - /sizeof(asn_DEF_cqi_ReportModeAperiodic_r10_tags_4[0]), /* 2 */ - &asn_PER_type_cqi_ReportModeAperiodic_r10_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_cqi_ReportModeAperiodic_r10_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_aperiodicCSI_Trigger_r10_13[] = { - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportAperiodic_r10__setup__aperiodicCSI_Trigger_r10, trigger1_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_trigger1_r10_constraint_13, - &asn_PER_memb_trigger1_r10_constr_14, - 0, - "trigger1-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportAperiodic_r10__setup__aperiodicCSI_Trigger_r10, trigger2_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_trigger2_r10_constraint_13, - &asn_PER_memb_trigger2_r10_constr_15, - 0, - "trigger2-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_aperiodicCSI_Trigger_r10_tags_13[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_aperiodicCSI_Trigger_r10_tag2el_13[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* trigger1-r10 at 1933 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* trigger2-r10 at 1934 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_aperiodicCSI_Trigger_r10_specs_13 = { - sizeof(struct CQI_ReportAperiodic_r10__setup__aperiodicCSI_Trigger_r10), - offsetof(struct CQI_ReportAperiodic_r10__setup__aperiodicCSI_Trigger_r10, _asn_ctx), - asn_MAP_aperiodicCSI_Trigger_r10_tag2el_13, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_aperiodicCSI_Trigger_r10_13 = { - "aperiodicCSI-Trigger-r10", - "aperiodicCSI-Trigger-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_aperiodicCSI_Trigger_r10_tags_13, - sizeof(asn_DEF_aperiodicCSI_Trigger_r10_tags_13) - /sizeof(asn_DEF_aperiodicCSI_Trigger_r10_tags_13[0]) - 1, /* 1 */ - asn_DEF_aperiodicCSI_Trigger_r10_tags_13, /* Same as above */ - sizeof(asn_DEF_aperiodicCSI_Trigger_r10_tags_13) - /sizeof(asn_DEF_aperiodicCSI_Trigger_r10_tags_13[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_aperiodicCSI_Trigger_r10_13, - 2, /* Elements count */ - &asn_SPC_aperiodicCSI_Trigger_r10_specs_13 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportAperiodic_r10__setup, cqi_ReportModeAperiodic_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_cqi_ReportModeAperiodic_r10_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cqi-ReportModeAperiodic-r10" - }, - { ATF_POINTER, 1, offsetof(struct CQI_ReportAperiodic_r10__setup, aperiodicCSI_Trigger_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_aperiodicCSI_Trigger_r10_13, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "aperiodicCSI-Trigger-r10" - }, -}; -static int asn_MAP_setup_oms_3[] = { 1 }; -static ber_tlv_tag_t asn_DEF_setup_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cqi-ReportModeAperiodic-r10 at 1930 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* aperiodicCSI-Trigger-r10 at 1933 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_3 = { - sizeof(struct CQI_ReportAperiodic_r10__setup), - offsetof(struct CQI_ReportAperiodic_r10__setup, _asn_ctx), - asn_MAP_setup_tag2el_3, - 2, /* Count of tags in the map */ - asn_MAP_setup_oms_3, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_3 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_3, - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]) - 1, /* 1 */ - asn_DEF_setup_tags_3, /* Same as above */ - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_3, - 2, /* Elements count */ - &asn_SPC_setup_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CQI_ReportAperiodic_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportAperiodic_r10, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportAperiodic_r10, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_CQI_ReportAperiodic_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 1927 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 1931 */ -}; -static asn_CHOICE_specifics_t asn_SPC_CQI_ReportAperiodic_r10_specs_1 = { - sizeof(struct CQI_ReportAperiodic_r10), - offsetof(struct CQI_ReportAperiodic_r10, _asn_ctx), - offsetof(struct CQI_ReportAperiodic_r10, present), - sizeof(((struct CQI_ReportAperiodic_r10 *)0)->present), - asn_MAP_CQI_ReportAperiodic_r10_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_CQI_ReportAperiodic_r10 = { - "CQI-ReportAperiodic-r10", - "CQI-ReportAperiodic-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_CQI_ReportAperiodic_r10_constr_1, - asn_MBR_CQI_ReportAperiodic_r10_1, - 2, /* Elements count */ - &asn_SPC_CQI_ReportAperiodic_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CQI-ReportConfig-r10.c b/lte/rrc/lib/asn/src/CQI-ReportConfig-r10.c deleted file mode 100644 index 93eb87718..000000000 --- a/lte/rrc/lib/asn/src/CQI-ReportConfig-r10.c +++ /dev/null @@ -1,395 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CQI-ReportConfig-r10.h" - -static int -pmi_RI_Report_r9_5_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -pmi_RI_Report_r9_5_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -pmi_RI_Report_r9_5_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - pmi_RI_Report_r9_5_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -pmi_RI_Report_r9_5_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - pmi_RI_Report_r9_5_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -pmi_RI_Report_r9_5_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - pmi_RI_Report_r9_5_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -pmi_RI_Report_r9_5_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - pmi_RI_Report_r9_5_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -pmi_RI_Report_r9_5_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - pmi_RI_Report_r9_5_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -pmi_RI_Report_r9_5_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - pmi_RI_Report_r9_5_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -pmi_RI_Report_r9_5_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - pmi_RI_Report_r9_5_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -pmi_RI_Report_r9_5_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - pmi_RI_Report_r9_5_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_nomPDSCH_RS_EPRE_Offset_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -1 && value <= 6)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_pmi_RI_Report_r9_constr_5 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_csi_SubframePatternConfig_r10_constr_7 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_nomPDSCH_RS_EPRE_Offset_constr_3 = { - { APC_CONSTRAINED, 3, 3, -1, 6 } /* (-1..6) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_pmi_RI_Report_r9_value2enum_5[] = { - { 0, 5, "setup" } -}; -static unsigned int asn_MAP_pmi_RI_Report_r9_enum2value_5[] = { - 0 /* setup(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_pmi_RI_Report_r9_specs_5 = { - asn_MAP_pmi_RI_Report_r9_value2enum_5, /* "tag" => N; sorted by tag */ - asn_MAP_pmi_RI_Report_r9_enum2value_5, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_pmi_RI_Report_r9_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_pmi_RI_Report_r9_5 = { - "pmi-RI-Report-r9", - "pmi-RI-Report-r9", - pmi_RI_Report_r9_5_free, - pmi_RI_Report_r9_5_print, - pmi_RI_Report_r9_5_constraint, - pmi_RI_Report_r9_5_decode_ber, - pmi_RI_Report_r9_5_encode_der, - pmi_RI_Report_r9_5_decode_xer, - pmi_RI_Report_r9_5_encode_xer, - pmi_RI_Report_r9_5_decode_uper, - pmi_RI_Report_r9_5_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_pmi_RI_Report_r9_tags_5, - sizeof(asn_DEF_pmi_RI_Report_r9_tags_5) - /sizeof(asn_DEF_pmi_RI_Report_r9_tags_5[0]) - 1, /* 1 */ - asn_DEF_pmi_RI_Report_r9_tags_5, /* Same as above */ - sizeof(asn_DEF_pmi_RI_Report_r9_tags_5) - /sizeof(asn_DEF_pmi_RI_Report_r9_tags_5[0]), /* 2 */ - &asn_PER_type_pmi_RI_Report_r9_constr_5, - 0, 0, /* Defined elsewhere */ - &asn_SPC_pmi_RI_Report_r9_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_9[] = { - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportConfig_r10__csi_SubframePatternConfig_r10__setup, csi_MeasSubframeSet1_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_MeasSubframePattern_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csi-MeasSubframeSet1-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportConfig_r10__csi_SubframePatternConfig_r10__setup, csi_MeasSubframeSet2_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_MeasSubframePattern_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csi-MeasSubframeSet2-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_setup_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_9[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* csi-MeasSubframeSet1-r10 at 1868 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* csi-MeasSubframeSet2-r10 at 1870 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_9 = { - sizeof(struct CQI_ReportConfig_r10__csi_SubframePatternConfig_r10__setup), - offsetof(struct CQI_ReportConfig_r10__csi_SubframePatternConfig_r10__setup, _asn_ctx), - asn_MAP_setup_tag2el_9, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_9 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_9, - sizeof(asn_DEF_setup_tags_9) - /sizeof(asn_DEF_setup_tags_9[0]) - 1, /* 1 */ - asn_DEF_setup_tags_9, /* Same as above */ - sizeof(asn_DEF_setup_tags_9) - /sizeof(asn_DEF_setup_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_9, - 2, /* Elements count */ - &asn_SPC_setup_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_csi_SubframePatternConfig_r10_7[] = { - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportConfig_r10__csi_SubframePatternConfig_r10, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportConfig_r10__csi_SubframePatternConfig_r10, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_csi_SubframePatternConfig_r10_tag2el_7[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 1866 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 1868 */ -}; -static asn_CHOICE_specifics_t asn_SPC_csi_SubframePatternConfig_r10_specs_7 = { - sizeof(struct CQI_ReportConfig_r10__csi_SubframePatternConfig_r10), - offsetof(struct CQI_ReportConfig_r10__csi_SubframePatternConfig_r10, _asn_ctx), - offsetof(struct CQI_ReportConfig_r10__csi_SubframePatternConfig_r10, present), - sizeof(((struct CQI_ReportConfig_r10__csi_SubframePatternConfig_r10 *)0)->present), - asn_MAP_csi_SubframePatternConfig_r10_tag2el_7, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_csi_SubframePatternConfig_r10_7 = { - "csi-SubframePatternConfig-r10", - "csi-SubframePatternConfig-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_csi_SubframePatternConfig_r10_constr_7, - asn_MBR_csi_SubframePatternConfig_r10_7, - 2, /* Elements count */ - &asn_SPC_csi_SubframePatternConfig_r10_specs_7 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CQI_ReportConfig_r10_1[] = { - { ATF_POINTER, 1, offsetof(struct CQI_ReportConfig_r10, cqi_ReportAperiodic_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_CQI_ReportAperiodic_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cqi-ReportAperiodic-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportConfig_r10, nomPDSCH_RS_EPRE_Offset), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_nomPDSCH_RS_EPRE_Offset_constraint_1, - &asn_PER_memb_nomPDSCH_RS_EPRE_Offset_constr_3, - 0, - "nomPDSCH-RS-EPRE-Offset" - }, - { ATF_POINTER, 3, offsetof(struct CQI_ReportConfig_r10, cqi_ReportPeriodic_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_CQI_ReportPeriodic_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cqi-ReportPeriodic-r10" - }, - { ATF_POINTER, 2, offsetof(struct CQI_ReportConfig_r10, pmi_RI_Report_r9), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_pmi_RI_Report_r9_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pmi-RI-Report-r9" - }, - { ATF_POINTER, 1, offsetof(struct CQI_ReportConfig_r10, csi_SubframePatternConfig_r10), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_csi_SubframePatternConfig_r10_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csi-SubframePatternConfig-r10" - }, -}; -static int asn_MAP_CQI_ReportConfig_r10_oms_1[] = { 0, 2, 3, 4 }; -static ber_tlv_tag_t asn_DEF_CQI_ReportConfig_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CQI_ReportConfig_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cqi-ReportAperiodic-r10 at 1861 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nomPDSCH-RS-EPRE-Offset at 1862 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* cqi-ReportPeriodic-r10 at 1863 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* pmi-RI-Report-r9 at 1864 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* csi-SubframePatternConfig-r10 at 1866 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CQI_ReportConfig_r10_specs_1 = { - sizeof(struct CQI_ReportConfig_r10), - offsetof(struct CQI_ReportConfig_r10, _asn_ctx), - asn_MAP_CQI_ReportConfig_r10_tag2el_1, - 5, /* Count of tags in the map */ - asn_MAP_CQI_ReportConfig_r10_oms_1, /* Optional members */ - 4, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CQI_ReportConfig_r10 = { - "CQI-ReportConfig-r10", - "CQI-ReportConfig-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CQI_ReportConfig_r10_tags_1, - sizeof(asn_DEF_CQI_ReportConfig_r10_tags_1) - /sizeof(asn_DEF_CQI_ReportConfig_r10_tags_1[0]), /* 1 */ - asn_DEF_CQI_ReportConfig_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_CQI_ReportConfig_r10_tags_1) - /sizeof(asn_DEF_CQI_ReportConfig_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CQI_ReportConfig_r10_1, - 5, /* Elements count */ - &asn_SPC_CQI_ReportConfig_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CQI-ReportConfig-v920.c b/lte/rrc/lib/asn/src/CQI-ReportConfig-v920.c deleted file mode 100644 index 59afed610..000000000 --- a/lte/rrc/lib/asn/src/CQI-ReportConfig-v920.c +++ /dev/null @@ -1,346 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CQI-ReportConfig-v920.h" - -static int -cqi_Mask_r9_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -cqi_Mask_r9_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -cqi_Mask_r9_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - cqi_Mask_r9_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -cqi_Mask_r9_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - cqi_Mask_r9_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -cqi_Mask_r9_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - cqi_Mask_r9_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -cqi_Mask_r9_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - cqi_Mask_r9_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -cqi_Mask_r9_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - cqi_Mask_r9_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -cqi_Mask_r9_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - cqi_Mask_r9_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -cqi_Mask_r9_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - cqi_Mask_r9_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -cqi_Mask_r9_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - cqi_Mask_r9_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -pmi_RI_Report_r9_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -pmi_RI_Report_r9_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -pmi_RI_Report_r9_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - pmi_RI_Report_r9_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -pmi_RI_Report_r9_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - pmi_RI_Report_r9_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -pmi_RI_Report_r9_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - pmi_RI_Report_r9_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -pmi_RI_Report_r9_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - pmi_RI_Report_r9_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -pmi_RI_Report_r9_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - pmi_RI_Report_r9_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -pmi_RI_Report_r9_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - pmi_RI_Report_r9_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -pmi_RI_Report_r9_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - pmi_RI_Report_r9_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -pmi_RI_Report_r9_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - pmi_RI_Report_r9_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_cqi_Mask_r9_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_pmi_RI_Report_r9_constr_4 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_cqi_Mask_r9_value2enum_2[] = { - { 0, 5, "setup" } -}; -static unsigned int asn_MAP_cqi_Mask_r9_enum2value_2[] = { - 0 /* setup(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_cqi_Mask_r9_specs_2 = { - asn_MAP_cqi_Mask_r9_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_cqi_Mask_r9_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_cqi_Mask_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cqi_Mask_r9_2 = { - "cqi-Mask-r9", - "cqi-Mask-r9", - cqi_Mask_r9_2_free, - cqi_Mask_r9_2_print, - cqi_Mask_r9_2_constraint, - cqi_Mask_r9_2_decode_ber, - cqi_Mask_r9_2_encode_der, - cqi_Mask_r9_2_decode_xer, - cqi_Mask_r9_2_encode_xer, - cqi_Mask_r9_2_decode_uper, - cqi_Mask_r9_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_cqi_Mask_r9_tags_2, - sizeof(asn_DEF_cqi_Mask_r9_tags_2) - /sizeof(asn_DEF_cqi_Mask_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_cqi_Mask_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_cqi_Mask_r9_tags_2) - /sizeof(asn_DEF_cqi_Mask_r9_tags_2[0]), /* 2 */ - &asn_PER_type_cqi_Mask_r9_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_cqi_Mask_r9_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_pmi_RI_Report_r9_value2enum_4[] = { - { 0, 5, "setup" } -}; -static unsigned int asn_MAP_pmi_RI_Report_r9_enum2value_4[] = { - 0 /* setup(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_pmi_RI_Report_r9_specs_4 = { - asn_MAP_pmi_RI_Report_r9_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_pmi_RI_Report_r9_enum2value_4, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_pmi_RI_Report_r9_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_pmi_RI_Report_r9_4 = { - "pmi-RI-Report-r9", - "pmi-RI-Report-r9", - pmi_RI_Report_r9_4_free, - pmi_RI_Report_r9_4_print, - pmi_RI_Report_r9_4_constraint, - pmi_RI_Report_r9_4_decode_ber, - pmi_RI_Report_r9_4_encode_der, - pmi_RI_Report_r9_4_decode_xer, - pmi_RI_Report_r9_4_encode_xer, - pmi_RI_Report_r9_4_decode_uper, - pmi_RI_Report_r9_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_pmi_RI_Report_r9_tags_4, - sizeof(asn_DEF_pmi_RI_Report_r9_tags_4) - /sizeof(asn_DEF_pmi_RI_Report_r9_tags_4[0]) - 1, /* 1 */ - asn_DEF_pmi_RI_Report_r9_tags_4, /* Same as above */ - sizeof(asn_DEF_pmi_RI_Report_r9_tags_4) - /sizeof(asn_DEF_pmi_RI_Report_r9_tags_4[0]), /* 2 */ - &asn_PER_type_pmi_RI_Report_r9_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_pmi_RI_Report_r9_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CQI_ReportConfig_v920_1[] = { - { ATF_POINTER, 2, offsetof(struct CQI_ReportConfig_v920, cqi_Mask_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_cqi_Mask_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cqi-Mask-r9" - }, - { ATF_POINTER, 1, offsetof(struct CQI_ReportConfig_v920, pmi_RI_Report_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_pmi_RI_Report_r9_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pmi-RI-Report-r9" - }, -}; -static int asn_MAP_CQI_ReportConfig_v920_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_CQI_ReportConfig_v920_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CQI_ReportConfig_v920_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cqi-Mask-r9 at 1856 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* pmi-RI-Report-r9 at 1857 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CQI_ReportConfig_v920_specs_1 = { - sizeof(struct CQI_ReportConfig_v920), - offsetof(struct CQI_ReportConfig_v920, _asn_ctx), - asn_MAP_CQI_ReportConfig_v920_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_CQI_ReportConfig_v920_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CQI_ReportConfig_v920 = { - "CQI-ReportConfig-v920", - "CQI-ReportConfig-v920", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CQI_ReportConfig_v920_tags_1, - sizeof(asn_DEF_CQI_ReportConfig_v920_tags_1) - /sizeof(asn_DEF_CQI_ReportConfig_v920_tags_1[0]), /* 1 */ - asn_DEF_CQI_ReportConfig_v920_tags_1, /* Same as above */ - sizeof(asn_DEF_CQI_ReportConfig_v920_tags_1) - /sizeof(asn_DEF_CQI_ReportConfig_v920_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CQI_ReportConfig_v920_1, - 2, /* Elements count */ - &asn_SPC_CQI_ReportConfig_v920_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CQI-ReportConfig.c b/lte/rrc/lib/asn/src/CQI-ReportConfig.c deleted file mode 100644 index b2a47e94e..000000000 --- a/lte/rrc/lib/asn/src/CQI-ReportConfig.c +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CQI-ReportConfig.h" - -static int -memb_nomPDSCH_RS_EPRE_Offset_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -1 && value <= 6)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_nomPDSCH_RS_EPRE_Offset_constr_3 = { - { APC_CONSTRAINED, 3, 3, -1, 6 } /* (-1..6) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CQI_ReportConfig_1[] = { - { ATF_POINTER, 1, offsetof(struct CQI_ReportConfig, cqi_ReportModeAperiodic), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CQI_ReportModeAperiodic, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cqi-ReportModeAperiodic" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportConfig, nomPDSCH_RS_EPRE_Offset), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_nomPDSCH_RS_EPRE_Offset_constraint_1, - &asn_PER_memb_nomPDSCH_RS_EPRE_Offset_constr_3, - 0, - "nomPDSCH-RS-EPRE-Offset" - }, - { ATF_POINTER, 1, offsetof(struct CQI_ReportConfig, cqi_ReportPeriodic), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_CQI_ReportPeriodic, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cqi-ReportPeriodic" - }, -}; -static int asn_MAP_CQI_ReportConfig_oms_1[] = { 0, 2 }; -static ber_tlv_tag_t asn_DEF_CQI_ReportConfig_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CQI_ReportConfig_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cqi-ReportModeAperiodic at 1850 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nomPDSCH-RS-EPRE-Offset at 1851 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* cqi-ReportPeriodic at 1852 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CQI_ReportConfig_specs_1 = { - sizeof(struct CQI_ReportConfig), - offsetof(struct CQI_ReportConfig, _asn_ctx), - asn_MAP_CQI_ReportConfig_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_CQI_ReportConfig_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CQI_ReportConfig = { - "CQI-ReportConfig", - "CQI-ReportConfig", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CQI_ReportConfig_tags_1, - sizeof(asn_DEF_CQI_ReportConfig_tags_1) - /sizeof(asn_DEF_CQI_ReportConfig_tags_1[0]), /* 1 */ - asn_DEF_CQI_ReportConfig_tags_1, /* Same as above */ - sizeof(asn_DEF_CQI_ReportConfig_tags_1) - /sizeof(asn_DEF_CQI_ReportConfig_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CQI_ReportConfig_1, - 3, /* Elements count */ - &asn_SPC_CQI_ReportConfig_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CQI-ReportConfigSCell-r10.c b/lte/rrc/lib/asn/src/CQI-ReportConfigSCell-r10.c deleted file mode 100644 index 43bf385ce..000000000 --- a/lte/rrc/lib/asn/src/CQI-ReportConfigSCell-r10.c +++ /dev/null @@ -1,259 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CQI-ReportConfigSCell-r10.h" - -static int -pmi_RI_Report_r10_5_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -pmi_RI_Report_r10_5_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -pmi_RI_Report_r10_5_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - pmi_RI_Report_r10_5_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -pmi_RI_Report_r10_5_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - pmi_RI_Report_r10_5_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -pmi_RI_Report_r10_5_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - pmi_RI_Report_r10_5_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -pmi_RI_Report_r10_5_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - pmi_RI_Report_r10_5_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -pmi_RI_Report_r10_5_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - pmi_RI_Report_r10_5_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -pmi_RI_Report_r10_5_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - pmi_RI_Report_r10_5_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -pmi_RI_Report_r10_5_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - pmi_RI_Report_r10_5_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -pmi_RI_Report_r10_5_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - pmi_RI_Report_r10_5_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_nomPDSCH_RS_EPRE_Offset_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -1 && value <= 6)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_pmi_RI_Report_r10_constr_5 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_nomPDSCH_RS_EPRE_Offset_r10_constr_3 = { - { APC_CONSTRAINED, 3, 3, -1, 6 } /* (-1..6) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_pmi_RI_Report_r10_value2enum_5[] = { - { 0, 5, "setup" } -}; -static unsigned int asn_MAP_pmi_RI_Report_r10_enum2value_5[] = { - 0 /* setup(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_pmi_RI_Report_r10_specs_5 = { - asn_MAP_pmi_RI_Report_r10_value2enum_5, /* "tag" => N; sorted by tag */ - asn_MAP_pmi_RI_Report_r10_enum2value_5, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_pmi_RI_Report_r10_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_pmi_RI_Report_r10_5 = { - "pmi-RI-Report-r10", - "pmi-RI-Report-r10", - pmi_RI_Report_r10_5_free, - pmi_RI_Report_r10_5_print, - pmi_RI_Report_r10_5_constraint, - pmi_RI_Report_r10_5_decode_ber, - pmi_RI_Report_r10_5_encode_der, - pmi_RI_Report_r10_5_decode_xer, - pmi_RI_Report_r10_5_encode_xer, - pmi_RI_Report_r10_5_decode_uper, - pmi_RI_Report_r10_5_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_pmi_RI_Report_r10_tags_5, - sizeof(asn_DEF_pmi_RI_Report_r10_tags_5) - /sizeof(asn_DEF_pmi_RI_Report_r10_tags_5[0]) - 1, /* 1 */ - asn_DEF_pmi_RI_Report_r10_tags_5, /* Same as above */ - sizeof(asn_DEF_pmi_RI_Report_r10_tags_5) - /sizeof(asn_DEF_pmi_RI_Report_r10_tags_5[0]), /* 2 */ - &asn_PER_type_pmi_RI_Report_r10_constr_5, - 0, 0, /* Defined elsewhere */ - &asn_SPC_pmi_RI_Report_r10_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CQI_ReportConfigSCell_r10_1[] = { - { ATF_POINTER, 1, offsetof(struct CQI_ReportConfigSCell_r10, cqi_ReportModeAperiodic_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CQI_ReportModeAperiodic, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cqi-ReportModeAperiodic-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportConfigSCell_r10, nomPDSCH_RS_EPRE_Offset_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_nomPDSCH_RS_EPRE_Offset_r10_constraint_1, - &asn_PER_memb_nomPDSCH_RS_EPRE_Offset_r10_constr_3, - 0, - "nomPDSCH-RS-EPRE-Offset-r10" - }, - { ATF_POINTER, 2, offsetof(struct CQI_ReportConfigSCell_r10, cqi_ReportPeriodicSCell_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_CQI_ReportPeriodic_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cqi-ReportPeriodicSCell-r10" - }, - { ATF_POINTER, 1, offsetof(struct CQI_ReportConfigSCell_r10, pmi_RI_Report_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_pmi_RI_Report_r10_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pmi-RI-Report-r10" - }, -}; -static int asn_MAP_CQI_ReportConfigSCell_r10_oms_1[] = { 0, 2, 3 }; -static ber_tlv_tag_t asn_DEF_CQI_ReportConfigSCell_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CQI_ReportConfigSCell_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cqi-ReportModeAperiodic-r10 at 1875 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nomPDSCH-RS-EPRE-Offset-r10 at 1876 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* cqi-ReportPeriodicSCell-r10 at 1878 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* pmi-RI-Report-r10 at 1879 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CQI_ReportConfigSCell_r10_specs_1 = { - sizeof(struct CQI_ReportConfigSCell_r10), - offsetof(struct CQI_ReportConfigSCell_r10, _asn_ctx), - asn_MAP_CQI_ReportConfigSCell_r10_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_CQI_ReportConfigSCell_r10_oms_1, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CQI_ReportConfigSCell_r10 = { - "CQI-ReportConfigSCell-r10", - "CQI-ReportConfigSCell-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CQI_ReportConfigSCell_r10_tags_1, - sizeof(asn_DEF_CQI_ReportConfigSCell_r10_tags_1) - /sizeof(asn_DEF_CQI_ReportConfigSCell_r10_tags_1[0]), /* 1 */ - asn_DEF_CQI_ReportConfigSCell_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_CQI_ReportConfigSCell_r10_tags_1) - /sizeof(asn_DEF_CQI_ReportConfigSCell_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CQI_ReportConfigSCell_r10_1, - 4, /* Elements count */ - &asn_SPC_CQI_ReportConfigSCell_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CQI-ReportModeAperiodic.c b/lte/rrc/lib/asn/src/CQI-ReportModeAperiodic.c deleted file mode 100644 index 2ab225b08..000000000 --- a/lte/rrc/lib/asn/src/CQI-ReportModeAperiodic.c +++ /dev/null @@ -1,158 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CQI-ReportModeAperiodic.h" - -int -CQI_ReportModeAperiodic_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -CQI_ReportModeAperiodic_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -CQI_ReportModeAperiodic_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - CQI_ReportModeAperiodic_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -CQI_ReportModeAperiodic_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - CQI_ReportModeAperiodic_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -CQI_ReportModeAperiodic_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - CQI_ReportModeAperiodic_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -CQI_ReportModeAperiodic_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - CQI_ReportModeAperiodic_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -CQI_ReportModeAperiodic_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - CQI_ReportModeAperiodic_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -CQI_ReportModeAperiodic_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - CQI_ReportModeAperiodic_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -CQI_ReportModeAperiodic_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - CQI_ReportModeAperiodic_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -CQI_ReportModeAperiodic_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - CQI_ReportModeAperiodic_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_CQI_ReportModeAperiodic_constr_1 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_CQI_ReportModeAperiodic_value2enum_1[] = { - { 0, 4, "rm12" }, - { 1, 4, "rm20" }, - { 2, 4, "rm22" }, - { 3, 4, "rm30" }, - { 4, 4, "rm31" }, - { 5, 6, "spare3" }, - { 6, 6, "spare2" }, - { 7, 6, "spare1" } -}; -static unsigned int asn_MAP_CQI_ReportModeAperiodic_enum2value_1[] = { - 0, /* rm12(0) */ - 1, /* rm20(1) */ - 2, /* rm22(2) */ - 3, /* rm30(3) */ - 4, /* rm31(4) */ - 7, /* spare1(7) */ - 6, /* spare2(6) */ - 5 /* spare3(5) */ -}; -static asn_INTEGER_specifics_t asn_SPC_CQI_ReportModeAperiodic_specs_1 = { - asn_MAP_CQI_ReportModeAperiodic_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_CQI_ReportModeAperiodic_enum2value_1, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_CQI_ReportModeAperiodic_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_CQI_ReportModeAperiodic = { - "CQI-ReportModeAperiodic", - "CQI-ReportModeAperiodic", - CQI_ReportModeAperiodic_free, - CQI_ReportModeAperiodic_print, - CQI_ReportModeAperiodic_constraint, - CQI_ReportModeAperiodic_decode_ber, - CQI_ReportModeAperiodic_encode_der, - CQI_ReportModeAperiodic_decode_xer, - CQI_ReportModeAperiodic_encode_xer, - CQI_ReportModeAperiodic_decode_uper, - CQI_ReportModeAperiodic_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CQI_ReportModeAperiodic_tags_1, - sizeof(asn_DEF_CQI_ReportModeAperiodic_tags_1) - /sizeof(asn_DEF_CQI_ReportModeAperiodic_tags_1[0]), /* 1 */ - asn_DEF_CQI_ReportModeAperiodic_tags_1, /* Same as above */ - sizeof(asn_DEF_CQI_ReportModeAperiodic_tags_1) - /sizeof(asn_DEF_CQI_ReportModeAperiodic_tags_1[0]), /* 1 */ - &asn_PER_type_CQI_ReportModeAperiodic_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_CQI_ReportModeAperiodic_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CQI-ReportPeriodic-r10.c b/lte/rrc/lib/asn/src/CQI-ReportPeriodic-r10.c deleted file mode 100644 index 74b9364f3..000000000 --- a/lte/rrc/lib/asn/src/CQI-ReportPeriodic-r10.c +++ /dev/null @@ -1,1130 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CQI-ReportPeriodic-r10.h" - -static int -csi_ReportMode_r10_9_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -csi_ReportMode_r10_9_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -csi_ReportMode_r10_9_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - csi_ReportMode_r10_9_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -csi_ReportMode_r10_9_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - csi_ReportMode_r10_9_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -csi_ReportMode_r10_9_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - csi_ReportMode_r10_9_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -csi_ReportMode_r10_9_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - csi_ReportMode_r10_9_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -csi_ReportMode_r10_9_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - csi_ReportMode_r10_9_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -csi_ReportMode_r10_9_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - csi_ReportMode_r10_9_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -csi_ReportMode_r10_9_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - csi_ReportMode_r10_9_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -csi_ReportMode_r10_9_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - csi_ReportMode_r10_9_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -periodicityFactor_r10_14_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -periodicityFactor_r10_14_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -periodicityFactor_r10_14_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - periodicityFactor_r10_14_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -periodicityFactor_r10_14_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - periodicityFactor_r10_14_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -periodicityFactor_r10_14_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - periodicityFactor_r10_14_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -periodicityFactor_r10_14_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - periodicityFactor_r10_14_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -periodicityFactor_r10_14_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - periodicityFactor_r10_14_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -periodicityFactor_r10_14_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - periodicityFactor_r10_14_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -periodicityFactor_r10_14_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - periodicityFactor_r10_14_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -periodicityFactor_r10_14_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - periodicityFactor_r10_14_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_k_constraint_12(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 4)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -cqi_Mask_r9_19_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -cqi_Mask_r9_19_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -cqi_Mask_r9_19_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - cqi_Mask_r9_19_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -cqi_Mask_r9_19_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - cqi_Mask_r9_19_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -cqi_Mask_r9_19_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - cqi_Mask_r9_19_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -cqi_Mask_r9_19_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - cqi_Mask_r9_19_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -cqi_Mask_r9_19_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - cqi_Mask_r9_19_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -cqi_Mask_r9_19_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - cqi_Mask_r9_19_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -cqi_Mask_r9_19_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - cqi_Mask_r9_19_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -cqi_Mask_r9_19_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - cqi_Mask_r9_19_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_cqi_pmi_ConfigIndex2_r10_constraint_23(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 1023)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_ri_ConfigIndex2_r10_constraint_23(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 1023)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_cqi_PUCCH_ResourceIndex_r10_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 1184)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_cqi_PUCCH_ResourceIndexP1_r10_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 1184)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_cqi_pmi_ConfigIndex_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 1023)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_ri_ConfigIndex_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 1023)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_csi_ReportMode_r10_constr_9 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_periodicityFactor_r10_constr_14 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_k_constr_13 = { - { APC_CONSTRAINED, 2, 2, 1, 4 } /* (1..4) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_cqi_FormatIndicatorPeriodic_r10_constr_7 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_cqi_Mask_r9_constr_19 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_cqi_pmi_ConfigIndex2_r10_constr_24 = { - { APC_CONSTRAINED, 10, 10, 0, 1023 } /* (0..1023) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_ri_ConfigIndex2_r10_constr_25 = { - { APC_CONSTRAINED, 10, 10, 0, 1023 } /* (0..1023) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_csi_ConfigIndex_r10_constr_21 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_cqi_PUCCH_ResourceIndex_r10_constr_4 = { - { APC_CONSTRAINED, 11, 11, 0, 1184 } /* (0..1184) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_cqi_PUCCH_ResourceIndexP1_r10_constr_5 = { - { APC_CONSTRAINED, 11, 11, 0, 1184 } /* (0..1184) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_cqi_pmi_ConfigIndex_constr_6 = { - { APC_CONSTRAINED, 10, 10, 0, 1023 } /* (0..1023) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_ri_ConfigIndex_constr_17 = { - { APC_CONSTRAINED, 10, 10, 0, 1023 } /* (0..1023) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_CQI_ReportPeriodic_r10_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_csi_ReportMode_r10_value2enum_9[] = { - { 0, 8, "submode1" }, - { 1, 8, "submode2" } -}; -static unsigned int asn_MAP_csi_ReportMode_r10_enum2value_9[] = { - 0, /* submode1(0) */ - 1 /* submode2(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_csi_ReportMode_r10_specs_9 = { - asn_MAP_csi_ReportMode_r10_value2enum_9, /* "tag" => N; sorted by tag */ - asn_MAP_csi_ReportMode_r10_enum2value_9, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_csi_ReportMode_r10_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_csi_ReportMode_r10_9 = { - "csi-ReportMode-r10", - "csi-ReportMode-r10", - csi_ReportMode_r10_9_free, - csi_ReportMode_r10_9_print, - csi_ReportMode_r10_9_constraint, - csi_ReportMode_r10_9_decode_ber, - csi_ReportMode_r10_9_encode_der, - csi_ReportMode_r10_9_decode_xer, - csi_ReportMode_r10_9_encode_xer, - csi_ReportMode_r10_9_decode_uper, - csi_ReportMode_r10_9_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_csi_ReportMode_r10_tags_9, - sizeof(asn_DEF_csi_ReportMode_r10_tags_9) - /sizeof(asn_DEF_csi_ReportMode_r10_tags_9[0]) - 1, /* 1 */ - asn_DEF_csi_ReportMode_r10_tags_9, /* Same as above */ - sizeof(asn_DEF_csi_ReportMode_r10_tags_9) - /sizeof(asn_DEF_csi_ReportMode_r10_tags_9[0]), /* 2 */ - &asn_PER_type_csi_ReportMode_r10_constr_9, - 0, 0, /* Defined elsewhere */ - &asn_SPC_csi_ReportMode_r10_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_widebandCQI_r10_8[] = { - { ATF_POINTER, 1, offsetof(struct CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10__widebandCQI_r10, csi_ReportMode_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_csi_ReportMode_r10_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csi-ReportMode-r10" - }, -}; -static int asn_MAP_widebandCQI_r10_oms_8[] = { 0 }; -static ber_tlv_tag_t asn_DEF_widebandCQI_r10_tags_8[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_widebandCQI_r10_tag2el_8[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* csi-ReportMode-r10 at 1906 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_widebandCQI_r10_specs_8 = { - sizeof(struct CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10__widebandCQI_r10), - offsetof(struct CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10__widebandCQI_r10, _asn_ctx), - asn_MAP_widebandCQI_r10_tag2el_8, - 1, /* Count of tags in the map */ - asn_MAP_widebandCQI_r10_oms_8, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_widebandCQI_r10_8 = { - "widebandCQI-r10", - "widebandCQI-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_widebandCQI_r10_tags_8, - sizeof(asn_DEF_widebandCQI_r10_tags_8) - /sizeof(asn_DEF_widebandCQI_r10_tags_8[0]) - 1, /* 1 */ - asn_DEF_widebandCQI_r10_tags_8, /* Same as above */ - sizeof(asn_DEF_widebandCQI_r10_tags_8) - /sizeof(asn_DEF_widebandCQI_r10_tags_8[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_widebandCQI_r10_8, - 1, /* Elements count */ - &asn_SPC_widebandCQI_r10_specs_8 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_periodicityFactor_r10_value2enum_14[] = { - { 0, 2, "n2" }, - { 1, 2, "n4" } -}; -static unsigned int asn_MAP_periodicityFactor_r10_enum2value_14[] = { - 0, /* n2(0) */ - 1 /* n4(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_periodicityFactor_r10_specs_14 = { - asn_MAP_periodicityFactor_r10_value2enum_14, /* "tag" => N; sorted by tag */ - asn_MAP_periodicityFactor_r10_enum2value_14, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_periodicityFactor_r10_tags_14[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_periodicityFactor_r10_14 = { - "periodicityFactor-r10", - "periodicityFactor-r10", - periodicityFactor_r10_14_free, - periodicityFactor_r10_14_print, - periodicityFactor_r10_14_constraint, - periodicityFactor_r10_14_decode_ber, - periodicityFactor_r10_14_encode_der, - periodicityFactor_r10_14_decode_xer, - periodicityFactor_r10_14_encode_xer, - periodicityFactor_r10_14_decode_uper, - periodicityFactor_r10_14_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_periodicityFactor_r10_tags_14, - sizeof(asn_DEF_periodicityFactor_r10_tags_14) - /sizeof(asn_DEF_periodicityFactor_r10_tags_14[0]) - 1, /* 1 */ - asn_DEF_periodicityFactor_r10_tags_14, /* Same as above */ - sizeof(asn_DEF_periodicityFactor_r10_tags_14) - /sizeof(asn_DEF_periodicityFactor_r10_tags_14[0]), /* 2 */ - &asn_PER_type_periodicityFactor_r10_constr_14, - 0, 0, /* Defined elsewhere */ - &asn_SPC_periodicityFactor_r10_specs_14 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_subbandCQI_r10_12[] = { - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10__subbandCQI_r10, k), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_k_constraint_12, - &asn_PER_memb_k_constr_13, - 0, - "k" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10__subbandCQI_r10, periodicityFactor_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_periodicityFactor_r10_14, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "periodicityFactor-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_subbandCQI_r10_tags_12[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_subbandCQI_r10_tag2el_12[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* k at 1909 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* periodicityFactor-r10 at 1910 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_subbandCQI_r10_specs_12 = { - sizeof(struct CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10__subbandCQI_r10), - offsetof(struct CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10__subbandCQI_r10, _asn_ctx), - asn_MAP_subbandCQI_r10_tag2el_12, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_subbandCQI_r10_12 = { - "subbandCQI-r10", - "subbandCQI-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_subbandCQI_r10_tags_12, - sizeof(asn_DEF_subbandCQI_r10_tags_12) - /sizeof(asn_DEF_subbandCQI_r10_tags_12[0]) - 1, /* 1 */ - asn_DEF_subbandCQI_r10_tags_12, /* Same as above */ - sizeof(asn_DEF_subbandCQI_r10_tags_12) - /sizeof(asn_DEF_subbandCQI_r10_tags_12[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_subbandCQI_r10_12, - 2, /* Elements count */ - &asn_SPC_subbandCQI_r10_specs_12 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_cqi_FormatIndicatorPeriodic_r10_7[] = { - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10, choice.widebandCQI_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_widebandCQI_r10_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "widebandCQI-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10, choice.subbandCQI_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_subbandCQI_r10_12, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "subbandCQI-r10" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_cqi_FormatIndicatorPeriodic_r10_tag2el_7[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* widebandCQI-r10 at 1906 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* subbandCQI-r10 at 1909 */ -}; -static asn_CHOICE_specifics_t asn_SPC_cqi_FormatIndicatorPeriodic_r10_specs_7 = { - sizeof(struct CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10), - offsetof(struct CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10, _asn_ctx), - offsetof(struct CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10, present), - sizeof(((struct CQI_ReportPeriodic_r10__setup__cqi_FormatIndicatorPeriodic_r10 *)0)->present), - asn_MAP_cqi_FormatIndicatorPeriodic_r10_tag2el_7, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cqi_FormatIndicatorPeriodic_r10_7 = { - "cqi-FormatIndicatorPeriodic-r10", - "cqi-FormatIndicatorPeriodic-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_cqi_FormatIndicatorPeriodic_r10_constr_7, - asn_MBR_cqi_FormatIndicatorPeriodic_r10_7, - 2, /* Elements count */ - &asn_SPC_cqi_FormatIndicatorPeriodic_r10_specs_7 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_cqi_Mask_r9_value2enum_19[] = { - { 0, 5, "setup" } -}; -static unsigned int asn_MAP_cqi_Mask_r9_enum2value_19[] = { - 0 /* setup(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_cqi_Mask_r9_specs_19 = { - asn_MAP_cqi_Mask_r9_value2enum_19, /* "tag" => N; sorted by tag */ - asn_MAP_cqi_Mask_r9_enum2value_19, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_cqi_Mask_r9_tags_19[] = { - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cqi_Mask_r9_19 = { - "cqi-Mask-r9", - "cqi-Mask-r9", - cqi_Mask_r9_19_free, - cqi_Mask_r9_19_print, - cqi_Mask_r9_19_constraint, - cqi_Mask_r9_19_decode_ber, - cqi_Mask_r9_19_encode_der, - cqi_Mask_r9_19_decode_xer, - cqi_Mask_r9_19_encode_xer, - cqi_Mask_r9_19_decode_uper, - cqi_Mask_r9_19_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_cqi_Mask_r9_tags_19, - sizeof(asn_DEF_cqi_Mask_r9_tags_19) - /sizeof(asn_DEF_cqi_Mask_r9_tags_19[0]) - 1, /* 1 */ - asn_DEF_cqi_Mask_r9_tags_19, /* Same as above */ - sizeof(asn_DEF_cqi_Mask_r9_tags_19) - /sizeof(asn_DEF_cqi_Mask_r9_tags_19[0]), /* 2 */ - &asn_PER_type_cqi_Mask_r9_constr_19, - 0, 0, /* Defined elsewhere */ - &asn_SPC_cqi_Mask_r9_specs_19 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_23[] = { - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10__setup, cqi_pmi_ConfigIndex2_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_cqi_pmi_ConfigIndex2_r10_constraint_23, - &asn_PER_memb_cqi_pmi_ConfigIndex2_r10_constr_24, - 0, - "cqi-pmi-ConfigIndex2-r10" - }, - { ATF_POINTER, 1, offsetof(struct CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10__setup, ri_ConfigIndex2_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_ri_ConfigIndex2_r10_constraint_23, - &asn_PER_memb_ri_ConfigIndex2_r10_constr_25, - 0, - "ri-ConfigIndex2-r10" - }, -}; -static int asn_MAP_setup_oms_23[] = { 1 }; -static ber_tlv_tag_t asn_DEF_setup_tags_23[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_23[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cqi-pmi-ConfigIndex2-r10 at 1919 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ri-ConfigIndex2-r10 at 1920 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_23 = { - sizeof(struct CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10__setup), - offsetof(struct CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10__setup, _asn_ctx), - asn_MAP_setup_tag2el_23, - 2, /* Count of tags in the map */ - asn_MAP_setup_oms_23, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_23 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_23, - sizeof(asn_DEF_setup_tags_23) - /sizeof(asn_DEF_setup_tags_23[0]) - 1, /* 1 */ - asn_DEF_setup_tags_23, /* Same as above */ - sizeof(asn_DEF_setup_tags_23) - /sizeof(asn_DEF_setup_tags_23[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_23, - 2, /* Elements count */ - &asn_SPC_setup_specs_23 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_csi_ConfigIndex_r10_21[] = { - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_23, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_csi_ConfigIndex_r10_tag2el_21[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 1917 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 1919 */ -}; -static asn_CHOICE_specifics_t asn_SPC_csi_ConfigIndex_r10_specs_21 = { - sizeof(struct CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10), - offsetof(struct CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10, _asn_ctx), - offsetof(struct CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10, present), - sizeof(((struct CQI_ReportPeriodic_r10__setup__csi_ConfigIndex_r10 *)0)->present), - asn_MAP_csi_ConfigIndex_r10_tag2el_21, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_csi_ConfigIndex_r10_21 = { - "csi-ConfigIndex-r10", - "csi-ConfigIndex-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_csi_ConfigIndex_r10_constr_21, - asn_MBR_csi_ConfigIndex_r10_21, - 2, /* Elements count */ - &asn_SPC_csi_ConfigIndex_r10_specs_21 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic_r10__setup, cqi_PUCCH_ResourceIndex_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_cqi_PUCCH_ResourceIndex_r10_constraint_3, - &asn_PER_memb_cqi_PUCCH_ResourceIndex_r10_constr_4, - 0, - "cqi-PUCCH-ResourceIndex-r10" - }, - { ATF_POINTER, 1, offsetof(struct CQI_ReportPeriodic_r10__setup, cqi_PUCCH_ResourceIndexP1_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_cqi_PUCCH_ResourceIndexP1_r10_constraint_3, - &asn_PER_memb_cqi_PUCCH_ResourceIndexP1_r10_constr_5, - 0, - "cqi-PUCCH-ResourceIndexP1-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic_r10__setup, cqi_pmi_ConfigIndex), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_cqi_pmi_ConfigIndex_constraint_3, - &asn_PER_memb_cqi_pmi_ConfigIndex_constr_6, - 0, - "cqi-pmi-ConfigIndex" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic_r10__setup, cqi_FormatIndicatorPeriodic_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_cqi_FormatIndicatorPeriodic_r10_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cqi-FormatIndicatorPeriodic-r10" - }, - { ATF_POINTER, 1, offsetof(struct CQI_ReportPeriodic_r10__setup, ri_ConfigIndex), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_ri_ConfigIndex_constraint_3, - &asn_PER_memb_ri_ConfigIndex_constr_17, - 0, - "ri-ConfigIndex" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic_r10__setup, simultaneousAckNackAndCQI), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "simultaneousAckNackAndCQI" - }, - { ATF_POINTER, 2, offsetof(struct CQI_ReportPeriodic_r10__setup, cqi_Mask_r9), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_cqi_Mask_r9_19, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cqi-Mask-r9" - }, - { ATF_POINTER, 1, offsetof(struct CQI_ReportPeriodic_r10__setup, csi_ConfigIndex_r10), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_csi_ConfigIndex_r10_21, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csi-ConfigIndex-r10" - }, -}; -static int asn_MAP_setup_oms_3[] = { 1, 4, 6, 7 }; -static ber_tlv_tag_t asn_DEF_setup_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cqi-PUCCH-ResourceIndex-r10 at 1901 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cqi-PUCCH-ResourceIndexP1-r10 at 1902 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* cqi-pmi-ConfigIndex at 1903 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* cqi-FormatIndicatorPeriodic-r10 at 1907 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* ri-ConfigIndex at 1913 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* simultaneousAckNackAndCQI at 1914 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* cqi-Mask-r9 at 1915 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* csi-ConfigIndex-r10 at 1917 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_3 = { - sizeof(struct CQI_ReportPeriodic_r10__setup), - offsetof(struct CQI_ReportPeriodic_r10__setup, _asn_ctx), - asn_MAP_setup_tag2el_3, - 8, /* Count of tags in the map */ - asn_MAP_setup_oms_3, /* Optional members */ - 4, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_3 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_3, - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]) - 1, /* 1 */ - asn_DEF_setup_tags_3, /* Same as above */ - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_3, - 8, /* Elements count */ - &asn_SPC_setup_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CQI_ReportPeriodic_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic_r10, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic_r10, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_CQI_ReportPeriodic_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 1899 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 1901 */ -}; -static asn_CHOICE_specifics_t asn_SPC_CQI_ReportPeriodic_r10_specs_1 = { - sizeof(struct CQI_ReportPeriodic_r10), - offsetof(struct CQI_ReportPeriodic_r10, _asn_ctx), - offsetof(struct CQI_ReportPeriodic_r10, present), - sizeof(((struct CQI_ReportPeriodic_r10 *)0)->present), - asn_MAP_CQI_ReportPeriodic_r10_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_CQI_ReportPeriodic_r10 = { - "CQI-ReportPeriodic-r10", - "CQI-ReportPeriodic-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_CQI_ReportPeriodic_r10_constr_1, - asn_MBR_CQI_ReportPeriodic_r10_1, - 2, /* Elements count */ - &asn_SPC_CQI_ReportPeriodic_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CQI-ReportPeriodic.c b/lte/rrc/lib/asn/src/CQI-ReportPeriodic.c deleted file mode 100644 index 1b5a79aed..000000000 --- a/lte/rrc/lib/asn/src/CQI-ReportPeriodic.c +++ /dev/null @@ -1,402 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CQI-ReportPeriodic.h" - -static int -memb_k_constraint_8(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 4)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_cqi_PUCCH_ResourceIndex_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 1185)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_cqi_pmi_ConfigIndex_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 1023)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_ri_ConfigIndex_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 1023)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_k_constr_9 = { - { APC_CONSTRAINED, 2, 2, 1, 4 } /* (1..4) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_cqi_FormatIndicatorPeriodic_constr_6 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_cqi_PUCCH_ResourceIndex_constr_4 = { - { APC_CONSTRAINED, 11, 11, 0, 1185 } /* (0..1185) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_cqi_pmi_ConfigIndex_constr_5 = { - { APC_CONSTRAINED, 10, 10, 0, 1023 } /* (0..1023) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_ri_ConfigIndex_constr_10 = { - { APC_CONSTRAINED, 10, 10, 0, 1023 } /* (0..1023) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_CQI_ReportPeriodic_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_subbandCQI_8[] = { - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic__setup__cqi_FormatIndicatorPeriodic__subbandCQI, k), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_k_constraint_8, - &asn_PER_memb_k_constr_9, - 0, - "k" - }, -}; -static ber_tlv_tag_t asn_DEF_subbandCQI_tags_8[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_subbandCQI_tag2el_8[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* k at 1890 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_subbandCQI_specs_8 = { - sizeof(struct CQI_ReportPeriodic__setup__cqi_FormatIndicatorPeriodic__subbandCQI), - offsetof(struct CQI_ReportPeriodic__setup__cqi_FormatIndicatorPeriodic__subbandCQI, _asn_ctx), - asn_MAP_subbandCQI_tag2el_8, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_subbandCQI_8 = { - "subbandCQI", - "subbandCQI", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_subbandCQI_tags_8, - sizeof(asn_DEF_subbandCQI_tags_8) - /sizeof(asn_DEF_subbandCQI_tags_8[0]) - 1, /* 1 */ - asn_DEF_subbandCQI_tags_8, /* Same as above */ - sizeof(asn_DEF_subbandCQI_tags_8) - /sizeof(asn_DEF_subbandCQI_tags_8[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_subbandCQI_8, - 1, /* Elements count */ - &asn_SPC_subbandCQI_specs_8 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_cqi_FormatIndicatorPeriodic_6[] = { - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic__setup__cqi_FormatIndicatorPeriodic, choice.widebandCQI), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "widebandCQI" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic__setup__cqi_FormatIndicatorPeriodic, choice.subbandCQI), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_subbandCQI_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "subbandCQI" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_cqi_FormatIndicatorPeriodic_tag2el_6[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* widebandCQI at 1888 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* subbandCQI at 1891 */ -}; -static asn_CHOICE_specifics_t asn_SPC_cqi_FormatIndicatorPeriodic_specs_6 = { - sizeof(struct CQI_ReportPeriodic__setup__cqi_FormatIndicatorPeriodic), - offsetof(struct CQI_ReportPeriodic__setup__cqi_FormatIndicatorPeriodic, _asn_ctx), - offsetof(struct CQI_ReportPeriodic__setup__cqi_FormatIndicatorPeriodic, present), - sizeof(((struct CQI_ReportPeriodic__setup__cqi_FormatIndicatorPeriodic *)0)->present), - asn_MAP_cqi_FormatIndicatorPeriodic_tag2el_6, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cqi_FormatIndicatorPeriodic_6 = { - "cqi-FormatIndicatorPeriodic", - "cqi-FormatIndicatorPeriodic", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_cqi_FormatIndicatorPeriodic_constr_6, - asn_MBR_cqi_FormatIndicatorPeriodic_6, - 2, /* Elements count */ - &asn_SPC_cqi_FormatIndicatorPeriodic_specs_6 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic__setup, cqi_PUCCH_ResourceIndex), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_cqi_PUCCH_ResourceIndex_constraint_3, - &asn_PER_memb_cqi_PUCCH_ResourceIndex_constr_4, - 0, - "cqi-PUCCH-ResourceIndex" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic__setup, cqi_pmi_ConfigIndex), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_cqi_pmi_ConfigIndex_constraint_3, - &asn_PER_memb_cqi_pmi_ConfigIndex_constr_5, - 0, - "cqi-pmi-ConfigIndex" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic__setup, cqi_FormatIndicatorPeriodic), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_cqi_FormatIndicatorPeriodic_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cqi-FormatIndicatorPeriodic" - }, - { ATF_POINTER, 1, offsetof(struct CQI_ReportPeriodic__setup, ri_ConfigIndex), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_ri_ConfigIndex_constraint_3, - &asn_PER_memb_ri_ConfigIndex_constr_10, - 0, - "ri-ConfigIndex" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic__setup, simultaneousAckNackAndCQI), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "simultaneousAckNackAndCQI" - }, -}; -static int asn_MAP_setup_oms_3[] = { 3 }; -static ber_tlv_tag_t asn_DEF_setup_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cqi-PUCCH-ResourceIndex at 1885 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cqi-pmi-ConfigIndex at 1886 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* cqi-FormatIndicatorPeriodic at 1888 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* ri-ConfigIndex at 1893 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* simultaneousAckNackAndCQI at 1894 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_3 = { - sizeof(struct CQI_ReportPeriodic__setup), - offsetof(struct CQI_ReportPeriodic__setup, _asn_ctx), - asn_MAP_setup_tag2el_3, - 5, /* Count of tags in the map */ - asn_MAP_setup_oms_3, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_3 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_3, - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]) - 1, /* 1 */ - asn_DEF_setup_tags_3, /* Same as above */ - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_3, - 5, /* Elements count */ - &asn_SPC_setup_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CQI_ReportPeriodic_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct CQI_ReportPeriodic, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_CQI_ReportPeriodic_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 1883 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 1885 */ -}; -static asn_CHOICE_specifics_t asn_SPC_CQI_ReportPeriodic_specs_1 = { - sizeof(struct CQI_ReportPeriodic), - offsetof(struct CQI_ReportPeriodic, _asn_ctx), - offsetof(struct CQI_ReportPeriodic, present), - sizeof(((struct CQI_ReportPeriodic *)0)->present), - asn_MAP_CQI_ReportPeriodic_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_CQI_ReportPeriodic = { - "CQI-ReportPeriodic", - "CQI-ReportPeriodic", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_CQI_ReportPeriodic_constr_1, - asn_MBR_CQI_ReportPeriodic_1, - 2, /* Elements count */ - &asn_SPC_CQI_ReportPeriodic_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CSFB-RegistrationParam1XRTT-v920.c b/lte/rrc/lib/asn/src/CSFB-RegistrationParam1XRTT-v920.c deleted file mode 100644 index 352d5a0e9..000000000 --- a/lte/rrc/lib/asn/src/CSFB-RegistrationParam1XRTT-v920.c +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CSFB-RegistrationParam1XRTT-v920.h" - -static int -powerDownReg_r9_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -powerDownReg_r9_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -powerDownReg_r9_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - powerDownReg_r9_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -powerDownReg_r9_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - powerDownReg_r9_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -powerDownReg_r9_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - powerDownReg_r9_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -powerDownReg_r9_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - powerDownReg_r9_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -powerDownReg_r9_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - powerDownReg_r9_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -powerDownReg_r9_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - powerDownReg_r9_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -powerDownReg_r9_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - powerDownReg_r9_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -powerDownReg_r9_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - powerDownReg_r9_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_powerDownReg_r9_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_powerDownReg_r9_value2enum_2[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_powerDownReg_r9_enum2value_2[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_powerDownReg_r9_specs_2 = { - asn_MAP_powerDownReg_r9_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_powerDownReg_r9_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_powerDownReg_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_powerDownReg_r9_2 = { - "powerDownReg-r9", - "powerDownReg-r9", - powerDownReg_r9_2_free, - powerDownReg_r9_2_print, - powerDownReg_r9_2_constraint, - powerDownReg_r9_2_decode_ber, - powerDownReg_r9_2_encode_der, - powerDownReg_r9_2_decode_xer, - powerDownReg_r9_2_encode_xer, - powerDownReg_r9_2_decode_uper, - powerDownReg_r9_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_powerDownReg_r9_tags_2, - sizeof(asn_DEF_powerDownReg_r9_tags_2) - /sizeof(asn_DEF_powerDownReg_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_powerDownReg_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_powerDownReg_r9_tags_2) - /sizeof(asn_DEF_powerDownReg_r9_tags_2[0]), /* 2 */ - &asn_PER_type_powerDownReg_r9_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_powerDownReg_r9_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CSFB_RegistrationParam1XRTT_v920_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CSFB_RegistrationParam1XRTT_v920, powerDownReg_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_powerDownReg_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "powerDownReg-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_CSFB_RegistrationParam1XRTT_v920_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CSFB_RegistrationParam1XRTT_v920_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* powerDownReg-r9 at 2960 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CSFB_RegistrationParam1XRTT_v920_specs_1 = { - sizeof(struct CSFB_RegistrationParam1XRTT_v920), - offsetof(struct CSFB_RegistrationParam1XRTT_v920, _asn_ctx), - asn_MAP_CSFB_RegistrationParam1XRTT_v920_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CSFB_RegistrationParam1XRTT_v920 = { - "CSFB-RegistrationParam1XRTT-v920", - "CSFB-RegistrationParam1XRTT-v920", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CSFB_RegistrationParam1XRTT_v920_tags_1, - sizeof(asn_DEF_CSFB_RegistrationParam1XRTT_v920_tags_1) - /sizeof(asn_DEF_CSFB_RegistrationParam1XRTT_v920_tags_1[0]), /* 1 */ - asn_DEF_CSFB_RegistrationParam1XRTT_v920_tags_1, /* Same as above */ - sizeof(asn_DEF_CSFB_RegistrationParam1XRTT_v920_tags_1) - /sizeof(asn_DEF_CSFB_RegistrationParam1XRTT_v920_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CSFB_RegistrationParam1XRTT_v920_1, - 1, /* Elements count */ - &asn_SPC_CSFB_RegistrationParam1XRTT_v920_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CSFB-RegistrationParam1XRTT.c b/lte/rrc/lib/asn/src/CSFB-RegistrationParam1XRTT.c deleted file mode 100644 index 1ebdd059e..000000000 --- a/lte/rrc/lib/asn/src/CSFB-RegistrationParam1XRTT.c +++ /dev/null @@ -1,396 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CSFB-RegistrationParam1XRTT.h" - -static int -memb_sid_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_nid_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_registrationPeriod_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_registrationZone_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 12)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_totalZone_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 3)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_zoneTimer_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 3)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_sid_constr_2 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 15, 15 } /* (SIZE(15..15)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_nid_constr_3 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_registrationPeriod_constr_11 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 7, 7 } /* (SIZE(7..7)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_registrationZone_constr_12 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 12, 12 } /* (SIZE(12..12)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_totalZone_constr_13 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 3, 3 } /* (SIZE(3..3)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_zoneTimer_constr_14 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 3, 3 } /* (SIZE(3..3)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CSFB_RegistrationParam1XRTT_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CSFB_RegistrationParam1XRTT, sid), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_sid_constraint_1, - &asn_PER_memb_sid_constr_2, - 0, - "sid" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSFB_RegistrationParam1XRTT, nid), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_nid_constraint_1, - &asn_PER_memb_nid_constr_3, - 0, - "nid" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSFB_RegistrationParam1XRTT, multipleSID), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "multipleSID" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSFB_RegistrationParam1XRTT, multipleNID), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "multipleNID" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSFB_RegistrationParam1XRTT, homeReg), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "homeReg" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSFB_RegistrationParam1XRTT, foreignSIDReg), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "foreignSIDReg" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSFB_RegistrationParam1XRTT, foreignNIDReg), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "foreignNIDReg" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSFB_RegistrationParam1XRTT, parameterReg), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "parameterReg" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSFB_RegistrationParam1XRTT, powerUpReg), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "powerUpReg" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSFB_RegistrationParam1XRTT, registrationPeriod), - (ASN_TAG_CLASS_CONTEXT | (9 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_registrationPeriod_constraint_1, - &asn_PER_memb_registrationPeriod_constr_11, - 0, - "registrationPeriod" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSFB_RegistrationParam1XRTT, registrationZone), - (ASN_TAG_CLASS_CONTEXT | (10 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_registrationZone_constraint_1, - &asn_PER_memb_registrationZone_constr_12, - 0, - "registrationZone" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSFB_RegistrationParam1XRTT, totalZone), - (ASN_TAG_CLASS_CONTEXT | (11 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_totalZone_constraint_1, - &asn_PER_memb_totalZone_constr_13, - 0, - "totalZone" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSFB_RegistrationParam1XRTT, zoneTimer), - (ASN_TAG_CLASS_CONTEXT | (12 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_zoneTimer_constraint_1, - &asn_PER_memb_zoneTimer_constr_14, - 0, - "zoneTimer" - }, -}; -static ber_tlv_tag_t asn_DEF_CSFB_RegistrationParam1XRTT_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CSFB_RegistrationParam1XRTT_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sid at 2944 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nid at 2945 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* multipleSID at 2946 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* multipleNID at 2947 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* homeReg at 2948 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* foreignSIDReg at 2949 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* foreignNIDReg at 2950 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* parameterReg at 2951 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* powerUpReg at 2952 */ - { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* registrationPeriod at 2953 */ - { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* registrationZone at 2954 */ - { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 }, /* totalZone at 2955 */ - { (ASN_TAG_CLASS_CONTEXT | (12 << 2)), 12, 0, 0 } /* zoneTimer at 2956 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CSFB_RegistrationParam1XRTT_specs_1 = { - sizeof(struct CSFB_RegistrationParam1XRTT), - offsetof(struct CSFB_RegistrationParam1XRTT, _asn_ctx), - asn_MAP_CSFB_RegistrationParam1XRTT_tag2el_1, - 13, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CSFB_RegistrationParam1XRTT = { - "CSFB-RegistrationParam1XRTT", - "CSFB-RegistrationParam1XRTT", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CSFB_RegistrationParam1XRTT_tags_1, - sizeof(asn_DEF_CSFB_RegistrationParam1XRTT_tags_1) - /sizeof(asn_DEF_CSFB_RegistrationParam1XRTT_tags_1[0]), /* 1 */ - asn_DEF_CSFB_RegistrationParam1XRTT_tags_1, /* Same as above */ - sizeof(asn_DEF_CSFB_RegistrationParam1XRTT_tags_1) - /sizeof(asn_DEF_CSFB_RegistrationParam1XRTT_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CSFB_RegistrationParam1XRTT_1, - 13, /* Elements count */ - &asn_SPC_CSFB_RegistrationParam1XRTT_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CSFBParametersRequestCDMA2000-r8-IEs.c b/lte/rrc/lib/asn/src/CSFBParametersRequestCDMA2000-r8-IEs.c deleted file mode 100644 index 6c4ddbe2f..000000000 --- a/lte/rrc/lib/asn/src/CSFBParametersRequestCDMA2000-r8-IEs.c +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CSFBParametersRequestCDMA2000-r8-IEs.h" - -static asn_TYPE_member_t asn_MBR_CSFBParametersRequestCDMA2000_r8_IEs_1[] = { - { ATF_POINTER, 1, offsetof(struct CSFBParametersRequestCDMA2000_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CSFBParametersRequestCDMA2000_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_CSFBParametersRequestCDMA2000_r8_IEs_oms_1[] = { 0 }; -static ber_tlv_tag_t asn_DEF_CSFBParametersRequestCDMA2000_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CSFBParametersRequestCDMA2000_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* nonCriticalExtension at 200 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CSFBParametersRequestCDMA2000_r8_IEs_specs_1 = { - sizeof(struct CSFBParametersRequestCDMA2000_r8_IEs), - offsetof(struct CSFBParametersRequestCDMA2000_r8_IEs, _asn_ctx), - asn_MAP_CSFBParametersRequestCDMA2000_r8_IEs_tag2el_1, - 1, /* Count of tags in the map */ - asn_MAP_CSFBParametersRequestCDMA2000_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CSFBParametersRequestCDMA2000_r8_IEs = { - "CSFBParametersRequestCDMA2000-r8-IEs", - "CSFBParametersRequestCDMA2000-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CSFBParametersRequestCDMA2000_r8_IEs_tags_1, - sizeof(asn_DEF_CSFBParametersRequestCDMA2000_r8_IEs_tags_1) - /sizeof(asn_DEF_CSFBParametersRequestCDMA2000_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_CSFBParametersRequestCDMA2000_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_CSFBParametersRequestCDMA2000_r8_IEs_tags_1) - /sizeof(asn_DEF_CSFBParametersRequestCDMA2000_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CSFBParametersRequestCDMA2000_r8_IEs_1, - 1, /* Elements count */ - &asn_SPC_CSFBParametersRequestCDMA2000_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CSFBParametersRequestCDMA2000-v8a0-IEs.c b/lte/rrc/lib/asn/src/CSFBParametersRequestCDMA2000-v8a0-IEs.c deleted file mode 100644 index 601b0652b..000000000 --- a/lte/rrc/lib/asn/src/CSFBParametersRequestCDMA2000-v8a0-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CSFBParametersRequestCDMA2000-v8a0-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct CSFBParametersRequestCDMA2000_v8a0_IEs__nonCriticalExtension), - offsetof(struct CSFBParametersRequestCDMA2000_v8a0_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CSFBParametersRequestCDMA2000_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct CSFBParametersRequestCDMA2000_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct CSFBParametersRequestCDMA2000_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_CSFBParametersRequestCDMA2000_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_CSFBParametersRequestCDMA2000_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CSFBParametersRequestCDMA2000_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 204 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 205 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CSFBParametersRequestCDMA2000_v8a0_IEs_specs_1 = { - sizeof(struct CSFBParametersRequestCDMA2000_v8a0_IEs), - offsetof(struct CSFBParametersRequestCDMA2000_v8a0_IEs, _asn_ctx), - asn_MAP_CSFBParametersRequestCDMA2000_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_CSFBParametersRequestCDMA2000_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CSFBParametersRequestCDMA2000_v8a0_IEs = { - "CSFBParametersRequestCDMA2000-v8a0-IEs", - "CSFBParametersRequestCDMA2000-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CSFBParametersRequestCDMA2000_v8a0_IEs_tags_1, - sizeof(asn_DEF_CSFBParametersRequestCDMA2000_v8a0_IEs_tags_1) - /sizeof(asn_DEF_CSFBParametersRequestCDMA2000_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_CSFBParametersRequestCDMA2000_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_CSFBParametersRequestCDMA2000_v8a0_IEs_tags_1) - /sizeof(asn_DEF_CSFBParametersRequestCDMA2000_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CSFBParametersRequestCDMA2000_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_CSFBParametersRequestCDMA2000_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CSFBParametersRequestCDMA2000.c b/lte/rrc/lib/asn/src/CSFBParametersRequestCDMA2000.c deleted file mode 100644 index a02bdd47c..000000000 --- a/lte/rrc/lib/asn/src/CSFBParametersRequestCDMA2000.c +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CSFBParametersRequestCDMA2000.h" - -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_4 = { - sizeof(struct CSFBParametersRequestCDMA2000__criticalExtensions__criticalExtensionsFuture), - offsetof(struct CSFBParametersRequestCDMA2000__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_4 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_4, - sizeof(asn_DEF_criticalExtensionsFuture_tags_4) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_4[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_4, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_4) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_4[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct CSFBParametersRequestCDMA2000__criticalExtensions, choice.csfbParametersRequestCDMA2000_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CSFBParametersRequestCDMA2000_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csfbParametersRequestCDMA2000-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSFBParametersRequestCDMA2000__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* csfbParametersRequestCDMA2000-r8 at 194 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 195 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = { - sizeof(struct CSFBParametersRequestCDMA2000__criticalExtensions), - offsetof(struct CSFBParametersRequestCDMA2000__criticalExtensions, _asn_ctx), - offsetof(struct CSFBParametersRequestCDMA2000__criticalExtensions, present), - sizeof(((struct CSFBParametersRequestCDMA2000__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_2, - asn_MBR_criticalExtensions_2, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CSFBParametersRequestCDMA2000_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CSFBParametersRequestCDMA2000, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_CSFBParametersRequestCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CSFBParametersRequestCDMA2000_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions at 194 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CSFBParametersRequestCDMA2000_specs_1 = { - sizeof(struct CSFBParametersRequestCDMA2000), - offsetof(struct CSFBParametersRequestCDMA2000, _asn_ctx), - asn_MAP_CSFBParametersRequestCDMA2000_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CSFBParametersRequestCDMA2000 = { - "CSFBParametersRequestCDMA2000", - "CSFBParametersRequestCDMA2000", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CSFBParametersRequestCDMA2000_tags_1, - sizeof(asn_DEF_CSFBParametersRequestCDMA2000_tags_1) - /sizeof(asn_DEF_CSFBParametersRequestCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_CSFBParametersRequestCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_CSFBParametersRequestCDMA2000_tags_1) - /sizeof(asn_DEF_CSFBParametersRequestCDMA2000_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CSFBParametersRequestCDMA2000_1, - 1, /* Elements count */ - &asn_SPC_CSFBParametersRequestCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CSFBParametersResponseCDMA2000-r8-IEs.c b/lte/rrc/lib/asn/src/CSFBParametersResponseCDMA2000-r8-IEs.c deleted file mode 100644 index fec3c6723..000000000 --- a/lte/rrc/lib/asn/src/CSFBParametersResponseCDMA2000-r8-IEs.c +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CSFBParametersResponseCDMA2000-r8-IEs.h" - -static asn_TYPE_member_t asn_MBR_CSFBParametersResponseCDMA2000_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CSFBParametersResponseCDMA2000_r8_IEs, rand), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RAND_CDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rand" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSFBParametersResponseCDMA2000_r8_IEs, mobilityParameters), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MobilityParametersCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mobilityParameters" - }, - { ATF_POINTER, 1, offsetof(struct CSFBParametersResponseCDMA2000_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CSFBParametersResponseCDMA2000_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_CSFBParametersResponseCDMA2000_r8_IEs_oms_1[] = { 2 }; -static ber_tlv_tag_t asn_DEF_CSFBParametersResponseCDMA2000_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CSFBParametersResponseCDMA2000_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rand at 218 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* mobilityParameters at 219 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* nonCriticalExtension at 220 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CSFBParametersResponseCDMA2000_r8_IEs_specs_1 = { - sizeof(struct CSFBParametersResponseCDMA2000_r8_IEs), - offsetof(struct CSFBParametersResponseCDMA2000_r8_IEs, _asn_ctx), - asn_MAP_CSFBParametersResponseCDMA2000_r8_IEs_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_CSFBParametersResponseCDMA2000_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CSFBParametersResponseCDMA2000_r8_IEs = { - "CSFBParametersResponseCDMA2000-r8-IEs", - "CSFBParametersResponseCDMA2000-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CSFBParametersResponseCDMA2000_r8_IEs_tags_1, - sizeof(asn_DEF_CSFBParametersResponseCDMA2000_r8_IEs_tags_1) - /sizeof(asn_DEF_CSFBParametersResponseCDMA2000_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_CSFBParametersResponseCDMA2000_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_CSFBParametersResponseCDMA2000_r8_IEs_tags_1) - /sizeof(asn_DEF_CSFBParametersResponseCDMA2000_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CSFBParametersResponseCDMA2000_r8_IEs_1, - 3, /* Elements count */ - &asn_SPC_CSFBParametersResponseCDMA2000_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CSFBParametersResponseCDMA2000-v8a0-IEs.c b/lte/rrc/lib/asn/src/CSFBParametersResponseCDMA2000-v8a0-IEs.c deleted file mode 100644 index 835a03ed1..000000000 --- a/lte/rrc/lib/asn/src/CSFBParametersResponseCDMA2000-v8a0-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CSFBParametersResponseCDMA2000-v8a0-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct CSFBParametersResponseCDMA2000_v8a0_IEs__nonCriticalExtension), - offsetof(struct CSFBParametersResponseCDMA2000_v8a0_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CSFBParametersResponseCDMA2000_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct CSFBParametersResponseCDMA2000_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct CSFBParametersResponseCDMA2000_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_CSFBParametersResponseCDMA2000_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_CSFBParametersResponseCDMA2000_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CSFBParametersResponseCDMA2000_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 224 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 225 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CSFBParametersResponseCDMA2000_v8a0_IEs_specs_1 = { - sizeof(struct CSFBParametersResponseCDMA2000_v8a0_IEs), - offsetof(struct CSFBParametersResponseCDMA2000_v8a0_IEs, _asn_ctx), - asn_MAP_CSFBParametersResponseCDMA2000_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_CSFBParametersResponseCDMA2000_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CSFBParametersResponseCDMA2000_v8a0_IEs = { - "CSFBParametersResponseCDMA2000-v8a0-IEs", - "CSFBParametersResponseCDMA2000-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CSFBParametersResponseCDMA2000_v8a0_IEs_tags_1, - sizeof(asn_DEF_CSFBParametersResponseCDMA2000_v8a0_IEs_tags_1) - /sizeof(asn_DEF_CSFBParametersResponseCDMA2000_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_CSFBParametersResponseCDMA2000_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_CSFBParametersResponseCDMA2000_v8a0_IEs_tags_1) - /sizeof(asn_DEF_CSFBParametersResponseCDMA2000_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CSFBParametersResponseCDMA2000_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_CSFBParametersResponseCDMA2000_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CSFBParametersResponseCDMA2000.c b/lte/rrc/lib/asn/src/CSFBParametersResponseCDMA2000.c deleted file mode 100644 index 98280a9bd..000000000 --- a/lte/rrc/lib/asn/src/CSFBParametersResponseCDMA2000.c +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CSFBParametersResponseCDMA2000.h" - -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_5 = { - sizeof(struct CSFBParametersResponseCDMA2000__criticalExtensions__criticalExtensionsFuture), - offsetof(struct CSFBParametersResponseCDMA2000__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_5 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_5, - sizeof(asn_DEF_criticalExtensionsFuture_tags_5) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_5[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_5, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_5) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct CSFBParametersResponseCDMA2000__criticalExtensions, choice.csfbParametersResponseCDMA2000_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CSFBParametersResponseCDMA2000_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csfbParametersResponseCDMA2000-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSFBParametersResponseCDMA2000__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* csfbParametersResponseCDMA2000-r8 at 212 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 213 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct CSFBParametersResponseCDMA2000__criticalExtensions), - offsetof(struct CSFBParametersResponseCDMA2000__criticalExtensions, _asn_ctx), - offsetof(struct CSFBParametersResponseCDMA2000__criticalExtensions, present), - sizeof(((struct CSFBParametersResponseCDMA2000__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CSFBParametersResponseCDMA2000_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CSFBParametersResponseCDMA2000, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSFBParametersResponseCDMA2000, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_CSFBParametersResponseCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CSFBParametersResponseCDMA2000_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 210 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 212 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CSFBParametersResponseCDMA2000_specs_1 = { - sizeof(struct CSFBParametersResponseCDMA2000), - offsetof(struct CSFBParametersResponseCDMA2000, _asn_ctx), - asn_MAP_CSFBParametersResponseCDMA2000_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CSFBParametersResponseCDMA2000 = { - "CSFBParametersResponseCDMA2000", - "CSFBParametersResponseCDMA2000", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CSFBParametersResponseCDMA2000_tags_1, - sizeof(asn_DEF_CSFBParametersResponseCDMA2000_tags_1) - /sizeof(asn_DEF_CSFBParametersResponseCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_CSFBParametersResponseCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_CSFBParametersResponseCDMA2000_tags_1) - /sizeof(asn_DEF_CSFBParametersResponseCDMA2000_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CSFBParametersResponseCDMA2000_1, - 2, /* Elements count */ - &asn_SPC_CSFBParametersResponseCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CSG-AllowedReportingCells-r9.c b/lte/rrc/lib/asn/src/CSG-AllowedReportingCells-r9.c deleted file mode 100644 index 900012a64..000000000 --- a/lte/rrc/lib/asn/src/CSG-AllowedReportingCells-r9.c +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CSG-AllowedReportingCells-r9.h" - -static asn_TYPE_member_t asn_MBR_CSG_AllowedReportingCells_r9_1[] = { - { ATF_POINTER, 1, offsetof(struct CSG_AllowedReportingCells_r9, physCellIdRangeUTRA_FDDList_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdRangeUTRA_FDDList_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellIdRangeUTRA-FDDList-r9" - }, -}; -static int asn_MAP_CSG_AllowedReportingCells_r9_oms_1[] = { 0 }; -static ber_tlv_tag_t asn_DEF_CSG_AllowedReportingCells_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CSG_AllowedReportingCells_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* physCellIdRangeUTRA-FDDList-r9 at 3345 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CSG_AllowedReportingCells_r9_specs_1 = { - sizeof(struct CSG_AllowedReportingCells_r9), - offsetof(struct CSG_AllowedReportingCells_r9, _asn_ctx), - asn_MAP_CSG_AllowedReportingCells_r9_tag2el_1, - 1, /* Count of tags in the map */ - asn_MAP_CSG_AllowedReportingCells_r9_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CSG_AllowedReportingCells_r9 = { - "CSG-AllowedReportingCells-r9", - "CSG-AllowedReportingCells-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CSG_AllowedReportingCells_r9_tags_1, - sizeof(asn_DEF_CSG_AllowedReportingCells_r9_tags_1) - /sizeof(asn_DEF_CSG_AllowedReportingCells_r9_tags_1[0]), /* 1 */ - asn_DEF_CSG_AllowedReportingCells_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_CSG_AllowedReportingCells_r9_tags_1) - /sizeof(asn_DEF_CSG_AllowedReportingCells_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CSG_AllowedReportingCells_r9_1, - 1, /* Elements count */ - &asn_SPC_CSG_AllowedReportingCells_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CSG-Identity.c b/lte/rrc/lib/asn/src/CSG-Identity.c deleted file mode 100644 index 41a91c9e8..000000000 --- a/lte/rrc/lib/asn/src/CSG-Identity.c +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CSG-Identity.h" - -int -CSG_Identity_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 27)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using BIT_STRING, - * so here we adjust the DEF accordingly. - */ -static void -CSG_Identity_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_BIT_STRING.free_struct; - td->print_struct = asn_DEF_BIT_STRING.print_struct; - td->ber_decoder = asn_DEF_BIT_STRING.ber_decoder; - td->der_encoder = asn_DEF_BIT_STRING.der_encoder; - td->xer_decoder = asn_DEF_BIT_STRING.xer_decoder; - td->xer_encoder = asn_DEF_BIT_STRING.xer_encoder; - td->uper_decoder = asn_DEF_BIT_STRING.uper_decoder; - td->uper_encoder = asn_DEF_BIT_STRING.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_BIT_STRING.per_constraints; - td->elements = asn_DEF_BIT_STRING.elements; - td->elements_count = asn_DEF_BIT_STRING.elements_count; - td->specifics = asn_DEF_BIT_STRING.specifics; -} - -void -CSG_Identity_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - CSG_Identity_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -CSG_Identity_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - CSG_Identity_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -CSG_Identity_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - CSG_Identity_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -CSG_Identity_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - CSG_Identity_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -CSG_Identity_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - CSG_Identity_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -CSG_Identity_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - CSG_Identity_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -CSG_Identity_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - CSG_Identity_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -CSG_Identity_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - CSG_Identity_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_CSG_Identity_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 27, 27 } /* (SIZE(27..27)) */, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_CSG_Identity_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_CSG_Identity = { - "CSG-Identity", - "CSG-Identity", - CSG_Identity_free, - CSG_Identity_print, - CSG_Identity_constraint, - CSG_Identity_decode_ber, - CSG_Identity_encode_der, - CSG_Identity_decode_xer, - CSG_Identity_encode_xer, - CSG_Identity_decode_uper, - CSG_Identity_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CSG_Identity_tags_1, - sizeof(asn_DEF_CSG_Identity_tags_1) - /sizeof(asn_DEF_CSG_Identity_tags_1[0]), /* 1 */ - asn_DEF_CSG_Identity_tags_1, /* Same as above */ - sizeof(asn_DEF_CSG_Identity_tags_1) - /sizeof(asn_DEF_CSG_Identity_tags_1[0]), /* 1 */ - &asn_PER_type_CSG_Identity_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/CSG-ProximityIndicationParameters-r9.c b/lte/rrc/lib/asn/src/CSG-ProximityIndicationParameters-r9.c deleted file mode 100644 index 5a5024eef..000000000 --- a/lte/rrc/lib/asn/src/CSG-ProximityIndicationParameters-r9.c +++ /dev/null @@ -1,493 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CSG-ProximityIndicationParameters-r9.h" - -static int -intraFreqProximityIndication_r9_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -intraFreqProximityIndication_r9_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -intraFreqProximityIndication_r9_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - intraFreqProximityIndication_r9_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -intraFreqProximityIndication_r9_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - intraFreqProximityIndication_r9_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -intraFreqProximityIndication_r9_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - intraFreqProximityIndication_r9_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -intraFreqProximityIndication_r9_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - intraFreqProximityIndication_r9_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -intraFreqProximityIndication_r9_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - intraFreqProximityIndication_r9_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -intraFreqProximityIndication_r9_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - intraFreqProximityIndication_r9_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -intraFreqProximityIndication_r9_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - intraFreqProximityIndication_r9_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -intraFreqProximityIndication_r9_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - intraFreqProximityIndication_r9_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -interFreqProximityIndication_r9_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -interFreqProximityIndication_r9_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -interFreqProximityIndication_r9_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - interFreqProximityIndication_r9_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -interFreqProximityIndication_r9_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - interFreqProximityIndication_r9_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -interFreqProximityIndication_r9_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - interFreqProximityIndication_r9_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -interFreqProximityIndication_r9_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - interFreqProximityIndication_r9_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -interFreqProximityIndication_r9_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - interFreqProximityIndication_r9_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -interFreqProximityIndication_r9_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - interFreqProximityIndication_r9_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -interFreqProximityIndication_r9_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - interFreqProximityIndication_r9_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -interFreqProximityIndication_r9_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - interFreqProximityIndication_r9_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -utran_ProximityIndication_r9_6_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -utran_ProximityIndication_r9_6_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -utran_ProximityIndication_r9_6_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - utran_ProximityIndication_r9_6_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -utran_ProximityIndication_r9_6_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - utran_ProximityIndication_r9_6_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -utran_ProximityIndication_r9_6_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - utran_ProximityIndication_r9_6_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -utran_ProximityIndication_r9_6_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - utran_ProximityIndication_r9_6_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -utran_ProximityIndication_r9_6_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - utran_ProximityIndication_r9_6_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -utran_ProximityIndication_r9_6_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - utran_ProximityIndication_r9_6_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -utran_ProximityIndication_r9_6_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - utran_ProximityIndication_r9_6_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -utran_ProximityIndication_r9_6_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - utran_ProximityIndication_r9_6_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_intraFreqProximityIndication_r9_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_interFreqProximityIndication_r9_constr_4 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_utran_ProximityIndication_r9_constr_6 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_intraFreqProximityIndication_r9_value2enum_2[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_intraFreqProximityIndication_r9_enum2value_2[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_intraFreqProximityIndication_r9_specs_2 = { - asn_MAP_intraFreqProximityIndication_r9_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_intraFreqProximityIndication_r9_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_intraFreqProximityIndication_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_intraFreqProximityIndication_r9_2 = { - "intraFreqProximityIndication-r9", - "intraFreqProximityIndication-r9", - intraFreqProximityIndication_r9_2_free, - intraFreqProximityIndication_r9_2_print, - intraFreqProximityIndication_r9_2_constraint, - intraFreqProximityIndication_r9_2_decode_ber, - intraFreqProximityIndication_r9_2_encode_der, - intraFreqProximityIndication_r9_2_decode_xer, - intraFreqProximityIndication_r9_2_encode_xer, - intraFreqProximityIndication_r9_2_decode_uper, - intraFreqProximityIndication_r9_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_intraFreqProximityIndication_r9_tags_2, - sizeof(asn_DEF_intraFreqProximityIndication_r9_tags_2) - /sizeof(asn_DEF_intraFreqProximityIndication_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_intraFreqProximityIndication_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_intraFreqProximityIndication_r9_tags_2) - /sizeof(asn_DEF_intraFreqProximityIndication_r9_tags_2[0]), /* 2 */ - &asn_PER_type_intraFreqProximityIndication_r9_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_intraFreqProximityIndication_r9_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_interFreqProximityIndication_r9_value2enum_4[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_interFreqProximityIndication_r9_enum2value_4[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_interFreqProximityIndication_r9_specs_4 = { - asn_MAP_interFreqProximityIndication_r9_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_interFreqProximityIndication_r9_enum2value_4, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_interFreqProximityIndication_r9_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_interFreqProximityIndication_r9_4 = { - "interFreqProximityIndication-r9", - "interFreqProximityIndication-r9", - interFreqProximityIndication_r9_4_free, - interFreqProximityIndication_r9_4_print, - interFreqProximityIndication_r9_4_constraint, - interFreqProximityIndication_r9_4_decode_ber, - interFreqProximityIndication_r9_4_encode_der, - interFreqProximityIndication_r9_4_decode_xer, - interFreqProximityIndication_r9_4_encode_xer, - interFreqProximityIndication_r9_4_decode_uper, - interFreqProximityIndication_r9_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_interFreqProximityIndication_r9_tags_4, - sizeof(asn_DEF_interFreqProximityIndication_r9_tags_4) - /sizeof(asn_DEF_interFreqProximityIndication_r9_tags_4[0]) - 1, /* 1 */ - asn_DEF_interFreqProximityIndication_r9_tags_4, /* Same as above */ - sizeof(asn_DEF_interFreqProximityIndication_r9_tags_4) - /sizeof(asn_DEF_interFreqProximityIndication_r9_tags_4[0]), /* 2 */ - &asn_PER_type_interFreqProximityIndication_r9_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_interFreqProximityIndication_r9_specs_4 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_utran_ProximityIndication_r9_value2enum_6[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_utran_ProximityIndication_r9_enum2value_6[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_utran_ProximityIndication_r9_specs_6 = { - asn_MAP_utran_ProximityIndication_r9_value2enum_6, /* "tag" => N; sorted by tag */ - asn_MAP_utran_ProximityIndication_r9_enum2value_6, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_utran_ProximityIndication_r9_tags_6[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_utran_ProximityIndication_r9_6 = { - "utran-ProximityIndication-r9", - "utran-ProximityIndication-r9", - utran_ProximityIndication_r9_6_free, - utran_ProximityIndication_r9_6_print, - utran_ProximityIndication_r9_6_constraint, - utran_ProximityIndication_r9_6_decode_ber, - utran_ProximityIndication_r9_6_encode_der, - utran_ProximityIndication_r9_6_decode_xer, - utran_ProximityIndication_r9_6_encode_xer, - utran_ProximityIndication_r9_6_decode_uper, - utran_ProximityIndication_r9_6_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_utran_ProximityIndication_r9_tags_6, - sizeof(asn_DEF_utran_ProximityIndication_r9_tags_6) - /sizeof(asn_DEF_utran_ProximityIndication_r9_tags_6[0]) - 1, /* 1 */ - asn_DEF_utran_ProximityIndication_r9_tags_6, /* Same as above */ - sizeof(asn_DEF_utran_ProximityIndication_r9_tags_6) - /sizeof(asn_DEF_utran_ProximityIndication_r9_tags_6[0]), /* 2 */ - &asn_PER_type_utran_ProximityIndication_r9_constr_6, - 0, 0, /* Defined elsewhere */ - &asn_SPC_utran_ProximityIndication_r9_specs_6 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CSG_ProximityIndicationParameters_r9_1[] = { - { ATF_POINTER, 3, offsetof(struct CSG_ProximityIndicationParameters_r9, intraFreqProximityIndication_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_intraFreqProximityIndication_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "intraFreqProximityIndication-r9" - }, - { ATF_POINTER, 2, offsetof(struct CSG_ProximityIndicationParameters_r9, interFreqProximityIndication_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_interFreqProximityIndication_r9_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interFreqProximityIndication-r9" - }, - { ATF_POINTER, 1, offsetof(struct CSG_ProximityIndicationParameters_r9, utran_ProximityIndication_r9), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_utran_ProximityIndication_r9_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "utran-ProximityIndication-r9" - }, -}; -static int asn_MAP_CSG_ProximityIndicationParameters_r9_oms_1[] = { 0, 1, 2 }; -static ber_tlv_tag_t asn_DEF_CSG_ProximityIndicationParameters_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CSG_ProximityIndicationParameters_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* intraFreqProximityIndication-r9 at 3993 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* interFreqProximityIndication-r9 at 3994 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* utran-ProximityIndication-r9 at 3995 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CSG_ProximityIndicationParameters_r9_specs_1 = { - sizeof(struct CSG_ProximityIndicationParameters_r9), - offsetof(struct CSG_ProximityIndicationParameters_r9, _asn_ctx), - asn_MAP_CSG_ProximityIndicationParameters_r9_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_CSG_ProximityIndicationParameters_r9_oms_1, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CSG_ProximityIndicationParameters_r9 = { - "CSG-ProximityIndicationParameters-r9", - "CSG-ProximityIndicationParameters-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CSG_ProximityIndicationParameters_r9_tags_1, - sizeof(asn_DEF_CSG_ProximityIndicationParameters_r9_tags_1) - /sizeof(asn_DEF_CSG_ProximityIndicationParameters_r9_tags_1[0]), /* 1 */ - asn_DEF_CSG_ProximityIndicationParameters_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_CSG_ProximityIndicationParameters_r9_tags_1) - /sizeof(asn_DEF_CSG_ProximityIndicationParameters_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CSG_ProximityIndicationParameters_r9_1, - 3, /* Elements count */ - &asn_SPC_CSG_ProximityIndicationParameters_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CSI-RS-Config-r10.c b/lte/rrc/lib/asn/src/CSI-RS-Config-r10.c deleted file mode 100644 index b360b70d8..000000000 --- a/lte/rrc/lib/asn/src/CSI-RS-Config-r10.c +++ /dev/null @@ -1,643 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CSI-RS-Config-r10.h" - -static int -antennaPortsCount_r10_5_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -antennaPortsCount_r10_5_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -antennaPortsCount_r10_5_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - antennaPortsCount_r10_5_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -antennaPortsCount_r10_5_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - antennaPortsCount_r10_5_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -antennaPortsCount_r10_5_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - antennaPortsCount_r10_5_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -antennaPortsCount_r10_5_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - antennaPortsCount_r10_5_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -antennaPortsCount_r10_5_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - antennaPortsCount_r10_5_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -antennaPortsCount_r10_5_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - antennaPortsCount_r10_5_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -antennaPortsCount_r10_5_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - antennaPortsCount_r10_5_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -antennaPortsCount_r10_5_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - antennaPortsCount_r10_5_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_resourceConfig_r10_constraint_4(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 31)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_subframeConfig_r10_constraint_4(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 154)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_p_C_r10_constraint_4(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -8 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_zeroTxPowerResourceConfigList_r10_constraint_15(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_zeroTxPowerSubframeConfig_r10_constraint_15(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 154)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_antennaPortsCount_r10_constr_5 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_resourceConfig_r10_constr_10 = { - { APC_CONSTRAINED, 5, 5, 0, 31 } /* (0..31) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_subframeConfig_r10_constr_11 = { - { APC_CONSTRAINED, 8, 8, 0, 154 } /* (0..154) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_p_C_r10_constr_12 = { - { APC_CONSTRAINED, 5, 5, -8, 15 } /* (-8..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_csi_RS_r10_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_zeroTxPowerResourceConfigList_r10_constr_16 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_zeroTxPowerSubframeConfig_r10_constr_17 = { - { APC_CONSTRAINED, 8, 8, 0, 154 } /* (0..154) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_zeroTxPowerCSI_RS_r10_constr_13 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_antennaPortsCount_r10_value2enum_5[] = { - { 0, 3, "an1" }, - { 1, 3, "an2" }, - { 2, 3, "an4" }, - { 3, 3, "an8" } -}; -static unsigned int asn_MAP_antennaPortsCount_r10_enum2value_5[] = { - 0, /* an1(0) */ - 1, /* an2(1) */ - 2, /* an4(2) */ - 3 /* an8(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_antennaPortsCount_r10_specs_5 = { - asn_MAP_antennaPortsCount_r10_value2enum_5, /* "tag" => N; sorted by tag */ - asn_MAP_antennaPortsCount_r10_enum2value_5, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_antennaPortsCount_r10_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_antennaPortsCount_r10_5 = { - "antennaPortsCount-r10", - "antennaPortsCount-r10", - antennaPortsCount_r10_5_free, - antennaPortsCount_r10_5_print, - antennaPortsCount_r10_5_constraint, - antennaPortsCount_r10_5_decode_ber, - antennaPortsCount_r10_5_encode_der, - antennaPortsCount_r10_5_decode_xer, - antennaPortsCount_r10_5_encode_xer, - antennaPortsCount_r10_5_decode_uper, - antennaPortsCount_r10_5_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_antennaPortsCount_r10_tags_5, - sizeof(asn_DEF_antennaPortsCount_r10_tags_5) - /sizeof(asn_DEF_antennaPortsCount_r10_tags_5[0]) - 1, /* 1 */ - asn_DEF_antennaPortsCount_r10_tags_5, /* Same as above */ - sizeof(asn_DEF_antennaPortsCount_r10_tags_5) - /sizeof(asn_DEF_antennaPortsCount_r10_tags_5[0]), /* 2 */ - &asn_PER_type_antennaPortsCount_r10_constr_5, - 0, 0, /* Defined elsewhere */ - &asn_SPC_antennaPortsCount_r10_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct CSI_RS_Config_r10__csi_RS_r10__setup, antennaPortsCount_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_antennaPortsCount_r10_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "antennaPortsCount-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSI_RS_Config_r10__csi_RS_r10__setup, resourceConfig_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_resourceConfig_r10_constraint_4, - &asn_PER_memb_resourceConfig_r10_constr_10, - 0, - "resourceConfig-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSI_RS_Config_r10__csi_RS_r10__setup, subframeConfig_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_subframeConfig_r10_constraint_4, - &asn_PER_memb_subframeConfig_r10_constr_11, - 0, - "subframeConfig-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSI_RS_Config_r10__csi_RS_r10__setup, p_C_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_p_C_r10_constraint_4, - &asn_PER_memb_p_C_r10_constr_12, - 0, - "p-C-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_setup_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* antennaPortsCount-r10 at 1962 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* resourceConfig-r10 at 1963 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* subframeConfig-r10 at 1964 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* p-C-r10 at 1965 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_4 = { - sizeof(struct CSI_RS_Config_r10__csi_RS_r10__setup), - offsetof(struct CSI_RS_Config_r10__csi_RS_r10__setup, _asn_ctx), - asn_MAP_setup_tag2el_4, - 4, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_4 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_4, - sizeof(asn_DEF_setup_tags_4) - /sizeof(asn_DEF_setup_tags_4[0]) - 1, /* 1 */ - asn_DEF_setup_tags_4, /* Same as above */ - sizeof(asn_DEF_setup_tags_4) - /sizeof(asn_DEF_setup_tags_4[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_4, - 4, /* Elements count */ - &asn_SPC_setup_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_csi_RS_r10_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct CSI_RS_Config_r10__csi_RS_r10, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSI_RS_Config_r10__csi_RS_r10, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_csi_RS_r10_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 1960 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 1962 */ -}; -static asn_CHOICE_specifics_t asn_SPC_csi_RS_r10_specs_2 = { - sizeof(struct CSI_RS_Config_r10__csi_RS_r10), - offsetof(struct CSI_RS_Config_r10__csi_RS_r10, _asn_ctx), - offsetof(struct CSI_RS_Config_r10__csi_RS_r10, present), - sizeof(((struct CSI_RS_Config_r10__csi_RS_r10 *)0)->present), - asn_MAP_csi_RS_r10_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_csi_RS_r10_2 = { - "csi-RS-r10", - "csi-RS-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_csi_RS_r10_constr_2, - asn_MBR_csi_RS_r10_2, - 2, /* Elements count */ - &asn_SPC_csi_RS_r10_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_15[] = { - { ATF_NOFLAGS, 0, offsetof(struct CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10__setup, zeroTxPowerResourceConfigList_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_zeroTxPowerResourceConfigList_r10_constraint_15, - &asn_PER_memb_zeroTxPowerResourceConfigList_r10_constr_16, - 0, - "zeroTxPowerResourceConfigList-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10__setup, zeroTxPowerSubframeConfig_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_zeroTxPowerSubframeConfig_r10_constraint_15, - &asn_PER_memb_zeroTxPowerSubframeConfig_r10_constr_17, - 0, - "zeroTxPowerSubframeConfig-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_setup_tags_15[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_15[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* zeroTxPowerResourceConfigList-r10 at 1971 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* zeroTxPowerSubframeConfig-r10 at 1972 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_15 = { - sizeof(struct CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10__setup), - offsetof(struct CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10__setup, _asn_ctx), - asn_MAP_setup_tag2el_15, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_15 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_15, - sizeof(asn_DEF_setup_tags_15) - /sizeof(asn_DEF_setup_tags_15[0]) - 1, /* 1 */ - asn_DEF_setup_tags_15, /* Same as above */ - sizeof(asn_DEF_setup_tags_15) - /sizeof(asn_DEF_setup_tags_15[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_15, - 2, /* Elements count */ - &asn_SPC_setup_specs_15 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_zeroTxPowerCSI_RS_r10_13[] = { - { ATF_NOFLAGS, 0, offsetof(struct CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_15, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_zeroTxPowerCSI_RS_r10_tag2el_13[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 1969 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 1971 */ -}; -static asn_CHOICE_specifics_t asn_SPC_zeroTxPowerCSI_RS_r10_specs_13 = { - sizeof(struct CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10), - offsetof(struct CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10, _asn_ctx), - offsetof(struct CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10, present), - sizeof(((struct CSI_RS_Config_r10__zeroTxPowerCSI_RS_r10 *)0)->present), - asn_MAP_zeroTxPowerCSI_RS_r10_tag2el_13, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_zeroTxPowerCSI_RS_r10_13 = { - "zeroTxPowerCSI-RS-r10", - "zeroTxPowerCSI-RS-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_zeroTxPowerCSI_RS_r10_constr_13, - asn_MBR_zeroTxPowerCSI_RS_r10_13, - 2, /* Elements count */ - &asn_SPC_zeroTxPowerCSI_RS_r10_specs_13 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CSI_RS_Config_r10_1[] = { - { ATF_POINTER, 2, offsetof(struct CSI_RS_Config_r10, csi_RS_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_csi_RS_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csi-RS-r10" - }, - { ATF_POINTER, 1, offsetof(struct CSI_RS_Config_r10, zeroTxPowerCSI_RS_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_zeroTxPowerCSI_RS_r10_13, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "zeroTxPowerCSI-RS-r10" - }, -}; -static int asn_MAP_CSI_RS_Config_r10_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_CSI_RS_Config_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CSI_RS_Config_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* csi-RS-r10 at 1960 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* zeroTxPowerCSI-RS-r10 at 1969 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CSI_RS_Config_r10_specs_1 = { - sizeof(struct CSI_RS_Config_r10), - offsetof(struct CSI_RS_Config_r10, _asn_ctx), - asn_MAP_CSI_RS_Config_r10_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_CSI_RS_Config_r10_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CSI_RS_Config_r10 = { - "CSI-RS-Config-r10", - "CSI-RS-Config-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CSI_RS_Config_r10_tags_1, - sizeof(asn_DEF_CSI_RS_Config_r10_tags_1) - /sizeof(asn_DEF_CSI_RS_Config_r10_tags_1[0]), /* 1 */ - asn_DEF_CSI_RS_Config_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_CSI_RS_Config_r10_tags_1) - /sizeof(asn_DEF_CSI_RS_Config_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CSI_RS_Config_r10_1, - 2, /* Elements count */ - &asn_SPC_CSI_RS_Config_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CShift.c b/lte/rrc/lib/asn/src/CShift.c deleted file mode 100644 index cd8c65522..000000000 --- a/lte/rrc/lib/asn/src/CShift.c +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CShift.h" - -int -CShift_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeInteger.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -CShift_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -CShift_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - CShift_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -CShift_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - CShift_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -CShift_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - CShift_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -CShift_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - CShift_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -CShift_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - CShift_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -CShift_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - CShift_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -CShift_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - CShift_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -CShift_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - CShift_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static ber_tlv_tag_t asn_DEF_CShift_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_CShift = { - "CShift", - "CShift", - CShift_free, - CShift_print, - CShift_constraint, - CShift_decode_ber, - CShift_encode_der, - CShift_decode_xer, - CShift_encode_xer, - CShift_decode_uper, - CShift_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CShift_tags_1, - sizeof(asn_DEF_CShift_tags_1) - /sizeof(asn_DEF_CShift_tags_1[0]), /* 1 */ - asn_DEF_CShift_tags_1, /* Same as above */ - sizeof(asn_DEF_CShift_tags_1) - /sizeof(asn_DEF_CShift_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/CarrierBandwidthEUTRA.c b/lte/rrc/lib/asn/src/CarrierBandwidthEUTRA.c deleted file mode 100644 index 3ab870089..000000000 --- a/lte/rrc/lib/asn/src/CarrierBandwidthEUTRA.c +++ /dev/null @@ -1,406 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CarrierBandwidthEUTRA.h" - -static int -dl_Bandwidth_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -dl_Bandwidth_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -dl_Bandwidth_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - dl_Bandwidth_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -dl_Bandwidth_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - dl_Bandwidth_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -dl_Bandwidth_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - dl_Bandwidth_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -dl_Bandwidth_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - dl_Bandwidth_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -dl_Bandwidth_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - dl_Bandwidth_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -dl_Bandwidth_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - dl_Bandwidth_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -dl_Bandwidth_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - dl_Bandwidth_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -dl_Bandwidth_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - dl_Bandwidth_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -ul_Bandwidth_19_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -ul_Bandwidth_19_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -ul_Bandwidth_19_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ul_Bandwidth_19_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -ul_Bandwidth_19_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ul_Bandwidth_19_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -ul_Bandwidth_19_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ul_Bandwidth_19_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -ul_Bandwidth_19_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ul_Bandwidth_19_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -ul_Bandwidth_19_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ul_Bandwidth_19_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -ul_Bandwidth_19_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ul_Bandwidth_19_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -ul_Bandwidth_19_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ul_Bandwidth_19_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -ul_Bandwidth_19_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ul_Bandwidth_19_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_dl_Bandwidth_constr_2 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_ul_Bandwidth_constr_19 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_dl_Bandwidth_value2enum_2[] = { - { 0, 2, "n6" }, - { 1, 3, "n15" }, - { 2, 3, "n25" }, - { 3, 3, "n50" }, - { 4, 3, "n75" }, - { 5, 4, "n100" }, - { 6, 7, "spare10" }, - { 7, 6, "spare9" }, - { 8, 6, "spare8" }, - { 9, 6, "spare7" }, - { 10, 6, "spare6" }, - { 11, 6, "spare5" }, - { 12, 6, "spare4" }, - { 13, 6, "spare3" }, - { 14, 6, "spare2" }, - { 15, 6, "spare1" } -}; -static unsigned int asn_MAP_dl_Bandwidth_enum2value_2[] = { - 5, /* n100(5) */ - 1, /* n15(1) */ - 2, /* n25(2) */ - 3, /* n50(3) */ - 0, /* n6(0) */ - 4, /* n75(4) */ - 15, /* spare1(15) */ - 6, /* spare10(6) */ - 14, /* spare2(14) */ - 13, /* spare3(13) */ - 12, /* spare4(12) */ - 11, /* spare5(11) */ - 10, /* spare6(10) */ - 9, /* spare7(9) */ - 8, /* spare8(8) */ - 7 /* spare9(7) */ -}; -static asn_INTEGER_specifics_t asn_SPC_dl_Bandwidth_specs_2 = { - asn_MAP_dl_Bandwidth_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_dl_Bandwidth_enum2value_2, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_dl_Bandwidth_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_dl_Bandwidth_2 = { - "dl-Bandwidth", - "dl-Bandwidth", - dl_Bandwidth_2_free, - dl_Bandwidth_2_print, - dl_Bandwidth_2_constraint, - dl_Bandwidth_2_decode_ber, - dl_Bandwidth_2_encode_der, - dl_Bandwidth_2_decode_xer, - dl_Bandwidth_2_encode_xer, - dl_Bandwidth_2_decode_uper, - dl_Bandwidth_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_dl_Bandwidth_tags_2, - sizeof(asn_DEF_dl_Bandwidth_tags_2) - /sizeof(asn_DEF_dl_Bandwidth_tags_2[0]) - 1, /* 1 */ - asn_DEF_dl_Bandwidth_tags_2, /* Same as above */ - sizeof(asn_DEF_dl_Bandwidth_tags_2) - /sizeof(asn_DEF_dl_Bandwidth_tags_2[0]), /* 2 */ - &asn_PER_type_dl_Bandwidth_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_dl_Bandwidth_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_ul_Bandwidth_value2enum_19[] = { - { 0, 2, "n6" }, - { 1, 3, "n15" }, - { 2, 3, "n25" }, - { 3, 3, "n50" }, - { 4, 3, "n75" }, - { 5, 4, "n100" }, - { 6, 7, "spare10" }, - { 7, 6, "spare9" }, - { 8, 6, "spare8" }, - { 9, 6, "spare7" }, - { 10, 6, "spare6" }, - { 11, 6, "spare5" }, - { 12, 6, "spare4" }, - { 13, 6, "spare3" }, - { 14, 6, "spare2" }, - { 15, 6, "spare1" } -}; -static unsigned int asn_MAP_ul_Bandwidth_enum2value_19[] = { - 5, /* n100(5) */ - 1, /* n15(1) */ - 2, /* n25(2) */ - 3, /* n50(3) */ - 0, /* n6(0) */ - 4, /* n75(4) */ - 15, /* spare1(15) */ - 6, /* spare10(6) */ - 14, /* spare2(14) */ - 13, /* spare3(13) */ - 12, /* spare4(12) */ - 11, /* spare5(11) */ - 10, /* spare6(10) */ - 9, /* spare7(9) */ - 8, /* spare8(8) */ - 7 /* spare9(7) */ -}; -static asn_INTEGER_specifics_t asn_SPC_ul_Bandwidth_specs_19 = { - asn_MAP_ul_Bandwidth_value2enum_19, /* "tag" => N; sorted by tag */ - asn_MAP_ul_Bandwidth_enum2value_19, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_ul_Bandwidth_tags_19[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ul_Bandwidth_19 = { - "ul-Bandwidth", - "ul-Bandwidth", - ul_Bandwidth_19_free, - ul_Bandwidth_19_print, - ul_Bandwidth_19_constraint, - ul_Bandwidth_19_decode_ber, - ul_Bandwidth_19_encode_der, - ul_Bandwidth_19_decode_xer, - ul_Bandwidth_19_encode_xer, - ul_Bandwidth_19_decode_uper, - ul_Bandwidth_19_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ul_Bandwidth_tags_19, - sizeof(asn_DEF_ul_Bandwidth_tags_19) - /sizeof(asn_DEF_ul_Bandwidth_tags_19[0]) - 1, /* 1 */ - asn_DEF_ul_Bandwidth_tags_19, /* Same as above */ - sizeof(asn_DEF_ul_Bandwidth_tags_19) - /sizeof(asn_DEF_ul_Bandwidth_tags_19[0]), /* 2 */ - &asn_PER_type_ul_Bandwidth_constr_19, - 0, 0, /* Defined elsewhere */ - &asn_SPC_ul_Bandwidth_specs_19 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CarrierBandwidthEUTRA_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CarrierBandwidthEUTRA, dl_Bandwidth), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_dl_Bandwidth_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dl-Bandwidth" - }, - { ATF_POINTER, 1, offsetof(struct CarrierBandwidthEUTRA, ul_Bandwidth), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ul_Bandwidth_19, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ul-Bandwidth" - }, -}; -static int asn_MAP_CarrierBandwidthEUTRA_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_CarrierBandwidthEUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CarrierBandwidthEUTRA_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* dl-Bandwidth at 3008 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ul-Bandwidth at 3012 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CarrierBandwidthEUTRA_specs_1 = { - sizeof(struct CarrierBandwidthEUTRA), - offsetof(struct CarrierBandwidthEUTRA, _asn_ctx), - asn_MAP_CarrierBandwidthEUTRA_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_CarrierBandwidthEUTRA_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CarrierBandwidthEUTRA = { - "CarrierBandwidthEUTRA", - "CarrierBandwidthEUTRA", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CarrierBandwidthEUTRA_tags_1, - sizeof(asn_DEF_CarrierBandwidthEUTRA_tags_1) - /sizeof(asn_DEF_CarrierBandwidthEUTRA_tags_1[0]), /* 1 */ - asn_DEF_CarrierBandwidthEUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_CarrierBandwidthEUTRA_tags_1) - /sizeof(asn_DEF_CarrierBandwidthEUTRA_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CarrierBandwidthEUTRA_1, - 2, /* Elements count */ - &asn_SPC_CarrierBandwidthEUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CarrierFreqCDMA2000.c b/lte/rrc/lib/asn/src/CarrierFreqCDMA2000.c deleted file mode 100644 index 609b3f8a3..000000000 --- a/lte/rrc/lib/asn/src/CarrierFreqCDMA2000.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CarrierFreqCDMA2000.h" - -static asn_TYPE_member_t asn_MBR_CarrierFreqCDMA2000_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqCDMA2000, bandClass), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BandclassCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "bandClass" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqCDMA2000, arfcn), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "arfcn" - }, -}; -static ber_tlv_tag_t asn_DEF_CarrierFreqCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CarrierFreqCDMA2000_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bandClass at 2902 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* arfcn at 2904 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CarrierFreqCDMA2000_specs_1 = { - sizeof(struct CarrierFreqCDMA2000), - offsetof(struct CarrierFreqCDMA2000, _asn_ctx), - asn_MAP_CarrierFreqCDMA2000_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CarrierFreqCDMA2000 = { - "CarrierFreqCDMA2000", - "CarrierFreqCDMA2000", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CarrierFreqCDMA2000_tags_1, - sizeof(asn_DEF_CarrierFreqCDMA2000_tags_1) - /sizeof(asn_DEF_CarrierFreqCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_CarrierFreqCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_CarrierFreqCDMA2000_tags_1) - /sizeof(asn_DEF_CarrierFreqCDMA2000_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CarrierFreqCDMA2000_1, - 2, /* Elements count */ - &asn_SPC_CarrierFreqCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CarrierFreqEUTRA.c b/lte/rrc/lib/asn/src/CarrierFreqEUTRA.c deleted file mode 100644 index ebd942325..000000000 --- a/lte/rrc/lib/asn/src/CarrierFreqEUTRA.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CarrierFreqEUTRA.h" - -static asn_TYPE_member_t asn_MBR_CarrierFreqEUTRA_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqEUTRA, dl_CarrierFreq), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dl-CarrierFreq" - }, - { ATF_POINTER, 1, offsetof(struct CarrierFreqEUTRA, ul_CarrierFreq), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ul-CarrierFreq" - }, -}; -static int asn_MAP_CarrierFreqEUTRA_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_CarrierFreqEUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CarrierFreqEUTRA_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* dl-CarrierFreq at 3018 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ul-CarrierFreq at 3019 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CarrierFreqEUTRA_specs_1 = { - sizeof(struct CarrierFreqEUTRA), - offsetof(struct CarrierFreqEUTRA, _asn_ctx), - asn_MAP_CarrierFreqEUTRA_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_CarrierFreqEUTRA_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CarrierFreqEUTRA = { - "CarrierFreqEUTRA", - "CarrierFreqEUTRA", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CarrierFreqEUTRA_tags_1, - sizeof(asn_DEF_CarrierFreqEUTRA_tags_1) - /sizeof(asn_DEF_CarrierFreqEUTRA_tags_1[0]), /* 1 */ - asn_DEF_CarrierFreqEUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_CarrierFreqEUTRA_tags_1) - /sizeof(asn_DEF_CarrierFreqEUTRA_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CarrierFreqEUTRA_1, - 2, /* Elements count */ - &asn_SPC_CarrierFreqEUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CarrierFreqGERAN.c b/lte/rrc/lib/asn/src/CarrierFreqGERAN.c deleted file mode 100644 index 68972fb2d..000000000 --- a/lte/rrc/lib/asn/src/CarrierFreqGERAN.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CarrierFreqGERAN.h" - -static asn_TYPE_member_t asn_MBR_CarrierFreqGERAN_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqGERAN, arfcn), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "arfcn" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqGERAN, bandIndicator), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BandIndicatorGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "bandIndicator" - }, -}; -static ber_tlv_tag_t asn_DEF_CarrierFreqGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CarrierFreqGERAN_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* arfcn at 2908 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* bandIndicator at 2910 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CarrierFreqGERAN_specs_1 = { - sizeof(struct CarrierFreqGERAN), - offsetof(struct CarrierFreqGERAN, _asn_ctx), - asn_MAP_CarrierFreqGERAN_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CarrierFreqGERAN = { - "CarrierFreqGERAN", - "CarrierFreqGERAN", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CarrierFreqGERAN_tags_1, - sizeof(asn_DEF_CarrierFreqGERAN_tags_1) - /sizeof(asn_DEF_CarrierFreqGERAN_tags_1[0]), /* 1 */ - asn_DEF_CarrierFreqGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_CarrierFreqGERAN_tags_1) - /sizeof(asn_DEF_CarrierFreqGERAN_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CarrierFreqGERAN_1, - 2, /* Elements count */ - &asn_SPC_CarrierFreqGERAN_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CarrierFreqListUTRA-FDD.c b/lte/rrc/lib/asn/src/CarrierFreqListUTRA-FDD.c deleted file mode 100644 index 5849afba6..000000000 --- a/lte/rrc/lib/asn/src/CarrierFreqListUTRA-FDD.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CarrierFreqListUTRA-FDD.h" - -static asn_per_constraints_t asn_PER_type_CarrierFreqListUTRA_FDD_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CarrierFreqListUTRA_FDD_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CarrierFreqUTRA_FDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_CarrierFreqListUTRA_FDD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_CarrierFreqListUTRA_FDD_specs_1 = { - sizeof(struct CarrierFreqListUTRA_FDD), - offsetof(struct CarrierFreqListUTRA_FDD, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_CarrierFreqListUTRA_FDD = { - "CarrierFreqListUTRA-FDD", - "CarrierFreqListUTRA-FDD", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CarrierFreqListUTRA_FDD_tags_1, - sizeof(asn_DEF_CarrierFreqListUTRA_FDD_tags_1) - /sizeof(asn_DEF_CarrierFreqListUTRA_FDD_tags_1[0]), /* 1 */ - asn_DEF_CarrierFreqListUTRA_FDD_tags_1, /* Same as above */ - sizeof(asn_DEF_CarrierFreqListUTRA_FDD_tags_1) - /sizeof(asn_DEF_CarrierFreqListUTRA_FDD_tags_1[0]), /* 1 */ - &asn_PER_type_CarrierFreqListUTRA_FDD_constr_1, - asn_MBR_CarrierFreqListUTRA_FDD_1, - 1, /* Single element */ - &asn_SPC_CarrierFreqListUTRA_FDD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CarrierFreqListUTRA-TDD-r10.c b/lte/rrc/lib/asn/src/CarrierFreqListUTRA-TDD-r10.c deleted file mode 100644 index 8b9723341..000000000 --- a/lte/rrc/lib/asn/src/CarrierFreqListUTRA-TDD-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CarrierFreqListUTRA-TDD-r10.h" - -static asn_per_constraints_t asn_PER_type_CarrierFreqListUTRA_TDD_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 3, 3, 1, 6 } /* (SIZE(1..6)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CarrierFreqListUTRA_TDD_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_ARFCN_ValueUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_CarrierFreqListUTRA_TDD_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_CarrierFreqListUTRA_TDD_r10_specs_1 = { - sizeof(struct CarrierFreqListUTRA_TDD_r10), - offsetof(struct CarrierFreqListUTRA_TDD_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_CarrierFreqListUTRA_TDD_r10 = { - "CarrierFreqListUTRA-TDD-r10", - "CarrierFreqListUTRA-TDD-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CarrierFreqListUTRA_TDD_r10_tags_1, - sizeof(asn_DEF_CarrierFreqListUTRA_TDD_r10_tags_1) - /sizeof(asn_DEF_CarrierFreqListUTRA_TDD_r10_tags_1[0]), /* 1 */ - asn_DEF_CarrierFreqListUTRA_TDD_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_CarrierFreqListUTRA_TDD_r10_tags_1) - /sizeof(asn_DEF_CarrierFreqListUTRA_TDD_r10_tags_1[0]), /* 1 */ - &asn_PER_type_CarrierFreqListUTRA_TDD_r10_constr_1, - asn_MBR_CarrierFreqListUTRA_TDD_r10_1, - 1, /* Single element */ - &asn_SPC_CarrierFreqListUTRA_TDD_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CarrierFreqListUTRA-TDD.c b/lte/rrc/lib/asn/src/CarrierFreqListUTRA-TDD.c deleted file mode 100644 index 5a6def707..000000000 --- a/lte/rrc/lib/asn/src/CarrierFreqListUTRA-TDD.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CarrierFreqListUTRA-TDD.h" - -static asn_per_constraints_t asn_PER_type_CarrierFreqListUTRA_TDD_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CarrierFreqListUTRA_TDD_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CarrierFreqUTRA_TDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_CarrierFreqListUTRA_TDD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_CarrierFreqListUTRA_TDD_specs_1 = { - sizeof(struct CarrierFreqListUTRA_TDD), - offsetof(struct CarrierFreqListUTRA_TDD, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_CarrierFreqListUTRA_TDD = { - "CarrierFreqListUTRA-TDD", - "CarrierFreqListUTRA-TDD", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CarrierFreqListUTRA_TDD_tags_1, - sizeof(asn_DEF_CarrierFreqListUTRA_TDD_tags_1) - /sizeof(asn_DEF_CarrierFreqListUTRA_TDD_tags_1[0]), /* 1 */ - asn_DEF_CarrierFreqListUTRA_TDD_tags_1, /* Same as above */ - sizeof(asn_DEF_CarrierFreqListUTRA_TDD_tags_1) - /sizeof(asn_DEF_CarrierFreqListUTRA_TDD_tags_1[0]), /* 1 */ - &asn_PER_type_CarrierFreqListUTRA_TDD_constr_1, - asn_MBR_CarrierFreqListUTRA_TDD_1, - 1, /* Single element */ - &asn_SPC_CarrierFreqListUTRA_TDD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CarrierFreqUTRA-FDD.c b/lte/rrc/lib/asn/src/CarrierFreqUTRA-FDD.c deleted file mode 100644 index 3a7c4b424..000000000 --- a/lte/rrc/lib/asn/src/CarrierFreqUTRA-FDD.c +++ /dev/null @@ -1,285 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CarrierFreqUTRA-FDD.h" - -static int -memb_q_RxLevMin_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -60 && value <= -13)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_p_MaxUTRA_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -50 && value <= 33)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_q_QualMin_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -24 && value <= 0)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_q_RxLevMin_constr_6 = { - { APC_CONSTRAINED, 6, 6, -60, -13 } /* (-60..-13) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_p_MaxUTRA_constr_7 = { - { APC_CONSTRAINED, 7, 7, -50, 33 } /* (-50..33) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_q_QualMin_constr_8 = { - { APC_CONSTRAINED, 5, 5, -24, 0 } /* (-24..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_threshX_Q_r9_9[] = { - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqUTRA_FDD__threshX_Q_r9, threshX_HighQ_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThresholdQ_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "threshX-HighQ-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqUTRA_FDD__threshX_Q_r9, threshX_LowQ_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThresholdQ_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "threshX-LowQ-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_threshX_Q_r9_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_threshX_Q_r9_tag2el_9[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* threshX-HighQ-r9 at 1621 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* threshX-LowQ-r9 at 1623 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_threshX_Q_r9_specs_9 = { - sizeof(struct CarrierFreqUTRA_FDD__threshX_Q_r9), - offsetof(struct CarrierFreqUTRA_FDD__threshX_Q_r9, _asn_ctx), - asn_MAP_threshX_Q_r9_tag2el_9, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_threshX_Q_r9_9 = { - "threshX-Q-r9", - "threshX-Q-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_threshX_Q_r9_tags_9, - sizeof(asn_DEF_threshX_Q_r9_tags_9) - /sizeof(asn_DEF_threshX_Q_r9_tags_9[0]) - 1, /* 1 */ - asn_DEF_threshX_Q_r9_tags_9, /* Same as above */ - sizeof(asn_DEF_threshX_Q_r9_tags_9) - /sizeof(asn_DEF_threshX_Q_r9_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_threshX_Q_r9_9, - 2, /* Elements count */ - &asn_SPC_threshX_Q_r9_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CarrierFreqUTRA_FDD_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqUTRA_FDD, carrierFreq), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq" - }, - { ATF_POINTER, 1, offsetof(struct CarrierFreqUTRA_FDD, cellReselectionPriority), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellReselectionPriority, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReselectionPriority" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqUTRA_FDD, threshX_High), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThreshold, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "threshX-High" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqUTRA_FDD, threshX_Low), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThreshold, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "threshX-Low" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqUTRA_FDD, q_RxLevMin), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_q_RxLevMin_constraint_1, - &asn_PER_memb_q_RxLevMin_constr_6, - 0, - "q-RxLevMin" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqUTRA_FDD, p_MaxUTRA), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_p_MaxUTRA_constraint_1, - &asn_PER_memb_p_MaxUTRA_constr_7, - 0, - "p-MaxUTRA" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqUTRA_FDD, q_QualMin), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_q_QualMin_constraint_1, - &asn_PER_memb_q_QualMin_constr_8, - 0, - "q-QualMin" - }, - { ATF_POINTER, 1, offsetof(struct CarrierFreqUTRA_FDD, threshX_Q_r9), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - 0, - &asn_DEF_threshX_Q_r9_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "threshX-Q-r9" - }, -}; -static int asn_MAP_CarrierFreqUTRA_FDD_oms_1[] = { 1, 7 }; -static ber_tlv_tag_t asn_DEF_CarrierFreqUTRA_FDD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CarrierFreqUTRA_FDD_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreq at 1613 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cellReselectionPriority at 1614 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* threshX-High at 1615 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* threshX-Low at 1616 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* q-RxLevMin at 1617 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* p-MaxUTRA at 1618 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* q-QualMin at 1619 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* threshX-Q-r9 at 1621 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CarrierFreqUTRA_FDD_specs_1 = { - sizeof(struct CarrierFreqUTRA_FDD), - offsetof(struct CarrierFreqUTRA_FDD, _asn_ctx), - asn_MAP_CarrierFreqUTRA_FDD_tag2el_1, - 8, /* Count of tags in the map */ - asn_MAP_CarrierFreqUTRA_FDD_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CarrierFreqUTRA_FDD = { - "CarrierFreqUTRA-FDD", - "CarrierFreqUTRA-FDD", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CarrierFreqUTRA_FDD_tags_1, - sizeof(asn_DEF_CarrierFreqUTRA_FDD_tags_1) - /sizeof(asn_DEF_CarrierFreqUTRA_FDD_tags_1[0]), /* 1 */ - asn_DEF_CarrierFreqUTRA_FDD_tags_1, /* Same as above */ - sizeof(asn_DEF_CarrierFreqUTRA_FDD_tags_1) - /sizeof(asn_DEF_CarrierFreqUTRA_FDD_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CarrierFreqUTRA_FDD_1, - 8, /* Elements count */ - &asn_SPC_CarrierFreqUTRA_FDD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CarrierFreqUTRA-TDD.c b/lte/rrc/lib/asn/src/CarrierFreqUTRA-TDD.c deleted file mode 100644 index 59cdb407a..000000000 --- a/lte/rrc/lib/asn/src/CarrierFreqUTRA-TDD.c +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CarrierFreqUTRA-TDD.h" - -static int -memb_q_RxLevMin_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -60 && value <= -13)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_p_MaxUTRA_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -50 && value <= 33)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_q_RxLevMin_constr_6 = { - { APC_CONSTRAINED, 6, 6, -60, -13 } /* (-60..-13) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_p_MaxUTRA_constr_7 = { - { APC_CONSTRAINED, 7, 7, -50, 33 } /* (-50..33) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CarrierFreqUTRA_TDD_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqUTRA_TDD, carrierFreq), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq" - }, - { ATF_POINTER, 1, offsetof(struct CarrierFreqUTRA_TDD, cellReselectionPriority), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellReselectionPriority, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReselectionPriority" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqUTRA_TDD, threshX_High), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThreshold, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "threshX-High" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqUTRA_TDD, threshX_Low), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThreshold, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "threshX-Low" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqUTRA_TDD, q_RxLevMin), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_q_RxLevMin_constraint_1, - &asn_PER_memb_q_RxLevMin_constr_6, - 0, - "q-RxLevMin" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqUTRA_TDD, p_MaxUTRA), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_p_MaxUTRA_constraint_1, - &asn_PER_memb_p_MaxUTRA_constr_7, - 0, - "p-MaxUTRA" - }, -}; -static int asn_MAP_CarrierFreqUTRA_TDD_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_CarrierFreqUTRA_TDD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CarrierFreqUTRA_TDD_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreq at 1629 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cellReselectionPriority at 1630 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* threshX-High at 1631 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* threshX-Low at 1632 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* q-RxLevMin at 1633 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* p-MaxUTRA at 1634 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CarrierFreqUTRA_TDD_specs_1 = { - sizeof(struct CarrierFreqUTRA_TDD), - offsetof(struct CarrierFreqUTRA_TDD, _asn_ctx), - asn_MAP_CarrierFreqUTRA_TDD_tag2el_1, - 6, /* Count of tags in the map */ - asn_MAP_CarrierFreqUTRA_TDD_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - 5, /* Start extensions */ - 7 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CarrierFreqUTRA_TDD = { - "CarrierFreqUTRA-TDD", - "CarrierFreqUTRA-TDD", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CarrierFreqUTRA_TDD_tags_1, - sizeof(asn_DEF_CarrierFreqUTRA_TDD_tags_1) - /sizeof(asn_DEF_CarrierFreqUTRA_TDD_tags_1[0]), /* 1 */ - asn_DEF_CarrierFreqUTRA_TDD_tags_1, /* Same as above */ - sizeof(asn_DEF_CarrierFreqUTRA_TDD_tags_1) - /sizeof(asn_DEF_CarrierFreqUTRA_TDD_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CarrierFreqUTRA_TDD_1, - 6, /* Elements count */ - &asn_SPC_CarrierFreqUTRA_TDD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CarrierFreqsGERAN.c b/lte/rrc/lib/asn/src/CarrierFreqsGERAN.c deleted file mode 100644 index deca2b56d..000000000 --- a/lte/rrc/lib/asn/src/CarrierFreqsGERAN.c +++ /dev/null @@ -1,307 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CarrierFreqsGERAN.h" - -static int -memb_arfcn_Spacing_constraint_6(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 8)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_numberOfFollowingARFCNs_constraint_6(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 31)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_variableBitMapOfARFCNs_constraint_4(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - size = st->size; - - if((size >= 1 && size <= 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_arfcn_Spacing_constr_7 = { - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (1..8) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_numberOfFollowingARFCNs_constr_8 = { - { APC_CONSTRAINED, 5, 5, 0, 31 } /* (0..31) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_variableBitMapOfARFCNs_constr_9 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_followingARFCNs_constr_4 = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_equallySpacedARFCNs_6[] = { - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqsGERAN__followingARFCNs__equallySpacedARFCNs, arfcn_Spacing), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_arfcn_Spacing_constraint_6, - &asn_PER_memb_arfcn_Spacing_constr_7, - 0, - "arfcn-Spacing" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqsGERAN__followingARFCNs__equallySpacedARFCNs, numberOfFollowingARFCNs), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_numberOfFollowingARFCNs_constraint_6, - &asn_PER_memb_numberOfFollowingARFCNs_constr_8, - 0, - "numberOfFollowingARFCNs" - }, -}; -static ber_tlv_tag_t asn_DEF_equallySpacedARFCNs_tags_6[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_equallySpacedARFCNs_tag2el_6[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* arfcn-Spacing at 2919 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* numberOfFollowingARFCNs at 2920 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_equallySpacedARFCNs_specs_6 = { - sizeof(struct CarrierFreqsGERAN__followingARFCNs__equallySpacedARFCNs), - offsetof(struct CarrierFreqsGERAN__followingARFCNs__equallySpacedARFCNs, _asn_ctx), - asn_MAP_equallySpacedARFCNs_tag2el_6, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_equallySpacedARFCNs_6 = { - "equallySpacedARFCNs", - "equallySpacedARFCNs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_equallySpacedARFCNs_tags_6, - sizeof(asn_DEF_equallySpacedARFCNs_tags_6) - /sizeof(asn_DEF_equallySpacedARFCNs_tags_6[0]) - 1, /* 1 */ - asn_DEF_equallySpacedARFCNs_tags_6, /* Same as above */ - sizeof(asn_DEF_equallySpacedARFCNs_tags_6) - /sizeof(asn_DEF_equallySpacedARFCNs_tags_6[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_equallySpacedARFCNs_6, - 2, /* Elements count */ - &asn_SPC_equallySpacedARFCNs_specs_6 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_followingARFCNs_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqsGERAN__followingARFCNs, choice.explicitListOfARFCNs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ExplicitListOfARFCNs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "explicitListOfARFCNs" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqsGERAN__followingARFCNs, choice.equallySpacedARFCNs), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_equallySpacedARFCNs_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "equallySpacedARFCNs" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqsGERAN__followingARFCNs, choice.variableBitMapOfARFCNs), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_variableBitMapOfARFCNs_constraint_4, - &asn_PER_memb_variableBitMapOfARFCNs_constr_9, - 0, - "variableBitMapOfARFCNs" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_followingARFCNs_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* explicitListOfARFCNs at 2917 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* equallySpacedARFCNs at 2919 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* variableBitMapOfARFCNs at 2922 */ -}; -static asn_CHOICE_specifics_t asn_SPC_followingARFCNs_specs_4 = { - sizeof(struct CarrierFreqsGERAN__followingARFCNs), - offsetof(struct CarrierFreqsGERAN__followingARFCNs, _asn_ctx), - offsetof(struct CarrierFreqsGERAN__followingARFCNs, present), - sizeof(((struct CarrierFreqsGERAN__followingARFCNs *)0)->present), - asn_MAP_followingARFCNs_tag2el_4, - 3, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_followingARFCNs_4 = { - "followingARFCNs", - "followingARFCNs", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_followingARFCNs_constr_4, - asn_MBR_followingARFCNs_4, - 3, /* Elements count */ - &asn_SPC_followingARFCNs_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CarrierFreqsGERAN_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqsGERAN, startingARFCN), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "startingARFCN" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqsGERAN, bandIndicator), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BandIndicatorGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "bandIndicator" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqsGERAN, followingARFCNs), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_followingARFCNs_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "followingARFCNs" - }, -}; -static ber_tlv_tag_t asn_DEF_CarrierFreqsGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CarrierFreqsGERAN_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* startingARFCN at 2914 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* bandIndicator at 2915 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* followingARFCNs at 2917 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CarrierFreqsGERAN_specs_1 = { - sizeof(struct CarrierFreqsGERAN), - offsetof(struct CarrierFreqsGERAN, _asn_ctx), - asn_MAP_CarrierFreqsGERAN_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CarrierFreqsGERAN = { - "CarrierFreqsGERAN", - "CarrierFreqsGERAN", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CarrierFreqsGERAN_tags_1, - sizeof(asn_DEF_CarrierFreqsGERAN_tags_1) - /sizeof(asn_DEF_CarrierFreqsGERAN_tags_1[0]), /* 1 */ - asn_DEF_CarrierFreqsGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_CarrierFreqsGERAN_tags_1) - /sizeof(asn_DEF_CarrierFreqsGERAN_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CarrierFreqsGERAN_1, - 3, /* Elements count */ - &asn_SPC_CarrierFreqsGERAN_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CarrierFreqsInfoGERAN.c b/lte/rrc/lib/asn/src/CarrierFreqsInfoGERAN.c deleted file mode 100644 index 9860138c8..000000000 --- a/lte/rrc/lib/asn/src/CarrierFreqsInfoGERAN.c +++ /dev/null @@ -1,271 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CarrierFreqsInfoGERAN.h" - -static int -memb_ncc_Permitted_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 8)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_q_RxLevMin_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 45)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_p_MaxGERAN_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 39)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_ncc_Permitted_constr_5 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 8, 8 } /* (SIZE(8..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_q_RxLevMin_constr_6 = { - { APC_CONSTRAINED, 6, 6, 0, 45 } /* (0..45) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_p_MaxGERAN_constr_7 = { - { APC_CONSTRAINED, 6, 6, 0, 39 } /* (0..39) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_commonInfo_3[] = { - { ATF_POINTER, 1, offsetof(struct CarrierFreqsInfoGERAN__commonInfo, cellReselectionPriority), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellReselectionPriority, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReselectionPriority" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqsInfoGERAN__commonInfo, ncc_Permitted), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_ncc_Permitted_constraint_3, - &asn_PER_memb_ncc_Permitted_constr_5, - 0, - "ncc-Permitted" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqsInfoGERAN__commonInfo, q_RxLevMin), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_q_RxLevMin_constraint_3, - &asn_PER_memb_q_RxLevMin_constr_6, - 0, - "q-RxLevMin" - }, - { ATF_POINTER, 1, offsetof(struct CarrierFreqsInfoGERAN__commonInfo, p_MaxGERAN), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_p_MaxGERAN_constraint_3, - &asn_PER_memb_p_MaxGERAN_constr_7, - 0, - "p-MaxGERAN" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqsInfoGERAN__commonInfo, threshX_High), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThreshold, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "threshX-High" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqsInfoGERAN__commonInfo, threshX_Low), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThreshold, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "threshX-Low" - }, -}; -static int asn_MAP_commonInfo_oms_3[] = { 0, 3 }; -static ber_tlv_tag_t asn_DEF_commonInfo_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_commonInfo_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellReselectionPriority at 1652 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ncc-Permitted at 1653 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* q-RxLevMin at 1654 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* p-MaxGERAN at 1655 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* threshX-High at 1656 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* threshX-Low at 1658 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_commonInfo_specs_3 = { - sizeof(struct CarrierFreqsInfoGERAN__commonInfo), - offsetof(struct CarrierFreqsInfoGERAN__commonInfo, _asn_ctx), - asn_MAP_commonInfo_tag2el_3, - 6, /* Count of tags in the map */ - asn_MAP_commonInfo_oms_3, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_commonInfo_3 = { - "commonInfo", - "commonInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_commonInfo_tags_3, - sizeof(asn_DEF_commonInfo_tags_3) - /sizeof(asn_DEF_commonInfo_tags_3[0]) - 1, /* 1 */ - asn_DEF_commonInfo_tags_3, /* Same as above */ - sizeof(asn_DEF_commonInfo_tags_3) - /sizeof(asn_DEF_commonInfo_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_commonInfo_3, - 6, /* Elements count */ - &asn_SPC_commonInfo_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CarrierFreqsInfoGERAN_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqsInfoGERAN, carrierFreqs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqsGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreqs" - }, - { ATF_NOFLAGS, 0, offsetof(struct CarrierFreqsInfoGERAN, commonInfo), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_commonInfo_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "commonInfo" - }, -}; -static ber_tlv_tag_t asn_DEF_CarrierFreqsInfoGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CarrierFreqsInfoGERAN_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreqs at 1650 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* commonInfo at 1652 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CarrierFreqsInfoGERAN_specs_1 = { - sizeof(struct CarrierFreqsInfoGERAN), - offsetof(struct CarrierFreqsInfoGERAN, _asn_ctx), - asn_MAP_CarrierFreqsInfoGERAN_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* Start extensions */ - 3 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CarrierFreqsInfoGERAN = { - "CarrierFreqsInfoGERAN", - "CarrierFreqsInfoGERAN", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CarrierFreqsInfoGERAN_tags_1, - sizeof(asn_DEF_CarrierFreqsInfoGERAN_tags_1) - /sizeof(asn_DEF_CarrierFreqsInfoGERAN_tags_1[0]), /* 1 */ - asn_DEF_CarrierFreqsInfoGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_CarrierFreqsInfoGERAN_tags_1) - /sizeof(asn_DEF_CarrierFreqsInfoGERAN_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CarrierFreqsInfoGERAN_1, - 2, /* Elements count */ - &asn_SPC_CarrierFreqsInfoGERAN_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CarrierFreqsInfoListGERAN.c b/lte/rrc/lib/asn/src/CarrierFreqsInfoListGERAN.c deleted file mode 100644 index 768d688d8..000000000 --- a/lte/rrc/lib/asn/src/CarrierFreqsInfoListGERAN.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CarrierFreqsInfoListGERAN.h" - -static asn_per_constraints_t asn_PER_type_CarrierFreqsInfoListGERAN_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CarrierFreqsInfoListGERAN_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CarrierFreqsInfoGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_CarrierFreqsInfoListGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_CarrierFreqsInfoListGERAN_specs_1 = { - sizeof(struct CarrierFreqsInfoListGERAN), - offsetof(struct CarrierFreqsInfoListGERAN, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_CarrierFreqsInfoListGERAN = { - "CarrierFreqsInfoListGERAN", - "CarrierFreqsInfoListGERAN", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CarrierFreqsInfoListGERAN_tags_1, - sizeof(asn_DEF_CarrierFreqsInfoListGERAN_tags_1) - /sizeof(asn_DEF_CarrierFreqsInfoListGERAN_tags_1[0]), /* 1 */ - asn_DEF_CarrierFreqsInfoListGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_CarrierFreqsInfoListGERAN_tags_1) - /sizeof(asn_DEF_CarrierFreqsInfoListGERAN_tags_1[0]), /* 1 */ - &asn_PER_type_CarrierFreqsInfoListGERAN_constr_1, - asn_MBR_CarrierFreqsInfoListGERAN_1, - 1, /* Single element */ - &asn_SPC_CarrierFreqsInfoListGERAN_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellChangeOrder.c b/lte/rrc/lib/asn/src/CellChangeOrder.c deleted file mode 100644 index fb9111b8d..000000000 --- a/lte/rrc/lib/asn/src/CellChangeOrder.c +++ /dev/null @@ -1,395 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellChangeOrder.h" - -static int -t304_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -t304_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -t304_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - t304_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -t304_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - t304_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -t304_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - t304_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -t304_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - t304_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -t304_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - t304_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -t304_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - t304_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -t304_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - t304_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -t304_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - t304_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_networkControlOrder_constraint_12(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 2)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_t304_constr_2 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_networkControlOrder_constr_15 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 2, 2 } /* (SIZE(2..2)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_targetRAT_Type_constr_11 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_t304_value2enum_2[] = { - { 0, 5, "ms100" }, - { 1, 5, "ms200" }, - { 2, 5, "ms500" }, - { 3, 6, "ms1000" }, - { 4, 6, "ms2000" }, - { 5, 6, "ms4000" }, - { 6, 6, "ms8000" }, - { 7, 6, "spare1" } -}; -static unsigned int asn_MAP_t304_enum2value_2[] = { - 0, /* ms100(0) */ - 3, /* ms1000(3) */ - 1, /* ms200(1) */ - 4, /* ms2000(4) */ - 5, /* ms4000(5) */ - 2, /* ms500(2) */ - 6, /* ms8000(6) */ - 7 /* spare1(7) */ -}; -static asn_INTEGER_specifics_t asn_SPC_t304_specs_2 = { - asn_MAP_t304_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_t304_enum2value_2, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_t304_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_t304_2 = { - "t304", - "t304", - t304_2_free, - t304_2_print, - t304_2_constraint, - t304_2_decode_ber, - t304_2_encode_der, - t304_2_decode_xer, - t304_2_encode_xer, - t304_2_decode_uper, - t304_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_t304_tags_2, - sizeof(asn_DEF_t304_tags_2) - /sizeof(asn_DEF_t304_tags_2[0]) - 1, /* 1 */ - asn_DEF_t304_tags_2, /* Same as above */ - sizeof(asn_DEF_t304_tags_2) - /sizeof(asn_DEF_t304_tags_2[0]), /* 2 */ - &asn_PER_type_t304_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_t304_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_geran_12[] = { - { ATF_NOFLAGS, 0, offsetof(struct CellChangeOrder__targetRAT_Type__geran, physCellId), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellChangeOrder__targetRAT_Type__geran, carrierFreq), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq" - }, - { ATF_POINTER, 2, offsetof(struct CellChangeOrder__targetRAT_Type__geran, networkControlOrder), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_networkControlOrder_constraint_12, - &asn_PER_memb_networkControlOrder_constr_15, - 0, - "networkControlOrder" - }, - { ATF_POINTER, 1, offsetof(struct CellChangeOrder__targetRAT_Type__geran, systemInformation), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_SI_OrPSI_GERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "systemInformation" - }, -}; -static int asn_MAP_geran_oms_12[] = { 2, 3 }; -static ber_tlv_tag_t asn_DEF_geran_tags_12[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_geran_tag2el_12[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* physCellId at 500 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* carrierFreq at 501 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* networkControlOrder at 502 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* systemInformation at 503 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_geran_specs_12 = { - sizeof(struct CellChangeOrder__targetRAT_Type__geran), - offsetof(struct CellChangeOrder__targetRAT_Type__geran, _asn_ctx), - asn_MAP_geran_tag2el_12, - 4, /* Count of tags in the map */ - asn_MAP_geran_oms_12, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_geran_12 = { - "geran", - "geran", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_geran_tags_12, - sizeof(asn_DEF_geran_tags_12) - /sizeof(asn_DEF_geran_tags_12[0]) - 1, /* 1 */ - asn_DEF_geran_tags_12, /* Same as above */ - sizeof(asn_DEF_geran_tags_12) - /sizeof(asn_DEF_geran_tags_12[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_geran_12, - 4, /* Elements count */ - &asn_SPC_geran_specs_12 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_targetRAT_Type_11[] = { - { ATF_NOFLAGS, 0, offsetof(struct CellChangeOrder__targetRAT_Type, choice.geran), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_geran_12, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "geran" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_targetRAT_Type_tag2el_11[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* geran at 500 */ -}; -static asn_CHOICE_specifics_t asn_SPC_targetRAT_Type_specs_11 = { - sizeof(struct CellChangeOrder__targetRAT_Type), - offsetof(struct CellChangeOrder__targetRAT_Type, _asn_ctx), - offsetof(struct CellChangeOrder__targetRAT_Type, present), - sizeof(((struct CellChangeOrder__targetRAT_Type *)0)->present), - asn_MAP_targetRAT_Type_tag2el_11, - 1, /* Count of tags in the map */ - 0, - 1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_targetRAT_Type_11 = { - "targetRAT-Type", - "targetRAT-Type", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_targetRAT_Type_constr_11, - asn_MBR_targetRAT_Type_11, - 1, /* Elements count */ - &asn_SPC_targetRAT_Type_specs_11 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CellChangeOrder_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CellChangeOrder, t304), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_t304_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t304" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellChangeOrder, targetRAT_Type), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_targetRAT_Type_11, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "targetRAT-Type" - }, -}; -static ber_tlv_tag_t asn_DEF_CellChangeOrder_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CellChangeOrder_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* t304 at 496 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* targetRAT-Type at 504 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CellChangeOrder_specs_1 = { - sizeof(struct CellChangeOrder), - offsetof(struct CellChangeOrder, _asn_ctx), - asn_MAP_CellChangeOrder_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CellChangeOrder = { - "CellChangeOrder", - "CellChangeOrder", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellChangeOrder_tags_1, - sizeof(asn_DEF_CellChangeOrder_tags_1) - /sizeof(asn_DEF_CellChangeOrder_tags_1[0]), /* 1 */ - asn_DEF_CellChangeOrder_tags_1, /* Same as above */ - sizeof(asn_DEF_CellChangeOrder_tags_1) - /sizeof(asn_DEF_CellChangeOrder_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CellChangeOrder_1, - 2, /* Elements count */ - &asn_SPC_CellChangeOrder_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellGlobalIdCDMA2000.c b/lte/rrc/lib/asn/src/CellGlobalIdCDMA2000.c deleted file mode 100644 index 2462887cf..000000000 --- a/lte/rrc/lib/asn/src/CellGlobalIdCDMA2000.c +++ /dev/null @@ -1,143 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellGlobalIdCDMA2000.h" - -static int -memb_cellGlobalId1XRTT_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 47)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_cellGlobalIdHRPD_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 128)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_cellGlobalId1XRTT_constr_2 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 47, 47 } /* (SIZE(47..47)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_cellGlobalIdHRPD_constr_3 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 128, 128 } /* (SIZE(128..128)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_CellGlobalIdCDMA2000_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CellGlobalIdCDMA2000_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CellGlobalIdCDMA2000, choice.cellGlobalId1XRTT), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_cellGlobalId1XRTT_constraint_1, - &asn_PER_memb_cellGlobalId1XRTT_constr_2, - 0, - "cellGlobalId1XRTT" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellGlobalIdCDMA2000, choice.cellGlobalIdHRPD), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_cellGlobalIdHRPD_constraint_1, - &asn_PER_memb_cellGlobalIdHRPD_constr_3, - 0, - "cellGlobalIdHRPD" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_CellGlobalIdCDMA2000_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellGlobalId1XRTT at 2984 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cellGlobalIdHRPD at 2985 */ -}; -static asn_CHOICE_specifics_t asn_SPC_CellGlobalIdCDMA2000_specs_1 = { - sizeof(struct CellGlobalIdCDMA2000), - offsetof(struct CellGlobalIdCDMA2000, _asn_ctx), - offsetof(struct CellGlobalIdCDMA2000, present), - sizeof(((struct CellGlobalIdCDMA2000 *)0)->present), - asn_MAP_CellGlobalIdCDMA2000_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_CellGlobalIdCDMA2000 = { - "CellGlobalIdCDMA2000", - "CellGlobalIdCDMA2000", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_CellGlobalIdCDMA2000_constr_1, - asn_MBR_CellGlobalIdCDMA2000_1, - 2, /* Elements count */ - &asn_SPC_CellGlobalIdCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellGlobalIdEUTRA.c b/lte/rrc/lib/asn/src/CellGlobalIdEUTRA.c deleted file mode 100644 index dd077d651..000000000 --- a/lte/rrc/lib/asn/src/CellGlobalIdEUTRA.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellGlobalIdEUTRA.h" - -static asn_TYPE_member_t asn_MBR_CellGlobalIdEUTRA_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CellGlobalIdEUTRA, plmn_Identity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PLMN_Identity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "plmn-Identity" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellGlobalIdEUTRA, cellIdentity), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellIdentity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellIdentity" - }, -}; -static ber_tlv_tag_t asn_DEF_CellGlobalIdEUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CellGlobalIdEUTRA_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* plmn-Identity at 2965 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cellIdentity at 2967 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CellGlobalIdEUTRA_specs_1 = { - sizeof(struct CellGlobalIdEUTRA), - offsetof(struct CellGlobalIdEUTRA, _asn_ctx), - asn_MAP_CellGlobalIdEUTRA_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CellGlobalIdEUTRA = { - "CellGlobalIdEUTRA", - "CellGlobalIdEUTRA", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellGlobalIdEUTRA_tags_1, - sizeof(asn_DEF_CellGlobalIdEUTRA_tags_1) - /sizeof(asn_DEF_CellGlobalIdEUTRA_tags_1[0]), /* 1 */ - asn_DEF_CellGlobalIdEUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_CellGlobalIdEUTRA_tags_1) - /sizeof(asn_DEF_CellGlobalIdEUTRA_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CellGlobalIdEUTRA_1, - 2, /* Elements count */ - &asn_SPC_CellGlobalIdEUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellGlobalIdGERAN.c b/lte/rrc/lib/asn/src/CellGlobalIdGERAN.c deleted file mode 100644 index 78d72bebe..000000000 --- a/lte/rrc/lib/asn/src/CellGlobalIdGERAN.c +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellGlobalIdGERAN.h" - -static int -memb_locationAreaCode_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_cellIdentity_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_locationAreaCode_constr_3 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_cellIdentity_constr_4 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CellGlobalIdGERAN_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CellGlobalIdGERAN, plmn_Identity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PLMN_Identity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "plmn-Identity" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellGlobalIdGERAN, locationAreaCode), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_locationAreaCode_constraint_1, - &asn_PER_memb_locationAreaCode_constr_3, - 0, - "locationAreaCode" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellGlobalIdGERAN, cellIdentity), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_cellIdentity_constraint_1, - &asn_PER_memb_cellIdentity_constr_4, - 0, - "cellIdentity" - }, -}; -static ber_tlv_tag_t asn_DEF_CellGlobalIdGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CellGlobalIdGERAN_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* plmn-Identity at 2977 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* locationAreaCode at 2978 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* cellIdentity at 2979 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CellGlobalIdGERAN_specs_1 = { - sizeof(struct CellGlobalIdGERAN), - offsetof(struct CellGlobalIdGERAN, _asn_ctx), - asn_MAP_CellGlobalIdGERAN_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CellGlobalIdGERAN = { - "CellGlobalIdGERAN", - "CellGlobalIdGERAN", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellGlobalIdGERAN_tags_1, - sizeof(asn_DEF_CellGlobalIdGERAN_tags_1) - /sizeof(asn_DEF_CellGlobalIdGERAN_tags_1[0]), /* 1 */ - asn_DEF_CellGlobalIdGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_CellGlobalIdGERAN_tags_1) - /sizeof(asn_DEF_CellGlobalIdGERAN_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CellGlobalIdGERAN_1, - 3, /* Elements count */ - &asn_SPC_CellGlobalIdGERAN_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellGlobalIdList-r10.c b/lte/rrc/lib/asn/src/CellGlobalIdList-r10.c deleted file mode 100644 index ce382b235..000000000 --- a/lte/rrc/lib/asn/src/CellGlobalIdList-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellGlobalIdList-r10.h" - -static asn_per_constraints_t asn_PER_type_CellGlobalIdList_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CellGlobalIdList_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CellGlobalIdEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_CellGlobalIdList_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_CellGlobalIdList_r10_specs_1 = { - sizeof(struct CellGlobalIdList_r10), - offsetof(struct CellGlobalIdList_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_CellGlobalIdList_r10 = { - "CellGlobalIdList-r10", - "CellGlobalIdList-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellGlobalIdList_r10_tags_1, - sizeof(asn_DEF_CellGlobalIdList_r10_tags_1) - /sizeof(asn_DEF_CellGlobalIdList_r10_tags_1[0]), /* 1 */ - asn_DEF_CellGlobalIdList_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_CellGlobalIdList_r10_tags_1) - /sizeof(asn_DEF_CellGlobalIdList_r10_tags_1[0]), /* 1 */ - &asn_PER_type_CellGlobalIdList_r10_constr_1, - asn_MBR_CellGlobalIdList_r10_1, - 1, /* Single element */ - &asn_SPC_CellGlobalIdList_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellGlobalIdUTRA.c b/lte/rrc/lib/asn/src/CellGlobalIdUTRA.c deleted file mode 100644 index 1d752bc60..000000000 --- a/lte/rrc/lib/asn/src/CellGlobalIdUTRA.c +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellGlobalIdUTRA.h" - -static int -memb_cellIdentity_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 28)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_cellIdentity_constr_3 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 28, 28 } /* (SIZE(28..28)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CellGlobalIdUTRA_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CellGlobalIdUTRA, plmn_Identity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PLMN_Identity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "plmn-Identity" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellGlobalIdUTRA, cellIdentity), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_cellIdentity_constraint_1, - &asn_PER_memb_cellIdentity_constr_3, - 0, - "cellIdentity" - }, -}; -static ber_tlv_tag_t asn_DEF_CellGlobalIdUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CellGlobalIdUTRA_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* plmn-Identity at 2971 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cellIdentity at 2972 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CellGlobalIdUTRA_specs_1 = { - sizeof(struct CellGlobalIdUTRA), - offsetof(struct CellGlobalIdUTRA, _asn_ctx), - asn_MAP_CellGlobalIdUTRA_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CellGlobalIdUTRA = { - "CellGlobalIdUTRA", - "CellGlobalIdUTRA", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellGlobalIdUTRA_tags_1, - sizeof(asn_DEF_CellGlobalIdUTRA_tags_1) - /sizeof(asn_DEF_CellGlobalIdUTRA_tags_1[0]), /* 1 */ - asn_DEF_CellGlobalIdUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_CellGlobalIdUTRA_tags_1) - /sizeof(asn_DEF_CellGlobalIdUTRA_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CellGlobalIdUTRA_1, - 2, /* Elements count */ - &asn_SPC_CellGlobalIdUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellIdentity.c b/lte/rrc/lib/asn/src/CellIdentity.c deleted file mode 100644 index ebb3c9b87..000000000 --- a/lte/rrc/lib/asn/src/CellIdentity.c +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellIdentity.h" - -int -CellIdentity_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 28)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using BIT_STRING, - * so here we adjust the DEF accordingly. - */ -static void -CellIdentity_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_BIT_STRING.free_struct; - td->print_struct = asn_DEF_BIT_STRING.print_struct; - td->ber_decoder = asn_DEF_BIT_STRING.ber_decoder; - td->der_encoder = asn_DEF_BIT_STRING.der_encoder; - td->xer_decoder = asn_DEF_BIT_STRING.xer_decoder; - td->xer_encoder = asn_DEF_BIT_STRING.xer_encoder; - td->uper_decoder = asn_DEF_BIT_STRING.uper_decoder; - td->uper_encoder = asn_DEF_BIT_STRING.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_BIT_STRING.per_constraints; - td->elements = asn_DEF_BIT_STRING.elements; - td->elements_count = asn_DEF_BIT_STRING.elements_count; - td->specifics = asn_DEF_BIT_STRING.specifics; -} - -void -CellIdentity_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - CellIdentity_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -CellIdentity_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - CellIdentity_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -CellIdentity_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - CellIdentity_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -CellIdentity_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - CellIdentity_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -CellIdentity_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - CellIdentity_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -CellIdentity_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - CellIdentity_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -CellIdentity_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - CellIdentity_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -CellIdentity_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - CellIdentity_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_CellIdentity_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 28, 28 } /* (SIZE(28..28)) */, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_CellIdentity_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_CellIdentity = { - "CellIdentity", - "CellIdentity", - CellIdentity_free, - CellIdentity_print, - CellIdentity_constraint, - CellIdentity_decode_ber, - CellIdentity_encode_der, - CellIdentity_decode_xer, - CellIdentity_encode_xer, - CellIdentity_decode_uper, - CellIdentity_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellIdentity_tags_1, - sizeof(asn_DEF_CellIdentity_tags_1) - /sizeof(asn_DEF_CellIdentity_tags_1[0]), /* 1 */ - asn_DEF_CellIdentity_tags_1, /* Same as above */ - sizeof(asn_DEF_CellIdentity_tags_1) - /sizeof(asn_DEF_CellIdentity_tags_1[0]), /* 1 */ - &asn_PER_type_CellIdentity_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/CellIndex.c b/lte/rrc/lib/asn/src/CellIndex.c deleted file mode 100644 index c43e8d834..000000000 --- a/lte/rrc/lib/asn/src/CellIndex.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellIndex.h" - -int -CellIndex_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 32)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -CellIndex_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -CellIndex_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - CellIndex_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -CellIndex_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - CellIndex_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -CellIndex_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - CellIndex_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -CellIndex_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - CellIndex_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -CellIndex_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - CellIndex_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -CellIndex_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - CellIndex_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -CellIndex_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - CellIndex_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -CellIndex_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - CellIndex_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_CellIndex_constr_1 = { - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (1..32) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_CellIndex_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_CellIndex = { - "CellIndex", - "CellIndex", - CellIndex_free, - CellIndex_print, - CellIndex_constraint, - CellIndex_decode_ber, - CellIndex_encode_der, - CellIndex_decode_xer, - CellIndex_encode_xer, - CellIndex_decode_uper, - CellIndex_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellIndex_tags_1, - sizeof(asn_DEF_CellIndex_tags_1) - /sizeof(asn_DEF_CellIndex_tags_1[0]), /* 1 */ - asn_DEF_CellIndex_tags_1, /* Same as above */ - sizeof(asn_DEF_CellIndex_tags_1) - /sizeof(asn_DEF_CellIndex_tags_1[0]), /* 1 */ - &asn_PER_type_CellIndex_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/CellIndexList.c b/lte/rrc/lib/asn/src/CellIndexList.c deleted file mode 100644 index 98e2a8b67..000000000 --- a/lte/rrc/lib/asn/src/CellIndexList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellIndexList.h" - -static asn_per_constraints_t asn_PER_type_CellIndexList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CellIndexList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_CellIndex, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_CellIndexList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_CellIndexList_specs_1 = { - sizeof(struct CellIndexList), - offsetof(struct CellIndexList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_CellIndexList = { - "CellIndexList", - "CellIndexList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellIndexList_tags_1, - sizeof(asn_DEF_CellIndexList_tags_1) - /sizeof(asn_DEF_CellIndexList_tags_1[0]), /* 1 */ - asn_DEF_CellIndexList_tags_1, /* Same as above */ - sizeof(asn_DEF_CellIndexList_tags_1) - /sizeof(asn_DEF_CellIndexList_tags_1[0]), /* 1 */ - &asn_PER_type_CellIndexList_constr_1, - asn_MBR_CellIndexList_1, - 1, /* Single element */ - &asn_SPC_CellIndexList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellInfoGERAN-r9.c b/lte/rrc/lib/asn/src/CellInfoGERAN-r9.c deleted file mode 100644 index f94b093be..000000000 --- a/lte/rrc/lib/asn/src/CellInfoGERAN-r9.c +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellInfoGERAN-r9.h" - -static asn_TYPE_member_t asn_MBR_CellInfoGERAN_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CellInfoGERAN_r9, physCellId_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellInfoGERAN_r9, carrierFreq_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellInfoGERAN_r9, systemInformation_r9), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInfoListGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "systemInformation-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_CellInfoGERAN_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CellInfoGERAN_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* physCellId-r9 at 961 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* carrierFreq-r9 at 962 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* systemInformation-r9 at 964 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CellInfoGERAN_r9_specs_1 = { - sizeof(struct CellInfoGERAN_r9), - offsetof(struct CellInfoGERAN_r9, _asn_ctx), - asn_MAP_CellInfoGERAN_r9_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CellInfoGERAN_r9 = { - "CellInfoGERAN-r9", - "CellInfoGERAN-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellInfoGERAN_r9_tags_1, - sizeof(asn_DEF_CellInfoGERAN_r9_tags_1) - /sizeof(asn_DEF_CellInfoGERAN_r9_tags_1[0]), /* 1 */ - asn_DEF_CellInfoGERAN_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_CellInfoGERAN_r9_tags_1) - /sizeof(asn_DEF_CellInfoGERAN_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CellInfoGERAN_r9_1, - 3, /* Elements count */ - &asn_SPC_CellInfoGERAN_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellInfoListGERAN-r9.c b/lte/rrc/lib/asn/src/CellInfoListGERAN-r9.c deleted file mode 100644 index 0735a312e..000000000 --- a/lte/rrc/lib/asn/src/CellInfoListGERAN-r9.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellInfoListGERAN-r9.h" - -static asn_per_constraints_t asn_PER_type_CellInfoListGERAN_r9_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CellInfoListGERAN_r9_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CellInfoGERAN_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_CellInfoListGERAN_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_CellInfoListGERAN_r9_specs_1 = { - sizeof(struct CellInfoListGERAN_r9), - offsetof(struct CellInfoListGERAN_r9, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_CellInfoListGERAN_r9 = { - "CellInfoListGERAN-r9", - "CellInfoListGERAN-r9", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellInfoListGERAN_r9_tags_1, - sizeof(asn_DEF_CellInfoListGERAN_r9_tags_1) - /sizeof(asn_DEF_CellInfoListGERAN_r9_tags_1[0]), /* 1 */ - asn_DEF_CellInfoListGERAN_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_CellInfoListGERAN_r9_tags_1) - /sizeof(asn_DEF_CellInfoListGERAN_r9_tags_1[0]), /* 1 */ - &asn_PER_type_CellInfoListGERAN_r9_constr_1, - asn_MBR_CellInfoListGERAN_r9_1, - 1, /* Single element */ - &asn_SPC_CellInfoListGERAN_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellInfoListUTRA-FDD-r9.c b/lte/rrc/lib/asn/src/CellInfoListUTRA-FDD-r9.c deleted file mode 100644 index ec2b5876b..000000000 --- a/lte/rrc/lib/asn/src/CellInfoListUTRA-FDD-r9.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellInfoListUTRA-FDD-r9.h" - -static asn_per_constraints_t asn_PER_type_CellInfoListUTRA_FDD_r9_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CellInfoListUTRA_FDD_r9_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CellInfoUTRA_FDD_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_CellInfoListUTRA_FDD_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_CellInfoListUTRA_FDD_r9_specs_1 = { - sizeof(struct CellInfoListUTRA_FDD_r9), - offsetof(struct CellInfoListUTRA_FDD_r9, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_CellInfoListUTRA_FDD_r9 = { - "CellInfoListUTRA-FDD-r9", - "CellInfoListUTRA-FDD-r9", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellInfoListUTRA_FDD_r9_tags_1, - sizeof(asn_DEF_CellInfoListUTRA_FDD_r9_tags_1) - /sizeof(asn_DEF_CellInfoListUTRA_FDD_r9_tags_1[0]), /* 1 */ - asn_DEF_CellInfoListUTRA_FDD_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_CellInfoListUTRA_FDD_r9_tags_1) - /sizeof(asn_DEF_CellInfoListUTRA_FDD_r9_tags_1[0]), /* 1 */ - &asn_PER_type_CellInfoListUTRA_FDD_r9_constr_1, - asn_MBR_CellInfoListUTRA_FDD_r9_1, - 1, /* Single element */ - &asn_SPC_CellInfoListUTRA_FDD_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellInfoListUTRA-TDD-r10.c b/lte/rrc/lib/asn/src/CellInfoListUTRA-TDD-r10.c deleted file mode 100644 index 0da64ca2e..000000000 --- a/lte/rrc/lib/asn/src/CellInfoListUTRA-TDD-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellInfoListUTRA-TDD-r10.h" - -static asn_per_constraints_t asn_PER_type_CellInfoListUTRA_TDD_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CellInfoListUTRA_TDD_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CellInfoUTRA_TDD_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_CellInfoListUTRA_TDD_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_CellInfoListUTRA_TDD_r10_specs_1 = { - sizeof(struct CellInfoListUTRA_TDD_r10), - offsetof(struct CellInfoListUTRA_TDD_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_CellInfoListUTRA_TDD_r10 = { - "CellInfoListUTRA-TDD-r10", - "CellInfoListUTRA-TDD-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellInfoListUTRA_TDD_r10_tags_1, - sizeof(asn_DEF_CellInfoListUTRA_TDD_r10_tags_1) - /sizeof(asn_DEF_CellInfoListUTRA_TDD_r10_tags_1[0]), /* 1 */ - asn_DEF_CellInfoListUTRA_TDD_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_CellInfoListUTRA_TDD_r10_tags_1) - /sizeof(asn_DEF_CellInfoListUTRA_TDD_r10_tags_1[0]), /* 1 */ - &asn_PER_type_CellInfoListUTRA_TDD_r10_constr_1, - asn_MBR_CellInfoListUTRA_TDD_r10_1, - 1, /* Single element */ - &asn_SPC_CellInfoListUTRA_TDD_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellInfoListUTRA-TDD-r9.c b/lte/rrc/lib/asn/src/CellInfoListUTRA-TDD-r9.c deleted file mode 100644 index 4e629abe0..000000000 --- a/lte/rrc/lib/asn/src/CellInfoListUTRA-TDD-r9.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellInfoListUTRA-TDD-r9.h" - -static asn_per_constraints_t asn_PER_type_CellInfoListUTRA_TDD_r9_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CellInfoListUTRA_TDD_r9_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CellInfoUTRA_TDD_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_CellInfoListUTRA_TDD_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_CellInfoListUTRA_TDD_r9_specs_1 = { - sizeof(struct CellInfoListUTRA_TDD_r9), - offsetof(struct CellInfoListUTRA_TDD_r9, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_CellInfoListUTRA_TDD_r9 = { - "CellInfoListUTRA-TDD-r9", - "CellInfoListUTRA-TDD-r9", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellInfoListUTRA_TDD_r9_tags_1, - sizeof(asn_DEF_CellInfoListUTRA_TDD_r9_tags_1) - /sizeof(asn_DEF_CellInfoListUTRA_TDD_r9_tags_1[0]), /* 1 */ - asn_DEF_CellInfoListUTRA_TDD_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_CellInfoListUTRA_TDD_r9_tags_1) - /sizeof(asn_DEF_CellInfoListUTRA_TDD_r9_tags_1[0]), /* 1 */ - &asn_PER_type_CellInfoListUTRA_TDD_r9_constr_1, - asn_MBR_CellInfoListUTRA_TDD_r9_1, - 1, /* Single element */ - &asn_SPC_CellInfoListUTRA_TDD_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellInfoUTRA-FDD-r9.c b/lte/rrc/lib/asn/src/CellInfoUTRA-FDD-r9.c deleted file mode 100644 index 0a548a5f4..000000000 --- a/lte/rrc/lib/asn/src/CellInfoUTRA-FDD-r9.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellInfoUTRA-FDD-r9.h" - -static asn_TYPE_member_t asn_MBR_CellInfoUTRA_FDD_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CellInfoUTRA_FDD_r9, physCellId_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdUTRA_FDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellInfoUTRA_FDD_r9, utra_BCCH_Container_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "utra-BCCH-Container-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_CellInfoUTRA_FDD_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CellInfoUTRA_FDD_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* physCellId-r9 at 969 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* utra-BCCH-Container-r9 at 970 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CellInfoUTRA_FDD_r9_specs_1 = { - sizeof(struct CellInfoUTRA_FDD_r9), - offsetof(struct CellInfoUTRA_FDD_r9, _asn_ctx), - asn_MAP_CellInfoUTRA_FDD_r9_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CellInfoUTRA_FDD_r9 = { - "CellInfoUTRA-FDD-r9", - "CellInfoUTRA-FDD-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellInfoUTRA_FDD_r9_tags_1, - sizeof(asn_DEF_CellInfoUTRA_FDD_r9_tags_1) - /sizeof(asn_DEF_CellInfoUTRA_FDD_r9_tags_1[0]), /* 1 */ - asn_DEF_CellInfoUTRA_FDD_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_CellInfoUTRA_FDD_r9_tags_1) - /sizeof(asn_DEF_CellInfoUTRA_FDD_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CellInfoUTRA_FDD_r9_1, - 2, /* Elements count */ - &asn_SPC_CellInfoUTRA_FDD_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellInfoUTRA-TDD-r10.c b/lte/rrc/lib/asn/src/CellInfoUTRA-TDD-r10.c deleted file mode 100644 index b007ee4f3..000000000 --- a/lte/rrc/lib/asn/src/CellInfoUTRA-TDD-r10.c +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellInfoUTRA-TDD-r10.h" - -static asn_TYPE_member_t asn_MBR_CellInfoUTRA_TDD_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CellInfoUTRA_TDD_r10, physCellId_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdUTRA_TDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellInfoUTRA_TDD_r10, carrierFreq_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellInfoUTRA_TDD_r10, utra_BCCH_Container_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "utra-BCCH-Container-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_CellInfoUTRA_TDD_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CellInfoUTRA_TDD_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* physCellId-r10 at 983 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* carrierFreq-r10 at 984 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* utra-BCCH-Container-r10 at 985 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CellInfoUTRA_TDD_r10_specs_1 = { - sizeof(struct CellInfoUTRA_TDD_r10), - offsetof(struct CellInfoUTRA_TDD_r10, _asn_ctx), - asn_MAP_CellInfoUTRA_TDD_r10_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CellInfoUTRA_TDD_r10 = { - "CellInfoUTRA-TDD-r10", - "CellInfoUTRA-TDD-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellInfoUTRA_TDD_r10_tags_1, - sizeof(asn_DEF_CellInfoUTRA_TDD_r10_tags_1) - /sizeof(asn_DEF_CellInfoUTRA_TDD_r10_tags_1[0]), /* 1 */ - asn_DEF_CellInfoUTRA_TDD_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_CellInfoUTRA_TDD_r10_tags_1) - /sizeof(asn_DEF_CellInfoUTRA_TDD_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CellInfoUTRA_TDD_r10_1, - 3, /* Elements count */ - &asn_SPC_CellInfoUTRA_TDD_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellInfoUTRA-TDD-r9.c b/lte/rrc/lib/asn/src/CellInfoUTRA-TDD-r9.c deleted file mode 100644 index cc9d159e4..000000000 --- a/lte/rrc/lib/asn/src/CellInfoUTRA-TDD-r9.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellInfoUTRA-TDD-r9.h" - -static asn_TYPE_member_t asn_MBR_CellInfoUTRA_TDD_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CellInfoUTRA_TDD_r9, physCellId_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdUTRA_TDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellInfoUTRA_TDD_r9, utra_BCCH_Container_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "utra-BCCH-Container-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_CellInfoUTRA_TDD_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CellInfoUTRA_TDD_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* physCellId-r9 at 976 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* utra-BCCH-Container-r9 at 977 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CellInfoUTRA_TDD_r9_specs_1 = { - sizeof(struct CellInfoUTRA_TDD_r9), - offsetof(struct CellInfoUTRA_TDD_r9, _asn_ctx), - asn_MAP_CellInfoUTRA_TDD_r9_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CellInfoUTRA_TDD_r9 = { - "CellInfoUTRA-TDD-r9", - "CellInfoUTRA-TDD-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellInfoUTRA_TDD_r9_tags_1, - sizeof(asn_DEF_CellInfoUTRA_TDD_r9_tags_1) - /sizeof(asn_DEF_CellInfoUTRA_TDD_r9_tags_1[0]), /* 1 */ - asn_DEF_CellInfoUTRA_TDD_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_CellInfoUTRA_TDD_r9_tags_1) - /sizeof(asn_DEF_CellInfoUTRA_TDD_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CellInfoUTRA_TDD_r9_1, - 2, /* Elements count */ - &asn_SPC_CellInfoUTRA_TDD_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellReselectionParametersCDMA2000-v920.c b/lte/rrc/lib/asn/src/CellReselectionParametersCDMA2000-v920.c deleted file mode 100644 index 38fc95e94..000000000 --- a/lte/rrc/lib/asn/src/CellReselectionParametersCDMA2000-v920.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellReselectionParametersCDMA2000-v920.h" - -static asn_TYPE_member_t asn_MBR_CellReselectionParametersCDMA2000_v920_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CellReselectionParametersCDMA2000_v920, neighCellList_v920), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NeighCellListCDMA2000_v920, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "neighCellList-v920" - }, -}; -static ber_tlv_tag_t asn_DEF_CellReselectionParametersCDMA2000_v920_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CellReselectionParametersCDMA2000_v920_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* neighCellList-v920 at 1693 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CellReselectionParametersCDMA2000_v920_specs_1 = { - sizeof(struct CellReselectionParametersCDMA2000_v920), - offsetof(struct CellReselectionParametersCDMA2000_v920, _asn_ctx), - asn_MAP_CellReselectionParametersCDMA2000_v920_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CellReselectionParametersCDMA2000_v920 = { - "CellReselectionParametersCDMA2000-v920", - "CellReselectionParametersCDMA2000-v920", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellReselectionParametersCDMA2000_v920_tags_1, - sizeof(asn_DEF_CellReselectionParametersCDMA2000_v920_tags_1) - /sizeof(asn_DEF_CellReselectionParametersCDMA2000_v920_tags_1[0]), /* 1 */ - asn_DEF_CellReselectionParametersCDMA2000_v920_tags_1, /* Same as above */ - sizeof(asn_DEF_CellReselectionParametersCDMA2000_v920_tags_1) - /sizeof(asn_DEF_CellReselectionParametersCDMA2000_v920_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CellReselectionParametersCDMA2000_v920_1, - 1, /* Elements count */ - &asn_SPC_CellReselectionParametersCDMA2000_v920_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellReselectionParametersCDMA2000.c b/lte/rrc/lib/asn/src/CellReselectionParametersCDMA2000.c deleted file mode 100644 index ba636e8af..000000000 --- a/lte/rrc/lib/asn/src/CellReselectionParametersCDMA2000.c +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellReselectionParametersCDMA2000.h" - -static asn_TYPE_member_t asn_MBR_CellReselectionParametersCDMA2000_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CellReselectionParametersCDMA2000, bandClassList), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BandClassListCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "bandClassList" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellReselectionParametersCDMA2000, neighCellList), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NeighCellListCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "neighCellList" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellReselectionParametersCDMA2000, t_ReselectionCDMA2000), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_T_Reselection, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t-ReselectionCDMA2000" - }, - { ATF_POINTER, 1, offsetof(struct CellReselectionParametersCDMA2000, t_ReselectionCDMA2000_SF), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SpeedStateScaleFactors, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t-ReselectionCDMA2000-SF" - }, -}; -static int asn_MAP_CellReselectionParametersCDMA2000_oms_1[] = { 3 }; -static ber_tlv_tag_t asn_DEF_CellReselectionParametersCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CellReselectionParametersCDMA2000_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bandClassList at 1685 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* neighCellList at 1686 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* t-ReselectionCDMA2000 at 1687 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* t-ReselectionCDMA2000-SF at 1688 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CellReselectionParametersCDMA2000_specs_1 = { - sizeof(struct CellReselectionParametersCDMA2000), - offsetof(struct CellReselectionParametersCDMA2000, _asn_ctx), - asn_MAP_CellReselectionParametersCDMA2000_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_CellReselectionParametersCDMA2000_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CellReselectionParametersCDMA2000 = { - "CellReselectionParametersCDMA2000", - "CellReselectionParametersCDMA2000", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellReselectionParametersCDMA2000_tags_1, - sizeof(asn_DEF_CellReselectionParametersCDMA2000_tags_1) - /sizeof(asn_DEF_CellReselectionParametersCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_CellReselectionParametersCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_CellReselectionParametersCDMA2000_tags_1) - /sizeof(asn_DEF_CellReselectionParametersCDMA2000_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CellReselectionParametersCDMA2000_1, - 4, /* Elements count */ - &asn_SPC_CellReselectionParametersCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellReselectionPriority.c b/lte/rrc/lib/asn/src/CellReselectionPriority.c deleted file mode 100644 index 33fc491ec..000000000 --- a/lte/rrc/lib/asn/src/CellReselectionPriority.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellReselectionPriority.h" - -int -CellReselectionPriority_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -CellReselectionPriority_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -CellReselectionPriority_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - CellReselectionPriority_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -CellReselectionPriority_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - CellReselectionPriority_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -CellReselectionPriority_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - CellReselectionPriority_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -CellReselectionPriority_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - CellReselectionPriority_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -CellReselectionPriority_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - CellReselectionPriority_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -CellReselectionPriority_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - CellReselectionPriority_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -CellReselectionPriority_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - CellReselectionPriority_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -CellReselectionPriority_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - CellReselectionPriority_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_CellReselectionPriority_constr_1 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_CellReselectionPriority_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_CellReselectionPriority = { - "CellReselectionPriority", - "CellReselectionPriority", - CellReselectionPriority_free, - CellReselectionPriority_print, - CellReselectionPriority_constraint, - CellReselectionPriority_decode_ber, - CellReselectionPriority_encode_der, - CellReselectionPriority_decode_xer, - CellReselectionPriority_encode_xer, - CellReselectionPriority_decode_uper, - CellReselectionPriority_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellReselectionPriority_tags_1, - sizeof(asn_DEF_CellReselectionPriority_tags_1) - /sizeof(asn_DEF_CellReselectionPriority_tags_1[0]), /* 1 */ - asn_DEF_CellReselectionPriority_tags_1, /* Same as above */ - sizeof(asn_DEF_CellReselectionPriority_tags_1) - /sizeof(asn_DEF_CellReselectionPriority_tags_1[0]), /* 1 */ - &asn_PER_type_CellReselectionPriority_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/CellSelectionInfo-v920.c b/lte/rrc/lib/asn/src/CellSelectionInfo-v920.c deleted file mode 100644 index 811aa527f..000000000 --- a/lte/rrc/lib/asn/src/CellSelectionInfo-v920.c +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellSelectionInfo-v920.h" - -static int -memb_q_QualMinOffset_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 8)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_q_QualMinOffset_r9_constr_3 = { - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (1..8) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CellSelectionInfo_v920_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CellSelectionInfo_v920, q_QualMin_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Q_QualMin_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "q-QualMin-r9" - }, - { ATF_POINTER, 1, offsetof(struct CellSelectionInfo_v920, q_QualMinOffset_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_q_QualMinOffset_r9_constraint_1, - &asn_PER_memb_q_QualMinOffset_r9_constr_3, - 0, - "q-QualMinOffset-r9" - }, -}; -static int asn_MAP_CellSelectionInfo_v920_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_CellSelectionInfo_v920_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CellSelectionInfo_v920_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* q-QualMin-r9 at 1228 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* q-QualMinOffset-r9 at 1229 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CellSelectionInfo_v920_specs_1 = { - sizeof(struct CellSelectionInfo_v920), - offsetof(struct CellSelectionInfo_v920, _asn_ctx), - asn_MAP_CellSelectionInfo_v920_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_CellSelectionInfo_v920_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CellSelectionInfo_v920 = { - "CellSelectionInfo-v920", - "CellSelectionInfo-v920", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellSelectionInfo_v920_tags_1, - sizeof(asn_DEF_CellSelectionInfo_v920_tags_1) - /sizeof(asn_DEF_CellSelectionInfo_v920_tags_1[0]), /* 1 */ - asn_DEF_CellSelectionInfo_v920_tags_1, /* Same as above */ - sizeof(asn_DEF_CellSelectionInfo_v920_tags_1) - /sizeof(asn_DEF_CellSelectionInfo_v920_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CellSelectionInfo_v920_1, - 2, /* Elements count */ - &asn_SPC_CellSelectionInfo_v920_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellsToAddMod.c b/lte/rrc/lib/asn/src/CellsToAddMod.c deleted file mode 100644 index 87f79b9d5..000000000 --- a/lte/rrc/lib/asn/src/CellsToAddMod.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellsToAddMod.h" - -static int -memb_cellIndex_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 32)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_cellIndex_constr_2 = { - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (1..32) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CellsToAddMod_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CellsToAddMod, cellIndex), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_cellIndex_constraint_1, - &asn_PER_memb_cellIndex_constr_2, - 0, - "cellIndex" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellsToAddMod, physCellId), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellsToAddMod, cellIndividualOffset), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Q_OffsetRange, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellIndividualOffset" - }, -}; -static ber_tlv_tag_t asn_DEF_CellsToAddMod_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CellsToAddMod_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellIndex at 3263 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* physCellId at 3264 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* cellIndividualOffset at 3266 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CellsToAddMod_specs_1 = { - sizeof(struct CellsToAddMod), - offsetof(struct CellsToAddMod, _asn_ctx), - asn_MAP_CellsToAddMod_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CellsToAddMod = { - "CellsToAddMod", - "CellsToAddMod", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellsToAddMod_tags_1, - sizeof(asn_DEF_CellsToAddMod_tags_1) - /sizeof(asn_DEF_CellsToAddMod_tags_1[0]), /* 1 */ - asn_DEF_CellsToAddMod_tags_1, /* Same as above */ - sizeof(asn_DEF_CellsToAddMod_tags_1) - /sizeof(asn_DEF_CellsToAddMod_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CellsToAddMod_1, - 3, /* Elements count */ - &asn_SPC_CellsToAddMod_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellsToAddModCDMA2000.c b/lte/rrc/lib/asn/src/CellsToAddModCDMA2000.c deleted file mode 100644 index c0d539eac..000000000 --- a/lte/rrc/lib/asn/src/CellsToAddModCDMA2000.c +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellsToAddModCDMA2000.h" - -static int -memb_cellIndex_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 32)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_cellIndex_constr_2 = { - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (1..32) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CellsToAddModCDMA2000_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CellsToAddModCDMA2000, cellIndex), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_cellIndex_constraint_1, - &asn_PER_memb_cellIndex_constr_2, - 0, - "cellIndex" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellsToAddModCDMA2000, physCellId), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId" - }, -}; -static ber_tlv_tag_t asn_DEF_CellsToAddModCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CellsToAddModCDMA2000_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellIndex at 3238 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* physCellId at 3240 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CellsToAddModCDMA2000_specs_1 = { - sizeof(struct CellsToAddModCDMA2000), - offsetof(struct CellsToAddModCDMA2000, _asn_ctx), - asn_MAP_CellsToAddModCDMA2000_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CellsToAddModCDMA2000 = { - "CellsToAddModCDMA2000", - "CellsToAddModCDMA2000", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellsToAddModCDMA2000_tags_1, - sizeof(asn_DEF_CellsToAddModCDMA2000_tags_1) - /sizeof(asn_DEF_CellsToAddModCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_CellsToAddModCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_CellsToAddModCDMA2000_tags_1) - /sizeof(asn_DEF_CellsToAddModCDMA2000_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CellsToAddModCDMA2000_1, - 2, /* Elements count */ - &asn_SPC_CellsToAddModCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellsToAddModList.c b/lte/rrc/lib/asn/src/CellsToAddModList.c deleted file mode 100644 index ea5763ac9..000000000 --- a/lte/rrc/lib/asn/src/CellsToAddModList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellsToAddModList.h" - -static asn_per_constraints_t asn_PER_type_CellsToAddModList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CellsToAddModList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CellsToAddMod, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_CellsToAddModList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_CellsToAddModList_specs_1 = { - sizeof(struct CellsToAddModList), - offsetof(struct CellsToAddModList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_CellsToAddModList = { - "CellsToAddModList", - "CellsToAddModList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellsToAddModList_tags_1, - sizeof(asn_DEF_CellsToAddModList_tags_1) - /sizeof(asn_DEF_CellsToAddModList_tags_1[0]), /* 1 */ - asn_DEF_CellsToAddModList_tags_1, /* Same as above */ - sizeof(asn_DEF_CellsToAddModList_tags_1) - /sizeof(asn_DEF_CellsToAddModList_tags_1[0]), /* 1 */ - &asn_PER_type_CellsToAddModList_constr_1, - asn_MBR_CellsToAddModList_1, - 1, /* Single element */ - &asn_SPC_CellsToAddModList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellsToAddModListCDMA2000.c b/lte/rrc/lib/asn/src/CellsToAddModListCDMA2000.c deleted file mode 100644 index bcc0b4975..000000000 --- a/lte/rrc/lib/asn/src/CellsToAddModListCDMA2000.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellsToAddModListCDMA2000.h" - -static asn_per_constraints_t asn_PER_type_CellsToAddModListCDMA2000_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CellsToAddModListCDMA2000_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CellsToAddModCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_CellsToAddModListCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_CellsToAddModListCDMA2000_specs_1 = { - sizeof(struct CellsToAddModListCDMA2000), - offsetof(struct CellsToAddModListCDMA2000, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_CellsToAddModListCDMA2000 = { - "CellsToAddModListCDMA2000", - "CellsToAddModListCDMA2000", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellsToAddModListCDMA2000_tags_1, - sizeof(asn_DEF_CellsToAddModListCDMA2000_tags_1) - /sizeof(asn_DEF_CellsToAddModListCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_CellsToAddModListCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_CellsToAddModListCDMA2000_tags_1) - /sizeof(asn_DEF_CellsToAddModListCDMA2000_tags_1[0]), /* 1 */ - &asn_PER_type_CellsToAddModListCDMA2000_constr_1, - asn_MBR_CellsToAddModListCDMA2000_1, - 1, /* Single element */ - &asn_SPC_CellsToAddModListCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellsToAddModListUTRA-FDD.c b/lte/rrc/lib/asn/src/CellsToAddModListUTRA-FDD.c deleted file mode 100644 index 30d956869..000000000 --- a/lte/rrc/lib/asn/src/CellsToAddModListUTRA-FDD.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellsToAddModListUTRA-FDD.h" - -static asn_per_constraints_t asn_PER_type_CellsToAddModListUTRA_FDD_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CellsToAddModListUTRA_FDD_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CellsToAddModUTRA_FDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_CellsToAddModListUTRA_FDD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_CellsToAddModListUTRA_FDD_specs_1 = { - sizeof(struct CellsToAddModListUTRA_FDD), - offsetof(struct CellsToAddModListUTRA_FDD, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_CellsToAddModListUTRA_FDD = { - "CellsToAddModListUTRA-FDD", - "CellsToAddModListUTRA-FDD", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellsToAddModListUTRA_FDD_tags_1, - sizeof(asn_DEF_CellsToAddModListUTRA_FDD_tags_1) - /sizeof(asn_DEF_CellsToAddModListUTRA_FDD_tags_1[0]), /* 1 */ - asn_DEF_CellsToAddModListUTRA_FDD_tags_1, /* Same as above */ - sizeof(asn_DEF_CellsToAddModListUTRA_FDD_tags_1) - /sizeof(asn_DEF_CellsToAddModListUTRA_FDD_tags_1[0]), /* 1 */ - &asn_PER_type_CellsToAddModListUTRA_FDD_constr_1, - asn_MBR_CellsToAddModListUTRA_FDD_1, - 1, /* Single element */ - &asn_SPC_CellsToAddModListUTRA_FDD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellsToAddModListUTRA-TDD.c b/lte/rrc/lib/asn/src/CellsToAddModListUTRA-TDD.c deleted file mode 100644 index 5e3d34c35..000000000 --- a/lte/rrc/lib/asn/src/CellsToAddModListUTRA-TDD.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellsToAddModListUTRA-TDD.h" - -static asn_per_constraints_t asn_PER_type_CellsToAddModListUTRA_TDD_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CellsToAddModListUTRA_TDD_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CellsToAddModUTRA_TDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_CellsToAddModListUTRA_TDD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_CellsToAddModListUTRA_TDD_specs_1 = { - sizeof(struct CellsToAddModListUTRA_TDD), - offsetof(struct CellsToAddModListUTRA_TDD, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_CellsToAddModListUTRA_TDD = { - "CellsToAddModListUTRA-TDD", - "CellsToAddModListUTRA-TDD", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellsToAddModListUTRA_TDD_tags_1, - sizeof(asn_DEF_CellsToAddModListUTRA_TDD_tags_1) - /sizeof(asn_DEF_CellsToAddModListUTRA_TDD_tags_1[0]), /* 1 */ - asn_DEF_CellsToAddModListUTRA_TDD_tags_1, /* Same as above */ - sizeof(asn_DEF_CellsToAddModListUTRA_TDD_tags_1) - /sizeof(asn_DEF_CellsToAddModListUTRA_TDD_tags_1[0]), /* 1 */ - &asn_PER_type_CellsToAddModListUTRA_TDD_constr_1, - asn_MBR_CellsToAddModListUTRA_TDD_1, - 1, /* Single element */ - &asn_SPC_CellsToAddModListUTRA_TDD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellsToAddModUTRA-FDD.c b/lte/rrc/lib/asn/src/CellsToAddModUTRA-FDD.c deleted file mode 100644 index 62767af92..000000000 --- a/lte/rrc/lib/asn/src/CellsToAddModUTRA-FDD.c +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellsToAddModUTRA-FDD.h" - -static int -memb_cellIndex_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 32)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_cellIndex_constr_2 = { - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (1..32) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CellsToAddModUTRA_FDD_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CellsToAddModUTRA_FDD, cellIndex), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_cellIndex_constraint_1, - &asn_PER_memb_cellIndex_constr_2, - 0, - "cellIndex" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellsToAddModUTRA_FDD, physCellId), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdUTRA_FDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId" - }, -}; -static ber_tlv_tag_t asn_DEF_CellsToAddModUTRA_FDD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CellsToAddModUTRA_FDD_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellIndex at 3333 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* physCellId at 3335 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CellsToAddModUTRA_FDD_specs_1 = { - sizeof(struct CellsToAddModUTRA_FDD), - offsetof(struct CellsToAddModUTRA_FDD, _asn_ctx), - asn_MAP_CellsToAddModUTRA_FDD_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CellsToAddModUTRA_FDD = { - "CellsToAddModUTRA-FDD", - "CellsToAddModUTRA-FDD", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellsToAddModUTRA_FDD_tags_1, - sizeof(asn_DEF_CellsToAddModUTRA_FDD_tags_1) - /sizeof(asn_DEF_CellsToAddModUTRA_FDD_tags_1[0]), /* 1 */ - asn_DEF_CellsToAddModUTRA_FDD_tags_1, /* Same as above */ - sizeof(asn_DEF_CellsToAddModUTRA_FDD_tags_1) - /sizeof(asn_DEF_CellsToAddModUTRA_FDD_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CellsToAddModUTRA_FDD_1, - 2, /* Elements count */ - &asn_SPC_CellsToAddModUTRA_FDD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellsToAddModUTRA-TDD.c b/lte/rrc/lib/asn/src/CellsToAddModUTRA-TDD.c deleted file mode 100644 index 350692fa2..000000000 --- a/lte/rrc/lib/asn/src/CellsToAddModUTRA-TDD.c +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CellsToAddModUTRA-TDD.h" - -static int -memb_cellIndex_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 32)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_cellIndex_constr_2 = { - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (1..32) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CellsToAddModUTRA_TDD_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CellsToAddModUTRA_TDD, cellIndex), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_cellIndex_constraint_1, - &asn_PER_memb_cellIndex_constr_2, - 0, - "cellIndex" - }, - { ATF_NOFLAGS, 0, offsetof(struct CellsToAddModUTRA_TDD, physCellId), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdUTRA_TDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId" - }, -}; -static ber_tlv_tag_t asn_DEF_CellsToAddModUTRA_TDD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CellsToAddModUTRA_TDD_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellIndex at 3340 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* physCellId at 3342 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CellsToAddModUTRA_TDD_specs_1 = { - sizeof(struct CellsToAddModUTRA_TDD), - offsetof(struct CellsToAddModUTRA_TDD, _asn_ctx), - asn_MAP_CellsToAddModUTRA_TDD_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CellsToAddModUTRA_TDD = { - "CellsToAddModUTRA-TDD", - "CellsToAddModUTRA-TDD", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellsToAddModUTRA_TDD_tags_1, - sizeof(asn_DEF_CellsToAddModUTRA_TDD_tags_1) - /sizeof(asn_DEF_CellsToAddModUTRA_TDD_tags_1[0]), /* 1 */ - asn_DEF_CellsToAddModUTRA_TDD_tags_1, /* Same as above */ - sizeof(asn_DEF_CellsToAddModUTRA_TDD_tags_1) - /sizeof(asn_DEF_CellsToAddModUTRA_TDD_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CellsToAddModUTRA_TDD_1, - 2, /* Elements count */ - &asn_SPC_CellsToAddModUTRA_TDD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CellsTriggeredList.c b/lte/rrc/lib/asn/src/CellsTriggeredList.c deleted file mode 100644 index c15f583f1..000000000 --- a/lte/rrc/lib/asn/src/CellsTriggeredList.c +++ /dev/null @@ -1,266 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-UE-Variables" - * found in "EUTRA-UE-Variables.asn" - */ - -#include "liblte/rrc/asn/CellsTriggeredList.h" - -static asn_per_constraints_t asn_PER_type_physCellIdUTRA_constr_4 GCC_NOTUSED = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_Member_constr_2 GCC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_CellsTriggeredList_constr_1 GCC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_physCellIdUTRA_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct physCellIdUTRA, choice.fdd), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdUTRA_FDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "fdd" - }, - { ATF_NOFLAGS, 0, offsetof(struct physCellIdUTRA, choice.tdd), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdUTRA_TDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "tdd" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_physCellIdUTRA_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* fdd */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* tdd */ -}; -static asn_CHOICE_specifics_t asn_SPC_physCellIdUTRA_specs_4 = { - sizeof(struct physCellIdUTRA), - offsetof(struct physCellIdUTRA, _asn_ctx), - offsetof(struct physCellIdUTRA, present), - sizeof(((struct physCellIdUTRA *)0)->present), - asn_MAP_physCellIdUTRA_tag2el_4, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_physCellIdUTRA_4 = { - "physCellIdUTRA", - "physCellIdUTRA", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_physCellIdUTRA_constr_4, - asn_MBR_physCellIdUTRA_4, - 2, /* Elements count */ - &asn_SPC_physCellIdUTRA_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_physCellIdGERAN_7[] = { - { ATF_NOFLAGS, 0, offsetof(struct physCellIdGERAN, carrierFreq), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq" - }, - { ATF_NOFLAGS, 0, offsetof(struct physCellIdGERAN, physCellId), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId" - }, -}; -static const ber_tlv_tag_t asn_DEF_physCellIdGERAN_tags_7[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_physCellIdGERAN_tag2el_7[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreq */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* physCellId */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_physCellIdGERAN_specs_7 = { - sizeof(struct physCellIdGERAN), - offsetof(struct physCellIdGERAN, _asn_ctx), - asn_MAP_physCellIdGERAN_tag2el_7, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_physCellIdGERAN_7 = { - "physCellIdGERAN", - "physCellIdGERAN", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_physCellIdGERAN_tags_7, - sizeof(asn_DEF_physCellIdGERAN_tags_7) - /sizeof(asn_DEF_physCellIdGERAN_tags_7[0]) - 1, /* 1 */ - asn_DEF_physCellIdGERAN_tags_7, /* Same as above */ - sizeof(asn_DEF_physCellIdGERAN_tags_7) - /sizeof(asn_DEF_physCellIdGERAN_tags_7[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_physCellIdGERAN_7, - 2, /* Elements count */ - &asn_SPC_physCellIdGERAN_specs_7 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_Member_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct Member, choice.physCellIdEUTRA), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellIdEUTRA" - }, - { ATF_NOFLAGS, 0, offsetof(struct Member, choice.physCellIdUTRA), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_physCellIdUTRA_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellIdUTRA" - }, - { ATF_NOFLAGS, 0, offsetof(struct Member, choice.physCellIdGERAN), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_physCellIdGERAN_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellIdGERAN" - }, - { ATF_NOFLAGS, 0, offsetof(struct Member, choice.physCellIdCDMA2000), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellIdCDMA2000" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* physCellIdEUTRA */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* physCellIdUTRA */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* physCellIdGERAN */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* physCellIdCDMA2000 */ -}; -static asn_CHOICE_specifics_t asn_SPC_Member_specs_2 = { - sizeof(struct Member), - offsetof(struct Member, _asn_ctx), - offsetof(struct Member, present), - sizeof(((struct Member *)0)->present), - asn_MAP_Member_tag2el_2, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_Member_2 = { - "CHOICE", - "CHOICE", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_Member_constr_2, - asn_MBR_Member_2, - 4, /* Elements count */ - &asn_SPC_Member_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CellsTriggeredList_1[] = { - { ATF_POINTER, 0, 0, - -1 /* Ambiguous tag (CHOICE?) */, - 0, - &asn_DEF_Member_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_CellsTriggeredList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_CellsTriggeredList_specs_1 = { - sizeof(struct CellsTriggeredList), - offsetof(struct CellsTriggeredList, _asn_ctx), - 2, /* XER encoding is XMLValueList */ -}; -asn_TYPE_descriptor_t asn_DEF_CellsTriggeredList = { - "CellsTriggeredList", - "CellsTriggeredList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CellsTriggeredList_tags_1, - sizeof(asn_DEF_CellsTriggeredList_tags_1) - /sizeof(asn_DEF_CellsTriggeredList_tags_1[0]), /* 1 */ - asn_DEF_CellsTriggeredList_tags_1, /* Same as above */ - sizeof(asn_DEF_CellsTriggeredList_tags_1) - /sizeof(asn_DEF_CellsTriggeredList_tags_1[0]), /* 1 */ - &asn_PER_type_CellsTriggeredList_constr_1, - asn_MBR_CellsTriggeredList_1, - 1, /* Single element */ - &asn_SPC_CellsTriggeredList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CommonSF-AllocPatternList-r9.c b/lte/rrc/lib/asn/src/CommonSF-AllocPatternList-r9.c deleted file mode 100644 index e7eac309e..000000000 --- a/lte/rrc/lib/asn/src/CommonSF-AllocPatternList-r9.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CommonSF-AllocPatternList-r9.h" - -static asn_per_constraints_t asn_PER_type_CommonSF_AllocPatternList_r9_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (SIZE(1..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CommonSF_AllocPatternList_r9_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_MBSFN_SubframeConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_CommonSF_AllocPatternList_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_CommonSF_AllocPatternList_r9_specs_1 = { - sizeof(struct CommonSF_AllocPatternList_r9), - offsetof(struct CommonSF_AllocPatternList_r9, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_CommonSF_AllocPatternList_r9 = { - "CommonSF-AllocPatternList-r9", - "CommonSF-AllocPatternList-r9", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CommonSF_AllocPatternList_r9_tags_1, - sizeof(asn_DEF_CommonSF_AllocPatternList_r9_tags_1) - /sizeof(asn_DEF_CommonSF_AllocPatternList_r9_tags_1[0]), /* 1 */ - asn_DEF_CommonSF_AllocPatternList_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_CommonSF_AllocPatternList_r9_tags_1) - /sizeof(asn_DEF_CommonSF_AllocPatternList_r9_tags_1[0]), /* 1 */ - &asn_PER_type_CommonSF_AllocPatternList_r9_constr_1, - asn_MBR_CommonSF_AllocPatternList_r9_1, - 1, /* Single element */ - &asn_SPC_CommonSF_AllocPatternList_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CounterCheck-r8-IEs.c b/lte/rrc/lib/asn/src/CounterCheck-r8-IEs.c deleted file mode 100644 index 7bc818119..000000000 --- a/lte/rrc/lib/asn/src/CounterCheck-r8-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CounterCheck-r8-IEs.h" - -static asn_TYPE_member_t asn_MBR_CounterCheck_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CounterCheck_r8_IEs, drb_CountMSB_InfoList), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DRB_CountMSB_InfoList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "drb-CountMSB-InfoList" - }, - { ATF_POINTER, 1, offsetof(struct CounterCheck_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CounterCheck_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_CounterCheck_r8_IEs_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_CounterCheck_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CounterCheck_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* drb-CountMSB-InfoList at 147 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 148 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CounterCheck_r8_IEs_specs_1 = { - sizeof(struct CounterCheck_r8_IEs), - offsetof(struct CounterCheck_r8_IEs, _asn_ctx), - asn_MAP_CounterCheck_r8_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_CounterCheck_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CounterCheck_r8_IEs = { - "CounterCheck-r8-IEs", - "CounterCheck-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CounterCheck_r8_IEs_tags_1, - sizeof(asn_DEF_CounterCheck_r8_IEs_tags_1) - /sizeof(asn_DEF_CounterCheck_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_CounterCheck_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_CounterCheck_r8_IEs_tags_1) - /sizeof(asn_DEF_CounterCheck_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CounterCheck_r8_IEs_1, - 2, /* Elements count */ - &asn_SPC_CounterCheck_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CounterCheck-v8a0-IEs.c b/lte/rrc/lib/asn/src/CounterCheck-v8a0-IEs.c deleted file mode 100644 index bb8551da5..000000000 --- a/lte/rrc/lib/asn/src/CounterCheck-v8a0-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CounterCheck-v8a0-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct CounterCheck_v8a0_IEs__nonCriticalExtension), - offsetof(struct CounterCheck_v8a0_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CounterCheck_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct CounterCheck_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct CounterCheck_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_CounterCheck_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_CounterCheck_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CounterCheck_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 152 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 153 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CounterCheck_v8a0_IEs_specs_1 = { - sizeof(struct CounterCheck_v8a0_IEs), - offsetof(struct CounterCheck_v8a0_IEs, _asn_ctx), - asn_MAP_CounterCheck_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_CounterCheck_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CounterCheck_v8a0_IEs = { - "CounterCheck-v8a0-IEs", - "CounterCheck-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CounterCheck_v8a0_IEs_tags_1, - sizeof(asn_DEF_CounterCheck_v8a0_IEs_tags_1) - /sizeof(asn_DEF_CounterCheck_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_CounterCheck_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_CounterCheck_v8a0_IEs_tags_1) - /sizeof(asn_DEF_CounterCheck_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CounterCheck_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_CounterCheck_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CounterCheck.c b/lte/rrc/lib/asn/src/CounterCheck.c deleted file mode 100644 index d73570b0d..000000000 --- a/lte/rrc/lib/asn/src/CounterCheck.c +++ /dev/null @@ -1,254 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CounterCheck.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_4 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct CounterCheck__criticalExtensions__c1, choice.counterCheck_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CounterCheck_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "counterCheck-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct CounterCheck__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct CounterCheck__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct CounterCheck__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* counterCheck-r8 at 139 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 at 140 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 140 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 140 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_4 = { - sizeof(struct CounterCheck__criticalExtensions__c1), - offsetof(struct CounterCheck__criticalExtensions__c1, _asn_ctx), - offsetof(struct CounterCheck__criticalExtensions__c1, present), - sizeof(((struct CounterCheck__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_4, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_4 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_4, - asn_MBR_c1_4, - 4, /* Elements count */ - &asn_SPC_c1_specs_4 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_9 = { - sizeof(struct CounterCheck__criticalExtensions__criticalExtensionsFuture), - offsetof(struct CounterCheck__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_9 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_9, - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_9, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct CounterCheck__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct CounterCheck__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 139 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 142 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct CounterCheck__criticalExtensions), - offsetof(struct CounterCheck__criticalExtensions, _asn_ctx), - offsetof(struct CounterCheck__criticalExtensions, present), - sizeof(((struct CounterCheck__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CounterCheck_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CounterCheck, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct CounterCheck, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_CounterCheck_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CounterCheck_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 136 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 141 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CounterCheck_specs_1 = { - sizeof(struct CounterCheck), - offsetof(struct CounterCheck, _asn_ctx), - asn_MAP_CounterCheck_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CounterCheck = { - "CounterCheck", - "CounterCheck", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CounterCheck_tags_1, - sizeof(asn_DEF_CounterCheck_tags_1) - /sizeof(asn_DEF_CounterCheck_tags_1[0]), /* 1 */ - asn_DEF_CounterCheck_tags_1, /* Same as above */ - sizeof(asn_DEF_CounterCheck_tags_1) - /sizeof(asn_DEF_CounterCheck_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CounterCheck_1, - 2, /* Elements count */ - &asn_SPC_CounterCheck_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CounterCheckResponse-r8-IEs.c b/lte/rrc/lib/asn/src/CounterCheckResponse-r8-IEs.c deleted file mode 100644 index c88bdbc53..000000000 --- a/lte/rrc/lib/asn/src/CounterCheckResponse-r8-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CounterCheckResponse-r8-IEs.h" - -static asn_TYPE_member_t asn_MBR_CounterCheckResponse_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CounterCheckResponse_r8_IEs, drb_CountInfoList), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DRB_CountInfoList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "drb-CountInfoList" - }, - { ATF_POINTER, 1, offsetof(struct CounterCheckResponse_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CounterCheckResponse_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_CounterCheckResponse_r8_IEs_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_CounterCheckResponse_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CounterCheckResponse_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* drb-CountInfoList at 174 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 175 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CounterCheckResponse_r8_IEs_specs_1 = { - sizeof(struct CounterCheckResponse_r8_IEs), - offsetof(struct CounterCheckResponse_r8_IEs, _asn_ctx), - asn_MAP_CounterCheckResponse_r8_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_CounterCheckResponse_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CounterCheckResponse_r8_IEs = { - "CounterCheckResponse-r8-IEs", - "CounterCheckResponse-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CounterCheckResponse_r8_IEs_tags_1, - sizeof(asn_DEF_CounterCheckResponse_r8_IEs_tags_1) - /sizeof(asn_DEF_CounterCheckResponse_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_CounterCheckResponse_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_CounterCheckResponse_r8_IEs_tags_1) - /sizeof(asn_DEF_CounterCheckResponse_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CounterCheckResponse_r8_IEs_1, - 2, /* Elements count */ - &asn_SPC_CounterCheckResponse_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CounterCheckResponse-v8a0-IEs.c b/lte/rrc/lib/asn/src/CounterCheckResponse-v8a0-IEs.c deleted file mode 100644 index 1c2e7d175..000000000 --- a/lte/rrc/lib/asn/src/CounterCheckResponse-v8a0-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CounterCheckResponse-v8a0-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct CounterCheckResponse_v8a0_IEs__nonCriticalExtension), - offsetof(struct CounterCheckResponse_v8a0_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CounterCheckResponse_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct CounterCheckResponse_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct CounterCheckResponse_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_CounterCheckResponse_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_CounterCheckResponse_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CounterCheckResponse_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 179 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 180 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CounterCheckResponse_v8a0_IEs_specs_1 = { - sizeof(struct CounterCheckResponse_v8a0_IEs), - offsetof(struct CounterCheckResponse_v8a0_IEs, _asn_ctx), - asn_MAP_CounterCheckResponse_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_CounterCheckResponse_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CounterCheckResponse_v8a0_IEs = { - "CounterCheckResponse-v8a0-IEs", - "CounterCheckResponse-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CounterCheckResponse_v8a0_IEs_tags_1, - sizeof(asn_DEF_CounterCheckResponse_v8a0_IEs_tags_1) - /sizeof(asn_DEF_CounterCheckResponse_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_CounterCheckResponse_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_CounterCheckResponse_v8a0_IEs_tags_1) - /sizeof(asn_DEF_CounterCheckResponse_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CounterCheckResponse_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_CounterCheckResponse_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CounterCheckResponse.c b/lte/rrc/lib/asn/src/CounterCheckResponse.c deleted file mode 100644 index f713f6313..000000000 --- a/lte/rrc/lib/asn/src/CounterCheckResponse.c +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CounterCheckResponse.h" - -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_5 = { - sizeof(struct CounterCheckResponse__criticalExtensions__criticalExtensionsFuture), - offsetof(struct CounterCheckResponse__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_5 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_5, - sizeof(asn_DEF_criticalExtensionsFuture_tags_5) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_5[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_5, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_5) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct CounterCheckResponse__criticalExtensions, choice.counterCheckResponse_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CounterCheckResponse_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "counterCheckResponse-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct CounterCheckResponse__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* counterCheckResponse-r8 at 168 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 169 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct CounterCheckResponse__criticalExtensions), - offsetof(struct CounterCheckResponse__criticalExtensions, _asn_ctx), - offsetof(struct CounterCheckResponse__criticalExtensions, present), - sizeof(((struct CounterCheckResponse__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CounterCheckResponse_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CounterCheckResponse, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct CounterCheckResponse, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_CounterCheckResponse_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CounterCheckResponse_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 166 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 168 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CounterCheckResponse_specs_1 = { - sizeof(struct CounterCheckResponse), - offsetof(struct CounterCheckResponse, _asn_ctx), - asn_MAP_CounterCheckResponse_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CounterCheckResponse = { - "CounterCheckResponse", - "CounterCheckResponse", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CounterCheckResponse_tags_1, - sizeof(asn_DEF_CounterCheckResponse_tags_1) - /sizeof(asn_DEF_CounterCheckResponse_tags_1[0]), /* 1 */ - asn_DEF_CounterCheckResponse_tags_1, /* Same as above */ - sizeof(asn_DEF_CounterCheckResponse_tags_1) - /sizeof(asn_DEF_CounterCheckResponse_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CounterCheckResponse_1, - 2, /* Elements count */ - &asn_SPC_CounterCheckResponse_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CountingRequestInfo-r10.c b/lte/rrc/lib/asn/src/CountingRequestInfo-r10.c deleted file mode 100644 index 4d660dba8..000000000 --- a/lte/rrc/lib/asn/src/CountingRequestInfo-r10.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CountingRequestInfo-r10.h" - -static asn_TYPE_member_t asn_MBR_CountingRequestInfo_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CountingRequestInfo_r10, tmgi_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_TMGI_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "tmgi-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_CountingRequestInfo_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CountingRequestInfo_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* tmgi-r10 at 364 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CountingRequestInfo_r10_specs_1 = { - sizeof(struct CountingRequestInfo_r10), - offsetof(struct CountingRequestInfo_r10, _asn_ctx), - asn_MAP_CountingRequestInfo_r10_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 0, /* Start extensions */ - 2 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CountingRequestInfo_r10 = { - "CountingRequestInfo-r10", - "CountingRequestInfo-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CountingRequestInfo_r10_tags_1, - sizeof(asn_DEF_CountingRequestInfo_r10_tags_1) - /sizeof(asn_DEF_CountingRequestInfo_r10_tags_1[0]), /* 1 */ - asn_DEF_CountingRequestInfo_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_CountingRequestInfo_r10_tags_1) - /sizeof(asn_DEF_CountingRequestInfo_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CountingRequestInfo_r10_1, - 1, /* Elements count */ - &asn_SPC_CountingRequestInfo_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CountingRequestList-r10.c b/lte/rrc/lib/asn/src/CountingRequestList-r10.c deleted file mode 100644 index faad32f47..000000000 --- a/lte/rrc/lib/asn/src/CountingRequestList-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CountingRequestList-r10.h" - -static asn_per_constraints_t asn_PER_type_CountingRequestList_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CountingRequestList_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CountingRequestInfo_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_CountingRequestList_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_CountingRequestList_r10_specs_1 = { - sizeof(struct CountingRequestList_r10), - offsetof(struct CountingRequestList_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_CountingRequestList_r10 = { - "CountingRequestList-r10", - "CountingRequestList-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CountingRequestList_r10_tags_1, - sizeof(asn_DEF_CountingRequestList_r10_tags_1) - /sizeof(asn_DEF_CountingRequestList_r10_tags_1[0]), /* 1 */ - asn_DEF_CountingRequestList_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_CountingRequestList_r10_tags_1) - /sizeof(asn_DEF_CountingRequestList_r10_tags_1[0]), /* 1 */ - &asn_PER_type_CountingRequestList_r10_constr_1, - asn_MBR_CountingRequestList_r10_1, - 1, /* Single element */ - &asn_SPC_CountingRequestList_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CountingResponseInfo-r10.c b/lte/rrc/lib/asn/src/CountingResponseInfo-r10.c deleted file mode 100644 index 9ce727d37..000000000 --- a/lte/rrc/lib/asn/src/CountingResponseInfo-r10.c +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CountingResponseInfo-r10.h" - -static int -memb_countingResponseService_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_countingResponseService_r10_constr_2 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CountingResponseInfo_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CountingResponseInfo_r10, countingResponseService_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_countingResponseService_r10_constraint_1, - &asn_PER_memb_countingResponseService_r10_constr_2, - 0, - "countingResponseService-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_CountingResponseInfo_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CountingResponseInfo_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* countingResponseService-r10 at 389 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CountingResponseInfo_r10_specs_1 = { - sizeof(struct CountingResponseInfo_r10), - offsetof(struct CountingResponseInfo_r10, _asn_ctx), - asn_MAP_CountingResponseInfo_r10_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 0, /* Start extensions */ - 2 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CountingResponseInfo_r10 = { - "CountingResponseInfo-r10", - "CountingResponseInfo-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CountingResponseInfo_r10_tags_1, - sizeof(asn_DEF_CountingResponseInfo_r10_tags_1) - /sizeof(asn_DEF_CountingResponseInfo_r10_tags_1[0]), /* 1 */ - asn_DEF_CountingResponseInfo_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_CountingResponseInfo_r10_tags_1) - /sizeof(asn_DEF_CountingResponseInfo_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CountingResponseInfo_r10_1, - 1, /* Elements count */ - &asn_SPC_CountingResponseInfo_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CountingResponseList-r10.c b/lte/rrc/lib/asn/src/CountingResponseList-r10.c deleted file mode 100644 index 65394abe7..000000000 --- a/lte/rrc/lib/asn/src/CountingResponseList-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CountingResponseList-r10.h" - -static asn_per_constraints_t asn_PER_type_CountingResponseList_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_CountingResponseList_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CountingResponseInfo_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_CountingResponseList_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_CountingResponseList_r10_specs_1 = { - sizeof(struct CountingResponseList_r10), - offsetof(struct CountingResponseList_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_CountingResponseList_r10 = { - "CountingResponseList-r10", - "CountingResponseList-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CountingResponseList_r10_tags_1, - sizeof(asn_DEF_CountingResponseList_r10_tags_1) - /sizeof(asn_DEF_CountingResponseList_r10_tags_1[0]), /* 1 */ - asn_DEF_CountingResponseList_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_CountingResponseList_r10_tags_1) - /sizeof(asn_DEF_CountingResponseList_r10_tags_1[0]), /* 1 */ - &asn_PER_type_CountingResponseList_r10_constr_1, - asn_MBR_CountingResponseList_r10_1, - 1, /* Single element */ - &asn_SPC_CountingResponseList_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/CrossCarrierSchedulingConfig-r10.c b/lte/rrc/lib/asn/src/CrossCarrierSchedulingConfig-r10.c deleted file mode 100644 index f4ad55cf6..000000000 --- a/lte/rrc/lib/asn/src/CrossCarrierSchedulingConfig-r10.c +++ /dev/null @@ -1,269 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/CrossCarrierSchedulingConfig-r10.h" - -static int -memb_pdsch_Start_r10_constraint_5(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 4)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_pdsch_Start_r10_constr_7 = { - { APC_CONSTRAINED, 2, 2, 1, 4 } /* (1..4) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_schedulingCellInfo_r10_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_own_r10_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10__own_r10, cif_Presence_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cif-Presence-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_own_r10_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_own_r10_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* cif-Presence-r10 at 1948 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_own_r10_specs_3 = { - sizeof(struct CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10__own_r10), - offsetof(struct CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10__own_r10, _asn_ctx), - asn_MAP_own_r10_tag2el_3, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_own_r10_3 = { - "own-r10", - "own-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_own_r10_tags_3, - sizeof(asn_DEF_own_r10_tags_3) - /sizeof(asn_DEF_own_r10_tags_3[0]) - 1, /* 1 */ - asn_DEF_own_r10_tags_3, /* Same as above */ - sizeof(asn_DEF_own_r10_tags_3) - /sizeof(asn_DEF_own_r10_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_own_r10_3, - 1, /* Elements count */ - &asn_SPC_own_r10_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_other_r10_5[] = { - { ATF_NOFLAGS, 0, offsetof(struct CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10__other_r10, schedulingCellId_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ServCellIndex_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "schedulingCellId-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10__other_r10, pdsch_Start_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_pdsch_Start_r10_constraint_5, - &asn_PER_memb_pdsch_Start_r10_constr_7, - 0, - "pdsch-Start-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_other_r10_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_other_r10_tag2el_5[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* schedulingCellId-r10 at 1951 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* pdsch-Start-r10 at 1952 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_other_r10_specs_5 = { - sizeof(struct CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10__other_r10), - offsetof(struct CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10__other_r10, _asn_ctx), - asn_MAP_other_r10_tag2el_5, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_other_r10_5 = { - "other-r10", - "other-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_other_r10_tags_5, - sizeof(asn_DEF_other_r10_tags_5) - /sizeof(asn_DEF_other_r10_tags_5[0]) - 1, /* 1 */ - asn_DEF_other_r10_tags_5, /* Same as above */ - sizeof(asn_DEF_other_r10_tags_5) - /sizeof(asn_DEF_other_r10_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_other_r10_5, - 2, /* Elements count */ - &asn_SPC_other_r10_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_schedulingCellInfo_r10_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10, choice.own_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_own_r10_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "own-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10, choice.other_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_other_r10_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "other-r10" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_schedulingCellInfo_r10_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* own-r10 at 1949 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* other-r10 at 1951 */ -}; -static asn_CHOICE_specifics_t asn_SPC_schedulingCellInfo_r10_specs_2 = { - sizeof(struct CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10), - offsetof(struct CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10, _asn_ctx), - offsetof(struct CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10, present), - sizeof(((struct CrossCarrierSchedulingConfig_r10__schedulingCellInfo_r10 *)0)->present), - asn_MAP_schedulingCellInfo_r10_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_schedulingCellInfo_r10_2 = { - "schedulingCellInfo-r10", - "schedulingCellInfo-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_schedulingCellInfo_r10_constr_2, - asn_MBR_schedulingCellInfo_r10_2, - 2, /* Elements count */ - &asn_SPC_schedulingCellInfo_r10_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_CrossCarrierSchedulingConfig_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CrossCarrierSchedulingConfig_r10, schedulingCellInfo_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_schedulingCellInfo_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "schedulingCellInfo-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_CrossCarrierSchedulingConfig_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_CrossCarrierSchedulingConfig_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* schedulingCellInfo-r10 at 1949 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CrossCarrierSchedulingConfig_r10_specs_1 = { - sizeof(struct CrossCarrierSchedulingConfig_r10), - offsetof(struct CrossCarrierSchedulingConfig_r10, _asn_ctx), - asn_MAP_CrossCarrierSchedulingConfig_r10_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_CrossCarrierSchedulingConfig_r10 = { - "CrossCarrierSchedulingConfig-r10", - "CrossCarrierSchedulingConfig-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_CrossCarrierSchedulingConfig_r10_tags_1, - sizeof(asn_DEF_CrossCarrierSchedulingConfig_r10_tags_1) - /sizeof(asn_DEF_CrossCarrierSchedulingConfig_r10_tags_1[0]), /* 1 */ - asn_DEF_CrossCarrierSchedulingConfig_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_CrossCarrierSchedulingConfig_r10_tags_1) - /sizeof(asn_DEF_CrossCarrierSchedulingConfig_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_CrossCarrierSchedulingConfig_r10_1, - 1, /* Elements count */ - &asn_SPC_CrossCarrierSchedulingConfig_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DL-AM-RLC.c b/lte/rrc/lib/asn/src/DL-AM-RLC.c deleted file mode 100644 index 228f36256..000000000 --- a/lte/rrc/lib/asn/src/DL-AM-RLC.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DL-AM-RLC.h" - -static asn_TYPE_member_t asn_MBR_DL_AM_RLC_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct DL_AM_RLC, t_Reordering), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_T_Reordering, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t-Reordering" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_AM_RLC, t_StatusProhibit), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_T_StatusProhibit, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t-StatusProhibit" - }, -}; -static ber_tlv_tag_t asn_DEF_DL_AM_RLC_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_DL_AM_RLC_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* t-Reordering at 2538 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* t-StatusProhibit at 2540 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_DL_AM_RLC_specs_1 = { - sizeof(struct DL_AM_RLC), - offsetof(struct DL_AM_RLC, _asn_ctx), - asn_MAP_DL_AM_RLC_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_DL_AM_RLC = { - "DL-AM-RLC", - "DL-AM-RLC", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DL_AM_RLC_tags_1, - sizeof(asn_DEF_DL_AM_RLC_tags_1) - /sizeof(asn_DEF_DL_AM_RLC_tags_1[0]), /* 1 */ - asn_DEF_DL_AM_RLC_tags_1, /* Same as above */ - sizeof(asn_DEF_DL_AM_RLC_tags_1) - /sizeof(asn_DEF_DL_AM_RLC_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_DL_AM_RLC_1, - 2, /* Elements count */ - &asn_SPC_DL_AM_RLC_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DL-CCCH-Message.c b/lte/rrc/lib/asn/src/DL-CCCH-Message.c deleted file mode 100644 index cf751dcf7..000000000 --- a/lte/rrc/lib/asn/src/DL-CCCH-Message.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DL-CCCH-Message.h" - -static asn_TYPE_member_t asn_MBR_DL_CCCH_Message_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct DL_CCCH_Message, message), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_DL_CCCH_MessageType, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "message" - }, -}; -static ber_tlv_tag_t asn_DEF_DL_CCCH_Message_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_DL_CCCH_Message_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* message at 57 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_DL_CCCH_Message_specs_1 = { - sizeof(struct DL_CCCH_Message), - offsetof(struct DL_CCCH_Message, _asn_ctx), - asn_MAP_DL_CCCH_Message_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_DL_CCCH_Message = { - "DL-CCCH-Message", - "DL-CCCH-Message", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DL_CCCH_Message_tags_1, - sizeof(asn_DEF_DL_CCCH_Message_tags_1) - /sizeof(asn_DEF_DL_CCCH_Message_tags_1[0]), /* 1 */ - asn_DEF_DL_CCCH_Message_tags_1, /* Same as above */ - sizeof(asn_DEF_DL_CCCH_Message_tags_1) - /sizeof(asn_DEF_DL_CCCH_Message_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_DL_CCCH_Message_1, - 1, /* Elements count */ - &asn_SPC_DL_CCCH_Message_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DL-CCCH-MessageType.c b/lte/rrc/lib/asn/src/DL-CCCH-MessageType.c deleted file mode 100644 index 5ff202fd1..000000000 --- a/lte/rrc/lib/asn/src/DL-CCCH-MessageType.c +++ /dev/null @@ -1,192 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DL-CCCH-MessageType.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_2 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_DL_CCCH_MessageType_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct DL_CCCH_MessageType__c1, choice.rrcConnectionReestablishment), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReestablishment, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionReestablishment" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_CCCH_MessageType__c1, choice.rrcConnectionReestablishmentReject), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReestablishmentReject, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionReestablishmentReject" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_CCCH_MessageType__c1, choice.rrcConnectionReject), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReject, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionReject" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_CCCH_MessageType__c1, choice.rrcConnectionSetup), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionSetup, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionSetup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrcConnectionReestablishment at 61 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rrcConnectionReestablishmentReject at 62 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* rrcConnectionReject at 63 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* rrcConnectionSetup at 65 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_2 = { - sizeof(struct DL_CCCH_MessageType__c1), - offsetof(struct DL_CCCH_MessageType__c1, _asn_ctx), - offsetof(struct DL_CCCH_MessageType__c1, present), - sizeof(((struct DL_CCCH_MessageType__c1 *)0)->present), - asn_MAP_c1_tag2el_2, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_2 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_2, - asn_MBR_c1_2, - 4, /* Elements count */ - &asn_SPC_c1_specs_2 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_messageClassExtension_tags_7[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_messageClassExtension_specs_7 = { - sizeof(struct DL_CCCH_MessageType__messageClassExtension), - offsetof(struct DL_CCCH_MessageType__messageClassExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_messageClassExtension_7 = { - "messageClassExtension", - "messageClassExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_messageClassExtension_tags_7, - sizeof(asn_DEF_messageClassExtension_tags_7) - /sizeof(asn_DEF_messageClassExtension_tags_7[0]) - 1, /* 1 */ - asn_DEF_messageClassExtension_tags_7, /* Same as above */ - sizeof(asn_DEF_messageClassExtension_tags_7) - /sizeof(asn_DEF_messageClassExtension_tags_7[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_messageClassExtension_specs_7 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_DL_CCCH_MessageType_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct DL_CCCH_MessageType, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_CCCH_MessageType, choice.messageClassExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_messageClassExtension_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "messageClassExtension" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_DL_CCCH_MessageType_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 61 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* messageClassExtension at 66 */ -}; -static asn_CHOICE_specifics_t asn_SPC_DL_CCCH_MessageType_specs_1 = { - sizeof(struct DL_CCCH_MessageType), - offsetof(struct DL_CCCH_MessageType, _asn_ctx), - offsetof(struct DL_CCCH_MessageType, present), - sizeof(((struct DL_CCCH_MessageType *)0)->present), - asn_MAP_DL_CCCH_MessageType_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_DL_CCCH_MessageType = { - "DL-CCCH-MessageType", - "DL-CCCH-MessageType", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_DL_CCCH_MessageType_constr_1, - asn_MBR_DL_CCCH_MessageType_1, - 2, /* Elements count */ - &asn_SPC_DL_CCCH_MessageType_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DL-DCCH-Message.c b/lte/rrc/lib/asn/src/DL-DCCH-Message.c deleted file mode 100644 index 07fbf73f7..000000000 --- a/lte/rrc/lib/asn/src/DL-DCCH-Message.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DL-DCCH-Message.h" - -static asn_TYPE_member_t asn_MBR_DL_DCCH_Message_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_Message, message), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_DL_DCCH_MessageType, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "message" - }, -}; -static ber_tlv_tag_t asn_DEF_DL_DCCH_Message_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_DL_DCCH_Message_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* message at 72 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_DL_DCCH_Message_specs_1 = { - sizeof(struct DL_DCCH_Message), - offsetof(struct DL_DCCH_Message, _asn_ctx), - asn_MAP_DL_DCCH_Message_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_DL_DCCH_Message = { - "DL-DCCH-Message", - "DL-DCCH-Message", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DL_DCCH_Message_tags_1, - sizeof(asn_DEF_DL_DCCH_Message_tags_1) - /sizeof(asn_DEF_DL_DCCH_Message_tags_1[0]), /* 1 */ - asn_DEF_DL_DCCH_Message_tags_1, /* Same as above */ - sizeof(asn_DEF_DL_DCCH_Message_tags_1) - /sizeof(asn_DEF_DL_DCCH_Message_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_DL_DCCH_Message_1, - 1, /* Elements count */ - &asn_SPC_DL_DCCH_Message_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DL-DCCH-MessageType.c b/lte/rrc/lib/asn/src/DL-DCCH-MessageType.c deleted file mode 100644 index ab64d0d30..000000000 --- a/lte/rrc/lib/asn/src/DL-DCCH-MessageType.c +++ /dev/null @@ -1,312 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DL-DCCH-MessageType.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_2 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_DL_DCCH_MessageType_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_MessageType__c1, choice.csfbParametersResponseCDMA2000), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CSFBParametersResponseCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csfbParametersResponseCDMA2000" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_MessageType__c1, choice.dlInformationTransfer), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DLInformationTransfer, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dlInformationTransfer" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_MessageType__c1, choice.handoverFromEUTRAPreparationRequest), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_HandoverFromEUTRAPreparationRequest, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "handoverFromEUTRAPreparationRequest" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_MessageType__c1, choice.mobilityFromEUTRACommand), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MobilityFromEUTRACommand, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mobilityFromEUTRACommand" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_MessageType__c1, choice.rrcConnectionReconfiguration), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReconfiguration, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionReconfiguration" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_MessageType__c1, choice.rrcConnectionRelease), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionRelease, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionRelease" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_MessageType__c1, choice.securityModeCommand), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SecurityModeCommand, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "securityModeCommand" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_MessageType__c1, choice.ueCapabilityEnquiry), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UECapabilityEnquiry, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ueCapabilityEnquiry" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_MessageType__c1, choice.counterCheck), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CounterCheck, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "counterCheck" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_MessageType__c1, choice.ueInformationRequest_r9), - (ASN_TAG_CLASS_CONTEXT | (9 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UEInformationRequest_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ueInformationRequest-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_MessageType__c1, choice.loggedMeasurementConfiguration_r10), - (ASN_TAG_CLASS_CONTEXT | (10 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_LoggedMeasurementConfiguration_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "loggedMeasurementConfiguration-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_MessageType__c1, choice.rnReconfiguration_r10), - (ASN_TAG_CLASS_CONTEXT | (11 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RNReconfiguration_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rnReconfiguration-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_MessageType__c1, choice.spare4), - (ASN_TAG_CLASS_CONTEXT | (12 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare4" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_MessageType__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (13 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_MessageType__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (14 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_MessageType__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (15 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* csfbParametersResponseCDMA2000 at 76 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* dlInformationTransfer at 77 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* handoverFromEUTRAPreparationRequest at 78 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* mobilityFromEUTRACommand at 79 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* rrcConnectionReconfiguration at 80 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* rrcConnectionRelease at 81 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* securityModeCommand at 82 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* ueCapabilityEnquiry at 83 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* counterCheck at 84 */ - { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* ueInformationRequest-r9 at 85 */ - { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* loggedMeasurementConfiguration-r10 at 86 */ - { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 }, /* rnReconfiguration-r10 at 87 */ - { (ASN_TAG_CLASS_CONTEXT | (12 << 2)), 12, 0, 0 }, /* spare4 at 88 */ - { (ASN_TAG_CLASS_CONTEXT | (13 << 2)), 13, 0, 0 }, /* spare3 at 89 */ - { (ASN_TAG_CLASS_CONTEXT | (14 << 2)), 14, 0, 0 }, /* spare2 at 89 */ - { (ASN_TAG_CLASS_CONTEXT | (15 << 2)), 15, 0, 0 } /* spare1 at 89 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_2 = { - sizeof(struct DL_DCCH_MessageType__c1), - offsetof(struct DL_DCCH_MessageType__c1, _asn_ctx), - offsetof(struct DL_DCCH_MessageType__c1, present), - sizeof(((struct DL_DCCH_MessageType__c1 *)0)->present), - asn_MAP_c1_tag2el_2, - 16, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_2 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_2, - asn_MBR_c1_2, - 16, /* Elements count */ - &asn_SPC_c1_specs_2 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_messageClassExtension_tags_19[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_messageClassExtension_specs_19 = { - sizeof(struct DL_DCCH_MessageType__messageClassExtension), - offsetof(struct DL_DCCH_MessageType__messageClassExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_messageClassExtension_19 = { - "messageClassExtension", - "messageClassExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_messageClassExtension_tags_19, - sizeof(asn_DEF_messageClassExtension_tags_19) - /sizeof(asn_DEF_messageClassExtension_tags_19[0]) - 1, /* 1 */ - asn_DEF_messageClassExtension_tags_19, /* Same as above */ - sizeof(asn_DEF_messageClassExtension_tags_19) - /sizeof(asn_DEF_messageClassExtension_tags_19[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_messageClassExtension_specs_19 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_DL_DCCH_MessageType_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_MessageType, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_DCCH_MessageType, choice.messageClassExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_messageClassExtension_19, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "messageClassExtension" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_DL_DCCH_MessageType_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 76 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* messageClassExtension at 91 */ -}; -static asn_CHOICE_specifics_t asn_SPC_DL_DCCH_MessageType_specs_1 = { - sizeof(struct DL_DCCH_MessageType), - offsetof(struct DL_DCCH_MessageType, _asn_ctx), - offsetof(struct DL_DCCH_MessageType, present), - sizeof(((struct DL_DCCH_MessageType *)0)->present), - asn_MAP_DL_DCCH_MessageType_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_DL_DCCH_MessageType = { - "DL-DCCH-MessageType", - "DL-DCCH-MessageType", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_DL_DCCH_MessageType_constr_1, - asn_MBR_DL_DCCH_MessageType_1, - 2, /* Elements count */ - &asn_SPC_DL_DCCH_MessageType_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DL-UM-RLC.c b/lte/rrc/lib/asn/src/DL-UM-RLC.c deleted file mode 100644 index 77efc53f8..000000000 --- a/lte/rrc/lib/asn/src/DL-UM-RLC.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DL-UM-RLC.h" - -static asn_TYPE_member_t asn_MBR_DL_UM_RLC_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct DL_UM_RLC, sn_FieldLength), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SN_FieldLength, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sn-FieldLength" - }, - { ATF_NOFLAGS, 0, offsetof(struct DL_UM_RLC, t_Reordering), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_T_Reordering, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t-Reordering" - }, -}; -static ber_tlv_tag_t asn_DEF_DL_UM_RLC_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_DL_UM_RLC_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sn-FieldLength at 2547 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* t-Reordering at 2549 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_DL_UM_RLC_specs_1 = { - sizeof(struct DL_UM_RLC), - offsetof(struct DL_UM_RLC, _asn_ctx), - asn_MAP_DL_UM_RLC_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_DL_UM_RLC = { - "DL-UM-RLC", - "DL-UM-RLC", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DL_UM_RLC_tags_1, - sizeof(asn_DEF_DL_UM_RLC_tags_1) - /sizeof(asn_DEF_DL_UM_RLC_tags_1[0]), /* 1 */ - asn_DEF_DL_UM_RLC_tags_1, /* Same as above */ - sizeof(asn_DEF_DL_UM_RLC_tags_1) - /sizeof(asn_DEF_DL_UM_RLC_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_DL_UM_RLC_1, - 2, /* Elements count */ - &asn_SPC_DL_UM_RLC_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DLInformationTransfer-r8-IEs.c b/lte/rrc/lib/asn/src/DLInformationTransfer-r8-IEs.c deleted file mode 100644 index 4874320e9..000000000 --- a/lte/rrc/lib/asn/src/DLInformationTransfer-r8-IEs.c +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DLInformationTransfer-r8-IEs.h" - -static asn_per_constraints_t asn_PER_type_dedicatedInfoType_constr_2 = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_dedicatedInfoType_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct DLInformationTransfer_r8_IEs__dedicatedInfoType, choice.dedicatedInfoNAS), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DedicatedInfoNAS, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dedicatedInfoNAS" - }, - { ATF_NOFLAGS, 0, offsetof(struct DLInformationTransfer_r8_IEs__dedicatedInfoType, choice.dedicatedInfoCDMA2000_1XRTT), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DedicatedInfoCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dedicatedInfoCDMA2000-1XRTT" - }, - { ATF_NOFLAGS, 0, offsetof(struct DLInformationTransfer_r8_IEs__dedicatedInfoType, choice.dedicatedInfoCDMA2000_HRPD), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DedicatedInfoCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dedicatedInfoCDMA2000-HRPD" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_dedicatedInfoType_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* dedicatedInfoNAS at 242 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* dedicatedInfoCDMA2000-1XRTT at 243 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* dedicatedInfoCDMA2000-HRPD at 245 */ -}; -static asn_CHOICE_specifics_t asn_SPC_dedicatedInfoType_specs_2 = { - sizeof(struct DLInformationTransfer_r8_IEs__dedicatedInfoType), - offsetof(struct DLInformationTransfer_r8_IEs__dedicatedInfoType, _asn_ctx), - offsetof(struct DLInformationTransfer_r8_IEs__dedicatedInfoType, present), - sizeof(((struct DLInformationTransfer_r8_IEs__dedicatedInfoType *)0)->present), - asn_MAP_dedicatedInfoType_tag2el_2, - 3, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_dedicatedInfoType_2 = { - "dedicatedInfoType", - "dedicatedInfoType", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_dedicatedInfoType_constr_2, - asn_MBR_dedicatedInfoType_2, - 3, /* Elements count */ - &asn_SPC_dedicatedInfoType_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_DLInformationTransfer_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct DLInformationTransfer_r8_IEs, dedicatedInfoType), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_dedicatedInfoType_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dedicatedInfoType" - }, - { ATF_POINTER, 1, offsetof(struct DLInformationTransfer_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DLInformationTransfer_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_DLInformationTransfer_r8_IEs_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_DLInformationTransfer_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_DLInformationTransfer_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* dedicatedInfoType at 242 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 246 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_DLInformationTransfer_r8_IEs_specs_1 = { - sizeof(struct DLInformationTransfer_r8_IEs), - offsetof(struct DLInformationTransfer_r8_IEs, _asn_ctx), - asn_MAP_DLInformationTransfer_r8_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_DLInformationTransfer_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_DLInformationTransfer_r8_IEs = { - "DLInformationTransfer-r8-IEs", - "DLInformationTransfer-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DLInformationTransfer_r8_IEs_tags_1, - sizeof(asn_DEF_DLInformationTransfer_r8_IEs_tags_1) - /sizeof(asn_DEF_DLInformationTransfer_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_DLInformationTransfer_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_DLInformationTransfer_r8_IEs_tags_1) - /sizeof(asn_DEF_DLInformationTransfer_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_DLInformationTransfer_r8_IEs_1, - 2, /* Elements count */ - &asn_SPC_DLInformationTransfer_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DLInformationTransfer-v8a0-IEs.c b/lte/rrc/lib/asn/src/DLInformationTransfer-v8a0-IEs.c deleted file mode 100644 index 6b716485c..000000000 --- a/lte/rrc/lib/asn/src/DLInformationTransfer-v8a0-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DLInformationTransfer-v8a0-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct DLInformationTransfer_v8a0_IEs__nonCriticalExtension), - offsetof(struct DLInformationTransfer_v8a0_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_DLInformationTransfer_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct DLInformationTransfer_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct DLInformationTransfer_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_DLInformationTransfer_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_DLInformationTransfer_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_DLInformationTransfer_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 250 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 251 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_DLInformationTransfer_v8a0_IEs_specs_1 = { - sizeof(struct DLInformationTransfer_v8a0_IEs), - offsetof(struct DLInformationTransfer_v8a0_IEs, _asn_ctx), - asn_MAP_DLInformationTransfer_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_DLInformationTransfer_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_DLInformationTransfer_v8a0_IEs = { - "DLInformationTransfer-v8a0-IEs", - "DLInformationTransfer-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DLInformationTransfer_v8a0_IEs_tags_1, - sizeof(asn_DEF_DLInformationTransfer_v8a0_IEs_tags_1) - /sizeof(asn_DEF_DLInformationTransfer_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_DLInformationTransfer_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_DLInformationTransfer_v8a0_IEs_tags_1) - /sizeof(asn_DEF_DLInformationTransfer_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_DLInformationTransfer_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_DLInformationTransfer_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DLInformationTransfer.c b/lte/rrc/lib/asn/src/DLInformationTransfer.c deleted file mode 100644 index 54fe3a3e4..000000000 --- a/lte/rrc/lib/asn/src/DLInformationTransfer.c +++ /dev/null @@ -1,254 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DLInformationTransfer.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_4 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct DLInformationTransfer__criticalExtensions__c1, choice.dlInformationTransfer_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DLInformationTransfer_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dlInformationTransfer-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct DLInformationTransfer__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct DLInformationTransfer__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct DLInformationTransfer__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* dlInformationTransfer-r8 at 233 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 at 234 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 234 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 234 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_4 = { - sizeof(struct DLInformationTransfer__criticalExtensions__c1), - offsetof(struct DLInformationTransfer__criticalExtensions__c1, _asn_ctx), - offsetof(struct DLInformationTransfer__criticalExtensions__c1, present), - sizeof(((struct DLInformationTransfer__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_4, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_4 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_4, - asn_MBR_c1_4, - 4, /* Elements count */ - &asn_SPC_c1_specs_4 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_9 = { - sizeof(struct DLInformationTransfer__criticalExtensions__criticalExtensionsFuture), - offsetof(struct DLInformationTransfer__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_9 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_9, - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_9, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct DLInformationTransfer__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct DLInformationTransfer__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 233 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 236 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct DLInformationTransfer__criticalExtensions), - offsetof(struct DLInformationTransfer__criticalExtensions, _asn_ctx), - offsetof(struct DLInformationTransfer__criticalExtensions, present), - sizeof(((struct DLInformationTransfer__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_DLInformationTransfer_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct DLInformationTransfer, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct DLInformationTransfer, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_DLInformationTransfer_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_DLInformationTransfer_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 230 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 235 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_DLInformationTransfer_specs_1 = { - sizeof(struct DLInformationTransfer), - offsetof(struct DLInformationTransfer, _asn_ctx), - asn_MAP_DLInformationTransfer_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_DLInformationTransfer = { - "DLInformationTransfer", - "DLInformationTransfer", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DLInformationTransfer_tags_1, - sizeof(asn_DEF_DLInformationTransfer_tags_1) - /sizeof(asn_DEF_DLInformationTransfer_tags_1[0]), /* 1 */ - asn_DEF_DLInformationTransfer_tags_1, /* Same as above */ - sizeof(asn_DEF_DLInformationTransfer_tags_1) - /sizeof(asn_DEF_DLInformationTransfer_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_DLInformationTransfer_1, - 2, /* Elements count */ - &asn_SPC_DLInformationTransfer_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DRB-CountInfo.c b/lte/rrc/lib/asn/src/DRB-CountInfo.c deleted file mode 100644 index ba5ff9974..000000000 --- a/lte/rrc/lib/asn/src/DRB-CountInfo.c +++ /dev/null @@ -1,400 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DRB-CountInfo.h" - -static int -count_Uplink_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - unsigned long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const unsigned long *)sptr; - - /* Constraint check succeeded */ - return 0; -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -count_Uplink_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - /* td->specifics = asn_DEF_NativeInteger.specifics; // Defined explicitly */ -} - -static void -count_Uplink_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - count_Uplink_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -count_Uplink_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - count_Uplink_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -count_Uplink_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - count_Uplink_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -count_Uplink_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - count_Uplink_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -count_Uplink_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - count_Uplink_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -count_Uplink_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - count_Uplink_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -count_Uplink_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - count_Uplink_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -count_Uplink_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - count_Uplink_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -count_Downlink_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - unsigned long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const unsigned long *)sptr; - - /* Constraint check succeeded */ - return 0; -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -count_Downlink_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - /* td->specifics = asn_DEF_NativeInteger.specifics; // Defined explicitly */ -} - -static void -count_Downlink_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - count_Downlink_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -count_Downlink_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - count_Downlink_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -count_Downlink_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - count_Downlink_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -count_Downlink_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - count_Downlink_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -count_Downlink_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - count_Downlink_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -count_Downlink_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - count_Downlink_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -count_Downlink_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - count_Downlink_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -count_Downlink_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - count_Downlink_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_count_Uplink_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - unsigned long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const unsigned long *)sptr; - - /* Constraint check succeeded */ - return 0; -} - -static int -memb_count_Downlink_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - unsigned long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const unsigned long *)sptr; - - /* Constraint check succeeded */ - return 0; -} - -static asn_per_constraints_t asn_PER_type_count_Uplink_constr_3 = { - { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_count_Downlink_constr_4 = { - { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_count_Uplink_constr_3 = { - { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_count_Downlink_constr_4 = { - { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_specifics_t asn_SPC_count_Uplink_specs_3 = { - 0, 0, 0, 0, 0, - 0, /* Native long size */ - 1 /* Unsigned representation */ -}; -static ber_tlv_tag_t asn_DEF_count_Uplink_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_count_Uplink_3 = { - "count-Uplink", - "count-Uplink", - count_Uplink_3_free, - count_Uplink_3_print, - count_Uplink_3_constraint, - count_Uplink_3_decode_ber, - count_Uplink_3_encode_der, - count_Uplink_3_decode_xer, - count_Uplink_3_encode_xer, - count_Uplink_3_decode_uper, - count_Uplink_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_count_Uplink_tags_3, - sizeof(asn_DEF_count_Uplink_tags_3) - /sizeof(asn_DEF_count_Uplink_tags_3[0]) - 1, /* 1 */ - asn_DEF_count_Uplink_tags_3, /* Same as above */ - sizeof(asn_DEF_count_Uplink_tags_3) - /sizeof(asn_DEF_count_Uplink_tags_3[0]), /* 2 */ - &asn_PER_type_count_Uplink_constr_3, - 0, 0, /* No members */ - &asn_SPC_count_Uplink_specs_3 /* Additional specs */ -}; - -static asn_INTEGER_specifics_t asn_SPC_count_Downlink_specs_4 = { - 0, 0, 0, 0, 0, - 0, /* Native long size */ - 1 /* Unsigned representation */ -}; -static ber_tlv_tag_t asn_DEF_count_Downlink_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_count_Downlink_4 = { - "count-Downlink", - "count-Downlink", - count_Downlink_4_free, - count_Downlink_4_print, - count_Downlink_4_constraint, - count_Downlink_4_decode_ber, - count_Downlink_4_encode_der, - count_Downlink_4_decode_xer, - count_Downlink_4_encode_xer, - count_Downlink_4_decode_uper, - count_Downlink_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_count_Downlink_tags_4, - sizeof(asn_DEF_count_Downlink_tags_4) - /sizeof(asn_DEF_count_Downlink_tags_4[0]) - 1, /* 1 */ - asn_DEF_count_Downlink_tags_4, /* Same as above */ - sizeof(asn_DEF_count_Downlink_tags_4) - /sizeof(asn_DEF_count_Downlink_tags_4[0]), /* 2 */ - &asn_PER_type_count_Downlink_constr_4, - 0, 0, /* No members */ - &asn_SPC_count_Downlink_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_DRB_CountInfo_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct DRB_CountInfo, drb_Identity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DRB_Identity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "drb-Identity" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRB_CountInfo, count_Uplink), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_count_Uplink_3, - memb_count_Uplink_constraint_1, - &asn_PER_memb_count_Uplink_constr_3, - 0, - "count-Uplink" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRB_CountInfo, count_Downlink), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_count_Downlink_4, - memb_count_Downlink_constraint_1, - &asn_PER_memb_count_Downlink_constr_4, - 0, - "count-Downlink" - }, -}; -static ber_tlv_tag_t asn_DEF_DRB_CountInfo_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_DRB_CountInfo_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* drb-Identity at 186 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* count-Uplink at 187 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* count-Downlink at 188 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_DRB_CountInfo_specs_1 = { - sizeof(struct DRB_CountInfo), - offsetof(struct DRB_CountInfo, _asn_ctx), - asn_MAP_DRB_CountInfo_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_DRB_CountInfo = { - "DRB-CountInfo", - "DRB-CountInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DRB_CountInfo_tags_1, - sizeof(asn_DEF_DRB_CountInfo_tags_1) - /sizeof(asn_DEF_DRB_CountInfo_tags_1[0]), /* 1 */ - asn_DEF_DRB_CountInfo_tags_1, /* Same as above */ - sizeof(asn_DEF_DRB_CountInfo_tags_1) - /sizeof(asn_DEF_DRB_CountInfo_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_DRB_CountInfo_1, - 3, /* Elements count */ - &asn_SPC_DRB_CountInfo_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DRB-CountInfoList.c b/lte/rrc/lib/asn/src/DRB-CountInfoList.c deleted file mode 100644 index 930f57d74..000000000 --- a/lte/rrc/lib/asn/src/DRB-CountInfoList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DRB-CountInfoList.h" - -static asn_per_constraints_t asn_PER_type_DRB_CountInfoList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 0, 11 } /* (SIZE(0..11)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_DRB_CountInfoList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_DRB_CountInfo, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_DRB_CountInfoList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_DRB_CountInfoList_specs_1 = { - sizeof(struct DRB_CountInfoList), - offsetof(struct DRB_CountInfoList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_DRB_CountInfoList = { - "DRB-CountInfoList", - "DRB-CountInfoList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DRB_CountInfoList_tags_1, - sizeof(asn_DEF_DRB_CountInfoList_tags_1) - /sizeof(asn_DEF_DRB_CountInfoList_tags_1[0]), /* 1 */ - asn_DEF_DRB_CountInfoList_tags_1, /* Same as above */ - sizeof(asn_DEF_DRB_CountInfoList_tags_1) - /sizeof(asn_DEF_DRB_CountInfoList_tags_1[0]), /* 1 */ - &asn_PER_type_DRB_CountInfoList_constr_1, - asn_MBR_DRB_CountInfoList_1, - 1, /* Single element */ - &asn_SPC_DRB_CountInfoList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DRB-CountMSB-Info.c b/lte/rrc/lib/asn/src/DRB-CountMSB-Info.c deleted file mode 100644 index 3809b2b36..000000000 --- a/lte/rrc/lib/asn/src/DRB-CountMSB-Info.c +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DRB-CountMSB-Info.h" - -static int -memb_countMSB_Uplink_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 33554431)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_countMSB_Downlink_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 33554431)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_countMSB_Uplink_constr_3 = { - { APC_CONSTRAINED, 25, -1, 0, 33554431 } /* (0..33554431) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_countMSB_Downlink_constr_4 = { - { APC_CONSTRAINED, 25, -1, 0, 33554431 } /* (0..33554431) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_DRB_CountMSB_Info_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct DRB_CountMSB_Info, drb_Identity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DRB_Identity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "drb-Identity" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRB_CountMSB_Info, countMSB_Uplink), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_countMSB_Uplink_constraint_1, - &asn_PER_memb_countMSB_Uplink_constr_3, - 0, - "countMSB-Uplink" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRB_CountMSB_Info, countMSB_Downlink), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_countMSB_Downlink_constraint_1, - &asn_PER_memb_countMSB_Downlink_constr_4, - 0, - "countMSB-Downlink" - }, -}; -static ber_tlv_tag_t asn_DEF_DRB_CountMSB_Info_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_DRB_CountMSB_Info_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* drb-Identity at 159 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* countMSB-Uplink at 160 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* countMSB-Downlink at 161 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_DRB_CountMSB_Info_specs_1 = { - sizeof(struct DRB_CountMSB_Info), - offsetof(struct DRB_CountMSB_Info, _asn_ctx), - asn_MAP_DRB_CountMSB_Info_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_DRB_CountMSB_Info = { - "DRB-CountMSB-Info", - "DRB-CountMSB-Info", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DRB_CountMSB_Info_tags_1, - sizeof(asn_DEF_DRB_CountMSB_Info_tags_1) - /sizeof(asn_DEF_DRB_CountMSB_Info_tags_1[0]), /* 1 */ - asn_DEF_DRB_CountMSB_Info_tags_1, /* Same as above */ - sizeof(asn_DEF_DRB_CountMSB_Info_tags_1) - /sizeof(asn_DEF_DRB_CountMSB_Info_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_DRB_CountMSB_Info_1, - 3, /* Elements count */ - &asn_SPC_DRB_CountMSB_Info_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DRB-CountMSB-InfoList.c b/lte/rrc/lib/asn/src/DRB-CountMSB-InfoList.c deleted file mode 100644 index 875b2e939..000000000 --- a/lte/rrc/lib/asn/src/DRB-CountMSB-InfoList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DRB-CountMSB-InfoList.h" - -static asn_per_constraints_t asn_PER_type_DRB_CountMSB_InfoList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 11 } /* (SIZE(1..11)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_DRB_CountMSB_InfoList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_DRB_CountMSB_Info, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_DRB_CountMSB_InfoList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_DRB_CountMSB_InfoList_specs_1 = { - sizeof(struct DRB_CountMSB_InfoList), - offsetof(struct DRB_CountMSB_InfoList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_DRB_CountMSB_InfoList = { - "DRB-CountMSB-InfoList", - "DRB-CountMSB-InfoList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DRB_CountMSB_InfoList_tags_1, - sizeof(asn_DEF_DRB_CountMSB_InfoList_tags_1) - /sizeof(asn_DEF_DRB_CountMSB_InfoList_tags_1[0]), /* 1 */ - asn_DEF_DRB_CountMSB_InfoList_tags_1, /* Same as above */ - sizeof(asn_DEF_DRB_CountMSB_InfoList_tags_1) - /sizeof(asn_DEF_DRB_CountMSB_InfoList_tags_1[0]), /* 1 */ - &asn_PER_type_DRB_CountMSB_InfoList_constr_1, - asn_MBR_DRB_CountMSB_InfoList_1, - 1, /* Single element */ - &asn_SPC_DRB_CountMSB_InfoList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DRB-Identity.c b/lte/rrc/lib/asn/src/DRB-Identity.c deleted file mode 100644 index 1a73747a0..000000000 --- a/lte/rrc/lib/asn/src/DRB-Identity.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DRB-Identity.h" - -int -DRB_Identity_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 32)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -DRB_Identity_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -DRB_Identity_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - DRB_Identity_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -DRB_Identity_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - DRB_Identity_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -DRB_Identity_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - DRB_Identity_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -DRB_Identity_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - DRB_Identity_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -DRB_Identity_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - DRB_Identity_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -DRB_Identity_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - DRB_Identity_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -DRB_Identity_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - DRB_Identity_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -DRB_Identity_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - DRB_Identity_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_DRB_Identity_constr_1 = { - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (1..32) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_DRB_Identity_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_DRB_Identity = { - "DRB-Identity", - "DRB-Identity", - DRB_Identity_free, - DRB_Identity_print, - DRB_Identity_constraint, - DRB_Identity_decode_ber, - DRB_Identity_encode_der, - DRB_Identity_decode_xer, - DRB_Identity_encode_xer, - DRB_Identity_decode_uper, - DRB_Identity_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DRB_Identity_tags_1, - sizeof(asn_DEF_DRB_Identity_tags_1) - /sizeof(asn_DEF_DRB_Identity_tags_1[0]), /* 1 */ - asn_DEF_DRB_Identity_tags_1, /* Same as above */ - sizeof(asn_DEF_DRB_Identity_tags_1) - /sizeof(asn_DEF_DRB_Identity_tags_1[0]), /* 1 */ - &asn_PER_type_DRB_Identity_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/DRB-ToAddMod.c b/lte/rrc/lib/asn/src/DRB-ToAddMod.c deleted file mode 100644 index b58229a04..000000000 --- a/lte/rrc/lib/asn/src/DRB-ToAddMod.c +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DRB-ToAddMod.h" - -static int -memb_eps_BearerIdentity_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_logicalChannelIdentity_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 3 && value <= 10)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_eps_BearerIdentity_constr_2 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_logicalChannelIdentity_constr_6 = { - { APC_CONSTRAINED, 3, 3, 3, 10 } /* (3..10) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_DRB_ToAddMod_1[] = { - { ATF_POINTER, 1, offsetof(struct DRB_ToAddMod, eps_BearerIdentity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_eps_BearerIdentity_constraint_1, - &asn_PER_memb_eps_BearerIdentity_constr_2, - 0, - "eps-BearerIdentity" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRB_ToAddMod, drb_Identity), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DRB_Identity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "drb-Identity" - }, - { ATF_POINTER, 4, offsetof(struct DRB_ToAddMod, pdcp_Config), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PDCP_Config, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pdcp-Config" - }, - { ATF_POINTER, 3, offsetof(struct DRB_ToAddMod, rlc_Config), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_RLC_Config, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rlc-Config" - }, - { ATF_POINTER, 2, offsetof(struct DRB_ToAddMod, logicalChannelIdentity), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_logicalChannelIdentity_constraint_1, - &asn_PER_memb_logicalChannelIdentity_constr_6, - 0, - "logicalChannelIdentity" - }, - { ATF_POINTER, 1, offsetof(struct DRB_ToAddMod, logicalChannelConfig), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_LogicalChannelConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "logicalChannelConfig" - }, -}; -static int asn_MAP_DRB_ToAddMod_oms_1[] = { 0, 2, 3, 4, 5 }; -static ber_tlv_tag_t asn_DEF_DRB_ToAddMod_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_DRB_ToAddMod_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eps-BearerIdentity at 2482 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* drb-Identity at 2483 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pdcp-Config at 2484 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* rlc-Config at 2485 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* logicalChannelIdentity at 2486 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* logicalChannelConfig at 2487 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_DRB_ToAddMod_specs_1 = { - sizeof(struct DRB_ToAddMod), - offsetof(struct DRB_ToAddMod, _asn_ctx), - asn_MAP_DRB_ToAddMod_tag2el_1, - 6, /* Count of tags in the map */ - asn_MAP_DRB_ToAddMod_oms_1, /* Optional members */ - 5, 0, /* Root/Additions */ - 5, /* Start extensions */ - 7 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_DRB_ToAddMod = { - "DRB-ToAddMod", - "DRB-ToAddMod", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DRB_ToAddMod_tags_1, - sizeof(asn_DEF_DRB_ToAddMod_tags_1) - /sizeof(asn_DEF_DRB_ToAddMod_tags_1[0]), /* 1 */ - asn_DEF_DRB_ToAddMod_tags_1, /* Same as above */ - sizeof(asn_DEF_DRB_ToAddMod_tags_1) - /sizeof(asn_DEF_DRB_ToAddMod_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_DRB_ToAddMod_1, - 6, /* Elements count */ - &asn_SPC_DRB_ToAddMod_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DRB-ToAddModList.c b/lte/rrc/lib/asn/src/DRB-ToAddModList.c deleted file mode 100644 index 0a55871f4..000000000 --- a/lte/rrc/lib/asn/src/DRB-ToAddModList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DRB-ToAddModList.h" - -static asn_per_constraints_t asn_PER_type_DRB_ToAddModList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 11 } /* (SIZE(1..11)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_DRB_ToAddModList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_DRB_ToAddMod, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_DRB_ToAddModList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_DRB_ToAddModList_specs_1 = { - sizeof(struct DRB_ToAddModList), - offsetof(struct DRB_ToAddModList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_DRB_ToAddModList = { - "DRB-ToAddModList", - "DRB-ToAddModList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DRB_ToAddModList_tags_1, - sizeof(asn_DEF_DRB_ToAddModList_tags_1) - /sizeof(asn_DEF_DRB_ToAddModList_tags_1[0]), /* 1 */ - asn_DEF_DRB_ToAddModList_tags_1, /* Same as above */ - sizeof(asn_DEF_DRB_ToAddModList_tags_1) - /sizeof(asn_DEF_DRB_ToAddModList_tags_1[0]), /* 1 */ - &asn_PER_type_DRB_ToAddModList_constr_1, - asn_MBR_DRB_ToAddModList_1, - 1, /* Single element */ - &asn_SPC_DRB_ToAddModList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DRB-ToReleaseList.c b/lte/rrc/lib/asn/src/DRB-ToReleaseList.c deleted file mode 100644 index 0a6398fad..000000000 --- a/lte/rrc/lib/asn/src/DRB-ToReleaseList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DRB-ToReleaseList.h" - -static asn_per_constraints_t asn_PER_type_DRB_ToReleaseList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 11 } /* (SIZE(1..11)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_DRB_ToReleaseList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_DRB_Identity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_DRB_ToReleaseList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_DRB_ToReleaseList_specs_1 = { - sizeof(struct DRB_ToReleaseList), - offsetof(struct DRB_ToReleaseList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_DRB_ToReleaseList = { - "DRB-ToReleaseList", - "DRB-ToReleaseList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DRB_ToReleaseList_tags_1, - sizeof(asn_DEF_DRB_ToReleaseList_tags_1) - /sizeof(asn_DEF_DRB_ToReleaseList_tags_1[0]), /* 1 */ - asn_DEF_DRB_ToReleaseList_tags_1, /* Same as above */ - sizeof(asn_DEF_DRB_ToReleaseList_tags_1) - /sizeof(asn_DEF_DRB_ToReleaseList_tags_1[0]), /* 1 */ - &asn_PER_type_DRB_ToReleaseList_constr_1, - asn_MBR_DRB_ToReleaseList_1, - 1, /* Single element */ - &asn_SPC_DRB_ToReleaseList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DRX-Config.c b/lte/rrc/lib/asn/src/DRX-Config.c deleted file mode 100644 index 3444e3c60..000000000 --- a/lte/rrc/lib/asn/src/DRX-Config.c +++ /dev/null @@ -1,1626 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DRX-Config.h" - -static int -onDurationTimer_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -onDurationTimer_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -onDurationTimer_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - onDurationTimer_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -onDurationTimer_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - onDurationTimer_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -onDurationTimer_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - onDurationTimer_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -onDurationTimer_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - onDurationTimer_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -onDurationTimer_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - onDurationTimer_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -onDurationTimer_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - onDurationTimer_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -onDurationTimer_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - onDurationTimer_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -onDurationTimer_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - onDurationTimer_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -drx_InactivityTimer_21_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -drx_InactivityTimer_21_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -drx_InactivityTimer_21_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - drx_InactivityTimer_21_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -drx_InactivityTimer_21_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - drx_InactivityTimer_21_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -drx_InactivityTimer_21_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - drx_InactivityTimer_21_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -drx_InactivityTimer_21_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - drx_InactivityTimer_21_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -drx_InactivityTimer_21_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - drx_InactivityTimer_21_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -drx_InactivityTimer_21_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - drx_InactivityTimer_21_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -drx_InactivityTimer_21_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - drx_InactivityTimer_21_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -drx_InactivityTimer_21_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - drx_InactivityTimer_21_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -drx_RetransmissionTimer_54_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -drx_RetransmissionTimer_54_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -drx_RetransmissionTimer_54_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - drx_RetransmissionTimer_54_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -drx_RetransmissionTimer_54_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - drx_RetransmissionTimer_54_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -drx_RetransmissionTimer_54_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - drx_RetransmissionTimer_54_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -drx_RetransmissionTimer_54_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - drx_RetransmissionTimer_54_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -drx_RetransmissionTimer_54_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - drx_RetransmissionTimer_54_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -drx_RetransmissionTimer_54_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - drx_RetransmissionTimer_54_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -drx_RetransmissionTimer_54_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - drx_RetransmissionTimer_54_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -drx_RetransmissionTimer_54_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - drx_RetransmissionTimer_54_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_sf10_constraint_63(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 9)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_sf20_constraint_63(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 19)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_sf32_constraint_63(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 31)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_sf40_constraint_63(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 39)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_sf64_constraint_63(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 63)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_sf80_constraint_63(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 79)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_sf128_constraint_63(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 127)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_sf160_constraint_63(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 159)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_sf256_constraint_63(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 255)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_sf320_constraint_63(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 319)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_sf512_constraint_63(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 511)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_sf640_constraint_63(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 639)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_sf1024_constraint_63(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 1023)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_sf1280_constraint_63(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 1279)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_sf2048_constraint_63(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 2047)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_sf2560_constraint_63(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 2559)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -shortDRX_Cycle_81_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -shortDRX_Cycle_81_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -shortDRX_Cycle_81_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - shortDRX_Cycle_81_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -shortDRX_Cycle_81_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - shortDRX_Cycle_81_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -shortDRX_Cycle_81_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - shortDRX_Cycle_81_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -shortDRX_Cycle_81_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - shortDRX_Cycle_81_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -shortDRX_Cycle_81_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - shortDRX_Cycle_81_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -shortDRX_Cycle_81_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - shortDRX_Cycle_81_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -shortDRX_Cycle_81_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - shortDRX_Cycle_81_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -shortDRX_Cycle_81_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - shortDRX_Cycle_81_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_drxShortCycleTimer_constraint_80(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_onDurationTimer_constr_4 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_drx_InactivityTimer_constr_21 = { - { APC_CONSTRAINED, 5, 5, 0, 31 } /* (0..31) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_drx_RetransmissionTimer_constr_54 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sf10_constr_64 = { - { APC_CONSTRAINED, 4, 4, 0, 9 } /* (0..9) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sf20_constr_65 = { - { APC_CONSTRAINED, 5, 5, 0, 19 } /* (0..19) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sf32_constr_66 = { - { APC_CONSTRAINED, 5, 5, 0, 31 } /* (0..31) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sf40_constr_67 = { - { APC_CONSTRAINED, 6, 6, 0, 39 } /* (0..39) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sf64_constr_68 = { - { APC_CONSTRAINED, 6, 6, 0, 63 } /* (0..63) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sf80_constr_69 = { - { APC_CONSTRAINED, 7, 7, 0, 79 } /* (0..79) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sf128_constr_70 = { - { APC_CONSTRAINED, 7, 7, 0, 127 } /* (0..127) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sf160_constr_71 = { - { APC_CONSTRAINED, 8, 8, 0, 159 } /* (0..159) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sf256_constr_72 = { - { APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sf320_constr_73 = { - { APC_CONSTRAINED, 9, 9, 0, 319 } /* (0..319) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sf512_constr_74 = { - { APC_CONSTRAINED, 9, 9, 0, 511 } /* (0..511) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sf640_constr_75 = { - { APC_CONSTRAINED, 10, 10, 0, 639 } /* (0..639) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sf1024_constr_76 = { - { APC_CONSTRAINED, 10, 10, 0, 1023 } /* (0..1023) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sf1280_constr_77 = { - { APC_CONSTRAINED, 11, 11, 0, 1279 } /* (0..1279) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sf2048_constr_78 = { - { APC_CONSTRAINED, 11, 11, 0, 2047 } /* (0..2047) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sf2560_constr_79 = { - { APC_CONSTRAINED, 12, 12, 0, 2559 } /* (0..2559) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_longDRX_CycleStartOffset_constr_63 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_shortDRX_Cycle_constr_81 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_drxShortCycleTimer_constr_98 = { - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (1..16) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_DRX_Config_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_onDurationTimer_value2enum_4[] = { - { 0, 4, "psf1" }, - { 1, 4, "psf2" }, - { 2, 4, "psf3" }, - { 3, 4, "psf4" }, - { 4, 4, "psf5" }, - { 5, 4, "psf6" }, - { 6, 4, "psf8" }, - { 7, 5, "psf10" }, - { 8, 5, "psf20" }, - { 9, 5, "psf30" }, - { 10, 5, "psf40" }, - { 11, 5, "psf50" }, - { 12, 5, "psf60" }, - { 13, 5, "psf80" }, - { 14, 6, "psf100" }, - { 15, 6, "psf200" } -}; -static unsigned int asn_MAP_onDurationTimer_enum2value_4[] = { - 0, /* psf1(0) */ - 7, /* psf10(7) */ - 14, /* psf100(14) */ - 1, /* psf2(1) */ - 8, /* psf20(8) */ - 15, /* psf200(15) */ - 2, /* psf3(2) */ - 9, /* psf30(9) */ - 3, /* psf4(3) */ - 10, /* psf40(10) */ - 4, /* psf5(4) */ - 11, /* psf50(11) */ - 5, /* psf6(5) */ - 12, /* psf60(12) */ - 6, /* psf8(6) */ - 13 /* psf80(13) */ -}; -static asn_INTEGER_specifics_t asn_SPC_onDurationTimer_specs_4 = { - asn_MAP_onDurationTimer_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_onDurationTimer_enum2value_4, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_onDurationTimer_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_onDurationTimer_4 = { - "onDurationTimer", - "onDurationTimer", - onDurationTimer_4_free, - onDurationTimer_4_print, - onDurationTimer_4_constraint, - onDurationTimer_4_decode_ber, - onDurationTimer_4_encode_der, - onDurationTimer_4_decode_xer, - onDurationTimer_4_encode_xer, - onDurationTimer_4_decode_uper, - onDurationTimer_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_onDurationTimer_tags_4, - sizeof(asn_DEF_onDurationTimer_tags_4) - /sizeof(asn_DEF_onDurationTimer_tags_4[0]) - 1, /* 1 */ - asn_DEF_onDurationTimer_tags_4, /* Same as above */ - sizeof(asn_DEF_onDurationTimer_tags_4) - /sizeof(asn_DEF_onDurationTimer_tags_4[0]), /* 2 */ - &asn_PER_type_onDurationTimer_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_onDurationTimer_specs_4 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_drx_InactivityTimer_value2enum_21[] = { - { 0, 4, "psf1" }, - { 1, 4, "psf2" }, - { 2, 4, "psf3" }, - { 3, 4, "psf4" }, - { 4, 4, "psf5" }, - { 5, 4, "psf6" }, - { 6, 4, "psf8" }, - { 7, 5, "psf10" }, - { 8, 5, "psf20" }, - { 9, 5, "psf30" }, - { 10, 5, "psf40" }, - { 11, 5, "psf50" }, - { 12, 5, "psf60" }, - { 13, 5, "psf80" }, - { 14, 6, "psf100" }, - { 15, 6, "psf200" }, - { 16, 6, "psf300" }, - { 17, 6, "psf500" }, - { 18, 6, "psf750" }, - { 19, 7, "psf1280" }, - { 20, 7, "psf1920" }, - { 21, 7, "psf2560" }, - { 22, 10, "psf0-v1020" }, - { 23, 6, "spare9" }, - { 24, 6, "spare8" }, - { 25, 6, "spare7" }, - { 26, 6, "spare6" }, - { 27, 6, "spare5" }, - { 28, 6, "spare4" }, - { 29, 6, "spare3" }, - { 30, 6, "spare2" }, - { 31, 6, "spare1" } -}; -static unsigned int asn_MAP_drx_InactivityTimer_enum2value_21[] = { - 22, /* psf0-v1020(22) */ - 0, /* psf1(0) */ - 7, /* psf10(7) */ - 14, /* psf100(14) */ - 19, /* psf1280(19) */ - 20, /* psf1920(20) */ - 1, /* psf2(1) */ - 8, /* psf20(8) */ - 15, /* psf200(15) */ - 21, /* psf2560(21) */ - 2, /* psf3(2) */ - 9, /* psf30(9) */ - 16, /* psf300(16) */ - 3, /* psf4(3) */ - 10, /* psf40(10) */ - 4, /* psf5(4) */ - 11, /* psf50(11) */ - 17, /* psf500(17) */ - 5, /* psf6(5) */ - 12, /* psf60(12) */ - 18, /* psf750(18) */ - 6, /* psf8(6) */ - 13, /* psf80(13) */ - 31, /* spare1(31) */ - 30, /* spare2(30) */ - 29, /* spare3(29) */ - 28, /* spare4(28) */ - 27, /* spare5(27) */ - 26, /* spare6(26) */ - 25, /* spare7(25) */ - 24, /* spare8(24) */ - 23 /* spare9(23) */ -}; -static asn_INTEGER_specifics_t asn_SPC_drx_InactivityTimer_specs_21 = { - asn_MAP_drx_InactivityTimer_value2enum_21, /* "tag" => N; sorted by tag */ - asn_MAP_drx_InactivityTimer_enum2value_21, /* N => "tag"; sorted by N */ - 32, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_drx_InactivityTimer_tags_21[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_drx_InactivityTimer_21 = { - "drx-InactivityTimer", - "drx-InactivityTimer", - drx_InactivityTimer_21_free, - drx_InactivityTimer_21_print, - drx_InactivityTimer_21_constraint, - drx_InactivityTimer_21_decode_ber, - drx_InactivityTimer_21_encode_der, - drx_InactivityTimer_21_decode_xer, - drx_InactivityTimer_21_encode_xer, - drx_InactivityTimer_21_decode_uper, - drx_InactivityTimer_21_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_drx_InactivityTimer_tags_21, - sizeof(asn_DEF_drx_InactivityTimer_tags_21) - /sizeof(asn_DEF_drx_InactivityTimer_tags_21[0]) - 1, /* 1 */ - asn_DEF_drx_InactivityTimer_tags_21, /* Same as above */ - sizeof(asn_DEF_drx_InactivityTimer_tags_21) - /sizeof(asn_DEF_drx_InactivityTimer_tags_21[0]), /* 2 */ - &asn_PER_type_drx_InactivityTimer_constr_21, - 0, 0, /* Defined elsewhere */ - &asn_SPC_drx_InactivityTimer_specs_21 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_drx_RetransmissionTimer_value2enum_54[] = { - { 0, 4, "psf1" }, - { 1, 4, "psf2" }, - { 2, 4, "psf4" }, - { 3, 4, "psf6" }, - { 4, 4, "psf8" }, - { 5, 5, "psf16" }, - { 6, 5, "psf24" }, - { 7, 5, "psf33" } -}; -static unsigned int asn_MAP_drx_RetransmissionTimer_enum2value_54[] = { - 0, /* psf1(0) */ - 5, /* psf16(5) */ - 1, /* psf2(1) */ - 6, /* psf24(6) */ - 7, /* psf33(7) */ - 2, /* psf4(2) */ - 3, /* psf6(3) */ - 4 /* psf8(4) */ -}; -static asn_INTEGER_specifics_t asn_SPC_drx_RetransmissionTimer_specs_54 = { - asn_MAP_drx_RetransmissionTimer_value2enum_54, /* "tag" => N; sorted by tag */ - asn_MAP_drx_RetransmissionTimer_enum2value_54, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_drx_RetransmissionTimer_tags_54[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_drx_RetransmissionTimer_54 = { - "drx-RetransmissionTimer", - "drx-RetransmissionTimer", - drx_RetransmissionTimer_54_free, - drx_RetransmissionTimer_54_print, - drx_RetransmissionTimer_54_constraint, - drx_RetransmissionTimer_54_decode_ber, - drx_RetransmissionTimer_54_encode_der, - drx_RetransmissionTimer_54_decode_xer, - drx_RetransmissionTimer_54_encode_xer, - drx_RetransmissionTimer_54_decode_uper, - drx_RetransmissionTimer_54_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_drx_RetransmissionTimer_tags_54, - sizeof(asn_DEF_drx_RetransmissionTimer_tags_54) - /sizeof(asn_DEF_drx_RetransmissionTimer_tags_54[0]) - 1, /* 1 */ - asn_DEF_drx_RetransmissionTimer_tags_54, /* Same as above */ - sizeof(asn_DEF_drx_RetransmissionTimer_tags_54) - /sizeof(asn_DEF_drx_RetransmissionTimer_tags_54[0]), /* 2 */ - &asn_PER_type_drx_RetransmissionTimer_constr_54, - 0, 0, /* Defined elsewhere */ - &asn_SPC_drx_RetransmissionTimer_specs_54 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_longDRX_CycleStartOffset_63[] = { - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup__longDRX_CycleStartOffset, choice.sf10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sf10_constraint_63, - &asn_PER_memb_sf10_constr_64, - 0, - "sf10" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup__longDRX_CycleStartOffset, choice.sf20), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sf20_constraint_63, - &asn_PER_memb_sf20_constr_65, - 0, - "sf20" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup__longDRX_CycleStartOffset, choice.sf32), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sf32_constraint_63, - &asn_PER_memb_sf32_constr_66, - 0, - "sf32" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup__longDRX_CycleStartOffset, choice.sf40), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sf40_constraint_63, - &asn_PER_memb_sf40_constr_67, - 0, - "sf40" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup__longDRX_CycleStartOffset, choice.sf64), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sf64_constraint_63, - &asn_PER_memb_sf64_constr_68, - 0, - "sf64" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup__longDRX_CycleStartOffset, choice.sf80), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sf80_constraint_63, - &asn_PER_memb_sf80_constr_69, - 0, - "sf80" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup__longDRX_CycleStartOffset, choice.sf128), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sf128_constraint_63, - &asn_PER_memb_sf128_constr_70, - 0, - "sf128" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup__longDRX_CycleStartOffset, choice.sf160), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sf160_constraint_63, - &asn_PER_memb_sf160_constr_71, - 0, - "sf160" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup__longDRX_CycleStartOffset, choice.sf256), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sf256_constraint_63, - &asn_PER_memb_sf256_constr_72, - 0, - "sf256" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup__longDRX_CycleStartOffset, choice.sf320), - (ASN_TAG_CLASS_CONTEXT | (9 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sf320_constraint_63, - &asn_PER_memb_sf320_constr_73, - 0, - "sf320" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup__longDRX_CycleStartOffset, choice.sf512), - (ASN_TAG_CLASS_CONTEXT | (10 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sf512_constraint_63, - &asn_PER_memb_sf512_constr_74, - 0, - "sf512" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup__longDRX_CycleStartOffset, choice.sf640), - (ASN_TAG_CLASS_CONTEXT | (11 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sf640_constraint_63, - &asn_PER_memb_sf640_constr_75, - 0, - "sf640" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup__longDRX_CycleStartOffset, choice.sf1024), - (ASN_TAG_CLASS_CONTEXT | (12 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sf1024_constraint_63, - &asn_PER_memb_sf1024_constr_76, - 0, - "sf1024" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup__longDRX_CycleStartOffset, choice.sf1280), - (ASN_TAG_CLASS_CONTEXT | (13 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sf1280_constraint_63, - &asn_PER_memb_sf1280_constr_77, - 0, - "sf1280" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup__longDRX_CycleStartOffset, choice.sf2048), - (ASN_TAG_CLASS_CONTEXT | (14 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sf2048_constraint_63, - &asn_PER_memb_sf2048_constr_78, - 0, - "sf2048" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup__longDRX_CycleStartOffset, choice.sf2560), - (ASN_TAG_CLASS_CONTEXT | (15 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sf2560_constraint_63, - &asn_PER_memb_sf2560_constr_79, - 0, - "sf2560" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_longDRX_CycleStartOffset_tag2el_63[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sf10 at 2056 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* sf20 at 2057 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sf32 at 2058 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* sf40 at 2059 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* sf64 at 2060 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* sf80 at 2061 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* sf128 at 2062 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* sf160 at 2063 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* sf256 at 2064 */ - { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* sf320 at 2065 */ - { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* sf512 at 2066 */ - { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 }, /* sf640 at 2067 */ - { (ASN_TAG_CLASS_CONTEXT | (12 << 2)), 12, 0, 0 }, /* sf1024 at 2068 */ - { (ASN_TAG_CLASS_CONTEXT | (13 << 2)), 13, 0, 0 }, /* sf1280 at 2069 */ - { (ASN_TAG_CLASS_CONTEXT | (14 << 2)), 14, 0, 0 }, /* sf2048 at 2070 */ - { (ASN_TAG_CLASS_CONTEXT | (15 << 2)), 15, 0, 0 } /* sf2560 at 2071 */ -}; -static asn_CHOICE_specifics_t asn_SPC_longDRX_CycleStartOffset_specs_63 = { - sizeof(struct DRX_Config__setup__longDRX_CycleStartOffset), - offsetof(struct DRX_Config__setup__longDRX_CycleStartOffset, _asn_ctx), - offsetof(struct DRX_Config__setup__longDRX_CycleStartOffset, present), - sizeof(((struct DRX_Config__setup__longDRX_CycleStartOffset *)0)->present), - asn_MAP_longDRX_CycleStartOffset_tag2el_63, - 16, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_longDRX_CycleStartOffset_63 = { - "longDRX-CycleStartOffset", - "longDRX-CycleStartOffset", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_longDRX_CycleStartOffset_constr_63, - asn_MBR_longDRX_CycleStartOffset_63, - 16, /* Elements count */ - &asn_SPC_longDRX_CycleStartOffset_specs_63 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_shortDRX_Cycle_value2enum_81[] = { - { 0, 3, "sf2" }, - { 1, 3, "sf5" }, - { 2, 3, "sf8" }, - { 3, 4, "sf10" }, - { 4, 4, "sf16" }, - { 5, 4, "sf20" }, - { 6, 4, "sf32" }, - { 7, 4, "sf40" }, - { 8, 4, "sf64" }, - { 9, 4, "sf80" }, - { 10, 5, "sf128" }, - { 11, 5, "sf160" }, - { 12, 5, "sf256" }, - { 13, 5, "sf320" }, - { 14, 5, "sf512" }, - { 15, 5, "sf640" } -}; -static unsigned int asn_MAP_shortDRX_Cycle_enum2value_81[] = { - 3, /* sf10(3) */ - 10, /* sf128(10) */ - 4, /* sf16(4) */ - 11, /* sf160(11) */ - 0, /* sf2(0) */ - 5, /* sf20(5) */ - 12, /* sf256(12) */ - 6, /* sf32(6) */ - 13, /* sf320(13) */ - 7, /* sf40(7) */ - 1, /* sf5(1) */ - 14, /* sf512(14) */ - 8, /* sf64(8) */ - 15, /* sf640(15) */ - 2, /* sf8(2) */ - 9 /* sf80(9) */ -}; -static asn_INTEGER_specifics_t asn_SPC_shortDRX_Cycle_specs_81 = { - asn_MAP_shortDRX_Cycle_value2enum_81, /* "tag" => N; sorted by tag */ - asn_MAP_shortDRX_Cycle_enum2value_81, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_shortDRX_Cycle_tags_81[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_shortDRX_Cycle_81 = { - "shortDRX-Cycle", - "shortDRX-Cycle", - shortDRX_Cycle_81_free, - shortDRX_Cycle_81_print, - shortDRX_Cycle_81_constraint, - shortDRX_Cycle_81_decode_ber, - shortDRX_Cycle_81_encode_der, - shortDRX_Cycle_81_decode_xer, - shortDRX_Cycle_81_encode_xer, - shortDRX_Cycle_81_decode_uper, - shortDRX_Cycle_81_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_shortDRX_Cycle_tags_81, - sizeof(asn_DEF_shortDRX_Cycle_tags_81) - /sizeof(asn_DEF_shortDRX_Cycle_tags_81[0]) - 1, /* 1 */ - asn_DEF_shortDRX_Cycle_tags_81, /* Same as above */ - sizeof(asn_DEF_shortDRX_Cycle_tags_81) - /sizeof(asn_DEF_shortDRX_Cycle_tags_81[0]), /* 2 */ - &asn_PER_type_shortDRX_Cycle_constr_81, - 0, 0, /* Defined elsewhere */ - &asn_SPC_shortDRX_Cycle_specs_81 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_shortDRX_80[] = { - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup__shortDRX, shortDRX_Cycle), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_shortDRX_Cycle_81, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "shortDRX-Cycle" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup__shortDRX, drxShortCycleTimer), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_drxShortCycleTimer_constraint_80, - &asn_PER_memb_drxShortCycleTimer_constr_98, - 0, - "drxShortCycleTimer" - }, -}; -static ber_tlv_tag_t asn_DEF_shortDRX_tags_80[] = { - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_shortDRX_tag2el_80[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* shortDRX-Cycle at 2075 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* drxShortCycleTimer at 2078 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_shortDRX_specs_80 = { - sizeof(struct DRX_Config__setup__shortDRX), - offsetof(struct DRX_Config__setup__shortDRX, _asn_ctx), - asn_MAP_shortDRX_tag2el_80, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_shortDRX_80 = { - "shortDRX", - "shortDRX", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_shortDRX_tags_80, - sizeof(asn_DEF_shortDRX_tags_80) - /sizeof(asn_DEF_shortDRX_tags_80[0]) - 1, /* 1 */ - asn_DEF_shortDRX_tags_80, /* Same as above */ - sizeof(asn_DEF_shortDRX_tags_80) - /sizeof(asn_DEF_shortDRX_tags_80[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_shortDRX_80, - 2, /* Elements count */ - &asn_SPC_shortDRX_specs_80 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup, onDurationTimer), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_onDurationTimer_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "onDurationTimer" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup, drx_InactivityTimer), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_drx_InactivityTimer_21, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "drx-InactivityTimer" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup, drx_RetransmissionTimer), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_drx_RetransmissionTimer_54, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "drx-RetransmissionTimer" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config__setup, longDRX_CycleStartOffset), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_longDRX_CycleStartOffset_63, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "longDRX-CycleStartOffset" - }, - { ATF_POINTER, 1, offsetof(struct DRX_Config__setup, shortDRX), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - 0, - &asn_DEF_shortDRX_80, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "shortDRX" - }, -}; -static int asn_MAP_setup_oms_3[] = { 4 }; -static ber_tlv_tag_t asn_DEF_setup_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* onDurationTimer at 2039 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* drx-InactivityTimer at 2044 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* drx-RetransmissionTimer at 2053 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* longDRX-CycleStartOffset at 2056 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* shortDRX at 2077 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_3 = { - sizeof(struct DRX_Config__setup), - offsetof(struct DRX_Config__setup, _asn_ctx), - asn_MAP_setup_tag2el_3, - 5, /* Count of tags in the map */ - asn_MAP_setup_oms_3, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_3 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_3, - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]) - 1, /* 1 */ - asn_DEF_setup_tags_3, /* Same as above */ - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_3, - 5, /* Elements count */ - &asn_SPC_setup_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_DRX_Config_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct DRX_Config, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_DRX_Config_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 2036 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 2042 */ -}; -static asn_CHOICE_specifics_t asn_SPC_DRX_Config_specs_1 = { - sizeof(struct DRX_Config), - offsetof(struct DRX_Config, _asn_ctx), - offsetof(struct DRX_Config, present), - sizeof(((struct DRX_Config *)0)->present), - asn_MAP_DRX_Config_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_DRX_Config = { - "DRX-Config", - "DRX-Config", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_DRX_Config_constr_1, - asn_MBR_DRX_Config_1, - 2, /* Elements count */ - &asn_SPC_DRX_Config_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DedicatedInfoCDMA2000.c b/lte/rrc/lib/asn/src/DedicatedInfoCDMA2000.c deleted file mode 100644 index bec74c153..000000000 --- a/lte/rrc/lib/asn/src/DedicatedInfoCDMA2000.c +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DedicatedInfoCDMA2000.h" - -int -DedicatedInfoCDMA2000_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_OCTET_STRING.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using OCTET_STRING, - * so here we adjust the DEF accordingly. - */ -static void -DedicatedInfoCDMA2000_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_OCTET_STRING.free_struct; - td->print_struct = asn_DEF_OCTET_STRING.print_struct; - td->ber_decoder = asn_DEF_OCTET_STRING.ber_decoder; - td->der_encoder = asn_DEF_OCTET_STRING.der_encoder; - td->xer_decoder = asn_DEF_OCTET_STRING.xer_decoder; - td->xer_encoder = asn_DEF_OCTET_STRING.xer_encoder; - td->uper_decoder = asn_DEF_OCTET_STRING.uper_decoder; - td->uper_encoder = asn_DEF_OCTET_STRING.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_OCTET_STRING.per_constraints; - td->elements = asn_DEF_OCTET_STRING.elements; - td->elements_count = asn_DEF_OCTET_STRING.elements_count; - td->specifics = asn_DEF_OCTET_STRING.specifics; -} - -void -DedicatedInfoCDMA2000_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - DedicatedInfoCDMA2000_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -DedicatedInfoCDMA2000_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - DedicatedInfoCDMA2000_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -DedicatedInfoCDMA2000_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - DedicatedInfoCDMA2000_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -DedicatedInfoCDMA2000_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - DedicatedInfoCDMA2000_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -DedicatedInfoCDMA2000_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - DedicatedInfoCDMA2000_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -DedicatedInfoCDMA2000_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - DedicatedInfoCDMA2000_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -DedicatedInfoCDMA2000_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - DedicatedInfoCDMA2000_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -DedicatedInfoCDMA2000_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - DedicatedInfoCDMA2000_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static ber_tlv_tag_t asn_DEF_DedicatedInfoCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_DedicatedInfoCDMA2000 = { - "DedicatedInfoCDMA2000", - "DedicatedInfoCDMA2000", - DedicatedInfoCDMA2000_free, - DedicatedInfoCDMA2000_print, - DedicatedInfoCDMA2000_constraint, - DedicatedInfoCDMA2000_decode_ber, - DedicatedInfoCDMA2000_encode_der, - DedicatedInfoCDMA2000_decode_xer, - DedicatedInfoCDMA2000_encode_xer, - DedicatedInfoCDMA2000_decode_uper, - DedicatedInfoCDMA2000_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DedicatedInfoCDMA2000_tags_1, - sizeof(asn_DEF_DedicatedInfoCDMA2000_tags_1) - /sizeof(asn_DEF_DedicatedInfoCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_DedicatedInfoCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_DedicatedInfoCDMA2000_tags_1) - /sizeof(asn_DEF_DedicatedInfoCDMA2000_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/DedicatedInfoNAS.c b/lte/rrc/lib/asn/src/DedicatedInfoNAS.c deleted file mode 100644 index 7b11d5d9c..000000000 --- a/lte/rrc/lib/asn/src/DedicatedInfoNAS.c +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DedicatedInfoNAS.h" - -int -DedicatedInfoNAS_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_OCTET_STRING.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using OCTET_STRING, - * so here we adjust the DEF accordingly. - */ -static void -DedicatedInfoNAS_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_OCTET_STRING.free_struct; - td->print_struct = asn_DEF_OCTET_STRING.print_struct; - td->ber_decoder = asn_DEF_OCTET_STRING.ber_decoder; - td->der_encoder = asn_DEF_OCTET_STRING.der_encoder; - td->xer_decoder = asn_DEF_OCTET_STRING.xer_decoder; - td->xer_encoder = asn_DEF_OCTET_STRING.xer_encoder; - td->uper_decoder = asn_DEF_OCTET_STRING.uper_decoder; - td->uper_encoder = asn_DEF_OCTET_STRING.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_OCTET_STRING.per_constraints; - td->elements = asn_DEF_OCTET_STRING.elements; - td->elements_count = asn_DEF_OCTET_STRING.elements_count; - td->specifics = asn_DEF_OCTET_STRING.specifics; -} - -void -DedicatedInfoNAS_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - DedicatedInfoNAS_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -DedicatedInfoNAS_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - DedicatedInfoNAS_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -DedicatedInfoNAS_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - DedicatedInfoNAS_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -DedicatedInfoNAS_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - DedicatedInfoNAS_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -DedicatedInfoNAS_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - DedicatedInfoNAS_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -DedicatedInfoNAS_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - DedicatedInfoNAS_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -DedicatedInfoNAS_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - DedicatedInfoNAS_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -DedicatedInfoNAS_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - DedicatedInfoNAS_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static ber_tlv_tag_t asn_DEF_DedicatedInfoNAS_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_DedicatedInfoNAS = { - "DedicatedInfoNAS", - "DedicatedInfoNAS", - DedicatedInfoNAS_free, - DedicatedInfoNAS_print, - DedicatedInfoNAS_constraint, - DedicatedInfoNAS_decode_ber, - DedicatedInfoNAS_encode_der, - DedicatedInfoNAS_decode_xer, - DedicatedInfoNAS_encode_xer, - DedicatedInfoNAS_decode_uper, - DedicatedInfoNAS_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DedicatedInfoNAS_tags_1, - sizeof(asn_DEF_DedicatedInfoNAS_tags_1) - /sizeof(asn_DEF_DedicatedInfoNAS_tags_1[0]), /* 1 */ - asn_DEF_DedicatedInfoNAS_tags_1, /* Same as above */ - sizeof(asn_DEF_DedicatedInfoNAS_tags_1) - /sizeof(asn_DEF_DedicatedInfoNAS_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/DeltaFList-PUCCH.c b/lte/rrc/lib/asn/src/DeltaFList-PUCCH.c deleted file mode 100644 index 28c867a94..000000000 --- a/lte/rrc/lib/asn/src/DeltaFList-PUCCH.c +++ /dev/null @@ -1,807 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DeltaFList-PUCCH.h" - -static int -deltaF_PUCCH_Format1_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -deltaF_PUCCH_Format1_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -deltaF_PUCCH_Format1_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - deltaF_PUCCH_Format1_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -deltaF_PUCCH_Format1_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format1_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format1_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - deltaF_PUCCH_Format1_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format1_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format1_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format1_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - deltaF_PUCCH_Format1_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format1_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format1_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format1_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - deltaF_PUCCH_Format1_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format1_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - deltaF_PUCCH_Format1_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -deltaF_PUCCH_Format1b_6_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -deltaF_PUCCH_Format1b_6_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -deltaF_PUCCH_Format1b_6_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - deltaF_PUCCH_Format1b_6_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -deltaF_PUCCH_Format1b_6_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format1b_6_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format1b_6_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - deltaF_PUCCH_Format1b_6_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format1b_6_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format1b_6_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format1b_6_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - deltaF_PUCCH_Format1b_6_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format1b_6_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format1b_6_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format1b_6_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - deltaF_PUCCH_Format1b_6_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format1b_6_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - deltaF_PUCCH_Format1b_6_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -deltaF_PUCCH_Format2_10_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -deltaF_PUCCH_Format2_10_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -deltaF_PUCCH_Format2_10_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - deltaF_PUCCH_Format2_10_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -deltaF_PUCCH_Format2_10_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format2_10_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format2_10_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - deltaF_PUCCH_Format2_10_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format2_10_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format2_10_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format2_10_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - deltaF_PUCCH_Format2_10_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format2_10_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format2_10_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format2_10_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - deltaF_PUCCH_Format2_10_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format2_10_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - deltaF_PUCCH_Format2_10_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -deltaF_PUCCH_Format2a_15_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -deltaF_PUCCH_Format2a_15_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -deltaF_PUCCH_Format2a_15_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - deltaF_PUCCH_Format2a_15_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -deltaF_PUCCH_Format2a_15_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format2a_15_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format2a_15_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - deltaF_PUCCH_Format2a_15_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format2a_15_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format2a_15_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format2a_15_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - deltaF_PUCCH_Format2a_15_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format2a_15_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format2a_15_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format2a_15_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - deltaF_PUCCH_Format2a_15_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format2a_15_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - deltaF_PUCCH_Format2a_15_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -deltaF_PUCCH_Format2b_19_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -deltaF_PUCCH_Format2b_19_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -deltaF_PUCCH_Format2b_19_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - deltaF_PUCCH_Format2b_19_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -deltaF_PUCCH_Format2b_19_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format2b_19_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format2b_19_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - deltaF_PUCCH_Format2b_19_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format2b_19_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format2b_19_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format2b_19_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - deltaF_PUCCH_Format2b_19_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format2b_19_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format2b_19_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format2b_19_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - deltaF_PUCCH_Format2b_19_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format2b_19_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - deltaF_PUCCH_Format2b_19_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_deltaF_PUCCH_Format1_constr_2 = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_deltaF_PUCCH_Format1b_constr_6 = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_deltaF_PUCCH_Format2_constr_10 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_deltaF_PUCCH_Format2a_constr_15 = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_deltaF_PUCCH_Format2b_constr_19 = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_deltaF_PUCCH_Format1_value2enum_2[] = { - { 0, 8, "deltaF-2" }, - { 1, 7, "deltaF0" }, - { 2, 7, "deltaF2" } -}; -static unsigned int asn_MAP_deltaF_PUCCH_Format1_enum2value_2[] = { - 0, /* deltaF-2(0) */ - 1, /* deltaF0(1) */ - 2 /* deltaF2(2) */ -}; -static asn_INTEGER_specifics_t asn_SPC_deltaF_PUCCH_Format1_specs_2 = { - asn_MAP_deltaF_PUCCH_Format1_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_deltaF_PUCCH_Format1_enum2value_2, /* N => "tag"; sorted by N */ - 3, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_deltaF_PUCCH_Format1_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_deltaF_PUCCH_Format1_2 = { - "deltaF-PUCCH-Format1", - "deltaF-PUCCH-Format1", - deltaF_PUCCH_Format1_2_free, - deltaF_PUCCH_Format1_2_print, - deltaF_PUCCH_Format1_2_constraint, - deltaF_PUCCH_Format1_2_decode_ber, - deltaF_PUCCH_Format1_2_encode_der, - deltaF_PUCCH_Format1_2_decode_xer, - deltaF_PUCCH_Format1_2_encode_xer, - deltaF_PUCCH_Format1_2_decode_uper, - deltaF_PUCCH_Format1_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_deltaF_PUCCH_Format1_tags_2, - sizeof(asn_DEF_deltaF_PUCCH_Format1_tags_2) - /sizeof(asn_DEF_deltaF_PUCCH_Format1_tags_2[0]) - 1, /* 1 */ - asn_DEF_deltaF_PUCCH_Format1_tags_2, /* Same as above */ - sizeof(asn_DEF_deltaF_PUCCH_Format1_tags_2) - /sizeof(asn_DEF_deltaF_PUCCH_Format1_tags_2[0]), /* 2 */ - &asn_PER_type_deltaF_PUCCH_Format1_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_deltaF_PUCCH_Format1_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_deltaF_PUCCH_Format1b_value2enum_6[] = { - { 0, 7, "deltaF1" }, - { 1, 7, "deltaF3" }, - { 2, 7, "deltaF5" } -}; -static unsigned int asn_MAP_deltaF_PUCCH_Format1b_enum2value_6[] = { - 0, /* deltaF1(0) */ - 1, /* deltaF3(1) */ - 2 /* deltaF5(2) */ -}; -static asn_INTEGER_specifics_t asn_SPC_deltaF_PUCCH_Format1b_specs_6 = { - asn_MAP_deltaF_PUCCH_Format1b_value2enum_6, /* "tag" => N; sorted by tag */ - asn_MAP_deltaF_PUCCH_Format1b_enum2value_6, /* N => "tag"; sorted by N */ - 3, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_deltaF_PUCCH_Format1b_tags_6[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_deltaF_PUCCH_Format1b_6 = { - "deltaF-PUCCH-Format1b", - "deltaF-PUCCH-Format1b", - deltaF_PUCCH_Format1b_6_free, - deltaF_PUCCH_Format1b_6_print, - deltaF_PUCCH_Format1b_6_constraint, - deltaF_PUCCH_Format1b_6_decode_ber, - deltaF_PUCCH_Format1b_6_encode_der, - deltaF_PUCCH_Format1b_6_decode_xer, - deltaF_PUCCH_Format1b_6_encode_xer, - deltaF_PUCCH_Format1b_6_decode_uper, - deltaF_PUCCH_Format1b_6_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_deltaF_PUCCH_Format1b_tags_6, - sizeof(asn_DEF_deltaF_PUCCH_Format1b_tags_6) - /sizeof(asn_DEF_deltaF_PUCCH_Format1b_tags_6[0]) - 1, /* 1 */ - asn_DEF_deltaF_PUCCH_Format1b_tags_6, /* Same as above */ - sizeof(asn_DEF_deltaF_PUCCH_Format1b_tags_6) - /sizeof(asn_DEF_deltaF_PUCCH_Format1b_tags_6[0]), /* 2 */ - &asn_PER_type_deltaF_PUCCH_Format1b_constr_6, - 0, 0, /* Defined elsewhere */ - &asn_SPC_deltaF_PUCCH_Format1b_specs_6 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_deltaF_PUCCH_Format2_value2enum_10[] = { - { 0, 8, "deltaF-2" }, - { 1, 7, "deltaF0" }, - { 2, 7, "deltaF1" }, - { 3, 7, "deltaF2" } -}; -static unsigned int asn_MAP_deltaF_PUCCH_Format2_enum2value_10[] = { - 0, /* deltaF-2(0) */ - 1, /* deltaF0(1) */ - 2, /* deltaF1(2) */ - 3 /* deltaF2(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_deltaF_PUCCH_Format2_specs_10 = { - asn_MAP_deltaF_PUCCH_Format2_value2enum_10, /* "tag" => N; sorted by tag */ - asn_MAP_deltaF_PUCCH_Format2_enum2value_10, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_deltaF_PUCCH_Format2_tags_10[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_deltaF_PUCCH_Format2_10 = { - "deltaF-PUCCH-Format2", - "deltaF-PUCCH-Format2", - deltaF_PUCCH_Format2_10_free, - deltaF_PUCCH_Format2_10_print, - deltaF_PUCCH_Format2_10_constraint, - deltaF_PUCCH_Format2_10_decode_ber, - deltaF_PUCCH_Format2_10_encode_der, - deltaF_PUCCH_Format2_10_decode_xer, - deltaF_PUCCH_Format2_10_encode_xer, - deltaF_PUCCH_Format2_10_decode_uper, - deltaF_PUCCH_Format2_10_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_deltaF_PUCCH_Format2_tags_10, - sizeof(asn_DEF_deltaF_PUCCH_Format2_tags_10) - /sizeof(asn_DEF_deltaF_PUCCH_Format2_tags_10[0]) - 1, /* 1 */ - asn_DEF_deltaF_PUCCH_Format2_tags_10, /* Same as above */ - sizeof(asn_DEF_deltaF_PUCCH_Format2_tags_10) - /sizeof(asn_DEF_deltaF_PUCCH_Format2_tags_10[0]), /* 2 */ - &asn_PER_type_deltaF_PUCCH_Format2_constr_10, - 0, 0, /* Defined elsewhere */ - &asn_SPC_deltaF_PUCCH_Format2_specs_10 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_deltaF_PUCCH_Format2a_value2enum_15[] = { - { 0, 8, "deltaF-2" }, - { 1, 7, "deltaF0" }, - { 2, 7, "deltaF2" } -}; -static unsigned int asn_MAP_deltaF_PUCCH_Format2a_enum2value_15[] = { - 0, /* deltaF-2(0) */ - 1, /* deltaF0(1) */ - 2 /* deltaF2(2) */ -}; -static asn_INTEGER_specifics_t asn_SPC_deltaF_PUCCH_Format2a_specs_15 = { - asn_MAP_deltaF_PUCCH_Format2a_value2enum_15, /* "tag" => N; sorted by tag */ - asn_MAP_deltaF_PUCCH_Format2a_enum2value_15, /* N => "tag"; sorted by N */ - 3, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_deltaF_PUCCH_Format2a_tags_15[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_deltaF_PUCCH_Format2a_15 = { - "deltaF-PUCCH-Format2a", - "deltaF-PUCCH-Format2a", - deltaF_PUCCH_Format2a_15_free, - deltaF_PUCCH_Format2a_15_print, - deltaF_PUCCH_Format2a_15_constraint, - deltaF_PUCCH_Format2a_15_decode_ber, - deltaF_PUCCH_Format2a_15_encode_der, - deltaF_PUCCH_Format2a_15_decode_xer, - deltaF_PUCCH_Format2a_15_encode_xer, - deltaF_PUCCH_Format2a_15_decode_uper, - deltaF_PUCCH_Format2a_15_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_deltaF_PUCCH_Format2a_tags_15, - sizeof(asn_DEF_deltaF_PUCCH_Format2a_tags_15) - /sizeof(asn_DEF_deltaF_PUCCH_Format2a_tags_15[0]) - 1, /* 1 */ - asn_DEF_deltaF_PUCCH_Format2a_tags_15, /* Same as above */ - sizeof(asn_DEF_deltaF_PUCCH_Format2a_tags_15) - /sizeof(asn_DEF_deltaF_PUCCH_Format2a_tags_15[0]), /* 2 */ - &asn_PER_type_deltaF_PUCCH_Format2a_constr_15, - 0, 0, /* Defined elsewhere */ - &asn_SPC_deltaF_PUCCH_Format2a_specs_15 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_deltaF_PUCCH_Format2b_value2enum_19[] = { - { 0, 8, "deltaF-2" }, - { 1, 7, "deltaF0" }, - { 2, 7, "deltaF2" } -}; -static unsigned int asn_MAP_deltaF_PUCCH_Format2b_enum2value_19[] = { - 0, /* deltaF-2(0) */ - 1, /* deltaF0(1) */ - 2 /* deltaF2(2) */ -}; -static asn_INTEGER_specifics_t asn_SPC_deltaF_PUCCH_Format2b_specs_19 = { - asn_MAP_deltaF_PUCCH_Format2b_value2enum_19, /* "tag" => N; sorted by tag */ - asn_MAP_deltaF_PUCCH_Format2b_enum2value_19, /* N => "tag"; sorted by N */ - 3, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_deltaF_PUCCH_Format2b_tags_19[] = { - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_deltaF_PUCCH_Format2b_19 = { - "deltaF-PUCCH-Format2b", - "deltaF-PUCCH-Format2b", - deltaF_PUCCH_Format2b_19_free, - deltaF_PUCCH_Format2b_19_print, - deltaF_PUCCH_Format2b_19_constraint, - deltaF_PUCCH_Format2b_19_decode_ber, - deltaF_PUCCH_Format2b_19_encode_der, - deltaF_PUCCH_Format2b_19_decode_xer, - deltaF_PUCCH_Format2b_19_encode_xer, - deltaF_PUCCH_Format2b_19_decode_uper, - deltaF_PUCCH_Format2b_19_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_deltaF_PUCCH_Format2b_tags_19, - sizeof(asn_DEF_deltaF_PUCCH_Format2b_tags_19) - /sizeof(asn_DEF_deltaF_PUCCH_Format2b_tags_19[0]) - 1, /* 1 */ - asn_DEF_deltaF_PUCCH_Format2b_tags_19, /* Same as above */ - sizeof(asn_DEF_deltaF_PUCCH_Format2b_tags_19) - /sizeof(asn_DEF_deltaF_PUCCH_Format2b_tags_19[0]), /* 2 */ - &asn_PER_type_deltaF_PUCCH_Format2b_constr_19, - 0, 0, /* Defined elsewhere */ - &asn_SPC_deltaF_PUCCH_Format2b_specs_19 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_DeltaFList_PUCCH_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct DeltaFList_PUCCH, deltaF_PUCCH_Format1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_deltaF_PUCCH_Format1_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "deltaF-PUCCH-Format1" - }, - { ATF_NOFLAGS, 0, offsetof(struct DeltaFList_PUCCH, deltaF_PUCCH_Format1b), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_deltaF_PUCCH_Format1b_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "deltaF-PUCCH-Format1b" - }, - { ATF_NOFLAGS, 0, offsetof(struct DeltaFList_PUCCH, deltaF_PUCCH_Format2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_deltaF_PUCCH_Format2_10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "deltaF-PUCCH-Format2" - }, - { ATF_NOFLAGS, 0, offsetof(struct DeltaFList_PUCCH, deltaF_PUCCH_Format2a), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_deltaF_PUCCH_Format2a_15, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "deltaF-PUCCH-Format2a" - }, - { ATF_NOFLAGS, 0, offsetof(struct DeltaFList_PUCCH, deltaF_PUCCH_Format2b), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_deltaF_PUCCH_Format2b_19, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "deltaF-PUCCH-Format2b" - }, -}; -static ber_tlv_tag_t asn_DEF_DeltaFList_PUCCH_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_DeltaFList_PUCCH_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* deltaF-PUCCH-Format1 at 2843 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* deltaF-PUCCH-Format1b at 2844 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* deltaF-PUCCH-Format2 at 2845 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* deltaF-PUCCH-Format2a at 2846 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* deltaF-PUCCH-Format2b at 2847 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_DeltaFList_PUCCH_specs_1 = { - sizeof(struct DeltaFList_PUCCH), - offsetof(struct DeltaFList_PUCCH, _asn_ctx), - asn_MAP_DeltaFList_PUCCH_tag2el_1, - 5, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_DeltaFList_PUCCH = { - "DeltaFList-PUCCH", - "DeltaFList-PUCCH", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DeltaFList_PUCCH_tags_1, - sizeof(asn_DEF_DeltaFList_PUCCH_tags_1) - /sizeof(asn_DEF_DeltaFList_PUCCH_tags_1[0]), /* 1 */ - asn_DEF_DeltaFList_PUCCH_tags_1, /* Same as above */ - sizeof(asn_DEF_DeltaFList_PUCCH_tags_1) - /sizeof(asn_DEF_DeltaFList_PUCCH_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_DeltaFList_PUCCH_1, - 5, /* Elements count */ - &asn_SPC_DeltaFList_PUCCH_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/DeltaTxD-OffsetListPUCCH-r10.c b/lte/rrc/lib/asn/src/DeltaTxD-OffsetListPUCCH-r10.c deleted file mode 100644 index 37fa83cc3..000000000 --- a/lte/rrc/lib/asn/src/DeltaTxD-OffsetListPUCCH-r10.c +++ /dev/null @@ -1,646 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/DeltaTxD-OffsetListPUCCH-r10.h" - -static int -deltaTxD_OffsetPUCCH_Format1_r10_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -deltaTxD_OffsetPUCCH_Format1_r10_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -deltaTxD_OffsetPUCCH_Format1_r10_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - deltaTxD_OffsetPUCCH_Format1_r10_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -deltaTxD_OffsetPUCCH_Format1_r10_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - deltaTxD_OffsetPUCCH_Format1_r10_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -deltaTxD_OffsetPUCCH_Format1_r10_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - deltaTxD_OffsetPUCCH_Format1_r10_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -deltaTxD_OffsetPUCCH_Format1_r10_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaTxD_OffsetPUCCH_Format1_r10_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -deltaTxD_OffsetPUCCH_Format1_r10_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - deltaTxD_OffsetPUCCH_Format1_r10_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -deltaTxD_OffsetPUCCH_Format1_r10_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaTxD_OffsetPUCCH_Format1_r10_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -deltaTxD_OffsetPUCCH_Format1_r10_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - deltaTxD_OffsetPUCCH_Format1_r10_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -deltaTxD_OffsetPUCCH_Format1_r10_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - deltaTxD_OffsetPUCCH_Format1_r10_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -deltaTxD_OffsetPUCCH_Format1a1b_r10_5_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -deltaTxD_OffsetPUCCH_Format1a1b_r10_5_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -deltaTxD_OffsetPUCCH_Format1a1b_r10_5_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - deltaTxD_OffsetPUCCH_Format1a1b_r10_5_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -deltaTxD_OffsetPUCCH_Format1a1b_r10_5_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - deltaTxD_OffsetPUCCH_Format1a1b_r10_5_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -deltaTxD_OffsetPUCCH_Format1a1b_r10_5_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - deltaTxD_OffsetPUCCH_Format1a1b_r10_5_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -deltaTxD_OffsetPUCCH_Format1a1b_r10_5_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaTxD_OffsetPUCCH_Format1a1b_r10_5_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -deltaTxD_OffsetPUCCH_Format1a1b_r10_5_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - deltaTxD_OffsetPUCCH_Format1a1b_r10_5_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -deltaTxD_OffsetPUCCH_Format1a1b_r10_5_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaTxD_OffsetPUCCH_Format1a1b_r10_5_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -deltaTxD_OffsetPUCCH_Format1a1b_r10_5_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - deltaTxD_OffsetPUCCH_Format1a1b_r10_5_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -deltaTxD_OffsetPUCCH_Format1a1b_r10_5_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - deltaTxD_OffsetPUCCH_Format1a1b_r10_5_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -deltaTxD_OffsetPUCCH_Format22a2b_r10_8_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -deltaTxD_OffsetPUCCH_Format22a2b_r10_8_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -deltaTxD_OffsetPUCCH_Format22a2b_r10_8_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - deltaTxD_OffsetPUCCH_Format22a2b_r10_8_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -deltaTxD_OffsetPUCCH_Format22a2b_r10_8_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - deltaTxD_OffsetPUCCH_Format22a2b_r10_8_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -deltaTxD_OffsetPUCCH_Format22a2b_r10_8_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - deltaTxD_OffsetPUCCH_Format22a2b_r10_8_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -deltaTxD_OffsetPUCCH_Format22a2b_r10_8_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaTxD_OffsetPUCCH_Format22a2b_r10_8_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -deltaTxD_OffsetPUCCH_Format22a2b_r10_8_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - deltaTxD_OffsetPUCCH_Format22a2b_r10_8_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -deltaTxD_OffsetPUCCH_Format22a2b_r10_8_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaTxD_OffsetPUCCH_Format22a2b_r10_8_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -deltaTxD_OffsetPUCCH_Format22a2b_r10_8_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - deltaTxD_OffsetPUCCH_Format22a2b_r10_8_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -deltaTxD_OffsetPUCCH_Format22a2b_r10_8_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - deltaTxD_OffsetPUCCH_Format22a2b_r10_8_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -deltaTxD_OffsetPUCCH_Format3_r10_11_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -deltaTxD_OffsetPUCCH_Format3_r10_11_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -deltaTxD_OffsetPUCCH_Format3_r10_11_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - deltaTxD_OffsetPUCCH_Format3_r10_11_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -deltaTxD_OffsetPUCCH_Format3_r10_11_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - deltaTxD_OffsetPUCCH_Format3_r10_11_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -deltaTxD_OffsetPUCCH_Format3_r10_11_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - deltaTxD_OffsetPUCCH_Format3_r10_11_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -deltaTxD_OffsetPUCCH_Format3_r10_11_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaTxD_OffsetPUCCH_Format3_r10_11_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -deltaTxD_OffsetPUCCH_Format3_r10_11_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - deltaTxD_OffsetPUCCH_Format3_r10_11_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -deltaTxD_OffsetPUCCH_Format3_r10_11_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaTxD_OffsetPUCCH_Format3_r10_11_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -deltaTxD_OffsetPUCCH_Format3_r10_11_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - deltaTxD_OffsetPUCCH_Format3_r10_11_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -deltaTxD_OffsetPUCCH_Format3_r10_11_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - deltaTxD_OffsetPUCCH_Format3_r10_11_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_deltaTxD_OffsetPUCCH_Format1_r10_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_deltaTxD_OffsetPUCCH_Format1a1b_r10_constr_5 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_deltaTxD_OffsetPUCCH_Format22a2b_r10_constr_8 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_deltaTxD_OffsetPUCCH_Format3_r10_constr_11 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_deltaTxD_OffsetPUCCH_Format1_r10_value2enum_2[] = { - { 0, 3, "dB0" }, - { 1, 4, "dB-2" } -}; -static unsigned int asn_MAP_deltaTxD_OffsetPUCCH_Format1_r10_enum2value_2[] = { - 1, /* dB-2(1) */ - 0 /* dB0(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_deltaTxD_OffsetPUCCH_Format1_r10_specs_2 = { - asn_MAP_deltaTxD_OffsetPUCCH_Format1_r10_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_deltaTxD_OffsetPUCCH_Format1_r10_enum2value_2, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_deltaTxD_OffsetPUCCH_Format1_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_deltaTxD_OffsetPUCCH_Format1_r10_2 = { - "deltaTxD-OffsetPUCCH-Format1-r10", - "deltaTxD-OffsetPUCCH-Format1-r10", - deltaTxD_OffsetPUCCH_Format1_r10_2_free, - deltaTxD_OffsetPUCCH_Format1_r10_2_print, - deltaTxD_OffsetPUCCH_Format1_r10_2_constraint, - deltaTxD_OffsetPUCCH_Format1_r10_2_decode_ber, - deltaTxD_OffsetPUCCH_Format1_r10_2_encode_der, - deltaTxD_OffsetPUCCH_Format1_r10_2_decode_xer, - deltaTxD_OffsetPUCCH_Format1_r10_2_encode_xer, - deltaTxD_OffsetPUCCH_Format1_r10_2_decode_uper, - deltaTxD_OffsetPUCCH_Format1_r10_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_deltaTxD_OffsetPUCCH_Format1_r10_tags_2, - sizeof(asn_DEF_deltaTxD_OffsetPUCCH_Format1_r10_tags_2) - /sizeof(asn_DEF_deltaTxD_OffsetPUCCH_Format1_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_deltaTxD_OffsetPUCCH_Format1_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_deltaTxD_OffsetPUCCH_Format1_r10_tags_2) - /sizeof(asn_DEF_deltaTxD_OffsetPUCCH_Format1_r10_tags_2[0]), /* 2 */ - &asn_PER_type_deltaTxD_OffsetPUCCH_Format1_r10_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_deltaTxD_OffsetPUCCH_Format1_r10_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_deltaTxD_OffsetPUCCH_Format1a1b_r10_value2enum_5[] = { - { 0, 3, "dB0" }, - { 1, 4, "dB-2" } -}; -static unsigned int asn_MAP_deltaTxD_OffsetPUCCH_Format1a1b_r10_enum2value_5[] = { - 1, /* dB-2(1) */ - 0 /* dB0(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_deltaTxD_OffsetPUCCH_Format1a1b_r10_specs_5 = { - asn_MAP_deltaTxD_OffsetPUCCH_Format1a1b_r10_value2enum_5, /* "tag" => N; sorted by tag */ - asn_MAP_deltaTxD_OffsetPUCCH_Format1a1b_r10_enum2value_5, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_deltaTxD_OffsetPUCCH_Format1a1b_r10_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_deltaTxD_OffsetPUCCH_Format1a1b_r10_5 = { - "deltaTxD-OffsetPUCCH-Format1a1b-r10", - "deltaTxD-OffsetPUCCH-Format1a1b-r10", - deltaTxD_OffsetPUCCH_Format1a1b_r10_5_free, - deltaTxD_OffsetPUCCH_Format1a1b_r10_5_print, - deltaTxD_OffsetPUCCH_Format1a1b_r10_5_constraint, - deltaTxD_OffsetPUCCH_Format1a1b_r10_5_decode_ber, - deltaTxD_OffsetPUCCH_Format1a1b_r10_5_encode_der, - deltaTxD_OffsetPUCCH_Format1a1b_r10_5_decode_xer, - deltaTxD_OffsetPUCCH_Format1a1b_r10_5_encode_xer, - deltaTxD_OffsetPUCCH_Format1a1b_r10_5_decode_uper, - deltaTxD_OffsetPUCCH_Format1a1b_r10_5_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_deltaTxD_OffsetPUCCH_Format1a1b_r10_tags_5, - sizeof(asn_DEF_deltaTxD_OffsetPUCCH_Format1a1b_r10_tags_5) - /sizeof(asn_DEF_deltaTxD_OffsetPUCCH_Format1a1b_r10_tags_5[0]) - 1, /* 1 */ - asn_DEF_deltaTxD_OffsetPUCCH_Format1a1b_r10_tags_5, /* Same as above */ - sizeof(asn_DEF_deltaTxD_OffsetPUCCH_Format1a1b_r10_tags_5) - /sizeof(asn_DEF_deltaTxD_OffsetPUCCH_Format1a1b_r10_tags_5[0]), /* 2 */ - &asn_PER_type_deltaTxD_OffsetPUCCH_Format1a1b_r10_constr_5, - 0, 0, /* Defined elsewhere */ - &asn_SPC_deltaTxD_OffsetPUCCH_Format1a1b_r10_specs_5 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_deltaTxD_OffsetPUCCH_Format22a2b_r10_value2enum_8[] = { - { 0, 3, "dB0" }, - { 1, 4, "dB-2" } -}; -static unsigned int asn_MAP_deltaTxD_OffsetPUCCH_Format22a2b_r10_enum2value_8[] = { - 1, /* dB-2(1) */ - 0 /* dB0(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_deltaTxD_OffsetPUCCH_Format22a2b_r10_specs_8 = { - asn_MAP_deltaTxD_OffsetPUCCH_Format22a2b_r10_value2enum_8, /* "tag" => N; sorted by tag */ - asn_MAP_deltaTxD_OffsetPUCCH_Format22a2b_r10_enum2value_8, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_deltaTxD_OffsetPUCCH_Format22a2b_r10_tags_8[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_deltaTxD_OffsetPUCCH_Format22a2b_r10_8 = { - "deltaTxD-OffsetPUCCH-Format22a2b-r10", - "deltaTxD-OffsetPUCCH-Format22a2b-r10", - deltaTxD_OffsetPUCCH_Format22a2b_r10_8_free, - deltaTxD_OffsetPUCCH_Format22a2b_r10_8_print, - deltaTxD_OffsetPUCCH_Format22a2b_r10_8_constraint, - deltaTxD_OffsetPUCCH_Format22a2b_r10_8_decode_ber, - deltaTxD_OffsetPUCCH_Format22a2b_r10_8_encode_der, - deltaTxD_OffsetPUCCH_Format22a2b_r10_8_decode_xer, - deltaTxD_OffsetPUCCH_Format22a2b_r10_8_encode_xer, - deltaTxD_OffsetPUCCH_Format22a2b_r10_8_decode_uper, - deltaTxD_OffsetPUCCH_Format22a2b_r10_8_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_deltaTxD_OffsetPUCCH_Format22a2b_r10_tags_8, - sizeof(asn_DEF_deltaTxD_OffsetPUCCH_Format22a2b_r10_tags_8) - /sizeof(asn_DEF_deltaTxD_OffsetPUCCH_Format22a2b_r10_tags_8[0]) - 1, /* 1 */ - asn_DEF_deltaTxD_OffsetPUCCH_Format22a2b_r10_tags_8, /* Same as above */ - sizeof(asn_DEF_deltaTxD_OffsetPUCCH_Format22a2b_r10_tags_8) - /sizeof(asn_DEF_deltaTxD_OffsetPUCCH_Format22a2b_r10_tags_8[0]), /* 2 */ - &asn_PER_type_deltaTxD_OffsetPUCCH_Format22a2b_r10_constr_8, - 0, 0, /* Defined elsewhere */ - &asn_SPC_deltaTxD_OffsetPUCCH_Format22a2b_r10_specs_8 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_deltaTxD_OffsetPUCCH_Format3_r10_value2enum_11[] = { - { 0, 3, "dB0" }, - { 1, 4, "dB-2" } -}; -static unsigned int asn_MAP_deltaTxD_OffsetPUCCH_Format3_r10_enum2value_11[] = { - 1, /* dB-2(1) */ - 0 /* dB0(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_deltaTxD_OffsetPUCCH_Format3_r10_specs_11 = { - asn_MAP_deltaTxD_OffsetPUCCH_Format3_r10_value2enum_11, /* "tag" => N; sorted by tag */ - asn_MAP_deltaTxD_OffsetPUCCH_Format3_r10_enum2value_11, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_deltaTxD_OffsetPUCCH_Format3_r10_tags_11[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_deltaTxD_OffsetPUCCH_Format3_r10_11 = { - "deltaTxD-OffsetPUCCH-Format3-r10", - "deltaTxD-OffsetPUCCH-Format3-r10", - deltaTxD_OffsetPUCCH_Format3_r10_11_free, - deltaTxD_OffsetPUCCH_Format3_r10_11_print, - deltaTxD_OffsetPUCCH_Format3_r10_11_constraint, - deltaTxD_OffsetPUCCH_Format3_r10_11_decode_ber, - deltaTxD_OffsetPUCCH_Format3_r10_11_encode_der, - deltaTxD_OffsetPUCCH_Format3_r10_11_decode_xer, - deltaTxD_OffsetPUCCH_Format3_r10_11_encode_xer, - deltaTxD_OffsetPUCCH_Format3_r10_11_decode_uper, - deltaTxD_OffsetPUCCH_Format3_r10_11_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_deltaTxD_OffsetPUCCH_Format3_r10_tags_11, - sizeof(asn_DEF_deltaTxD_OffsetPUCCH_Format3_r10_tags_11) - /sizeof(asn_DEF_deltaTxD_OffsetPUCCH_Format3_r10_tags_11[0]) - 1, /* 1 */ - asn_DEF_deltaTxD_OffsetPUCCH_Format3_r10_tags_11, /* Same as above */ - sizeof(asn_DEF_deltaTxD_OffsetPUCCH_Format3_r10_tags_11) - /sizeof(asn_DEF_deltaTxD_OffsetPUCCH_Format3_r10_tags_11[0]), /* 2 */ - &asn_PER_type_deltaTxD_OffsetPUCCH_Format3_r10_constr_11, - 0, 0, /* Defined elsewhere */ - &asn_SPC_deltaTxD_OffsetPUCCH_Format3_r10_specs_11 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_DeltaTxD_OffsetListPUCCH_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct DeltaTxD_OffsetListPUCCH_r10, deltaTxD_OffsetPUCCH_Format1_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_deltaTxD_OffsetPUCCH_Format1_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "deltaTxD-OffsetPUCCH-Format1-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct DeltaTxD_OffsetListPUCCH_r10, deltaTxD_OffsetPUCCH_Format1a1b_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_deltaTxD_OffsetPUCCH_Format1a1b_r10_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "deltaTxD-OffsetPUCCH-Format1a1b-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct DeltaTxD_OffsetListPUCCH_r10, deltaTxD_OffsetPUCCH_Format22a2b_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_deltaTxD_OffsetPUCCH_Format22a2b_r10_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "deltaTxD-OffsetPUCCH-Format22a2b-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct DeltaTxD_OffsetListPUCCH_r10, deltaTxD_OffsetPUCCH_Format3_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_deltaTxD_OffsetPUCCH_Format3_r10_11, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "deltaTxD-OffsetPUCCH-Format3-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_DeltaTxD_OffsetListPUCCH_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_DeltaTxD_OffsetListPUCCH_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* deltaTxD-OffsetPUCCH-Format1-r10 at 2851 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* deltaTxD-OffsetPUCCH-Format1a1b-r10 at 2852 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* deltaTxD-OffsetPUCCH-Format22a2b-r10 at 2853 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* deltaTxD-OffsetPUCCH-Format3-r10 at 2854 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_DeltaTxD_OffsetListPUCCH_r10_specs_1 = { - sizeof(struct DeltaTxD_OffsetListPUCCH_r10), - offsetof(struct DeltaTxD_OffsetListPUCCH_r10, _asn_ctx), - asn_MAP_DeltaTxD_OffsetListPUCCH_r10_tag2el_1, - 4, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 3, /* Start extensions */ - 5 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_DeltaTxD_OffsetListPUCCH_r10 = { - "DeltaTxD-OffsetListPUCCH-r10", - "DeltaTxD-OffsetListPUCCH-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_DeltaTxD_OffsetListPUCCH_r10_tags_1, - sizeof(asn_DEF_DeltaTxD_OffsetListPUCCH_r10_tags_1) - /sizeof(asn_DEF_DeltaTxD_OffsetListPUCCH_r10_tags_1[0]), /* 1 */ - asn_DEF_DeltaTxD_OffsetListPUCCH_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_DeltaTxD_OffsetListPUCCH_r10_tags_1) - /sizeof(asn_DEF_DeltaTxD_OffsetListPUCCH_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_DeltaTxD_OffsetListPUCCH_r10_1, - 4, /* Elements count */ - &asn_SPC_DeltaTxD_OffsetListPUCCH_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/E-CSFB-r9.c b/lte/rrc/lib/asn/src/E-CSFB-r9.c deleted file mode 100644 index 979b9cc8f..000000000 --- a/lte/rrc/lib/asn/src/E-CSFB-r9.c +++ /dev/null @@ -1,231 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/E-CSFB-r9.h" - -static int -mobilityCDMA2000_HRPD_r9_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -mobilityCDMA2000_HRPD_r9_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -mobilityCDMA2000_HRPD_r9_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - mobilityCDMA2000_HRPD_r9_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -mobilityCDMA2000_HRPD_r9_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - mobilityCDMA2000_HRPD_r9_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -mobilityCDMA2000_HRPD_r9_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - mobilityCDMA2000_HRPD_r9_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -mobilityCDMA2000_HRPD_r9_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - mobilityCDMA2000_HRPD_r9_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -mobilityCDMA2000_HRPD_r9_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - mobilityCDMA2000_HRPD_r9_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -mobilityCDMA2000_HRPD_r9_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - mobilityCDMA2000_HRPD_r9_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -mobilityCDMA2000_HRPD_r9_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - mobilityCDMA2000_HRPD_r9_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -mobilityCDMA2000_HRPD_r9_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - mobilityCDMA2000_HRPD_r9_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_mobilityCDMA2000_HRPD_r9_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_mobilityCDMA2000_HRPD_r9_value2enum_3[] = { - { 0, 8, "handover" }, - { 1, 11, "redirection" } -}; -static unsigned int asn_MAP_mobilityCDMA2000_HRPD_r9_enum2value_3[] = { - 0, /* handover(0) */ - 1 /* redirection(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_mobilityCDMA2000_HRPD_r9_specs_3 = { - asn_MAP_mobilityCDMA2000_HRPD_r9_value2enum_3, /* "tag" => N; sorted by tag */ - asn_MAP_mobilityCDMA2000_HRPD_r9_enum2value_3, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_mobilityCDMA2000_HRPD_r9_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_mobilityCDMA2000_HRPD_r9_3 = { - "mobilityCDMA2000-HRPD-r9", - "mobilityCDMA2000-HRPD-r9", - mobilityCDMA2000_HRPD_r9_3_free, - mobilityCDMA2000_HRPD_r9_3_print, - mobilityCDMA2000_HRPD_r9_3_constraint, - mobilityCDMA2000_HRPD_r9_3_decode_ber, - mobilityCDMA2000_HRPD_r9_3_encode_der, - mobilityCDMA2000_HRPD_r9_3_decode_xer, - mobilityCDMA2000_HRPD_r9_3_encode_xer, - mobilityCDMA2000_HRPD_r9_3_decode_uper, - mobilityCDMA2000_HRPD_r9_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_mobilityCDMA2000_HRPD_r9_tags_3, - sizeof(asn_DEF_mobilityCDMA2000_HRPD_r9_tags_3) - /sizeof(asn_DEF_mobilityCDMA2000_HRPD_r9_tags_3[0]) - 1, /* 1 */ - asn_DEF_mobilityCDMA2000_HRPD_r9_tags_3, /* Same as above */ - sizeof(asn_DEF_mobilityCDMA2000_HRPD_r9_tags_3) - /sizeof(asn_DEF_mobilityCDMA2000_HRPD_r9_tags_3[0]), /* 2 */ - &asn_PER_type_mobilityCDMA2000_HRPD_r9_constr_3, - 0, 0, /* Defined elsewhere */ - &asn_SPC_mobilityCDMA2000_HRPD_r9_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_E_CSFB_r9_1[] = { - { ATF_POINTER, 4, offsetof(struct E_CSFB_r9, messageContCDMA2000_1XRTT_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "messageContCDMA2000-1XRTT-r9" - }, - { ATF_POINTER, 3, offsetof(struct E_CSFB_r9, mobilityCDMA2000_HRPD_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_mobilityCDMA2000_HRPD_r9_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mobilityCDMA2000-HRPD-r9" - }, - { ATF_POINTER, 2, offsetof(struct E_CSFB_r9, messageContCDMA2000_HRPD_r9), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "messageContCDMA2000-HRPD-r9" - }, - { ATF_POINTER, 1, offsetof(struct E_CSFB_r9, redirectCarrierCDMA2000_HRPD_r9), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "redirectCarrierCDMA2000-HRPD-r9" - }, -}; -static int asn_MAP_E_CSFB_r9_oms_1[] = { 0, 1, 2, 3 }; -static ber_tlv_tag_t asn_DEF_E_CSFB_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_E_CSFB_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* messageContCDMA2000-1XRTT-r9 at 515 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* mobilityCDMA2000-HRPD-r9 at 517 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* messageContCDMA2000-HRPD-r9 at 519 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* redirectCarrierCDMA2000-HRPD-r9 at 520 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_E_CSFB_r9_specs_1 = { - sizeof(struct E_CSFB_r9), - offsetof(struct E_CSFB_r9, _asn_ctx), - asn_MAP_E_CSFB_r9_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_E_CSFB_r9_oms_1, /* Optional members */ - 4, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_E_CSFB_r9 = { - "E-CSFB-r9", - "E-CSFB-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_E_CSFB_r9_tags_1, - sizeof(asn_DEF_E_CSFB_r9_tags_1) - /sizeof(asn_DEF_E_CSFB_r9_tags_1[0]), /* 1 */ - asn_DEF_E_CSFB_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_E_CSFB_r9_tags_1) - /sizeof(asn_DEF_E_CSFB_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_E_CSFB_r9_1, - 4, /* Elements count */ - &asn_SPC_E_CSFB_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/EstablishmentCause.c b/lte/rrc/lib/asn/src/EstablishmentCause.c deleted file mode 100644 index 0eeb1724f..000000000 --- a/lte/rrc/lib/asn/src/EstablishmentCause.c +++ /dev/null @@ -1,158 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/EstablishmentCause.h" - -int -EstablishmentCause_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -EstablishmentCause_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -EstablishmentCause_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - EstablishmentCause_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -EstablishmentCause_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - EstablishmentCause_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -EstablishmentCause_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - EstablishmentCause_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -EstablishmentCause_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - EstablishmentCause_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -EstablishmentCause_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - EstablishmentCause_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -EstablishmentCause_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - EstablishmentCause_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -EstablishmentCause_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - EstablishmentCause_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -EstablishmentCause_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - EstablishmentCause_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_EstablishmentCause_constr_1 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_EstablishmentCause_value2enum_1[] = { - { 0, 9, "emergency" }, - { 1, 18, "highPriorityAccess" }, - { 2, 9, "mt-Access" }, - { 3, 13, "mo-Signalling" }, - { 4, 7, "mo-Data" }, - { 5, 25, "delayTolerantAccess-v1020" }, - { 6, 6, "spare2" }, - { 7, 6, "spare1" } -}; -static unsigned int asn_MAP_EstablishmentCause_enum2value_1[] = { - 5, /* delayTolerantAccess-v1020(5) */ - 0, /* emergency(0) */ - 1, /* highPriorityAccess(1) */ - 4, /* mo-Data(4) */ - 3, /* mo-Signalling(3) */ - 2, /* mt-Access(2) */ - 7, /* spare1(7) */ - 6 /* spare2(6) */ -}; -static asn_INTEGER_specifics_t asn_SPC_EstablishmentCause_specs_1 = { - asn_MAP_EstablishmentCause_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_EstablishmentCause_enum2value_1, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_EstablishmentCause_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_EstablishmentCause = { - "EstablishmentCause", - "EstablishmentCause", - EstablishmentCause_free, - EstablishmentCause_print, - EstablishmentCause_constraint, - EstablishmentCause_decode_ber, - EstablishmentCause_encode_der, - EstablishmentCause_decode_xer, - EstablishmentCause_encode_xer, - EstablishmentCause_decode_uper, - EstablishmentCause_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_EstablishmentCause_tags_1, - sizeof(asn_DEF_EstablishmentCause_tags_1) - /sizeof(asn_DEF_EstablishmentCause_tags_1[0]), /* 1 */ - asn_DEF_EstablishmentCause_tags_1, /* Same as above */ - sizeof(asn_DEF_EstablishmentCause_tags_1) - /sizeof(asn_DEF_EstablishmentCause_tags_1[0]), /* 1 */ - &asn_PER_type_EstablishmentCause_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_EstablishmentCause_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ExplicitListOfARFCNs.c b/lte/rrc/lib/asn/src/ExplicitListOfARFCNs.c deleted file mode 100644 index e0b7300a6..000000000 --- a/lte/rrc/lib/asn/src/ExplicitListOfARFCNs.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ExplicitListOfARFCNs.h" - -static asn_per_constraints_t asn_PER_type_ExplicitListOfARFCNs_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 0, 31 } /* (SIZE(0..31)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_ExplicitListOfARFCNs_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_ARFCN_ValueGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_ExplicitListOfARFCNs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_ExplicitListOfARFCNs_specs_1 = { - sizeof(struct ExplicitListOfARFCNs), - offsetof(struct ExplicitListOfARFCNs, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ExplicitListOfARFCNs = { - "ExplicitListOfARFCNs", - "ExplicitListOfARFCNs", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ExplicitListOfARFCNs_tags_1, - sizeof(asn_DEF_ExplicitListOfARFCNs_tags_1) - /sizeof(asn_DEF_ExplicitListOfARFCNs_tags_1[0]), /* 1 */ - asn_DEF_ExplicitListOfARFCNs_tags_1, /* Same as above */ - sizeof(asn_DEF_ExplicitListOfARFCNs_tags_1) - /sizeof(asn_DEF_ExplicitListOfARFCNs_tags_1[0]), /* 1 */ - &asn_PER_type_ExplicitListOfARFCNs_constr_1, - asn_MBR_ExplicitListOfARFCNs_1, - 1, /* Single element */ - &asn_SPC_ExplicitListOfARFCNs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/FilterCoefficient.c b/lte/rrc/lib/asn/src/FilterCoefficient.c deleted file mode 100644 index 32f4d560e..000000000 --- a/lte/rrc/lib/asn/src/FilterCoefficient.c +++ /dev/null @@ -1,176 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/FilterCoefficient.h" - -int -FilterCoefficient_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -FilterCoefficient_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -FilterCoefficient_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - FilterCoefficient_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -FilterCoefficient_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - FilterCoefficient_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -FilterCoefficient_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - FilterCoefficient_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -FilterCoefficient_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - FilterCoefficient_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -FilterCoefficient_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - FilterCoefficient_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -FilterCoefficient_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - FilterCoefficient_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -FilterCoefficient_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - FilterCoefficient_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -FilterCoefficient_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - FilterCoefficient_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_FilterCoefficient_constr_1 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 0, 15 } /* (0..15,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_FilterCoefficient_value2enum_1[] = { - { 0, 3, "fc0" }, - { 1, 3, "fc1" }, - { 2, 3, "fc2" }, - { 3, 3, "fc3" }, - { 4, 3, "fc4" }, - { 5, 3, "fc5" }, - { 6, 3, "fc6" }, - { 7, 3, "fc7" }, - { 8, 3, "fc8" }, - { 9, 3, "fc9" }, - { 10, 4, "fc11" }, - { 11, 4, "fc13" }, - { 12, 4, "fc15" }, - { 13, 4, "fc17" }, - { 14, 4, "fc19" }, - { 15, 6, "spare1" } - /* This list is extensible */ -}; -static unsigned int asn_MAP_FilterCoefficient_enum2value_1[] = { - 0, /* fc0(0) */ - 1, /* fc1(1) */ - 10, /* fc11(10) */ - 11, /* fc13(11) */ - 12, /* fc15(12) */ - 13, /* fc17(13) */ - 14, /* fc19(14) */ - 2, /* fc2(2) */ - 3, /* fc3(3) */ - 4, /* fc4(4) */ - 5, /* fc5(5) */ - 6, /* fc6(6) */ - 7, /* fc7(7) */ - 8, /* fc8(8) */ - 9, /* fc9(9) */ - 15 /* spare1(15) */ - /* This list is extensible */ -}; -static asn_INTEGER_specifics_t asn_SPC_FilterCoefficient_specs_1 = { - asn_MAP_FilterCoefficient_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_FilterCoefficient_enum2value_1, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 17, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_FilterCoefficient_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_FilterCoefficient = { - "FilterCoefficient", - "FilterCoefficient", - FilterCoefficient_free, - FilterCoefficient_print, - FilterCoefficient_constraint, - FilterCoefficient_decode_ber, - FilterCoefficient_encode_der, - FilterCoefficient_decode_xer, - FilterCoefficient_encode_xer, - FilterCoefficient_decode_uper, - FilterCoefficient_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_FilterCoefficient_tags_1, - sizeof(asn_DEF_FilterCoefficient_tags_1) - /sizeof(asn_DEF_FilterCoefficient_tags_1[0]), /* 1 */ - asn_DEF_FilterCoefficient_tags_1, /* Same as above */ - sizeof(asn_DEF_FilterCoefficient_tags_1) - /sizeof(asn_DEF_FilterCoefficient_tags_1[0]), /* 1 */ - &asn_PER_type_FilterCoefficient_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_FilterCoefficient_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/FreqPriorityEUTRA.c b/lte/rrc/lib/asn/src/FreqPriorityEUTRA.c deleted file mode 100644 index fd9884c62..000000000 --- a/lte/rrc/lib/asn/src/FreqPriorityEUTRA.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/FreqPriorityEUTRA.h" - -static asn_TYPE_member_t asn_MBR_FreqPriorityEUTRA_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct FreqPriorityEUTRA, carrierFreq), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq" - }, - { ATF_NOFLAGS, 0, offsetof(struct FreqPriorityEUTRA, cellReselectionPriority), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellReselectionPriority, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReselectionPriority" - }, -}; -static ber_tlv_tag_t asn_DEF_FreqPriorityEUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_FreqPriorityEUTRA_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreq at 919 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cellReselectionPriority at 921 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_FreqPriorityEUTRA_specs_1 = { - sizeof(struct FreqPriorityEUTRA), - offsetof(struct FreqPriorityEUTRA, _asn_ctx), - asn_MAP_FreqPriorityEUTRA_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_FreqPriorityEUTRA = { - "FreqPriorityEUTRA", - "FreqPriorityEUTRA", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_FreqPriorityEUTRA_tags_1, - sizeof(asn_DEF_FreqPriorityEUTRA_tags_1) - /sizeof(asn_DEF_FreqPriorityEUTRA_tags_1[0]), /* 1 */ - asn_DEF_FreqPriorityEUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_FreqPriorityEUTRA_tags_1) - /sizeof(asn_DEF_FreqPriorityEUTRA_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_FreqPriorityEUTRA_1, - 2, /* Elements count */ - &asn_SPC_FreqPriorityEUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/FreqPriorityListEUTRA.c b/lte/rrc/lib/asn/src/FreqPriorityListEUTRA.c deleted file mode 100644 index 16ab84b0a..000000000 --- a/lte/rrc/lib/asn/src/FreqPriorityListEUTRA.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/FreqPriorityListEUTRA.h" - -static asn_per_constraints_t asn_PER_type_FreqPriorityListEUTRA_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (SIZE(1..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_FreqPriorityListEUTRA_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_FreqPriorityEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_FreqPriorityListEUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_FreqPriorityListEUTRA_specs_1 = { - sizeof(struct FreqPriorityListEUTRA), - offsetof(struct FreqPriorityListEUTRA, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_FreqPriorityListEUTRA = { - "FreqPriorityListEUTRA", - "FreqPriorityListEUTRA", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_FreqPriorityListEUTRA_tags_1, - sizeof(asn_DEF_FreqPriorityListEUTRA_tags_1) - /sizeof(asn_DEF_FreqPriorityListEUTRA_tags_1[0]), /* 1 */ - asn_DEF_FreqPriorityListEUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_FreqPriorityListEUTRA_tags_1) - /sizeof(asn_DEF_FreqPriorityListEUTRA_tags_1[0]), /* 1 */ - &asn_PER_type_FreqPriorityListEUTRA_constr_1, - asn_MBR_FreqPriorityListEUTRA_1, - 1, /* Single element */ - &asn_SPC_FreqPriorityListEUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/FreqPriorityListUTRA-FDD.c b/lte/rrc/lib/asn/src/FreqPriorityListUTRA-FDD.c deleted file mode 100644 index ffbf14521..000000000 --- a/lte/rrc/lib/asn/src/FreqPriorityListUTRA-FDD.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/FreqPriorityListUTRA-FDD.h" - -static asn_per_constraints_t asn_PER_type_FreqPriorityListUTRA_FDD_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_FreqPriorityListUTRA_FDD_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_FreqPriorityUTRA_FDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_FreqPriorityListUTRA_FDD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_FreqPriorityListUTRA_FDD_specs_1 = { - sizeof(struct FreqPriorityListUTRA_FDD), - offsetof(struct FreqPriorityListUTRA_FDD, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_FreqPriorityListUTRA_FDD = { - "FreqPriorityListUTRA-FDD", - "FreqPriorityListUTRA-FDD", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_FreqPriorityListUTRA_FDD_tags_1, - sizeof(asn_DEF_FreqPriorityListUTRA_FDD_tags_1) - /sizeof(asn_DEF_FreqPriorityListUTRA_FDD_tags_1[0]), /* 1 */ - asn_DEF_FreqPriorityListUTRA_FDD_tags_1, /* Same as above */ - sizeof(asn_DEF_FreqPriorityListUTRA_FDD_tags_1) - /sizeof(asn_DEF_FreqPriorityListUTRA_FDD_tags_1[0]), /* 1 */ - &asn_PER_type_FreqPriorityListUTRA_FDD_constr_1, - asn_MBR_FreqPriorityListUTRA_FDD_1, - 1, /* Single element */ - &asn_SPC_FreqPriorityListUTRA_FDD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/FreqPriorityListUTRA-TDD.c b/lte/rrc/lib/asn/src/FreqPriorityListUTRA-TDD.c deleted file mode 100644 index 1819ec489..000000000 --- a/lte/rrc/lib/asn/src/FreqPriorityListUTRA-TDD.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/FreqPriorityListUTRA-TDD.h" - -static asn_per_constraints_t asn_PER_type_FreqPriorityListUTRA_TDD_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_FreqPriorityListUTRA_TDD_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_FreqPriorityUTRA_TDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_FreqPriorityListUTRA_TDD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_FreqPriorityListUTRA_TDD_specs_1 = { - sizeof(struct FreqPriorityListUTRA_TDD), - offsetof(struct FreqPriorityListUTRA_TDD, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_FreqPriorityListUTRA_TDD = { - "FreqPriorityListUTRA-TDD", - "FreqPriorityListUTRA-TDD", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_FreqPriorityListUTRA_TDD_tags_1, - sizeof(asn_DEF_FreqPriorityListUTRA_TDD_tags_1) - /sizeof(asn_DEF_FreqPriorityListUTRA_TDD_tags_1[0]), /* 1 */ - asn_DEF_FreqPriorityListUTRA_TDD_tags_1, /* Same as above */ - sizeof(asn_DEF_FreqPriorityListUTRA_TDD_tags_1) - /sizeof(asn_DEF_FreqPriorityListUTRA_TDD_tags_1[0]), /* 1 */ - &asn_PER_type_FreqPriorityListUTRA_TDD_constr_1, - asn_MBR_FreqPriorityListUTRA_TDD_1, - 1, /* Single element */ - &asn_SPC_FreqPriorityListUTRA_TDD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/FreqPriorityUTRA-FDD.c b/lte/rrc/lib/asn/src/FreqPriorityUTRA-FDD.c deleted file mode 100644 index 04b722b4e..000000000 --- a/lte/rrc/lib/asn/src/FreqPriorityUTRA-FDD.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/FreqPriorityUTRA-FDD.h" - -static asn_TYPE_member_t asn_MBR_FreqPriorityUTRA_FDD_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct FreqPriorityUTRA_FDD, carrierFreq), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq" - }, - { ATF_NOFLAGS, 0, offsetof(struct FreqPriorityUTRA_FDD, cellReselectionPriority), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellReselectionPriority, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReselectionPriority" - }, -}; -static ber_tlv_tag_t asn_DEF_FreqPriorityUTRA_FDD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_FreqPriorityUTRA_FDD_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreq at 933 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cellReselectionPriority at 935 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_FreqPriorityUTRA_FDD_specs_1 = { - sizeof(struct FreqPriorityUTRA_FDD), - offsetof(struct FreqPriorityUTRA_FDD, _asn_ctx), - asn_MAP_FreqPriorityUTRA_FDD_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_FreqPriorityUTRA_FDD = { - "FreqPriorityUTRA-FDD", - "FreqPriorityUTRA-FDD", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_FreqPriorityUTRA_FDD_tags_1, - sizeof(asn_DEF_FreqPriorityUTRA_FDD_tags_1) - /sizeof(asn_DEF_FreqPriorityUTRA_FDD_tags_1[0]), /* 1 */ - asn_DEF_FreqPriorityUTRA_FDD_tags_1, /* Same as above */ - sizeof(asn_DEF_FreqPriorityUTRA_FDD_tags_1) - /sizeof(asn_DEF_FreqPriorityUTRA_FDD_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_FreqPriorityUTRA_FDD_1, - 2, /* Elements count */ - &asn_SPC_FreqPriorityUTRA_FDD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/FreqPriorityUTRA-TDD.c b/lte/rrc/lib/asn/src/FreqPriorityUTRA-TDD.c deleted file mode 100644 index 299f3ed08..000000000 --- a/lte/rrc/lib/asn/src/FreqPriorityUTRA-TDD.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/FreqPriorityUTRA-TDD.h" - -static asn_TYPE_member_t asn_MBR_FreqPriorityUTRA_TDD_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct FreqPriorityUTRA_TDD, carrierFreq), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq" - }, - { ATF_NOFLAGS, 0, offsetof(struct FreqPriorityUTRA_TDD, cellReselectionPriority), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellReselectionPriority, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReselectionPriority" - }, -}; -static ber_tlv_tag_t asn_DEF_FreqPriorityUTRA_TDD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_FreqPriorityUTRA_TDD_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreq at 940 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cellReselectionPriority at 942 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_FreqPriorityUTRA_TDD_specs_1 = { - sizeof(struct FreqPriorityUTRA_TDD), - offsetof(struct FreqPriorityUTRA_TDD, _asn_ctx), - asn_MAP_FreqPriorityUTRA_TDD_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_FreqPriorityUTRA_TDD = { - "FreqPriorityUTRA-TDD", - "FreqPriorityUTRA-TDD", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_FreqPriorityUTRA_TDD_tags_1, - sizeof(asn_DEF_FreqPriorityUTRA_TDD_tags_1) - /sizeof(asn_DEF_FreqPriorityUTRA_TDD_tags_1[0]), /* 1 */ - asn_DEF_FreqPriorityUTRA_TDD_tags_1, /* Same as above */ - sizeof(asn_DEF_FreqPriorityUTRA_TDD_tags_1) - /sizeof(asn_DEF_FreqPriorityUTRA_TDD_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_FreqPriorityUTRA_TDD_1, - 2, /* Elements count */ - &asn_SPC_FreqPriorityUTRA_TDD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/FreqsPriorityGERAN.c b/lte/rrc/lib/asn/src/FreqsPriorityGERAN.c deleted file mode 100644 index 07d7ee7e5..000000000 --- a/lte/rrc/lib/asn/src/FreqsPriorityGERAN.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/FreqsPriorityGERAN.h" - -static asn_TYPE_member_t asn_MBR_FreqsPriorityGERAN_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct FreqsPriorityGERAN, carrierFreqs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqsGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreqs" - }, - { ATF_NOFLAGS, 0, offsetof(struct FreqsPriorityGERAN, cellReselectionPriority), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellReselectionPriority, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReselectionPriority" - }, -}; -static ber_tlv_tag_t asn_DEF_FreqsPriorityGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_FreqsPriorityGERAN_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreqs at 926 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cellReselectionPriority at 928 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_FreqsPriorityGERAN_specs_1 = { - sizeof(struct FreqsPriorityGERAN), - offsetof(struct FreqsPriorityGERAN, _asn_ctx), - asn_MAP_FreqsPriorityGERAN_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_FreqsPriorityGERAN = { - "FreqsPriorityGERAN", - "FreqsPriorityGERAN", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_FreqsPriorityGERAN_tags_1, - sizeof(asn_DEF_FreqsPriorityGERAN_tags_1) - /sizeof(asn_DEF_FreqsPriorityGERAN_tags_1[0]), /* 1 */ - asn_DEF_FreqsPriorityGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_FreqsPriorityGERAN_tags_1) - /sizeof(asn_DEF_FreqsPriorityGERAN_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_FreqsPriorityGERAN_1, - 2, /* Elements count */ - &asn_SPC_FreqsPriorityGERAN_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/FreqsPriorityListGERAN.c b/lte/rrc/lib/asn/src/FreqsPriorityListGERAN.c deleted file mode 100644 index ce3e6bc46..000000000 --- a/lte/rrc/lib/asn/src/FreqsPriorityListGERAN.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/FreqsPriorityListGERAN.h" - -static asn_per_constraints_t asn_PER_type_FreqsPriorityListGERAN_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_FreqsPriorityListGERAN_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_FreqsPriorityGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_FreqsPriorityListGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_FreqsPriorityListGERAN_specs_1 = { - sizeof(struct FreqsPriorityListGERAN), - offsetof(struct FreqsPriorityListGERAN, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_FreqsPriorityListGERAN = { - "FreqsPriorityListGERAN", - "FreqsPriorityListGERAN", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_FreqsPriorityListGERAN_tags_1, - sizeof(asn_DEF_FreqsPriorityListGERAN_tags_1) - /sizeof(asn_DEF_FreqsPriorityListGERAN_tags_1[0]), /* 1 */ - asn_DEF_FreqsPriorityListGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_FreqsPriorityListGERAN_tags_1) - /sizeof(asn_DEF_FreqsPriorityListGERAN_tags_1[0]), /* 1 */ - &asn_PER_type_FreqsPriorityListGERAN_constr_1, - asn_MBR_FreqsPriorityListGERAN_1, - 1, /* Single element */ - &asn_SPC_FreqsPriorityListGERAN_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/Handover.c b/lte/rrc/lib/asn/src/Handover.c deleted file mode 100644 index e178e0ef2..000000000 --- a/lte/rrc/lib/asn/src/Handover.c +++ /dev/null @@ -1,276 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/Handover.h" - -static int -targetRAT_Type_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -targetRAT_Type_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -targetRAT_Type_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - targetRAT_Type_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -targetRAT_Type_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - targetRAT_Type_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -targetRAT_Type_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - targetRAT_Type_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -targetRAT_Type_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - targetRAT_Type_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -targetRAT_Type_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - targetRAT_Type_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -targetRAT_Type_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - targetRAT_Type_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -targetRAT_Type_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - targetRAT_Type_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -targetRAT_Type_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - targetRAT_Type_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_nas_SecurityParamFromEUTRA_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - size = st->size; - - if((size == 1)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_targetRAT_Type_constr_2 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 7 } /* (0..7,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_nas_SecurityParamFromEUTRA_constr_13 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 1, 1 } /* (SIZE(1..1)) */, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_targetRAT_Type_value2enum_2[] = { - { 0, 4, "utra" }, - { 1, 5, "geran" }, - { 2, 14, "cdma2000-1XRTT" }, - { 3, 13, "cdma2000-HRPD" }, - { 4, 6, "spare4" }, - { 5, 6, "spare3" }, - { 6, 6, "spare2" }, - { 7, 6, "spare1" } - /* This list is extensible */ -}; -static unsigned int asn_MAP_targetRAT_Type_enum2value_2[] = { - 2, /* cdma2000-1XRTT(2) */ - 3, /* cdma2000-HRPD(3) */ - 1, /* geran(1) */ - 7, /* spare1(7) */ - 6, /* spare2(6) */ - 5, /* spare3(5) */ - 4, /* spare4(4) */ - 0 /* utra(0) */ - /* This list is extensible */ -}; -static asn_INTEGER_specifics_t asn_SPC_targetRAT_Type_specs_2 = { - asn_MAP_targetRAT_Type_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_targetRAT_Type_enum2value_2, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 9, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_targetRAT_Type_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_targetRAT_Type_2 = { - "targetRAT-Type", - "targetRAT-Type", - targetRAT_Type_2_free, - targetRAT_Type_2_print, - targetRAT_Type_2_constraint, - targetRAT_Type_2_decode_ber, - targetRAT_Type_2_encode_der, - targetRAT_Type_2_decode_xer, - targetRAT_Type_2_encode_xer, - targetRAT_Type_2_decode_uper, - targetRAT_Type_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_targetRAT_Type_tags_2, - sizeof(asn_DEF_targetRAT_Type_tags_2) - /sizeof(asn_DEF_targetRAT_Type_tags_2[0]) - 1, /* 1 */ - asn_DEF_targetRAT_Type_tags_2, /* Same as above */ - sizeof(asn_DEF_targetRAT_Type_tags_2) - /sizeof(asn_DEF_targetRAT_Type_tags_2[0]), /* 2 */ - &asn_PER_type_targetRAT_Type_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_targetRAT_Type_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_Handover_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct Handover, targetRAT_Type), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_targetRAT_Type_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "targetRAT-Type" - }, - { ATF_NOFLAGS, 0, offsetof(struct Handover, targetRAT_MessageContainer), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "targetRAT-MessageContainer" - }, - { ATF_POINTER, 2, offsetof(struct Handover, nas_SecurityParamFromEUTRA), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_nas_SecurityParamFromEUTRA_constraint_1, - &asn_PER_memb_nas_SecurityParamFromEUTRA_constr_13, - 0, - "nas-SecurityParamFromEUTRA" - }, - { ATF_POINTER, 1, offsetof(struct Handover, systemInformation), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_SI_OrPSI_GERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "systemInformation" - }, -}; -static int asn_MAP_Handover_oms_1[] = { 2, 3 }; -static ber_tlv_tag_t asn_DEF_Handover_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_Handover_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* targetRAT-Type at 487 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* targetRAT-MessageContainer at 489 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* nas-SecurityParamFromEUTRA at 490 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* systemInformation at 491 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_Handover_specs_1 = { - sizeof(struct Handover), - offsetof(struct Handover, _asn_ctx), - asn_MAP_Handover_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_Handover_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_Handover = { - "Handover", - "Handover", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_Handover_tags_1, - sizeof(asn_DEF_Handover_tags_1) - /sizeof(asn_DEF_Handover_tags_1[0]), /* 1 */ - asn_DEF_Handover_tags_1, /* Same as above */ - sizeof(asn_DEF_Handover_tags_1) - /sizeof(asn_DEF_Handover_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_Handover_1, - 4, /* Elements count */ - &asn_SPC_Handover_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/HandoverCommand-r8-IEs.c b/lte/rrc/lib/asn/src/HandoverCommand-r8-IEs.c deleted file mode 100644 index acf819d10..000000000 --- a/lte/rrc/lib/asn/src/HandoverCommand-r8-IEs.c +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#include "liblte/rrc/asn/HandoverCommand-r8-IEs.h" - -static int -memb_handoverCommandMessage_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_per_constraints_t asn_PER_memb_handoverCommandMessage_constr_2 GCC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, - 0, 0 /* No PER value map */ -}; -static const ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct nonCriticalExtension), - offsetof(struct nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_HandoverCommand_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct HandoverCommand_r8_IEs, handoverCommandMessage), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_handoverCommandMessage_constraint_1, - &asn_PER_memb_handoverCommandMessage_constr_2, - 0, - "handoverCommandMessage" - }, - { ATF_POINTER, 1, offsetof(struct HandoverCommand_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static const int asn_MAP_HandoverCommand_r8_IEs_oms_1[] = { 1 }; -static const ber_tlv_tag_t asn_DEF_HandoverCommand_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_HandoverCommand_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* handoverCommandMessage */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_HandoverCommand_r8_IEs_specs_1 = { - sizeof(struct HandoverCommand_r8_IEs), - offsetof(struct HandoverCommand_r8_IEs, _asn_ctx), - asn_MAP_HandoverCommand_r8_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_HandoverCommand_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_HandoverCommand_r8_IEs = { - "HandoverCommand-r8-IEs", - "HandoverCommand-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_HandoverCommand_r8_IEs_tags_1, - sizeof(asn_DEF_HandoverCommand_r8_IEs_tags_1) - /sizeof(asn_DEF_HandoverCommand_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_HandoverCommand_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_HandoverCommand_r8_IEs_tags_1) - /sizeof(asn_DEF_HandoverCommand_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_HandoverCommand_r8_IEs_1, - 2, /* Elements count */ - &asn_SPC_HandoverCommand_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/HandoverCommand.c b/lte/rrc/lib/asn/src/HandoverCommand.c deleted file mode 100644 index 73d68a914..000000000 --- a/lte/rrc/lib/asn/src/HandoverCommand.c +++ /dev/null @@ -1,283 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#include "liblte/rrc/asn/HandoverCommand.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_3 GCC_NOTUSED = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_2 GCC_NOTUSED = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.handoverCommand_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_HandoverCommand_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "handoverCommand-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare7), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare7" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare6), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare6" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare5), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare5" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare4), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare4" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_c1_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* handoverCommand-r8 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare7 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare6 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* spare5 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* spare4 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* spare3 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* spare2 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* spare1 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_3 = { - sizeof(struct c1), - offsetof(struct c1, _asn_ctx), - offsetof(struct c1, present), - sizeof(((struct c1 *)0)->present), - asn_MAP_c1_tag2el_3, - 8, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_3 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_3, - asn_MBR_c1_3, - 8, /* Elements count */ - &asn_SPC_c1_specs_3 /* Additional specs */ -}; - -static const ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_12[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_12 = { - sizeof(struct criticalExtensionsFuture), - offsetof(struct criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_12 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_12, - sizeof(asn_DEF_criticalExtensionsFuture_tags_12) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_12[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_12, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_12) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_12[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_12 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_12, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = { - sizeof(struct criticalExtensions), - offsetof(struct criticalExtensions, _asn_ctx), - offsetof(struct criticalExtensions, present), - sizeof(((struct criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_2, - asn_MBR_criticalExtensions_2, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_HandoverCommand_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct HandoverCommand, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static const ber_tlv_tag_t asn_DEF_HandoverCommand_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_HandoverCommand_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_HandoverCommand_specs_1 = { - sizeof(struct HandoverCommand), - offsetof(struct HandoverCommand, _asn_ctx), - asn_MAP_HandoverCommand_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_HandoverCommand = { - "HandoverCommand", - "HandoverCommand", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_HandoverCommand_tags_1, - sizeof(asn_DEF_HandoverCommand_tags_1) - /sizeof(asn_DEF_HandoverCommand_tags_1[0]), /* 1 */ - asn_DEF_HandoverCommand_tags_1, /* Same as above */ - sizeof(asn_DEF_HandoverCommand_tags_1) - /sizeof(asn_DEF_HandoverCommand_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_HandoverCommand_1, - 1, /* Elements count */ - &asn_SPC_HandoverCommand_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest-r8-IEs.c b/lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest-r8-IEs.c deleted file mode 100644 index eb81f5cc1..000000000 --- a/lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest-r8-IEs.c +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-r8-IEs.h" - -static asn_TYPE_member_t asn_MBR_HandoverFromEUTRAPreparationRequest_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct HandoverFromEUTRAPreparationRequest_r8_IEs, cdma2000_Type), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CDMA2000_Type, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cdma2000-Type" - }, - { ATF_POINTER, 3, offsetof(struct HandoverFromEUTRAPreparationRequest_r8_IEs, rand), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RAND_CDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rand" - }, - { ATF_POINTER, 2, offsetof(struct HandoverFromEUTRAPreparationRequest_r8_IEs, mobilityParameters), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MobilityParametersCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mobilityParameters" - }, - { ATF_POINTER, 1, offsetof(struct HandoverFromEUTRAPreparationRequest_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_HandoverFromEUTRAPreparationRequest_v890_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_HandoverFromEUTRAPreparationRequest_r8_IEs_oms_1[] = { 1, 2, 3 }; -static ber_tlv_tag_t asn_DEF_HandoverFromEUTRAPreparationRequest_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_HandoverFromEUTRAPreparationRequest_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cdma2000-Type at 268 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rand at 269 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* mobilityParameters at 270 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* nonCriticalExtension at 271 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_HandoverFromEUTRAPreparationRequest_r8_IEs_specs_1 = { - sizeof(struct HandoverFromEUTRAPreparationRequest_r8_IEs), - offsetof(struct HandoverFromEUTRAPreparationRequest_r8_IEs, _asn_ctx), - asn_MAP_HandoverFromEUTRAPreparationRequest_r8_IEs_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_HandoverFromEUTRAPreparationRequest_r8_IEs_oms_1, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_HandoverFromEUTRAPreparationRequest_r8_IEs = { - "HandoverFromEUTRAPreparationRequest-r8-IEs", - "HandoverFromEUTRAPreparationRequest-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_HandoverFromEUTRAPreparationRequest_r8_IEs_tags_1, - sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_r8_IEs_tags_1) - /sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_HandoverFromEUTRAPreparationRequest_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_r8_IEs_tags_1) - /sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_HandoverFromEUTRAPreparationRequest_r8_IEs_1, - 4, /* Elements count */ - &asn_SPC_HandoverFromEUTRAPreparationRequest_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest-v1020-IEs.c b/lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest-v1020-IEs.c deleted file mode 100644 index ef3783866..000000000 --- a/lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest-v1020-IEs.c +++ /dev/null @@ -1,257 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-v1020-IEs.h" - -static int -dualRxTxRedirectIndicator_r10_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -dualRxTxRedirectIndicator_r10_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -dualRxTxRedirectIndicator_r10_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - dualRxTxRedirectIndicator_r10_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -dualRxTxRedirectIndicator_r10_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - dualRxTxRedirectIndicator_r10_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -dualRxTxRedirectIndicator_r10_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - dualRxTxRedirectIndicator_r10_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -dualRxTxRedirectIndicator_r10_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - dualRxTxRedirectIndicator_r10_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -dualRxTxRedirectIndicator_r10_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - dualRxTxRedirectIndicator_r10_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -dualRxTxRedirectIndicator_r10_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - dualRxTxRedirectIndicator_r10_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -dualRxTxRedirectIndicator_r10_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - dualRxTxRedirectIndicator_r10_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -dualRxTxRedirectIndicator_r10_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - dualRxTxRedirectIndicator_r10_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_dualRxTxRedirectIndicator_r10_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_dualRxTxRedirectIndicator_r10_value2enum_2[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_dualRxTxRedirectIndicator_r10_enum2value_2[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_dualRxTxRedirectIndicator_r10_specs_2 = { - asn_MAP_dualRxTxRedirectIndicator_r10_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_dualRxTxRedirectIndicator_r10_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_dualRxTxRedirectIndicator_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_dualRxTxRedirectIndicator_r10_2 = { - "dualRxTxRedirectIndicator-r10", - "dualRxTxRedirectIndicator-r10", - dualRxTxRedirectIndicator_r10_2_free, - dualRxTxRedirectIndicator_r10_2_print, - dualRxTxRedirectIndicator_r10_2_constraint, - dualRxTxRedirectIndicator_r10_2_decode_ber, - dualRxTxRedirectIndicator_r10_2_encode_der, - dualRxTxRedirectIndicator_r10_2_decode_xer, - dualRxTxRedirectIndicator_r10_2_encode_xer, - dualRxTxRedirectIndicator_r10_2_decode_uper, - dualRxTxRedirectIndicator_r10_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_dualRxTxRedirectIndicator_r10_tags_2, - sizeof(asn_DEF_dualRxTxRedirectIndicator_r10_tags_2) - /sizeof(asn_DEF_dualRxTxRedirectIndicator_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_dualRxTxRedirectIndicator_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_dualRxTxRedirectIndicator_r10_tags_2) - /sizeof(asn_DEF_dualRxTxRedirectIndicator_r10_tags_2[0]), /* 2 */ - &asn_PER_type_dualRxTxRedirectIndicator_r10_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_dualRxTxRedirectIndicator_r10_specs_2 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_5 = { - sizeof(struct HandoverFromEUTRAPreparationRequest_v1020_IEs__nonCriticalExtension), - offsetof(struct HandoverFromEUTRAPreparationRequest_v1020_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_5 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_5, - sizeof(asn_DEF_nonCriticalExtension_tags_5) - /sizeof(asn_DEF_nonCriticalExtension_tags_5[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_5, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_5) - /sizeof(asn_DEF_nonCriticalExtension_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_HandoverFromEUTRAPreparationRequest_v1020_IEs_1[] = { - { ATF_POINTER, 3, offsetof(struct HandoverFromEUTRAPreparationRequest_v1020_IEs, dualRxTxRedirectIndicator_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_dualRxTxRedirectIndicator_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dualRxTxRedirectIndicator-r10" - }, - { ATF_POINTER, 2, offsetof(struct HandoverFromEUTRAPreparationRequest_v1020_IEs, redirectCarrierCDMA2000_1XRTT_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "redirectCarrierCDMA2000-1XRTT-r10" - }, - { ATF_POINTER, 1, offsetof(struct HandoverFromEUTRAPreparationRequest_v1020_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_nonCriticalExtension_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_HandoverFromEUTRAPreparationRequest_v1020_IEs_oms_1[] = { 0, 1, 2 }; -static ber_tlv_tag_t asn_DEF_HandoverFromEUTRAPreparationRequest_v1020_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_HandoverFromEUTRAPreparationRequest_v1020_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* dualRxTxRedirectIndicator-r10 at 285 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* redirectCarrierCDMA2000-1XRTT-r10 at 286 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* nonCriticalExtension at 287 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_HandoverFromEUTRAPreparationRequest_v1020_IEs_specs_1 = { - sizeof(struct HandoverFromEUTRAPreparationRequest_v1020_IEs), - offsetof(struct HandoverFromEUTRAPreparationRequest_v1020_IEs, _asn_ctx), - asn_MAP_HandoverFromEUTRAPreparationRequest_v1020_IEs_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_HandoverFromEUTRAPreparationRequest_v1020_IEs_oms_1, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_HandoverFromEUTRAPreparationRequest_v1020_IEs = { - "HandoverFromEUTRAPreparationRequest-v1020-IEs", - "HandoverFromEUTRAPreparationRequest-v1020-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_HandoverFromEUTRAPreparationRequest_v1020_IEs_tags_1, - sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_v1020_IEs_tags_1) - /sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_v1020_IEs_tags_1[0]), /* 1 */ - asn_DEF_HandoverFromEUTRAPreparationRequest_v1020_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_v1020_IEs_tags_1) - /sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_v1020_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_HandoverFromEUTRAPreparationRequest_v1020_IEs_1, - 3, /* Elements count */ - &asn_SPC_HandoverFromEUTRAPreparationRequest_v1020_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest-v890-IEs.c b/lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest-v890-IEs.c deleted file mode 100644 index d96639efa..000000000 --- a/lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest-v890-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-v890-IEs.h" - -static asn_TYPE_member_t asn_MBR_HandoverFromEUTRAPreparationRequest_v890_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct HandoverFromEUTRAPreparationRequest_v890_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct HandoverFromEUTRAPreparationRequest_v890_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_HandoverFromEUTRAPreparationRequest_v920_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_HandoverFromEUTRAPreparationRequest_v890_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_HandoverFromEUTRAPreparationRequest_v890_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_HandoverFromEUTRAPreparationRequest_v890_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 275 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 276 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_HandoverFromEUTRAPreparationRequest_v890_IEs_specs_1 = { - sizeof(struct HandoverFromEUTRAPreparationRequest_v890_IEs), - offsetof(struct HandoverFromEUTRAPreparationRequest_v890_IEs, _asn_ctx), - asn_MAP_HandoverFromEUTRAPreparationRequest_v890_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_HandoverFromEUTRAPreparationRequest_v890_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_HandoverFromEUTRAPreparationRequest_v890_IEs = { - "HandoverFromEUTRAPreparationRequest-v890-IEs", - "HandoverFromEUTRAPreparationRequest-v890-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_HandoverFromEUTRAPreparationRequest_v890_IEs_tags_1, - sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_v890_IEs_tags_1) - /sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_v890_IEs_tags_1[0]), /* 1 */ - asn_DEF_HandoverFromEUTRAPreparationRequest_v890_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_v890_IEs_tags_1) - /sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_v890_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_HandoverFromEUTRAPreparationRequest_v890_IEs_1, - 2, /* Elements count */ - &asn_SPC_HandoverFromEUTRAPreparationRequest_v890_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest-v920-IEs.c b/lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest-v920-IEs.c deleted file mode 100644 index 7af7ee281..000000000 --- a/lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest-v920-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/HandoverFromEUTRAPreparationRequest-v920-IEs.h" - -static asn_TYPE_member_t asn_MBR_HandoverFromEUTRAPreparationRequest_v920_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct HandoverFromEUTRAPreparationRequest_v920_IEs, concurrPrepCDMA2000_HRPD_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "concurrPrepCDMA2000-HRPD-r9" - }, - { ATF_POINTER, 1, offsetof(struct HandoverFromEUTRAPreparationRequest_v920_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_HandoverFromEUTRAPreparationRequest_v1020_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_HandoverFromEUTRAPreparationRequest_v920_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_HandoverFromEUTRAPreparationRequest_v920_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_HandoverFromEUTRAPreparationRequest_v920_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* concurrPrepCDMA2000-HRPD-r9 at 280 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 281 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_HandoverFromEUTRAPreparationRequest_v920_IEs_specs_1 = { - sizeof(struct HandoverFromEUTRAPreparationRequest_v920_IEs), - offsetof(struct HandoverFromEUTRAPreparationRequest_v920_IEs, _asn_ctx), - asn_MAP_HandoverFromEUTRAPreparationRequest_v920_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_HandoverFromEUTRAPreparationRequest_v920_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_HandoverFromEUTRAPreparationRequest_v920_IEs = { - "HandoverFromEUTRAPreparationRequest-v920-IEs", - "HandoverFromEUTRAPreparationRequest-v920-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_HandoverFromEUTRAPreparationRequest_v920_IEs_tags_1, - sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_v920_IEs_tags_1) - /sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_v920_IEs_tags_1[0]), /* 1 */ - asn_DEF_HandoverFromEUTRAPreparationRequest_v920_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_v920_IEs_tags_1) - /sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_v920_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_HandoverFromEUTRAPreparationRequest_v920_IEs_1, - 2, /* Elements count */ - &asn_SPC_HandoverFromEUTRAPreparationRequest_v920_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest.c b/lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest.c deleted file mode 100644 index 430fd73d3..000000000 --- a/lte/rrc/lib/asn/src/HandoverFromEUTRAPreparationRequest.c +++ /dev/null @@ -1,254 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/HandoverFromEUTRAPreparationRequest.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_4 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct HandoverFromEUTRAPreparationRequest__criticalExtensions__c1, choice.handoverFromEUTRAPreparationRequest_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_HandoverFromEUTRAPreparationRequest_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "handoverFromEUTRAPreparationRequest-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct HandoverFromEUTRAPreparationRequest__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct HandoverFromEUTRAPreparationRequest__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct HandoverFromEUTRAPreparationRequest__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* handoverFromEUTRAPreparationRequest-r8 at 260 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 at 261 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 261 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 261 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_4 = { - sizeof(struct HandoverFromEUTRAPreparationRequest__criticalExtensions__c1), - offsetof(struct HandoverFromEUTRAPreparationRequest__criticalExtensions__c1, _asn_ctx), - offsetof(struct HandoverFromEUTRAPreparationRequest__criticalExtensions__c1, present), - sizeof(((struct HandoverFromEUTRAPreparationRequest__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_4, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_4 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_4, - asn_MBR_c1_4, - 4, /* Elements count */ - &asn_SPC_c1_specs_4 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_9 = { - sizeof(struct HandoverFromEUTRAPreparationRequest__criticalExtensions__criticalExtensionsFuture), - offsetof(struct HandoverFromEUTRAPreparationRequest__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_9 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_9, - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_9, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct HandoverFromEUTRAPreparationRequest__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct HandoverFromEUTRAPreparationRequest__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 260 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 263 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct HandoverFromEUTRAPreparationRequest__criticalExtensions), - offsetof(struct HandoverFromEUTRAPreparationRequest__criticalExtensions, _asn_ctx), - offsetof(struct HandoverFromEUTRAPreparationRequest__criticalExtensions, present), - sizeof(((struct HandoverFromEUTRAPreparationRequest__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_HandoverFromEUTRAPreparationRequest_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct HandoverFromEUTRAPreparationRequest, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct HandoverFromEUTRAPreparationRequest, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_HandoverFromEUTRAPreparationRequest_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_HandoverFromEUTRAPreparationRequest_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 256 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 262 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_HandoverFromEUTRAPreparationRequest_specs_1 = { - sizeof(struct HandoverFromEUTRAPreparationRequest), - offsetof(struct HandoverFromEUTRAPreparationRequest, _asn_ctx), - asn_MAP_HandoverFromEUTRAPreparationRequest_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_HandoverFromEUTRAPreparationRequest = { - "HandoverFromEUTRAPreparationRequest", - "HandoverFromEUTRAPreparationRequest", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_HandoverFromEUTRAPreparationRequest_tags_1, - sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_tags_1) - /sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_tags_1[0]), /* 1 */ - asn_DEF_HandoverFromEUTRAPreparationRequest_tags_1, /* Same as above */ - sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_tags_1) - /sizeof(asn_DEF_HandoverFromEUTRAPreparationRequest_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_HandoverFromEUTRAPreparationRequest_1, - 2, /* Elements count */ - &asn_SPC_HandoverFromEUTRAPreparationRequest_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/HandoverPreparationInformation-r8-IEs.c b/lte/rrc/lib/asn/src/HandoverPreparationInformation-r8-IEs.c deleted file mode 100644 index 5c8f294b9..000000000 --- a/lte/rrc/lib/asn/src/HandoverPreparationInformation-r8-IEs.c +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#include "liblte/rrc/asn/HandoverPreparationInformation-r8-IEs.h" - -static asn_TYPE_member_t asn_MBR_HandoverPreparationInformation_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct HandoverPreparationInformation_r8_IEs, ue_RadioAccessCapabilityInfo), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UE_CapabilityRAT_ContainerList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ue-RadioAccessCapabilityInfo" - }, - { ATF_POINTER, 4, offsetof(struct HandoverPreparationInformation_r8_IEs, as_Config), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AS_Config, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "as-Config" - }, - { ATF_POINTER, 3, offsetof(struct HandoverPreparationInformation_r8_IEs, rrm_Config), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRM_Config, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrm-Config" - }, - { ATF_POINTER, 2, offsetof(struct HandoverPreparationInformation_r8_IEs, as_Context), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AS_Context, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "as-Context" - }, - { ATF_POINTER, 1, offsetof(struct HandoverPreparationInformation_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_HandoverPreparationInformation_v920_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static const int asn_MAP_HandoverPreparationInformation_r8_IEs_oms_1[] = { 1, 2, 3, 4 }; -static const ber_tlv_tag_t asn_DEF_HandoverPreparationInformation_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_HandoverPreparationInformation_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ue-RadioAccessCapabilityInfo */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* as-Config */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* rrm-Config */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* as-Context */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* nonCriticalExtension */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_HandoverPreparationInformation_r8_IEs_specs_1 = { - sizeof(struct HandoverPreparationInformation_r8_IEs), - offsetof(struct HandoverPreparationInformation_r8_IEs, _asn_ctx), - asn_MAP_HandoverPreparationInformation_r8_IEs_tag2el_1, - 5, /* Count of tags in the map */ - asn_MAP_HandoverPreparationInformation_r8_IEs_oms_1, /* Optional members */ - 4, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_HandoverPreparationInformation_r8_IEs = { - "HandoverPreparationInformation-r8-IEs", - "HandoverPreparationInformation-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_HandoverPreparationInformation_r8_IEs_tags_1, - sizeof(asn_DEF_HandoverPreparationInformation_r8_IEs_tags_1) - /sizeof(asn_DEF_HandoverPreparationInformation_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_HandoverPreparationInformation_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_HandoverPreparationInformation_r8_IEs_tags_1) - /sizeof(asn_DEF_HandoverPreparationInformation_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_HandoverPreparationInformation_r8_IEs_1, - 5, /* Elements count */ - &asn_SPC_HandoverPreparationInformation_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/HandoverPreparationInformation-v920-IEs.c b/lte/rrc/lib/asn/src/HandoverPreparationInformation-v920-IEs.c deleted file mode 100644 index 4e57f1259..000000000 --- a/lte/rrc/lib/asn/src/HandoverPreparationInformation-v920-IEs.c +++ /dev/null @@ -1,263 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#include "liblte/rrc/asn/HandoverPreparationInformation-v920-IEs.h" - -static int -ue_ConfigRelease_r9_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -ue_ConfigRelease_r9_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -ue_ConfigRelease_r9_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ue_ConfigRelease_r9_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -ue_ConfigRelease_r9_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ue_ConfigRelease_r9_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -ue_ConfigRelease_r9_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ue_ConfigRelease_r9_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -ue_ConfigRelease_r9_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ue_ConfigRelease_r9_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -ue_ConfigRelease_r9_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ue_ConfigRelease_r9_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -ue_ConfigRelease_r9_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ue_ConfigRelease_r9_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -ue_ConfigRelease_r9_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ue_ConfigRelease_r9_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -ue_ConfigRelease_r9_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ue_ConfigRelease_r9_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_ue_ConfigRelease_r9_constr_2 GCC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 7 } /* (0..7,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_ue_ConfigRelease_r9_value2enum_2[] = { - { 0, 4, "rel9" }, - { 1, 6, "spare7" }, - { 2, 6, "spare6" }, - { 3, 6, "spare5" }, - { 4, 6, "spare4" }, - { 5, 6, "spare3" }, - { 6, 6, "spare2" }, - { 7, 6, "spare1" } - /* This list is extensible */ -}; -static const unsigned int asn_MAP_ue_ConfigRelease_r9_enum2value_2[] = { - 0, /* rel9(0) */ - 7, /* spare1(7) */ - 6, /* spare2(6) */ - 5, /* spare3(5) */ - 4, /* spare4(4) */ - 3, /* spare5(3) */ - 2, /* spare6(2) */ - 1 /* spare7(1) */ - /* This list is extensible */ -}; -static const asn_INTEGER_specifics_t asn_SPC_ue_ConfigRelease_r9_specs_2 = { - asn_MAP_ue_ConfigRelease_r9_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_ue_ConfigRelease_r9_enum2value_2, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 9, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_ue_ConfigRelease_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ue_ConfigRelease_r9_2 = { - "ue-ConfigRelease-r9", - "ue-ConfigRelease-r9", - ue_ConfigRelease_r9_2_free, - ue_ConfigRelease_r9_2_print, - ue_ConfigRelease_r9_2_constraint, - ue_ConfigRelease_r9_2_decode_ber, - ue_ConfigRelease_r9_2_encode_der, - ue_ConfigRelease_r9_2_decode_xer, - ue_ConfigRelease_r9_2_encode_xer, - ue_ConfigRelease_r9_2_decode_uper, - ue_ConfigRelease_r9_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ue_ConfigRelease_r9_tags_2, - sizeof(asn_DEF_ue_ConfigRelease_r9_tags_2) - /sizeof(asn_DEF_ue_ConfigRelease_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_ue_ConfigRelease_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_ue_ConfigRelease_r9_tags_2) - /sizeof(asn_DEF_ue_ConfigRelease_r9_tags_2[0]), /* 2 */ - &asn_PER_type_ue_ConfigRelease_r9_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_ue_ConfigRelease_r9_specs_2 /* Additional specs */ -}; - -static const ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_12[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_12 = { - sizeof(struct nonCriticalExtension), - offsetof(struct nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_12 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_12, - sizeof(asn_DEF_nonCriticalExtension_tags_12) - /sizeof(asn_DEF_nonCriticalExtension_tags_12[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_12, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_12) - /sizeof(asn_DEF_nonCriticalExtension_tags_12[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_12 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_HandoverPreparationInformation_v920_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct HandoverPreparationInformation_v920_IEs, ue_ConfigRelease_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ue_ConfigRelease_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ue-ConfigRelease-r9" - }, - { ATF_POINTER, 1, offsetof(struct HandoverPreparationInformation_v920_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_12, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static const int asn_MAP_HandoverPreparationInformation_v920_IEs_oms_1[] = { 0, 1 }; -static const ber_tlv_tag_t asn_DEF_HandoverPreparationInformation_v920_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_HandoverPreparationInformation_v920_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ue-ConfigRelease-r9 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_HandoverPreparationInformation_v920_IEs_specs_1 = { - sizeof(struct HandoverPreparationInformation_v920_IEs), - offsetof(struct HandoverPreparationInformation_v920_IEs, _asn_ctx), - asn_MAP_HandoverPreparationInformation_v920_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_HandoverPreparationInformation_v920_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_HandoverPreparationInformation_v920_IEs = { - "HandoverPreparationInformation-v920-IEs", - "HandoverPreparationInformation-v920-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_HandoverPreparationInformation_v920_IEs_tags_1, - sizeof(asn_DEF_HandoverPreparationInformation_v920_IEs_tags_1) - /sizeof(asn_DEF_HandoverPreparationInformation_v920_IEs_tags_1[0]), /* 1 */ - asn_DEF_HandoverPreparationInformation_v920_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_HandoverPreparationInformation_v920_IEs_tags_1) - /sizeof(asn_DEF_HandoverPreparationInformation_v920_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_HandoverPreparationInformation_v920_IEs_1, - 2, /* Elements count */ - &asn_SPC_HandoverPreparationInformation_v920_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/HandoverPreparationInformation.c b/lte/rrc/lib/asn/src/HandoverPreparationInformation.c deleted file mode 100644 index 437f97e55..000000000 --- a/lte/rrc/lib/asn/src/HandoverPreparationInformation.c +++ /dev/null @@ -1,283 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#include "liblte/rrc/asn/HandoverPreparationInformation.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_3 GCC_NOTUSED = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_2 GCC_NOTUSED = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.handoverPreparationInformation_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_HandoverPreparationInformation_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "handoverPreparationInformation-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare7), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare7" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare6), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare6" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare5), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare5" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare4), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare4" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_c1_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* handoverPreparationInformation-r8 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare7 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare6 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* spare5 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* spare4 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* spare3 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* spare2 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* spare1 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_3 = { - sizeof(struct c1), - offsetof(struct c1, _asn_ctx), - offsetof(struct c1, present), - sizeof(((struct c1 *)0)->present), - asn_MAP_c1_tag2el_3, - 8, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_3 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_3, - asn_MBR_c1_3, - 8, /* Elements count */ - &asn_SPC_c1_specs_3 /* Additional specs */ -}; - -static const ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_12[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_12 = { - sizeof(struct criticalExtensionsFuture), - offsetof(struct criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_12 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_12, - sizeof(asn_DEF_criticalExtensionsFuture_tags_12) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_12[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_12, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_12) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_12[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_12 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_12, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = { - sizeof(struct criticalExtensions), - offsetof(struct criticalExtensions, _asn_ctx), - offsetof(struct criticalExtensions, present), - sizeof(((struct criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_2, - asn_MBR_criticalExtensions_2, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_HandoverPreparationInformation_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct HandoverPreparationInformation, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static const ber_tlv_tag_t asn_DEF_HandoverPreparationInformation_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_HandoverPreparationInformation_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_HandoverPreparationInformation_specs_1 = { - sizeof(struct HandoverPreparationInformation), - offsetof(struct HandoverPreparationInformation, _asn_ctx), - asn_MAP_HandoverPreparationInformation_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_HandoverPreparationInformation = { - "HandoverPreparationInformation", - "HandoverPreparationInformation", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_HandoverPreparationInformation_tags_1, - sizeof(asn_DEF_HandoverPreparationInformation_tags_1) - /sizeof(asn_DEF_HandoverPreparationInformation_tags_1[0]), /* 1 */ - asn_DEF_HandoverPreparationInformation_tags_1, /* Same as above */ - sizeof(asn_DEF_HandoverPreparationInformation_tags_1) - /sizeof(asn_DEF_HandoverPreparationInformation_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_HandoverPreparationInformation_1, - 1, /* Elements count */ - &asn_SPC_HandoverPreparationInformation_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/Hysteresis.c b/lte/rrc/lib/asn/src/Hysteresis.c deleted file mode 100644 index 3f59153fd..000000000 --- a/lte/rrc/lib/asn/src/Hysteresis.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/Hysteresis.h" - -int -Hysteresis_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 30)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -Hysteresis_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -Hysteresis_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - Hysteresis_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -Hysteresis_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - Hysteresis_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -Hysteresis_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - Hysteresis_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -Hysteresis_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - Hysteresis_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -Hysteresis_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - Hysteresis_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -Hysteresis_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - Hysteresis_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -Hysteresis_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - Hysteresis_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -Hysteresis_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - Hysteresis_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_Hysteresis_constr_1 = { - { APC_CONSTRAINED, 5, 5, 0, 30 } /* (0..30) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_Hysteresis_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_Hysteresis = { - "Hysteresis", - "Hysteresis", - Hysteresis_free, - Hysteresis_print, - Hysteresis_constraint, - Hysteresis_decode_ber, - Hysteresis_encode_der, - Hysteresis_decode_xer, - Hysteresis_encode_xer, - Hysteresis_decode_uper, - Hysteresis_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_Hysteresis_tags_1, - sizeof(asn_DEF_Hysteresis_tags_1) - /sizeof(asn_DEF_Hysteresis_tags_1[0]), /* 1 */ - asn_DEF_Hysteresis_tags_1, /* Same as above */ - sizeof(asn_DEF_Hysteresis_tags_1) - /sizeof(asn_DEF_Hysteresis_tags_1[0]), /* 1 */ - &asn_PER_type_Hysteresis_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/IMSI-Digit.c b/lte/rrc/lib/asn/src/IMSI-Digit.c deleted file mode 100644 index cb155092c..000000000 --- a/lte/rrc/lib/asn/src/IMSI-Digit.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/IMSI-Digit.h" - -int -IMSI_Digit_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 9)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -IMSI_Digit_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -IMSI_Digit_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - IMSI_Digit_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -IMSI_Digit_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - IMSI_Digit_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -IMSI_Digit_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - IMSI_Digit_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -IMSI_Digit_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - IMSI_Digit_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -IMSI_Digit_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - IMSI_Digit_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -IMSI_Digit_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - IMSI_Digit_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -IMSI_Digit_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - IMSI_Digit_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -IMSI_Digit_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - IMSI_Digit_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_IMSI_Digit_constr_1 = { - { APC_CONSTRAINED, 4, 4, 0, 9 } /* (0..9) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_IMSI_Digit_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_IMSI_Digit = { - "IMSI-Digit", - "IMSI-Digit", - IMSI_Digit_free, - IMSI_Digit_print, - IMSI_Digit_constraint, - IMSI_Digit_decode_ber, - IMSI_Digit_encode_der, - IMSI_Digit_decode_xer, - IMSI_Digit_encode_xer, - IMSI_Digit_decode_uper, - IMSI_Digit_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_IMSI_Digit_tags_1, - sizeof(asn_DEF_IMSI_Digit_tags_1) - /sizeof(asn_DEF_IMSI_Digit_tags_1[0]), /* 1 */ - asn_DEF_IMSI_Digit_tags_1, /* Same as above */ - sizeof(asn_DEF_IMSI_Digit_tags_1) - /sizeof(asn_DEF_IMSI_Digit_tags_1[0]), /* 1 */ - &asn_PER_type_IMSI_Digit_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/IMSI.c b/lte/rrc/lib/asn/src/IMSI.c deleted file mode 100644 index 1c0c1504c..000000000 --- a/lte/rrc/lib/asn/src/IMSI.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/IMSI.h" - -static asn_per_constraints_t asn_PER_type_IMSI_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 6, 21 } /* (SIZE(6..21)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_IMSI_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_IMSI_Digit, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_IMSI_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_IMSI_specs_1 = { - sizeof(struct IMSI), - offsetof(struct IMSI, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_IMSI = { - "IMSI", - "IMSI", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_IMSI_tags_1, - sizeof(asn_DEF_IMSI_tags_1) - /sizeof(asn_DEF_IMSI_tags_1[0]), /* 1 */ - asn_DEF_IMSI_tags_1, /* Same as above */ - sizeof(asn_DEF_IMSI_tags_1) - /sizeof(asn_DEF_IMSI_tags_1[0]), /* 1 */ - &asn_PER_type_IMSI_constr_1, - asn_MBR_IMSI_1, - 1, /* Single element */ - &asn_SPC_IMSI_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/INTEGER.c b/lte/rrc/lib/asn/src/INTEGER.c deleted file mode 100644 index e5b304a53..000000000 --- a/lte/rrc/lib/asn/src/INTEGER.c +++ /dev/null @@ -1,937 +0,0 @@ -/*- - * Copyright (c) 2003, 2004, 2005, 2006, 2007 Lev Walkin . - * All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include -#include /* Encoder and decoder of a primitive type */ - -/* - * INTEGER basic type description. - */ -static ber_tlv_tag_t asn_DEF_INTEGER_tags[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_INTEGER = { - "INTEGER", - "INTEGER", - ASN__PRIMITIVE_TYPE_free, - INTEGER_print, - asn_generic_no_constraint, - ber_decode_primitive, - INTEGER_encode_der, - INTEGER_decode_xer, - INTEGER_encode_xer, - INTEGER_decode_uper, /* Unaligned PER decoder */ - INTEGER_encode_uper, /* Unaligned PER encoder */ - 0, /* Use generic outmost tag fetcher */ - asn_DEF_INTEGER_tags, - sizeof(asn_DEF_INTEGER_tags) / sizeof(asn_DEF_INTEGER_tags[0]), - asn_DEF_INTEGER_tags, /* Same as above */ - sizeof(asn_DEF_INTEGER_tags) / sizeof(asn_DEF_INTEGER_tags[0]), - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - 0 /* No specifics */ -}; - -/* - * Encode INTEGER type using DER. - */ -asn_enc_rval_t -INTEGER_encode_der(asn_TYPE_descriptor_t *td, void *sptr, - int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - INTEGER_t *st = (INTEGER_t *)sptr; - - ASN_DEBUG("%s %s as INTEGER (tm=%d)", - cb?"Encoding":"Estimating", td->name, tag_mode); - - /* - * Canonicalize integer in the buffer. - * (Remove too long sign extension, remove some first 0x00 bytes) - */ - if(st->buf) { - uint8_t *buf = st->buf; - uint8_t *end1 = buf + st->size - 1; - int shift; - - /* Compute the number of superfluous leading bytes */ - for(; buf < end1; buf++) { - /* - * If the contents octets of an integer value encoding - * consist of more than one octet, then the bits of the - * first octet and bit 8 of the second octet: - * a) shall not all be ones; and - * b) shall not all be zero. - */ - switch(*buf) { - case 0x00: if((buf[1] & 0x80) == 0) - continue; - break; - case 0xff: if((buf[1] & 0x80)) - continue; - break; - } - break; - } - - /* Remove leading superfluous bytes from the integer */ - shift = buf - st->buf; - if(shift) { - uint8_t *nb = st->buf; - uint8_t *end; - - st->size -= shift; /* New size, minus bad bytes */ - end = nb + st->size; - - for(; nb < end; nb++, buf++) - *nb = *buf; - } - - } /* if(1) */ - - return der_encode_primitive(td, sptr, tag_mode, tag, cb, app_key); -} - -static const asn_INTEGER_enum_map_t *INTEGER_map_enum2value(asn_INTEGER_specifics_t *specs, const char *lstart, const char *lstop); - -/* - * INTEGER specific human-readable output. - */ -static ssize_t -INTEGER__dump(asn_TYPE_descriptor_t *td, const INTEGER_t *st, asn_app_consume_bytes_f *cb, void *app_key, int plainOrXER) { - asn_INTEGER_specifics_t *specs=(asn_INTEGER_specifics_t *)td->specifics; - char scratch[128]; - uint8_t *buf = st->buf; - uint8_t *buf_end = st->buf + st->size; - signed long accum; - ssize_t wrote = 0; - char *p; - int ret; - - /* - * Advance buf pointer until the start of the value's body. - * This will make us able to process large integers using simple case, - * when the actual value is small - * (0x0000000000abcdef would yield a fine 0x00abcdef) - */ - /* Skip the insignificant leading bytes */ - for(; buf < buf_end-1; buf++) { - switch(*buf) { - case 0x00: if((buf[1] & 0x80) == 0) continue; break; - case 0xff: if((buf[1] & 0x80) != 0) continue; break; - } - break; - } - - /* Simple case: the integer size is small */ - if((size_t)(buf_end - buf) <= sizeof(accum)) { - const asn_INTEGER_enum_map_t *el; - size_t scrsize; - char *scr; - - if(buf == buf_end) { - accum = 0; - } else { - accum = (*buf & 0x80) ? -1 : 0; - for(; buf < buf_end; buf++) - accum = (accum << 8) | *buf; - } - - el = INTEGER_map_value2enum(specs, accum); - if(el) { - scrsize = sizeof(scratch); - scr = scratch; - /* cannot use alloca in kernel - scrsize = el->enum_len + 32; - scr = (char *)alloca(scrsize); - */ - if(plainOrXER == 0) - ret = snprintf(scr, scrsize, - "%ld (%s)", accum, el->enum_name); - else - ret = snprintf(scr, scrsize, - "<%s/>", el->enum_name); - } else if(plainOrXER && specs && specs->strict_enumeration) { - ASN_DEBUG("ASN.1 forbids dealing with " - "unknown value of ENUMERATED type"); - errno = EPERM; - return -1; - } else { - scrsize = sizeof(scratch); - scr = scratch; - ret = snprintf(scr, scrsize, - (specs && specs->field_unsigned) - ?"%lu":"%ld", accum); - } - assert(ret > 0 && (size_t)ret < scrsize); - return (cb(scr, ret, app_key) < 0) ? -1 : ret; - } else if(plainOrXER && specs && specs->strict_enumeration) { - /* - * Here and earlier, we cannot encode the ENUMERATED values - * if there is no corresponding identifier. - */ - ASN_DEBUG("ASN.1 forbids dealing with " - "unknown value of ENUMERATED type"); - errno = EPERM; - return -1; - } - - /* Output in the long xx:yy:zz... format */ - /* TODO: replace with generic algorithm (Knuth TAOCP Vol 2, 4.3.1) */ - for(p = scratch; buf < buf_end; buf++) { - static const char *h2c = "0123456789ABCDEF"; - if((p - scratch) >= (ssize_t)(sizeof(scratch) - 4)) { - /* Flush buffer */ - if(cb(scratch, p - scratch, app_key) < 0) - return -1; - wrote += p - scratch; - p = scratch; - } - *p++ = h2c[*buf >> 4]; - *p++ = h2c[*buf & 0x0F]; - *p++ = 0x3a; /* ":" */ - } - if(p != scratch) - p--; /* Remove the last ":" */ - - wrote += p - scratch; - return (cb(scratch, p - scratch, app_key) < 0) ? -1 : wrote; -} - -/* - * INTEGER specific human-readable output. - */ -int -INTEGER_print(asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, - asn_app_consume_bytes_f *cb, void *app_key) { - const INTEGER_t *st = (const INTEGER_t *)sptr; - ssize_t ret; - - (void)td; - (void)ilevel; - - if(!st || !st->buf) - ret = cb("", 8, app_key); - else - ret = INTEGER__dump(td, st, cb, app_key, 0); - - return (ret < 0) ? -1 : 0; -} - -struct e2v_key { - const char *start; - const char *stop; - asn_INTEGER_enum_map_t *vemap; - unsigned int *evmap; -}; -static int -INTEGER__compar_enum2value(const void *kp, const void *am) { - const struct e2v_key *key = (const struct e2v_key *)kp; - const asn_INTEGER_enum_map_t *el = (const asn_INTEGER_enum_map_t *)am; - const char *ptr, *end, *name; - - /* Remap the element (sort by different criterion) */ - el = key->vemap + key->evmap[el - key->vemap]; - - /* Compare strings */ - for(ptr = key->start, end = key->stop, name = el->enum_name; - ptr < end; ptr++, name++) { - if(*ptr != *name) - return *(const unsigned char *)ptr - - *(const unsigned char *)name; - } - return name[0] ? -1 : 0; -} - -static const asn_INTEGER_enum_map_t * -INTEGER_map_enum2value(asn_INTEGER_specifics_t *specs, const char *lstart, const char *lstop) { - asn_INTEGER_enum_map_t *el_found; - int count = specs ? specs->map_count : 0; - struct e2v_key key; - const char *lp; - - if(!count) return NULL; - - /* Guaranteed: assert(lstart < lstop); */ - /* Figure out the tag name */ - for(lstart++, lp = lstart; lp < lstop; lp++) { - switch(*lp) { - case 9: case 10: case 11: case 12: case 13: case 32: /* WSP */ - case 0x2f: /* '/' */ case 0x3e: /* '>' */ - break; - default: - continue; - } - break; - } - if(lp == lstop) return NULL; /* No tag found */ - lstop = lp; - - key.start = lstart; - key.stop = lstop; - key.vemap = specs->value2enum; - key.evmap = specs->enum2value; - el_found = (asn_INTEGER_enum_map_t *)bsearch(&key, - specs->value2enum, count, sizeof(specs->value2enum[0]), - INTEGER__compar_enum2value); - if(el_found) { - /* Remap enum2value into value2enum */ - el_found = key.vemap + key.evmap[el_found - key.vemap]; - } - return el_found; -} - -static int -INTEGER__compar_value2enum(const void *kp, const void *am) { - long a = *(const long *)kp; - const asn_INTEGER_enum_map_t *el = (const asn_INTEGER_enum_map_t *)am; - long b = el->nat_value; - if(a < b) return -1; - else if(a == b) return 0; - else return 1; -} - -const asn_INTEGER_enum_map_t * -INTEGER_map_value2enum(asn_INTEGER_specifics_t *specs, long value) { - int count = specs ? specs->map_count : 0; - if(!count) return 0; - return (asn_INTEGER_enum_map_t *)bsearch(&value, specs->value2enum, - count, sizeof(specs->value2enum[0]), - INTEGER__compar_value2enum); -} - -static int -INTEGER_st_prealloc(INTEGER_t *st, int min_size) { - void *p = MALLOC(min_size + 1); - if(p) { - void *b = st->buf; - st->size = 0; - st->buf = p; - FREEMEM(b); - return 0; - } else { - return -1; - } -} - -/* - * Decode the chunk of XML text encoding INTEGER. - */ -static enum xer_pbd_rval -INTEGER__xer_body_decode(asn_TYPE_descriptor_t *td, void *sptr, const void *chunk_buf, size_t chunk_size) { - INTEGER_t *st = (INTEGER_t *)sptr; - long sign = 1; - long value; - const char *lp; - const char *lstart = (const char *)chunk_buf; - const char *lstop = lstart + chunk_size; - enum { - ST_SKIPSPACE, - ST_SKIPSPHEX, - ST_WAITDIGITS, - ST_DIGITS, - ST_HEXDIGIT1, - ST_HEXDIGIT2, - ST_HEXCOLON, - ST_EXTRASTUFF - } state = ST_SKIPSPACE; - - if(chunk_size) - ASN_DEBUG("INTEGER body %ld 0x%2x..0x%2x", - (long)chunk_size, *lstart, lstop[-1]); - - /* - * We may have received a tag here. It will be processed inline. - * Use strtoul()-like code and serialize the result. - */ - for(value = 0, lp = lstart; lp < lstop; lp++) { - int lv = *lp; - switch(lv) { - case 0x09: case 0x0a: case 0x0d: case 0x20: - switch(state) { - case ST_SKIPSPACE: - case ST_SKIPSPHEX: - continue; - case ST_HEXCOLON: - if(xer_is_whitespace(lp, lstop - lp)) { - lp = lstop - 1; - continue; - } - break; - default: - break; - } - break; - case 0x2d: /* '-' */ - if(state == ST_SKIPSPACE) { - sign = -1; - state = ST_WAITDIGITS; - continue; - } - break; - case 0x2b: /* '+' */ - if(state == ST_SKIPSPACE) { - state = ST_WAITDIGITS; - continue; - } - break; - case 0x30: case 0x31: case 0x32: case 0x33: case 0x34: - case 0x35: case 0x36: case 0x37: case 0x38: case 0x39: - switch(state) { - case ST_DIGITS: break; - case ST_SKIPSPHEX: /* Fall through */ - case ST_HEXDIGIT1: - value = (lv - 0x30) << 4; - state = ST_HEXDIGIT2; - continue; - case ST_HEXDIGIT2: - value += (lv - 0x30); - state = ST_HEXCOLON; - st->buf[st->size++] = (uint8_t)value; - continue; - case ST_HEXCOLON: - return XPBD_BROKEN_ENCODING; - default: - state = ST_DIGITS; - break; - } - - { - long new_value = value * 10; - - if(new_value / 10 != value) - /* Overflow */ - return XPBD_DECODER_LIMIT; - - value = new_value + (lv - 0x30); - /* Check for two's complement overflow */ - if(value < 0) { - /* Check whether it is a LONG_MIN */ - if(sign == -1 - && (unsigned long)value - == ~((unsigned long)-1 >> 1)) { - sign = 1; - } else { - /* Overflow */ - return XPBD_DECODER_LIMIT; - } - } - } - continue; - case 0x3c: /* '<' */ - if(state == ST_SKIPSPACE) { - const asn_INTEGER_enum_map_t *el; - el = INTEGER_map_enum2value( - (asn_INTEGER_specifics_t *) - td->specifics, lstart, lstop); - if(el) { - ASN_DEBUG("Found \"%s\" => %ld", - el->enum_name, el->nat_value); - state = ST_DIGITS; - value = el->nat_value; - lp = lstop - 1; - continue; - } - ASN_DEBUG("Unknown identifier for INTEGER"); - } - return XPBD_BROKEN_ENCODING; - case 0x3a: /* ':' */ - if(state == ST_HEXCOLON) { - /* This colon is expected */ - state = ST_HEXDIGIT1; - continue; - } else if(state == ST_DIGITS) { - /* The colon here means that we have - * decoded the first two hexadecimal - * places as a decimal value. - * Switch decoding mode. */ - ASN_DEBUG("INTEGER re-evaluate as hex form"); - if(INTEGER_st_prealloc(st, (chunk_size/3) + 1)) - return XPBD_SYSTEM_FAILURE; - state = ST_SKIPSPHEX; - lp = lstart - 1; - continue; - } else { - ASN_DEBUG("state %d at %d", state, lp - lstart); - break; - } - /* [A-Fa-f] */ - case 0x41:case 0x42:case 0x43:case 0x44:case 0x45:case 0x46: - case 0x61:case 0x62:case 0x63:case 0x64:case 0x65:case 0x66: - switch(state) { - case ST_SKIPSPHEX: - case ST_SKIPSPACE: /* Fall through */ - case ST_HEXDIGIT1: - value = lv - ((lv < 0x61) ? 0x41 : 0x61); - value += 10; - value <<= 4; - state = ST_HEXDIGIT2; - continue; - case ST_HEXDIGIT2: - value += lv - ((lv < 0x61) ? 0x41 : 0x61); - value += 10; - st->buf[st->size++] = (uint8_t)value; - state = ST_HEXCOLON; - continue; - case ST_DIGITS: - ASN_DEBUG("INTEGER re-evaluate as hex form"); - if(INTEGER_st_prealloc(st, (chunk_size/3) + 1)) - return XPBD_SYSTEM_FAILURE; - state = ST_SKIPSPHEX; - lp = lstart - 1; - continue; - default: - break; - } - break; - } - - /* Found extra non-numeric stuff */ - ASN_DEBUG("Found non-numeric 0x%2x at %d", - lv, lp - lstart); - state = ST_EXTRASTUFF; - break; - } - - switch(state) { - case ST_DIGITS: - /* Everything is cool */ - break; - case ST_HEXCOLON: - st->buf[st->size] = 0; /* Just in case termination */ - return XPBD_BODY_CONSUMED; - case ST_HEXDIGIT1: - case ST_HEXDIGIT2: - case ST_SKIPSPHEX: - return XPBD_BROKEN_ENCODING; - default: - if(xer_is_whitespace(lp, lstop - lp)) { - if(state != ST_EXTRASTUFF) - return XPBD_NOT_BODY_IGNORE; - break; - } else { - ASN_DEBUG("INTEGER: No useful digits (state %d)", - state); - return XPBD_BROKEN_ENCODING; /* No digits */ - } - break; - } - - value *= sign; /* Change sign, if needed */ - - if(asn_long2INTEGER(st, value)) - return XPBD_SYSTEM_FAILURE; - - return XPBD_BODY_CONSUMED; -} - -asn_dec_rval_t -INTEGER_decode_xer(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *td, void **sptr, const char *opt_mname, - const void *buf_ptr, size_t size) { - - return xer_decode_primitive(opt_codec_ctx, td, - sptr, sizeof(INTEGER_t), opt_mname, - buf_ptr, size, INTEGER__xer_body_decode); -} - -asn_enc_rval_t -INTEGER_encode_xer(asn_TYPE_descriptor_t *td, void *sptr, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - const INTEGER_t *st = (const INTEGER_t *)sptr; - asn_enc_rval_t er; - - (void)ilevel; - (void)flags; - - if(!st || !st->buf) - _ASN_ENCODE_FAILED; - - er.encoded = INTEGER__dump(td, st, cb, app_key, 1); - if(er.encoded < 0) _ASN_ENCODE_FAILED; - - _ASN_ENCODED_OK(er); -} - -asn_dec_rval_t -INTEGER_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd) { - asn_INTEGER_specifics_t *specs=(asn_INTEGER_specifics_t *)td->specifics; - asn_dec_rval_t rval = { RC_OK, 0 }; - INTEGER_t *st = (INTEGER_t *)*sptr; - asn_per_constraint_t *ct; - int repeat; - - (void)opt_codec_ctx; - - if(!st) { - st = (INTEGER_t *)(*sptr = CALLOC(1, sizeof(*st))); - if(!st) _ASN_DECODE_FAILED; - } - - if(!constraints) constraints = td->per_constraints; - ct = constraints ? &constraints->value : 0; - - if(ct && ct->flags & APC_EXTENSIBLE) { - int inext = per_get_few_bits(pd, 1); - if(inext < 0) _ASN_DECODE_STARVED; - if(inext) ct = 0; - } - - FREEMEM(st->buf); - st->buf = 0; - st->size = 0; - if(ct) { - if(ct->flags & APC_SEMI_CONSTRAINED) { - st->buf = (uint8_t *)CALLOC(1, 2); - if(!st->buf) _ASN_DECODE_FAILED; - st->size = 1; - } else if(ct->flags & APC_CONSTRAINED && ct->range_bits >= 0) { - size_t size = (ct->range_bits + 7) >> 3; - st->buf = (uint8_t *)MALLOC(1 + size + 1); - if(!st->buf) _ASN_DECODE_FAILED; - st->size = size; - } - } - - /* X.691, #12.2.2 */ - if(ct && ct->flags != APC_UNCONSTRAINED) { - /* #10.5.6 */ - ASN_DEBUG("Integer with range %d bits", ct->range_bits); - if(ct->range_bits >= 0) { - long value; - if(ct->range_bits == 32) { - long lhalf; - value = per_get_few_bits(pd, 16); - if(value < 0) _ASN_DECODE_STARVED; - lhalf = per_get_few_bits(pd, 16); - if(lhalf < 0) _ASN_DECODE_STARVED; - value = (value << 16) | lhalf; - } else { - value = per_get_few_bits(pd, ct->range_bits); - if(value < 0) _ASN_DECODE_STARVED; - } - ASN_DEBUG("Got value %ld + low %ld", - value, ct->lower_bound); - value += ct->lower_bound; - if((specs && specs->field_unsigned) - ? asn_ulong2INTEGER(st, value) - : asn_long2INTEGER(st, value)) - _ASN_DECODE_FAILED; - return rval; - } - } else { - ASN_DEBUG("Decoding unconstrained integer %s", td->name); - } - - /* X.691, #12.2.3, #12.2.4 */ - do { - ssize_t len; - void *p; - int ret; - - /* Get the PER length */ - len = uper_get_length(pd, -1, &repeat); - if(len < 0) _ASN_DECODE_STARVED; - - p = REALLOC(st->buf, st->size + len + 1); - if(!p) _ASN_DECODE_FAILED; - st->buf = (uint8_t *)p; - - ret = per_get_many_bits(pd, &st->buf[st->size], 0, 8 * len); - if(ret < 0) _ASN_DECODE_STARVED; - st->size += len; - } while(repeat); - st->buf[st->size] = 0; /* JIC */ - - /* #12.2.3 */ - if(ct && ct->lower_bound) { - /* - * TODO: replace by in-place arithmetics. - */ - long value; - if(asn_INTEGER2long(st, &value)) - _ASN_DECODE_FAILED; - if(asn_long2INTEGER(st, value + ct->lower_bound)) - _ASN_DECODE_FAILED; - } - - return rval; -} - -asn_enc_rval_t -INTEGER_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void *sptr, asn_per_outp_t *po) { - asn_INTEGER_specifics_t *specs=(asn_INTEGER_specifics_t *)td->specifics; - asn_enc_rval_t er; - INTEGER_t *st = (INTEGER_t *)sptr; - const uint8_t *buf; - const uint8_t *end; - asn_per_constraint_t *ct; - long value = 0; - - if(!st || st->size == 0) _ASN_ENCODE_FAILED; - - if(!constraints) constraints = td->per_constraints; - ct = constraints ? &constraints->value : 0; - - er.encoded = 0; - - if(ct) { - int inext = 0; - if(specs && specs->field_unsigned) { - unsigned long uval; - if(asn_INTEGER2ulong(st, &uval)) - _ASN_ENCODE_FAILED; - /* Check proper range */ - if(ct->flags & APC_SEMI_CONSTRAINED) { - if(uval < (unsigned long)ct->lower_bound) - inext = 1; - } else if(ct->range_bits >= 0) { - if(uval < (unsigned long)ct->lower_bound - || uval > (unsigned long)ct->upper_bound) - inext = 1; - } - ASN_DEBUG("Value %lu (%02x/%d) lb %lu ub %lu %s", - uval, st->buf[0], st->size, - ct->lower_bound, ct->upper_bound, - inext ? "ext" : "fix"); - value = uval; - } else { - if(asn_INTEGER2long(st, &value)) - _ASN_ENCODE_FAILED; - /* Check proper range */ - if(ct->flags & APC_SEMI_CONSTRAINED) { - if(value < ct->lower_bound) - inext = 1; - } else if(ct->range_bits >= 0) { - if(value < ct->lower_bound - || value > ct->upper_bound) - inext = 1; - } - ASN_DEBUG("Value %ld (%02x/%d) lb %ld ub %ld %s", - value, st->buf[0], st->size, - ct->lower_bound, ct->upper_bound, - inext ? "ext" : "fix"); - } - if(ct->flags & APC_EXTENSIBLE) { - if(per_put_few_bits(po, inext, 1)) - _ASN_ENCODE_FAILED; - if(inext) ct = 0; - } else if(inext) { - _ASN_ENCODE_FAILED; - } - } - - - /* X.691, #12.2.2 */ - if(ct && ct->range_bits >= 0) { - /* #10.5.6 */ - ASN_DEBUG("Encoding integer with range %d bits", - ct->range_bits); - if(ct->range_bits == 32) { - /* TODO: extend to >32 bits */ - long v = value - ct->lower_bound; - if(per_put_few_bits(po, v >> 1, 31) - || per_put_few_bits(po, v, 1)) - _ASN_ENCODE_FAILED; - } else { - if(per_put_few_bits(po, value - ct->lower_bound, - ct->range_bits)) - _ASN_ENCODE_FAILED; - } - _ASN_ENCODED_OK(er); - } - - if(ct && ct->lower_bound) { - ASN_DEBUG("Adjust lower bound to %ld", ct->lower_bound); - /* TODO: adjust lower bound */ - _ASN_ENCODE_FAILED; - } - - for(buf = st->buf, end = st->buf + st->size; buf < end;) { - ssize_t mayEncode = uper_put_length(po, end - buf); - if(mayEncode < 0) - _ASN_ENCODE_FAILED; - if(per_put_many_bits(po, buf, 8 * mayEncode)) - _ASN_ENCODE_FAILED; - buf += mayEncode; - } - - _ASN_ENCODED_OK(er); -} - -int -asn_INTEGER2long(const INTEGER_t *iptr, long *lptr) { - uint8_t *b, *end; - size_t size; - long l; - - /* Sanity checking */ - if(!iptr || !iptr->buf || !lptr) { - errno = EINVAL; - return -1; - } - - /* Cache the begin/end of the buffer */ - b = iptr->buf; /* Start of the INTEGER buffer */ - size = iptr->size; - end = b + size; /* Where to stop */ - - if(size > sizeof(long)) { - uint8_t *end1 = end - 1; - /* - * Slightly more advanced processing, - * able to >sizeof(long) bytes, - * when the actual value is small - * (0x0000000000abcdef would yield a fine 0x00abcdef) - */ - /* Skip out the insignificant leading bytes */ - for(; b < end1; b++) { - switch(*b) { - case 0x00: if((b[1] & 0x80) == 0) continue; break; - case 0xff: if((b[1] & 0x80) != 0) continue; break; - } - break; - } - - size = end - b; - if(size > sizeof(long)) { - /* Still cannot fit the long */ - errno = ERANGE; - return -1; - } - } - - /* Shortcut processing of a corner case */ - if(end == b) { - *lptr = 0; - return 0; - } - - /* Perform the sign initialization */ - /* Actually l = -(*b >> 7); gains nothing, yet unreadable! */ - if((*b >> 7)) l = -1; else l = 0; - - /* Conversion engine */ - for(; b < end; b++) - l = (l << 8) | *b; - - *lptr = l; - return 0; -} - -int -asn_INTEGER2ulong(const INTEGER_t *iptr, unsigned long *lptr) { - uint8_t *b, *end; - unsigned long l; - size_t size; - - if(!iptr || !iptr->buf || !lptr) { - errno = EINVAL; - return -1; - } - - b = iptr->buf; - size = iptr->size; - end = b + size; - - /* If all extra leading bytes are zeroes, ignore them */ - for(; size > sizeof(unsigned long); b++, size--) { - if(*b) { - /* Value won't fit unsigned long */ - errno = ERANGE; - return -1; - } - } - - /* Conversion engine */ - for(l = 0; b < end; b++) - l = (l << 8) | *b; - - *lptr = l; - return 0; -} - -int -asn_ulong2INTEGER(INTEGER_t *st, unsigned long value) { - uint8_t *buf; - uint8_t *end; - uint8_t *b; - int shr; - - if(value <= LONG_MAX) - return asn_long2INTEGER(st, value); - - buf = (uint8_t *)MALLOC(1 + sizeof(value)); - if(!buf) return -1; - - end = buf + (sizeof(value) + 1); - buf[0] = 0; - for(b = buf + 1, shr = (sizeof(long)-1)*8; b < end; shr -= 8, b++) - *b = (uint8_t)(value >> shr); - - if(st->buf) FREEMEM(st->buf); - st->buf = buf; - st->size = 1 + sizeof(value); - - return 0; -} - -int -asn_long2INTEGER(INTEGER_t *st, long value) { - uint8_t *buf, *bp; - uint8_t *p; - uint8_t *pstart; - uint8_t *pend1; - int littleEndian = 1; /* Run-time detection */ - int add; - - if(!st) { - errno = EINVAL; - return -1; - } - - buf = (uint8_t *)MALLOC(sizeof(value)); - if(!buf) return -1; - - if(*(char *)&littleEndian) { - pstart = (uint8_t *)&value + sizeof(value) - 1; - pend1 = (uint8_t *)&value; - add = -1; - } else { - pstart = (uint8_t *)&value; - pend1 = pstart + sizeof(value) - 1; - add = 1; - } - - /* - * If the contents octet consists of more than one octet, - * then bits of the first octet and bit 8 of the second octet: - * a) shall not all be ones; and - * b) shall not all be zero. - */ - for(p = pstart; p != pend1; p += add) { - switch(*p) { - case 0x00: if((*(p+add) & 0x80) == 0) - continue; - break; - case 0xff: if((*(p+add) & 0x80)) - continue; - break; - } - break; - } - /* Copy the integer body */ - for(pstart = p, bp = buf, pend1 += add; p != pend1; p += add) - *bp++ = *p; - - if(st->buf) FREEMEM(st->buf); - st->buf = buf; - st->size = bp - buf; - - return 0; -} diff --git a/lte/rrc/lib/asn/src/IRAT-ParametersCDMA2000-1XRTT-v1020.c b/lte/rrc/lib/asn/src/IRAT-ParametersCDMA2000-1XRTT-v1020.c deleted file mode 100644 index 57ff6f209..000000000 --- a/lte/rrc/lib/asn/src/IRAT-ParametersCDMA2000-1XRTT-v1020.c +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/IRAT-ParametersCDMA2000-1XRTT-v1020.h" - -static int -e_CSFB_dual_1XRTT_r10_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -e_CSFB_dual_1XRTT_r10_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -e_CSFB_dual_1XRTT_r10_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - e_CSFB_dual_1XRTT_r10_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -e_CSFB_dual_1XRTT_r10_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - e_CSFB_dual_1XRTT_r10_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -e_CSFB_dual_1XRTT_r10_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - e_CSFB_dual_1XRTT_r10_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -e_CSFB_dual_1XRTT_r10_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - e_CSFB_dual_1XRTT_r10_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -e_CSFB_dual_1XRTT_r10_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - e_CSFB_dual_1XRTT_r10_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -e_CSFB_dual_1XRTT_r10_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - e_CSFB_dual_1XRTT_r10_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -e_CSFB_dual_1XRTT_r10_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - e_CSFB_dual_1XRTT_r10_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -e_CSFB_dual_1XRTT_r10_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - e_CSFB_dual_1XRTT_r10_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_e_CSFB_dual_1XRTT_r10_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_e_CSFB_dual_1XRTT_r10_value2enum_2[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_e_CSFB_dual_1XRTT_r10_enum2value_2[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_e_CSFB_dual_1XRTT_r10_specs_2 = { - asn_MAP_e_CSFB_dual_1XRTT_r10_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_e_CSFB_dual_1XRTT_r10_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_e_CSFB_dual_1XRTT_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_e_CSFB_dual_1XRTT_r10_2 = { - "e-CSFB-dual-1XRTT-r10", - "e-CSFB-dual-1XRTT-r10", - e_CSFB_dual_1XRTT_r10_2_free, - e_CSFB_dual_1XRTT_r10_2_print, - e_CSFB_dual_1XRTT_r10_2_constraint, - e_CSFB_dual_1XRTT_r10_2_decode_ber, - e_CSFB_dual_1XRTT_r10_2_encode_der, - e_CSFB_dual_1XRTT_r10_2_decode_xer, - e_CSFB_dual_1XRTT_r10_2_encode_xer, - e_CSFB_dual_1XRTT_r10_2_decode_uper, - e_CSFB_dual_1XRTT_r10_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_e_CSFB_dual_1XRTT_r10_tags_2, - sizeof(asn_DEF_e_CSFB_dual_1XRTT_r10_tags_2) - /sizeof(asn_DEF_e_CSFB_dual_1XRTT_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_e_CSFB_dual_1XRTT_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_e_CSFB_dual_1XRTT_r10_tags_2) - /sizeof(asn_DEF_e_CSFB_dual_1XRTT_r10_tags_2[0]), /* 2 */ - &asn_PER_type_e_CSFB_dual_1XRTT_r10_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_e_CSFB_dual_1XRTT_r10_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_IRAT_ParametersCDMA2000_1XRTT_v1020_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct IRAT_ParametersCDMA2000_1XRTT_v1020, e_CSFB_dual_1XRTT_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_e_CSFB_dual_1XRTT_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "e-CSFB-dual-1XRTT-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v1020_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_IRAT_ParametersCDMA2000_1XRTT_v1020_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* e-CSFB-dual-1XRTT-r10 at 3987 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_IRAT_ParametersCDMA2000_1XRTT_v1020_specs_1 = { - sizeof(struct IRAT_ParametersCDMA2000_1XRTT_v1020), - offsetof(struct IRAT_ParametersCDMA2000_1XRTT_v1020, _asn_ctx), - asn_MAP_IRAT_ParametersCDMA2000_1XRTT_v1020_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v1020 = { - "IRAT-ParametersCDMA2000-1XRTT-v1020", - "IRAT-ParametersCDMA2000-1XRTT-v1020", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v1020_tags_1, - sizeof(asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v1020_tags_1) - /sizeof(asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v1020_tags_1[0]), /* 1 */ - asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v1020_tags_1, /* Same as above */ - sizeof(asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v1020_tags_1) - /sizeof(asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v1020_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_IRAT_ParametersCDMA2000_1XRTT_v1020_1, - 1, /* Elements count */ - &asn_SPC_IRAT_ParametersCDMA2000_1XRTT_v1020_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/IRAT-ParametersCDMA2000-1XRTT-v920.c b/lte/rrc/lib/asn/src/IRAT-ParametersCDMA2000-1XRTT-v920.c deleted file mode 100644 index 74ea613cb..000000000 --- a/lte/rrc/lib/asn/src/IRAT-ParametersCDMA2000-1XRTT-v920.c +++ /dev/null @@ -1,346 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/IRAT-ParametersCDMA2000-1XRTT-v920.h" - -static int -e_CSFB_1XRTT_r9_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -e_CSFB_1XRTT_r9_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -e_CSFB_1XRTT_r9_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - e_CSFB_1XRTT_r9_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -e_CSFB_1XRTT_r9_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - e_CSFB_1XRTT_r9_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -e_CSFB_1XRTT_r9_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - e_CSFB_1XRTT_r9_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -e_CSFB_1XRTT_r9_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - e_CSFB_1XRTT_r9_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -e_CSFB_1XRTT_r9_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - e_CSFB_1XRTT_r9_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -e_CSFB_1XRTT_r9_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - e_CSFB_1XRTT_r9_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -e_CSFB_1XRTT_r9_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - e_CSFB_1XRTT_r9_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -e_CSFB_1XRTT_r9_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - e_CSFB_1XRTT_r9_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -e_CSFB_ConcPS_Mob1XRTT_r9_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -e_CSFB_ConcPS_Mob1XRTT_r9_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -e_CSFB_ConcPS_Mob1XRTT_r9_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - e_CSFB_ConcPS_Mob1XRTT_r9_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -e_CSFB_ConcPS_Mob1XRTT_r9_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - e_CSFB_ConcPS_Mob1XRTT_r9_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -e_CSFB_ConcPS_Mob1XRTT_r9_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - e_CSFB_ConcPS_Mob1XRTT_r9_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -e_CSFB_ConcPS_Mob1XRTT_r9_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - e_CSFB_ConcPS_Mob1XRTT_r9_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -e_CSFB_ConcPS_Mob1XRTT_r9_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - e_CSFB_ConcPS_Mob1XRTT_r9_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -e_CSFB_ConcPS_Mob1XRTT_r9_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - e_CSFB_ConcPS_Mob1XRTT_r9_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -e_CSFB_ConcPS_Mob1XRTT_r9_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - e_CSFB_ConcPS_Mob1XRTT_r9_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -e_CSFB_ConcPS_Mob1XRTT_r9_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - e_CSFB_ConcPS_Mob1XRTT_r9_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_e_CSFB_1XRTT_r9_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_e_CSFB_ConcPS_Mob1XRTT_r9_constr_4 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_e_CSFB_1XRTT_r9_value2enum_2[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_e_CSFB_1XRTT_r9_enum2value_2[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_e_CSFB_1XRTT_r9_specs_2 = { - asn_MAP_e_CSFB_1XRTT_r9_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_e_CSFB_1XRTT_r9_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_e_CSFB_1XRTT_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_e_CSFB_1XRTT_r9_2 = { - "e-CSFB-1XRTT-r9", - "e-CSFB-1XRTT-r9", - e_CSFB_1XRTT_r9_2_free, - e_CSFB_1XRTT_r9_2_print, - e_CSFB_1XRTT_r9_2_constraint, - e_CSFB_1XRTT_r9_2_decode_ber, - e_CSFB_1XRTT_r9_2_encode_der, - e_CSFB_1XRTT_r9_2_decode_xer, - e_CSFB_1XRTT_r9_2_encode_xer, - e_CSFB_1XRTT_r9_2_decode_uper, - e_CSFB_1XRTT_r9_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_e_CSFB_1XRTT_r9_tags_2, - sizeof(asn_DEF_e_CSFB_1XRTT_r9_tags_2) - /sizeof(asn_DEF_e_CSFB_1XRTT_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_e_CSFB_1XRTT_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_e_CSFB_1XRTT_r9_tags_2) - /sizeof(asn_DEF_e_CSFB_1XRTT_r9_tags_2[0]), /* 2 */ - &asn_PER_type_e_CSFB_1XRTT_r9_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_e_CSFB_1XRTT_r9_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_e_CSFB_ConcPS_Mob1XRTT_r9_value2enum_4[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_e_CSFB_ConcPS_Mob1XRTT_r9_enum2value_4[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_e_CSFB_ConcPS_Mob1XRTT_r9_specs_4 = { - asn_MAP_e_CSFB_ConcPS_Mob1XRTT_r9_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_e_CSFB_ConcPS_Mob1XRTT_r9_enum2value_4, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_e_CSFB_ConcPS_Mob1XRTT_r9_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_e_CSFB_ConcPS_Mob1XRTT_r9_4 = { - "e-CSFB-ConcPS-Mob1XRTT-r9", - "e-CSFB-ConcPS-Mob1XRTT-r9", - e_CSFB_ConcPS_Mob1XRTT_r9_4_free, - e_CSFB_ConcPS_Mob1XRTT_r9_4_print, - e_CSFB_ConcPS_Mob1XRTT_r9_4_constraint, - e_CSFB_ConcPS_Mob1XRTT_r9_4_decode_ber, - e_CSFB_ConcPS_Mob1XRTT_r9_4_encode_der, - e_CSFB_ConcPS_Mob1XRTT_r9_4_decode_xer, - e_CSFB_ConcPS_Mob1XRTT_r9_4_encode_xer, - e_CSFB_ConcPS_Mob1XRTT_r9_4_decode_uper, - e_CSFB_ConcPS_Mob1XRTT_r9_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_e_CSFB_ConcPS_Mob1XRTT_r9_tags_4, - sizeof(asn_DEF_e_CSFB_ConcPS_Mob1XRTT_r9_tags_4) - /sizeof(asn_DEF_e_CSFB_ConcPS_Mob1XRTT_r9_tags_4[0]) - 1, /* 1 */ - asn_DEF_e_CSFB_ConcPS_Mob1XRTT_r9_tags_4, /* Same as above */ - sizeof(asn_DEF_e_CSFB_ConcPS_Mob1XRTT_r9_tags_4) - /sizeof(asn_DEF_e_CSFB_ConcPS_Mob1XRTT_r9_tags_4[0]), /* 2 */ - &asn_PER_type_e_CSFB_ConcPS_Mob1XRTT_r9_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_e_CSFB_ConcPS_Mob1XRTT_r9_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_IRAT_ParametersCDMA2000_1XRTT_v920_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct IRAT_ParametersCDMA2000_1XRTT_v920, e_CSFB_1XRTT_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_e_CSFB_1XRTT_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "e-CSFB-1XRTT-r9" - }, - { ATF_POINTER, 1, offsetof(struct IRAT_ParametersCDMA2000_1XRTT_v920, e_CSFB_ConcPS_Mob1XRTT_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_e_CSFB_ConcPS_Mob1XRTT_r9_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "e-CSFB-ConcPS-Mob1XRTT-r9" - }, -}; -static int asn_MAP_IRAT_ParametersCDMA2000_1XRTT_v920_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v920_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_IRAT_ParametersCDMA2000_1XRTT_v920_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* e-CSFB-1XRTT-r9 at 3982 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* e-CSFB-ConcPS-Mob1XRTT-r9 at 3983 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_IRAT_ParametersCDMA2000_1XRTT_v920_specs_1 = { - sizeof(struct IRAT_ParametersCDMA2000_1XRTT_v920), - offsetof(struct IRAT_ParametersCDMA2000_1XRTT_v920, _asn_ctx), - asn_MAP_IRAT_ParametersCDMA2000_1XRTT_v920_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_IRAT_ParametersCDMA2000_1XRTT_v920_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v920 = { - "IRAT-ParametersCDMA2000-1XRTT-v920", - "IRAT-ParametersCDMA2000-1XRTT-v920", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v920_tags_1, - sizeof(asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v920_tags_1) - /sizeof(asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v920_tags_1[0]), /* 1 */ - asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v920_tags_1, /* Same as above */ - sizeof(asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v920_tags_1) - /sizeof(asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v920_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_IRAT_ParametersCDMA2000_1XRTT_v920_1, - 2, /* Elements count */ - &asn_SPC_IRAT_ParametersCDMA2000_1XRTT_v920_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/IRAT-ParametersCDMA2000-1XRTT.c b/lte/rrc/lib/asn/src/IRAT-ParametersCDMA2000-1XRTT.c deleted file mode 100644 index 10577beb2..000000000 --- a/lte/rrc/lib/asn/src/IRAT-ParametersCDMA2000-1XRTT.c +++ /dev/null @@ -1,358 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/IRAT-ParametersCDMA2000-1XRTT.h" - -static int -tx_Config1XRTT_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -tx_Config1XRTT_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -tx_Config1XRTT_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - tx_Config1XRTT_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -tx_Config1XRTT_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - tx_Config1XRTT_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -tx_Config1XRTT_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - tx_Config1XRTT_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -tx_Config1XRTT_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - tx_Config1XRTT_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -tx_Config1XRTT_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - tx_Config1XRTT_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -tx_Config1XRTT_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - tx_Config1XRTT_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -tx_Config1XRTT_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - tx_Config1XRTT_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -tx_Config1XRTT_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - tx_Config1XRTT_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -rx_Config1XRTT_6_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -rx_Config1XRTT_6_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -rx_Config1XRTT_6_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - rx_Config1XRTT_6_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -rx_Config1XRTT_6_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - rx_Config1XRTT_6_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -rx_Config1XRTT_6_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - rx_Config1XRTT_6_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -rx_Config1XRTT_6_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - rx_Config1XRTT_6_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -rx_Config1XRTT_6_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - rx_Config1XRTT_6_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -rx_Config1XRTT_6_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - rx_Config1XRTT_6_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -rx_Config1XRTT_6_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - rx_Config1XRTT_6_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -rx_Config1XRTT_6_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - rx_Config1XRTT_6_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_tx_Config1XRTT_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_rx_Config1XRTT_constr_6 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_tx_Config1XRTT_value2enum_3[] = { - { 0, 6, "single" }, - { 1, 4, "dual" } -}; -static unsigned int asn_MAP_tx_Config1XRTT_enum2value_3[] = { - 1, /* dual(1) */ - 0 /* single(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_tx_Config1XRTT_specs_3 = { - asn_MAP_tx_Config1XRTT_value2enum_3, /* "tag" => N; sorted by tag */ - asn_MAP_tx_Config1XRTT_enum2value_3, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_tx_Config1XRTT_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_tx_Config1XRTT_3 = { - "tx-Config1XRTT", - "tx-Config1XRTT", - tx_Config1XRTT_3_free, - tx_Config1XRTT_3_print, - tx_Config1XRTT_3_constraint, - tx_Config1XRTT_3_decode_ber, - tx_Config1XRTT_3_encode_der, - tx_Config1XRTT_3_decode_xer, - tx_Config1XRTT_3_encode_xer, - tx_Config1XRTT_3_decode_uper, - tx_Config1XRTT_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_tx_Config1XRTT_tags_3, - sizeof(asn_DEF_tx_Config1XRTT_tags_3) - /sizeof(asn_DEF_tx_Config1XRTT_tags_3[0]) - 1, /* 1 */ - asn_DEF_tx_Config1XRTT_tags_3, /* Same as above */ - sizeof(asn_DEF_tx_Config1XRTT_tags_3) - /sizeof(asn_DEF_tx_Config1XRTT_tags_3[0]), /* 2 */ - &asn_PER_type_tx_Config1XRTT_constr_3, - 0, 0, /* Defined elsewhere */ - &asn_SPC_tx_Config1XRTT_specs_3 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_rx_Config1XRTT_value2enum_6[] = { - { 0, 6, "single" }, - { 1, 4, "dual" } -}; -static unsigned int asn_MAP_rx_Config1XRTT_enum2value_6[] = { - 1, /* dual(1) */ - 0 /* single(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_rx_Config1XRTT_specs_6 = { - asn_MAP_rx_Config1XRTT_value2enum_6, /* "tag" => N; sorted by tag */ - asn_MAP_rx_Config1XRTT_enum2value_6, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_rx_Config1XRTT_tags_6[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_rx_Config1XRTT_6 = { - "rx-Config1XRTT", - "rx-Config1XRTT", - rx_Config1XRTT_6_free, - rx_Config1XRTT_6_print, - rx_Config1XRTT_6_constraint, - rx_Config1XRTT_6_decode_ber, - rx_Config1XRTT_6_encode_der, - rx_Config1XRTT_6_decode_xer, - rx_Config1XRTT_6_encode_xer, - rx_Config1XRTT_6_decode_uper, - rx_Config1XRTT_6_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_rx_Config1XRTT_tags_6, - sizeof(asn_DEF_rx_Config1XRTT_tags_6) - /sizeof(asn_DEF_rx_Config1XRTT_tags_6[0]) - 1, /* 1 */ - asn_DEF_rx_Config1XRTT_tags_6, /* Same as above */ - sizeof(asn_DEF_rx_Config1XRTT_tags_6) - /sizeof(asn_DEF_rx_Config1XRTT_tags_6[0]), /* 2 */ - &asn_PER_type_rx_Config1XRTT_constr_6, - 0, 0, /* Defined elsewhere */ - &asn_SPC_rx_Config1XRTT_specs_6 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_IRAT_ParametersCDMA2000_1XRTT_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct IRAT_ParametersCDMA2000_1XRTT, supportedBandList1XRTT), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SupportedBandList1XRTT, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "supportedBandList1XRTT" - }, - { ATF_NOFLAGS, 0, offsetof(struct IRAT_ParametersCDMA2000_1XRTT, tx_Config1XRTT), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_tx_Config1XRTT_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "tx-Config1XRTT" - }, - { ATF_NOFLAGS, 0, offsetof(struct IRAT_ParametersCDMA2000_1XRTT, rx_Config1XRTT), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_rx_Config1XRTT_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rx-Config1XRTT" - }, -}; -static ber_tlv_tag_t asn_DEF_IRAT_ParametersCDMA2000_1XRTT_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_IRAT_ParametersCDMA2000_1XRTT_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* supportedBandList1XRTT at 3976 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* tx-Config1XRTT at 3977 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* rx-Config1XRTT at 3978 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_IRAT_ParametersCDMA2000_1XRTT_specs_1 = { - sizeof(struct IRAT_ParametersCDMA2000_1XRTT), - offsetof(struct IRAT_ParametersCDMA2000_1XRTT, _asn_ctx), - asn_MAP_IRAT_ParametersCDMA2000_1XRTT_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersCDMA2000_1XRTT = { - "IRAT-ParametersCDMA2000-1XRTT", - "IRAT-ParametersCDMA2000-1XRTT", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_IRAT_ParametersCDMA2000_1XRTT_tags_1, - sizeof(asn_DEF_IRAT_ParametersCDMA2000_1XRTT_tags_1) - /sizeof(asn_DEF_IRAT_ParametersCDMA2000_1XRTT_tags_1[0]), /* 1 */ - asn_DEF_IRAT_ParametersCDMA2000_1XRTT_tags_1, /* Same as above */ - sizeof(asn_DEF_IRAT_ParametersCDMA2000_1XRTT_tags_1) - /sizeof(asn_DEF_IRAT_ParametersCDMA2000_1XRTT_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_IRAT_ParametersCDMA2000_1XRTT_1, - 3, /* Elements count */ - &asn_SPC_IRAT_ParametersCDMA2000_1XRTT_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/IRAT-ParametersCDMA2000-HRPD.c b/lte/rrc/lib/asn/src/IRAT-ParametersCDMA2000-HRPD.c deleted file mode 100644 index 7fcb58a11..000000000 --- a/lte/rrc/lib/asn/src/IRAT-ParametersCDMA2000-HRPD.c +++ /dev/null @@ -1,358 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/IRAT-ParametersCDMA2000-HRPD.h" - -static int -tx_ConfigHRPD_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -tx_ConfigHRPD_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -tx_ConfigHRPD_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - tx_ConfigHRPD_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -tx_ConfigHRPD_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - tx_ConfigHRPD_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -tx_ConfigHRPD_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - tx_ConfigHRPD_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -tx_ConfigHRPD_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - tx_ConfigHRPD_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -tx_ConfigHRPD_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - tx_ConfigHRPD_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -tx_ConfigHRPD_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - tx_ConfigHRPD_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -tx_ConfigHRPD_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - tx_ConfigHRPD_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -tx_ConfigHRPD_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - tx_ConfigHRPD_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -rx_ConfigHRPD_6_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -rx_ConfigHRPD_6_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -rx_ConfigHRPD_6_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - rx_ConfigHRPD_6_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -rx_ConfigHRPD_6_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - rx_ConfigHRPD_6_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -rx_ConfigHRPD_6_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - rx_ConfigHRPD_6_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -rx_ConfigHRPD_6_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - rx_ConfigHRPD_6_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -rx_ConfigHRPD_6_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - rx_ConfigHRPD_6_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -rx_ConfigHRPD_6_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - rx_ConfigHRPD_6_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -rx_ConfigHRPD_6_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - rx_ConfigHRPD_6_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -rx_ConfigHRPD_6_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - rx_ConfigHRPD_6_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_tx_ConfigHRPD_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_rx_ConfigHRPD_constr_6 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_tx_ConfigHRPD_value2enum_3[] = { - { 0, 6, "single" }, - { 1, 4, "dual" } -}; -static unsigned int asn_MAP_tx_ConfigHRPD_enum2value_3[] = { - 1, /* dual(1) */ - 0 /* single(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_tx_ConfigHRPD_specs_3 = { - asn_MAP_tx_ConfigHRPD_value2enum_3, /* "tag" => N; sorted by tag */ - asn_MAP_tx_ConfigHRPD_enum2value_3, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_tx_ConfigHRPD_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_tx_ConfigHRPD_3 = { - "tx-ConfigHRPD", - "tx-ConfigHRPD", - tx_ConfigHRPD_3_free, - tx_ConfigHRPD_3_print, - tx_ConfigHRPD_3_constraint, - tx_ConfigHRPD_3_decode_ber, - tx_ConfigHRPD_3_encode_der, - tx_ConfigHRPD_3_decode_xer, - tx_ConfigHRPD_3_encode_xer, - tx_ConfigHRPD_3_decode_uper, - tx_ConfigHRPD_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_tx_ConfigHRPD_tags_3, - sizeof(asn_DEF_tx_ConfigHRPD_tags_3) - /sizeof(asn_DEF_tx_ConfigHRPD_tags_3[0]) - 1, /* 1 */ - asn_DEF_tx_ConfigHRPD_tags_3, /* Same as above */ - sizeof(asn_DEF_tx_ConfigHRPD_tags_3) - /sizeof(asn_DEF_tx_ConfigHRPD_tags_3[0]), /* 2 */ - &asn_PER_type_tx_ConfigHRPD_constr_3, - 0, 0, /* Defined elsewhere */ - &asn_SPC_tx_ConfigHRPD_specs_3 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_rx_ConfigHRPD_value2enum_6[] = { - { 0, 6, "single" }, - { 1, 4, "dual" } -}; -static unsigned int asn_MAP_rx_ConfigHRPD_enum2value_6[] = { - 1, /* dual(1) */ - 0 /* single(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_rx_ConfigHRPD_specs_6 = { - asn_MAP_rx_ConfigHRPD_value2enum_6, /* "tag" => N; sorted by tag */ - asn_MAP_rx_ConfigHRPD_enum2value_6, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_rx_ConfigHRPD_tags_6[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_rx_ConfigHRPD_6 = { - "rx-ConfigHRPD", - "rx-ConfigHRPD", - rx_ConfigHRPD_6_free, - rx_ConfigHRPD_6_print, - rx_ConfigHRPD_6_constraint, - rx_ConfigHRPD_6_decode_ber, - rx_ConfigHRPD_6_encode_der, - rx_ConfigHRPD_6_decode_xer, - rx_ConfigHRPD_6_encode_xer, - rx_ConfigHRPD_6_decode_uper, - rx_ConfigHRPD_6_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_rx_ConfigHRPD_tags_6, - sizeof(asn_DEF_rx_ConfigHRPD_tags_6) - /sizeof(asn_DEF_rx_ConfigHRPD_tags_6[0]) - 1, /* 1 */ - asn_DEF_rx_ConfigHRPD_tags_6, /* Same as above */ - sizeof(asn_DEF_rx_ConfigHRPD_tags_6) - /sizeof(asn_DEF_rx_ConfigHRPD_tags_6[0]), /* 2 */ - &asn_PER_type_rx_ConfigHRPD_constr_6, - 0, 0, /* Defined elsewhere */ - &asn_SPC_rx_ConfigHRPD_specs_6 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_IRAT_ParametersCDMA2000_HRPD_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct IRAT_ParametersCDMA2000_HRPD, supportedBandListHRPD), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SupportedBandListHRPD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "supportedBandListHRPD" - }, - { ATF_NOFLAGS, 0, offsetof(struct IRAT_ParametersCDMA2000_HRPD, tx_ConfigHRPD), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_tx_ConfigHRPD_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "tx-ConfigHRPD" - }, - { ATF_NOFLAGS, 0, offsetof(struct IRAT_ParametersCDMA2000_HRPD, rx_ConfigHRPD), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_rx_ConfigHRPD_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rx-ConfigHRPD" - }, -}; -static ber_tlv_tag_t asn_DEF_IRAT_ParametersCDMA2000_HRPD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_IRAT_ParametersCDMA2000_HRPD_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* supportedBandListHRPD at 3968 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* tx-ConfigHRPD at 3969 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* rx-ConfigHRPD at 3970 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_IRAT_ParametersCDMA2000_HRPD_specs_1 = { - sizeof(struct IRAT_ParametersCDMA2000_HRPD), - offsetof(struct IRAT_ParametersCDMA2000_HRPD, _asn_ctx), - asn_MAP_IRAT_ParametersCDMA2000_HRPD_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersCDMA2000_HRPD = { - "IRAT-ParametersCDMA2000-HRPD", - "IRAT-ParametersCDMA2000-HRPD", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_IRAT_ParametersCDMA2000_HRPD_tags_1, - sizeof(asn_DEF_IRAT_ParametersCDMA2000_HRPD_tags_1) - /sizeof(asn_DEF_IRAT_ParametersCDMA2000_HRPD_tags_1[0]), /* 1 */ - asn_DEF_IRAT_ParametersCDMA2000_HRPD_tags_1, /* Same as above */ - sizeof(asn_DEF_IRAT_ParametersCDMA2000_HRPD_tags_1) - /sizeof(asn_DEF_IRAT_ParametersCDMA2000_HRPD_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_IRAT_ParametersCDMA2000_HRPD_1, - 3, /* Elements count */ - &asn_SPC_IRAT_ParametersCDMA2000_HRPD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/IRAT-ParametersGERAN-v920.c b/lte/rrc/lib/asn/src/IRAT-ParametersGERAN-v920.c deleted file mode 100644 index 95cb66ee5..000000000 --- a/lte/rrc/lib/asn/src/IRAT-ParametersGERAN-v920.c +++ /dev/null @@ -1,346 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/IRAT-ParametersGERAN-v920.h" - -static int -dtm_r9_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -dtm_r9_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -dtm_r9_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - dtm_r9_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -dtm_r9_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - dtm_r9_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -dtm_r9_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - dtm_r9_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -dtm_r9_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - dtm_r9_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -dtm_r9_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - dtm_r9_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -dtm_r9_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - dtm_r9_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -dtm_r9_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - dtm_r9_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -dtm_r9_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - dtm_r9_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -e_RedirectionGERAN_r9_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -e_RedirectionGERAN_r9_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -e_RedirectionGERAN_r9_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - e_RedirectionGERAN_r9_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -e_RedirectionGERAN_r9_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - e_RedirectionGERAN_r9_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -e_RedirectionGERAN_r9_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - e_RedirectionGERAN_r9_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -e_RedirectionGERAN_r9_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - e_RedirectionGERAN_r9_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -e_RedirectionGERAN_r9_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - e_RedirectionGERAN_r9_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -e_RedirectionGERAN_r9_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - e_RedirectionGERAN_r9_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -e_RedirectionGERAN_r9_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - e_RedirectionGERAN_r9_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -e_RedirectionGERAN_r9_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - e_RedirectionGERAN_r9_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_dtm_r9_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_e_RedirectionGERAN_r9_constr_4 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_dtm_r9_value2enum_2[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_dtm_r9_enum2value_2[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_dtm_r9_specs_2 = { - asn_MAP_dtm_r9_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_dtm_r9_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_dtm_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_dtm_r9_2 = { - "dtm-r9", - "dtm-r9", - dtm_r9_2_free, - dtm_r9_2_print, - dtm_r9_2_constraint, - dtm_r9_2_decode_ber, - dtm_r9_2_encode_der, - dtm_r9_2_decode_xer, - dtm_r9_2_encode_xer, - dtm_r9_2_decode_uper, - dtm_r9_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_dtm_r9_tags_2, - sizeof(asn_DEF_dtm_r9_tags_2) - /sizeof(asn_DEF_dtm_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_dtm_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_dtm_r9_tags_2) - /sizeof(asn_DEF_dtm_r9_tags_2[0]), /* 2 */ - &asn_PER_type_dtm_r9_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_dtm_r9_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_e_RedirectionGERAN_r9_value2enum_4[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_e_RedirectionGERAN_r9_enum2value_4[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_e_RedirectionGERAN_r9_specs_4 = { - asn_MAP_e_RedirectionGERAN_r9_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_e_RedirectionGERAN_r9_enum2value_4, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_e_RedirectionGERAN_r9_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_e_RedirectionGERAN_r9_4 = { - "e-RedirectionGERAN-r9", - "e-RedirectionGERAN-r9", - e_RedirectionGERAN_r9_4_free, - e_RedirectionGERAN_r9_4_print, - e_RedirectionGERAN_r9_4_constraint, - e_RedirectionGERAN_r9_4_decode_ber, - e_RedirectionGERAN_r9_4_encode_der, - e_RedirectionGERAN_r9_4_decode_xer, - e_RedirectionGERAN_r9_4_encode_xer, - e_RedirectionGERAN_r9_4_decode_uper, - e_RedirectionGERAN_r9_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_e_RedirectionGERAN_r9_tags_4, - sizeof(asn_DEF_e_RedirectionGERAN_r9_tags_4) - /sizeof(asn_DEF_e_RedirectionGERAN_r9_tags_4[0]) - 1, /* 1 */ - asn_DEF_e_RedirectionGERAN_r9_tags_4, /* Same as above */ - sizeof(asn_DEF_e_RedirectionGERAN_r9_tags_4) - /sizeof(asn_DEF_e_RedirectionGERAN_r9_tags_4[0]), /* 2 */ - &asn_PER_type_e_RedirectionGERAN_r9_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_e_RedirectionGERAN_r9_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_IRAT_ParametersGERAN_v920_1[] = { - { ATF_POINTER, 2, offsetof(struct IRAT_ParametersGERAN_v920, dtm_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_dtm_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dtm-r9" - }, - { ATF_POINTER, 1, offsetof(struct IRAT_ParametersGERAN_v920, e_RedirectionGERAN_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_e_RedirectionGERAN_r9_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "e-RedirectionGERAN-r9" - }, -}; -static int asn_MAP_IRAT_ParametersGERAN_v920_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_IRAT_ParametersGERAN_v920_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_IRAT_ParametersGERAN_v920_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* dtm-r9 at 3956 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* e-RedirectionGERAN-r9 at 3957 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_IRAT_ParametersGERAN_v920_specs_1 = { - sizeof(struct IRAT_ParametersGERAN_v920), - offsetof(struct IRAT_ParametersGERAN_v920, _asn_ctx), - asn_MAP_IRAT_ParametersGERAN_v920_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_IRAT_ParametersGERAN_v920_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersGERAN_v920 = { - "IRAT-ParametersGERAN-v920", - "IRAT-ParametersGERAN-v920", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_IRAT_ParametersGERAN_v920_tags_1, - sizeof(asn_DEF_IRAT_ParametersGERAN_v920_tags_1) - /sizeof(asn_DEF_IRAT_ParametersGERAN_v920_tags_1[0]), /* 1 */ - asn_DEF_IRAT_ParametersGERAN_v920_tags_1, /* Same as above */ - sizeof(asn_DEF_IRAT_ParametersGERAN_v920_tags_1) - /sizeof(asn_DEF_IRAT_ParametersGERAN_v920_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_IRAT_ParametersGERAN_v920_1, - 2, /* Elements count */ - &asn_SPC_IRAT_ParametersGERAN_v920_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/IRAT-ParametersGERAN.c b/lte/rrc/lib/asn/src/IRAT-ParametersGERAN.c deleted file mode 100644 index 1141fe67a..000000000 --- a/lte/rrc/lib/asn/src/IRAT-ParametersGERAN.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/IRAT-ParametersGERAN.h" - -static asn_TYPE_member_t asn_MBR_IRAT_ParametersGERAN_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct IRAT_ParametersGERAN, supportedBandListGERAN), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SupportedBandListGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "supportedBandListGERAN" - }, - { ATF_NOFLAGS, 0, offsetof(struct IRAT_ParametersGERAN, interRAT_PS_HO_ToGERAN), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interRAT-PS-HO-ToGERAN" - }, -}; -static ber_tlv_tag_t asn_DEF_IRAT_ParametersGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_IRAT_ParametersGERAN_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* supportedBandListGERAN at 3951 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* interRAT-PS-HO-ToGERAN at 3952 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_IRAT_ParametersGERAN_specs_1 = { - sizeof(struct IRAT_ParametersGERAN), - offsetof(struct IRAT_ParametersGERAN, _asn_ctx), - asn_MAP_IRAT_ParametersGERAN_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersGERAN = { - "IRAT-ParametersGERAN", - "IRAT-ParametersGERAN", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_IRAT_ParametersGERAN_tags_1, - sizeof(asn_DEF_IRAT_ParametersGERAN_tags_1) - /sizeof(asn_DEF_IRAT_ParametersGERAN_tags_1[0]), /* 1 */ - asn_DEF_IRAT_ParametersGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_IRAT_ParametersGERAN_tags_1) - /sizeof(asn_DEF_IRAT_ParametersGERAN_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_IRAT_ParametersGERAN_1, - 2, /* Elements count */ - &asn_SPC_IRAT_ParametersGERAN_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/IRAT-ParametersUTRA-FDD.c b/lte/rrc/lib/asn/src/IRAT-ParametersUTRA-FDD.c deleted file mode 100644 index df7cde6bb..000000000 --- a/lte/rrc/lib/asn/src/IRAT-ParametersUTRA-FDD.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/IRAT-ParametersUTRA-FDD.h" - -static asn_TYPE_member_t asn_MBR_IRAT_ParametersUTRA_FDD_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct IRAT_ParametersUTRA_FDD, supportedBandListUTRA_FDD), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SupportedBandListUTRA_FDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "supportedBandListUTRA-FDD" - }, -}; -static ber_tlv_tag_t asn_DEF_IRAT_ParametersUTRA_FDD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_IRAT_ParametersUTRA_FDD_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* supportedBandListUTRA-FDD at 3899 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_IRAT_ParametersUTRA_FDD_specs_1 = { - sizeof(struct IRAT_ParametersUTRA_FDD), - offsetof(struct IRAT_ParametersUTRA_FDD, _asn_ctx), - asn_MAP_IRAT_ParametersUTRA_FDD_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersUTRA_FDD = { - "IRAT-ParametersUTRA-FDD", - "IRAT-ParametersUTRA-FDD", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_IRAT_ParametersUTRA_FDD_tags_1, - sizeof(asn_DEF_IRAT_ParametersUTRA_FDD_tags_1) - /sizeof(asn_DEF_IRAT_ParametersUTRA_FDD_tags_1[0]), /* 1 */ - asn_DEF_IRAT_ParametersUTRA_FDD_tags_1, /* Same as above */ - sizeof(asn_DEF_IRAT_ParametersUTRA_FDD_tags_1) - /sizeof(asn_DEF_IRAT_ParametersUTRA_FDD_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_IRAT_ParametersUTRA_FDD_1, - 1, /* Elements count */ - &asn_SPC_IRAT_ParametersUTRA_FDD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/IRAT-ParametersUTRA-TDD-v1020.c b/lte/rrc/lib/asn/src/IRAT-ParametersUTRA-TDD-v1020.c deleted file mode 100644 index 7e0ef2801..000000000 --- a/lte/rrc/lib/asn/src/IRAT-ParametersUTRA-TDD-v1020.c +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/IRAT-ParametersUTRA-TDD-v1020.h" - -static int -e_RedirectionUTRA_TDD_r10_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -e_RedirectionUTRA_TDD_r10_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -e_RedirectionUTRA_TDD_r10_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - e_RedirectionUTRA_TDD_r10_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -e_RedirectionUTRA_TDD_r10_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - e_RedirectionUTRA_TDD_r10_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -e_RedirectionUTRA_TDD_r10_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - e_RedirectionUTRA_TDD_r10_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -e_RedirectionUTRA_TDD_r10_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - e_RedirectionUTRA_TDD_r10_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -e_RedirectionUTRA_TDD_r10_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - e_RedirectionUTRA_TDD_r10_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -e_RedirectionUTRA_TDD_r10_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - e_RedirectionUTRA_TDD_r10_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -e_RedirectionUTRA_TDD_r10_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - e_RedirectionUTRA_TDD_r10_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -e_RedirectionUTRA_TDD_r10_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - e_RedirectionUTRA_TDD_r10_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_e_RedirectionUTRA_TDD_r10_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_e_RedirectionUTRA_TDD_r10_value2enum_2[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_e_RedirectionUTRA_TDD_r10_enum2value_2[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_e_RedirectionUTRA_TDD_r10_specs_2 = { - asn_MAP_e_RedirectionUTRA_TDD_r10_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_e_RedirectionUTRA_TDD_r10_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_e_RedirectionUTRA_TDD_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_e_RedirectionUTRA_TDD_r10_2 = { - "e-RedirectionUTRA-TDD-r10", - "e-RedirectionUTRA-TDD-r10", - e_RedirectionUTRA_TDD_r10_2_free, - e_RedirectionUTRA_TDD_r10_2_print, - e_RedirectionUTRA_TDD_r10_2_constraint, - e_RedirectionUTRA_TDD_r10_2_decode_ber, - e_RedirectionUTRA_TDD_r10_2_encode_der, - e_RedirectionUTRA_TDD_r10_2_decode_xer, - e_RedirectionUTRA_TDD_r10_2_encode_xer, - e_RedirectionUTRA_TDD_r10_2_decode_uper, - e_RedirectionUTRA_TDD_r10_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_e_RedirectionUTRA_TDD_r10_tags_2, - sizeof(asn_DEF_e_RedirectionUTRA_TDD_r10_tags_2) - /sizeof(asn_DEF_e_RedirectionUTRA_TDD_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_e_RedirectionUTRA_TDD_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_e_RedirectionUTRA_TDD_r10_tags_2) - /sizeof(asn_DEF_e_RedirectionUTRA_TDD_r10_tags_2[0]), /* 2 */ - &asn_PER_type_e_RedirectionUTRA_TDD_r10_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_e_RedirectionUTRA_TDD_r10_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_IRAT_ParametersUTRA_TDD_v1020_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct IRAT_ParametersUTRA_TDD_v1020, e_RedirectionUTRA_TDD_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_e_RedirectionUTRA_TDD_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "e-RedirectionUTRA-TDD-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_IRAT_ParametersUTRA_TDD_v1020_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_IRAT_ParametersUTRA_TDD_v1020_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* e-RedirectionUTRA-TDD-r10 at 3947 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_IRAT_ParametersUTRA_TDD_v1020_specs_1 = { - sizeof(struct IRAT_ParametersUTRA_TDD_v1020), - offsetof(struct IRAT_ParametersUTRA_TDD_v1020, _asn_ctx), - asn_MAP_IRAT_ParametersUTRA_TDD_v1020_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersUTRA_TDD_v1020 = { - "IRAT-ParametersUTRA-TDD-v1020", - "IRAT-ParametersUTRA-TDD-v1020", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_IRAT_ParametersUTRA_TDD_v1020_tags_1, - sizeof(asn_DEF_IRAT_ParametersUTRA_TDD_v1020_tags_1) - /sizeof(asn_DEF_IRAT_ParametersUTRA_TDD_v1020_tags_1[0]), /* 1 */ - asn_DEF_IRAT_ParametersUTRA_TDD_v1020_tags_1, /* Same as above */ - sizeof(asn_DEF_IRAT_ParametersUTRA_TDD_v1020_tags_1) - /sizeof(asn_DEF_IRAT_ParametersUTRA_TDD_v1020_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_IRAT_ParametersUTRA_TDD_v1020_1, - 1, /* Elements count */ - &asn_SPC_IRAT_ParametersUTRA_TDD_v1020_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/IRAT-ParametersUTRA-TDD128.c b/lte/rrc/lib/asn/src/IRAT-ParametersUTRA-TDD128.c deleted file mode 100644 index e22d2ed72..000000000 --- a/lte/rrc/lib/asn/src/IRAT-ParametersUTRA-TDD128.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/IRAT-ParametersUTRA-TDD128.h" - -static asn_TYPE_member_t asn_MBR_IRAT_ParametersUTRA_TDD128_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct IRAT_ParametersUTRA_TDD128, supportedBandListUTRA_TDD128), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SupportedBandListUTRA_TDD128, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "supportedBandListUTRA-TDD128" - }, -}; -static ber_tlv_tag_t asn_DEF_IRAT_ParametersUTRA_TDD128_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_IRAT_ParametersUTRA_TDD128_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* supportedBandListUTRA-TDD128 at 3918 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_IRAT_ParametersUTRA_TDD128_specs_1 = { - sizeof(struct IRAT_ParametersUTRA_TDD128), - offsetof(struct IRAT_ParametersUTRA_TDD128, _asn_ctx), - asn_MAP_IRAT_ParametersUTRA_TDD128_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersUTRA_TDD128 = { - "IRAT-ParametersUTRA-TDD128", - "IRAT-ParametersUTRA-TDD128", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_IRAT_ParametersUTRA_TDD128_tags_1, - sizeof(asn_DEF_IRAT_ParametersUTRA_TDD128_tags_1) - /sizeof(asn_DEF_IRAT_ParametersUTRA_TDD128_tags_1[0]), /* 1 */ - asn_DEF_IRAT_ParametersUTRA_TDD128_tags_1, /* Same as above */ - sizeof(asn_DEF_IRAT_ParametersUTRA_TDD128_tags_1) - /sizeof(asn_DEF_IRAT_ParametersUTRA_TDD128_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_IRAT_ParametersUTRA_TDD128_1, - 1, /* Elements count */ - &asn_SPC_IRAT_ParametersUTRA_TDD128_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/IRAT-ParametersUTRA-TDD384.c b/lte/rrc/lib/asn/src/IRAT-ParametersUTRA-TDD384.c deleted file mode 100644 index b8658726f..000000000 --- a/lte/rrc/lib/asn/src/IRAT-ParametersUTRA-TDD384.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/IRAT-ParametersUTRA-TDD384.h" - -static asn_TYPE_member_t asn_MBR_IRAT_ParametersUTRA_TDD384_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct IRAT_ParametersUTRA_TDD384, supportedBandListUTRA_TDD384), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SupportedBandListUTRA_TDD384, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "supportedBandListUTRA-TDD384" - }, -}; -static ber_tlv_tag_t asn_DEF_IRAT_ParametersUTRA_TDD384_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_IRAT_ParametersUTRA_TDD384_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* supportedBandListUTRA-TDD384 at 3928 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_IRAT_ParametersUTRA_TDD384_specs_1 = { - sizeof(struct IRAT_ParametersUTRA_TDD384), - offsetof(struct IRAT_ParametersUTRA_TDD384, _asn_ctx), - asn_MAP_IRAT_ParametersUTRA_TDD384_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersUTRA_TDD384 = { - "IRAT-ParametersUTRA-TDD384", - "IRAT-ParametersUTRA-TDD384", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_IRAT_ParametersUTRA_TDD384_tags_1, - sizeof(asn_DEF_IRAT_ParametersUTRA_TDD384_tags_1) - /sizeof(asn_DEF_IRAT_ParametersUTRA_TDD384_tags_1[0]), /* 1 */ - asn_DEF_IRAT_ParametersUTRA_TDD384_tags_1, /* Same as above */ - sizeof(asn_DEF_IRAT_ParametersUTRA_TDD384_tags_1) - /sizeof(asn_DEF_IRAT_ParametersUTRA_TDD384_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_IRAT_ParametersUTRA_TDD384_1, - 1, /* Elements count */ - &asn_SPC_IRAT_ParametersUTRA_TDD384_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/IRAT-ParametersUTRA-TDD768.c b/lte/rrc/lib/asn/src/IRAT-ParametersUTRA-TDD768.c deleted file mode 100644 index 825f8ab77..000000000 --- a/lte/rrc/lib/asn/src/IRAT-ParametersUTRA-TDD768.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/IRAT-ParametersUTRA-TDD768.h" - -static asn_TYPE_member_t asn_MBR_IRAT_ParametersUTRA_TDD768_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct IRAT_ParametersUTRA_TDD768, supportedBandListUTRA_TDD768), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SupportedBandListUTRA_TDD768, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "supportedBandListUTRA-TDD768" - }, -}; -static ber_tlv_tag_t asn_DEF_IRAT_ParametersUTRA_TDD768_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_IRAT_ParametersUTRA_TDD768_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* supportedBandListUTRA-TDD768 at 3938 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_IRAT_ParametersUTRA_TDD768_specs_1 = { - sizeof(struct IRAT_ParametersUTRA_TDD768), - offsetof(struct IRAT_ParametersUTRA_TDD768, _asn_ctx), - asn_MAP_IRAT_ParametersUTRA_TDD768_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersUTRA_TDD768 = { - "IRAT-ParametersUTRA-TDD768", - "IRAT-ParametersUTRA-TDD768", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_IRAT_ParametersUTRA_TDD768_tags_1, - sizeof(asn_DEF_IRAT_ParametersUTRA_TDD768_tags_1) - /sizeof(asn_DEF_IRAT_ParametersUTRA_TDD768_tags_1[0]), /* 1 */ - asn_DEF_IRAT_ParametersUTRA_TDD768_tags_1, /* Same as above */ - sizeof(asn_DEF_IRAT_ParametersUTRA_TDD768_tags_1) - /sizeof(asn_DEF_IRAT_ParametersUTRA_TDD768_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_IRAT_ParametersUTRA_TDD768_1, - 1, /* Elements count */ - &asn_SPC_IRAT_ParametersUTRA_TDD768_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/IRAT-ParametersUTRA-v920.c b/lte/rrc/lib/asn/src/IRAT-ParametersUTRA-v920.c deleted file mode 100644 index 93776dce6..000000000 --- a/lte/rrc/lib/asn/src/IRAT-ParametersUTRA-v920.c +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/IRAT-ParametersUTRA-v920.h" - -static int -e_RedirectionUTRA_r9_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -e_RedirectionUTRA_r9_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -e_RedirectionUTRA_r9_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - e_RedirectionUTRA_r9_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -e_RedirectionUTRA_r9_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - e_RedirectionUTRA_r9_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -e_RedirectionUTRA_r9_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - e_RedirectionUTRA_r9_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -e_RedirectionUTRA_r9_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - e_RedirectionUTRA_r9_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -e_RedirectionUTRA_r9_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - e_RedirectionUTRA_r9_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -e_RedirectionUTRA_r9_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - e_RedirectionUTRA_r9_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -e_RedirectionUTRA_r9_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - e_RedirectionUTRA_r9_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -e_RedirectionUTRA_r9_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - e_RedirectionUTRA_r9_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_e_RedirectionUTRA_r9_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_e_RedirectionUTRA_r9_value2enum_2[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_e_RedirectionUTRA_r9_enum2value_2[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_e_RedirectionUTRA_r9_specs_2 = { - asn_MAP_e_RedirectionUTRA_r9_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_e_RedirectionUTRA_r9_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_e_RedirectionUTRA_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_e_RedirectionUTRA_r9_2 = { - "e-RedirectionUTRA-r9", - "e-RedirectionUTRA-r9", - e_RedirectionUTRA_r9_2_free, - e_RedirectionUTRA_r9_2_print, - e_RedirectionUTRA_r9_2_constraint, - e_RedirectionUTRA_r9_2_decode_ber, - e_RedirectionUTRA_r9_2_encode_der, - e_RedirectionUTRA_r9_2_decode_xer, - e_RedirectionUTRA_r9_2_encode_xer, - e_RedirectionUTRA_r9_2_decode_uper, - e_RedirectionUTRA_r9_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_e_RedirectionUTRA_r9_tags_2, - sizeof(asn_DEF_e_RedirectionUTRA_r9_tags_2) - /sizeof(asn_DEF_e_RedirectionUTRA_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_e_RedirectionUTRA_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_e_RedirectionUTRA_r9_tags_2) - /sizeof(asn_DEF_e_RedirectionUTRA_r9_tags_2[0]), /* 2 */ - &asn_PER_type_e_RedirectionUTRA_r9_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_e_RedirectionUTRA_r9_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_IRAT_ParametersUTRA_v920_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct IRAT_ParametersUTRA_v920, e_RedirectionUTRA_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_e_RedirectionUTRA_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "e-RedirectionUTRA-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_IRAT_ParametersUTRA_v920_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_IRAT_ParametersUTRA_v920_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* e-RedirectionUTRA-r9 at 3902 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_IRAT_ParametersUTRA_v920_specs_1 = { - sizeof(struct IRAT_ParametersUTRA_v920), - offsetof(struct IRAT_ParametersUTRA_v920, _asn_ctx), - asn_MAP_IRAT_ParametersUTRA_v920_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_IRAT_ParametersUTRA_v920 = { - "IRAT-ParametersUTRA-v920", - "IRAT-ParametersUTRA-v920", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_IRAT_ParametersUTRA_v920_tags_1, - sizeof(asn_DEF_IRAT_ParametersUTRA_v920_tags_1) - /sizeof(asn_DEF_IRAT_ParametersUTRA_v920_tags_1[0]), /* 1 */ - asn_DEF_IRAT_ParametersUTRA_v920_tags_1, /* Same as above */ - sizeof(asn_DEF_IRAT_ParametersUTRA_v920_tags_1) - /sizeof(asn_DEF_IRAT_ParametersUTRA_v920_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_IRAT_ParametersUTRA_v920_1, - 1, /* Elements count */ - &asn_SPC_IRAT_ParametersUTRA_v920_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/IdleModeMobilityControlInfo.c b/lte/rrc/lib/asn/src/IdleModeMobilityControlInfo.c deleted file mode 100644 index 6c5a0353c..000000000 --- a/lte/rrc/lib/asn/src/IdleModeMobilityControlInfo.c +++ /dev/null @@ -1,273 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/IdleModeMobilityControlInfo.h" - -static int -t320_8_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -t320_8_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -t320_8_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - t320_8_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -t320_8_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - t320_8_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -t320_8_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - t320_8_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -t320_8_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - t320_8_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -t320_8_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - t320_8_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -t320_8_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - t320_8_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -t320_8_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - t320_8_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -t320_8_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - t320_8_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_t320_constr_8 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_t320_value2enum_8[] = { - { 0, 4, "min5" }, - { 1, 5, "min10" }, - { 2, 5, "min20" }, - { 3, 5, "min30" }, - { 4, 5, "min60" }, - { 5, 6, "min120" }, - { 6, 6, "min180" }, - { 7, 6, "spare1" } -}; -static unsigned int asn_MAP_t320_enum2value_8[] = { - 1, /* min10(1) */ - 5, /* min120(5) */ - 6, /* min180(6) */ - 2, /* min20(2) */ - 3, /* min30(3) */ - 0, /* min5(0) */ - 4, /* min60(4) */ - 7 /* spare1(7) */ -}; -static asn_INTEGER_specifics_t asn_SPC_t320_specs_8 = { - asn_MAP_t320_value2enum_8, /* "tag" => N; sorted by tag */ - asn_MAP_t320_enum2value_8, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_t320_tags_8[] = { - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_t320_8 = { - "t320", - "t320", - t320_8_free, - t320_8_print, - t320_8_constraint, - t320_8_decode_ber, - t320_8_encode_der, - t320_8_decode_xer, - t320_8_encode_xer, - t320_8_decode_uper, - t320_8_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_t320_tags_8, - sizeof(asn_DEF_t320_tags_8) - /sizeof(asn_DEF_t320_tags_8[0]) - 1, /* 1 */ - asn_DEF_t320_tags_8, /* Same as above */ - sizeof(asn_DEF_t320_tags_8) - /sizeof(asn_DEF_t320_tags_8[0]), /* 2 */ - &asn_PER_type_t320_constr_8, - 0, 0, /* Defined elsewhere */ - &asn_SPC_t320_specs_8 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_IdleModeMobilityControlInfo_1[] = { - { ATF_POINTER, 7, offsetof(struct IdleModeMobilityControlInfo, freqPriorityListEUTRA), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_FreqPriorityListEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "freqPriorityListEUTRA" - }, - { ATF_POINTER, 6, offsetof(struct IdleModeMobilityControlInfo, freqPriorityListGERAN), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_FreqsPriorityListGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "freqPriorityListGERAN" - }, - { ATF_POINTER, 5, offsetof(struct IdleModeMobilityControlInfo, freqPriorityListUTRA_FDD), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_FreqPriorityListUTRA_FDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "freqPriorityListUTRA-FDD" - }, - { ATF_POINTER, 4, offsetof(struct IdleModeMobilityControlInfo, freqPriorityListUTRA_TDD), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_FreqPriorityListUTRA_TDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "freqPriorityListUTRA-TDD" - }, - { ATF_POINTER, 3, offsetof(struct IdleModeMobilityControlInfo, bandClassPriorityListHRPD), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BandClassPriorityListHRPD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "bandClassPriorityListHRPD" - }, - { ATF_POINTER, 2, offsetof(struct IdleModeMobilityControlInfo, bandClassPriorityList1XRTT), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BandClassPriorityList1XRTT, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "bandClassPriorityList1XRTT" - }, - { ATF_POINTER, 1, offsetof(struct IdleModeMobilityControlInfo, t320), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_t320_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t320" - }, -}; -static int asn_MAP_IdleModeMobilityControlInfo_oms_1[] = { 0, 1, 2, 3, 4, 5, 6 }; -static ber_tlv_tag_t asn_DEF_IdleModeMobilityControlInfo_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_IdleModeMobilityControlInfo_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* freqPriorityListEUTRA at 904 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* freqPriorityListGERAN at 905 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* freqPriorityListUTRA-FDD at 906 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* freqPriorityListUTRA-TDD at 907 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* bandClassPriorityListHRPD at 908 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* bandClassPriorityList1XRTT at 909 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* t320 at 911 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_IdleModeMobilityControlInfo_specs_1 = { - sizeof(struct IdleModeMobilityControlInfo), - offsetof(struct IdleModeMobilityControlInfo, _asn_ctx), - asn_MAP_IdleModeMobilityControlInfo_tag2el_1, - 7, /* Count of tags in the map */ - asn_MAP_IdleModeMobilityControlInfo_oms_1, /* Optional members */ - 7, 0, /* Root/Additions */ - 6, /* Start extensions */ - 8 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_IdleModeMobilityControlInfo = { - "IdleModeMobilityControlInfo", - "IdleModeMobilityControlInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_IdleModeMobilityControlInfo_tags_1, - sizeof(asn_DEF_IdleModeMobilityControlInfo_tags_1) - /sizeof(asn_DEF_IdleModeMobilityControlInfo_tags_1[0]), /* 1 */ - asn_DEF_IdleModeMobilityControlInfo_tags_1, /* Same as above */ - sizeof(asn_DEF_IdleModeMobilityControlInfo_tags_1) - /sizeof(asn_DEF_IdleModeMobilityControlInfo_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_IdleModeMobilityControlInfo_1, - 7, /* Elements count */ - &asn_SPC_IdleModeMobilityControlInfo_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/InitialUE-Identity.c b/lte/rrc/lib/asn/src/InitialUE-Identity.c deleted file mode 100644 index 0bb916fd1..000000000 --- a/lte/rrc/lib/asn/src/InitialUE-Identity.c +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/InitialUE-Identity.h" - -static int -memb_randomValue_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 40)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_randomValue_constr_3 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 40, 40 } /* (SIZE(40..40)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_InitialUE_Identity_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_InitialUE_Identity_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct InitialUE_Identity, choice.s_TMSI), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_S_TMSI, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "s-TMSI" - }, - { ATF_NOFLAGS, 0, offsetof(struct InitialUE_Identity, choice.randomValue), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_randomValue_constraint_1, - &asn_PER_memb_randomValue_constr_3, - 0, - "randomValue" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_InitialUE_Identity_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* s-TMSI at 1003 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* randomValue at 1004 */ -}; -static asn_CHOICE_specifics_t asn_SPC_InitialUE_Identity_specs_1 = { - sizeof(struct InitialUE_Identity), - offsetof(struct InitialUE_Identity, _asn_ctx), - offsetof(struct InitialUE_Identity, present), - sizeof(((struct InitialUE_Identity *)0)->present), - asn_MAP_InitialUE_Identity_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_InitialUE_Identity = { - "InitialUE-Identity", - "InitialUE-Identity", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_InitialUE_Identity_constr_1, - asn_MBR_InitialUE_Identity_1, - 2, /* Elements count */ - &asn_SPC_InitialUE_Identity_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/InterFreqBandInfo.c b/lte/rrc/lib/asn/src/InterFreqBandInfo.c deleted file mode 100644 index 9ef0e3a15..000000000 --- a/lte/rrc/lib/asn/src/InterFreqBandInfo.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/InterFreqBandInfo.h" - -static asn_TYPE_member_t asn_MBR_InterFreqBandInfo_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct InterFreqBandInfo, interFreqNeedForGaps), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interFreqNeedForGaps" - }, -}; -static ber_tlv_tag_t asn_DEF_InterFreqBandInfo_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_InterFreqBandInfo_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* interFreqNeedForGaps at 3888 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_InterFreqBandInfo_specs_1 = { - sizeof(struct InterFreqBandInfo), - offsetof(struct InterFreqBandInfo, _asn_ctx), - asn_MAP_InterFreqBandInfo_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_InterFreqBandInfo = { - "InterFreqBandInfo", - "InterFreqBandInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_InterFreqBandInfo_tags_1, - sizeof(asn_DEF_InterFreqBandInfo_tags_1) - /sizeof(asn_DEF_InterFreqBandInfo_tags_1[0]), /* 1 */ - asn_DEF_InterFreqBandInfo_tags_1, /* Same as above */ - sizeof(asn_DEF_InterFreqBandInfo_tags_1) - /sizeof(asn_DEF_InterFreqBandInfo_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_InterFreqBandInfo_1, - 1, /* Elements count */ - &asn_SPC_InterFreqBandInfo_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/InterFreqBandList.c b/lte/rrc/lib/asn/src/InterFreqBandList.c deleted file mode 100644 index 39e909e35..000000000 --- a/lte/rrc/lib/asn/src/InterFreqBandList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/InterFreqBandList.h" - -static asn_per_constraints_t asn_PER_type_InterFreqBandList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 6, 6, 1, 64 } /* (SIZE(1..64)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_InterFreqBandList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_InterFreqBandInfo, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_InterFreqBandList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_InterFreqBandList_specs_1 = { - sizeof(struct InterFreqBandList), - offsetof(struct InterFreqBandList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_InterFreqBandList = { - "InterFreqBandList", - "InterFreqBandList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_InterFreqBandList_tags_1, - sizeof(asn_DEF_InterFreqBandList_tags_1) - /sizeof(asn_DEF_InterFreqBandList_tags_1[0]), /* 1 */ - asn_DEF_InterFreqBandList_tags_1, /* Same as above */ - sizeof(asn_DEF_InterFreqBandList_tags_1) - /sizeof(asn_DEF_InterFreqBandList_tags_1[0]), /* 1 */ - &asn_PER_type_InterFreqBandList_constr_1, - asn_MBR_InterFreqBandList_1, - 1, /* Single element */ - &asn_SPC_InterFreqBandList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/InterFreqBlackCellList.c b/lte/rrc/lib/asn/src/InterFreqBlackCellList.c deleted file mode 100644 index a5f91e671..000000000 --- a/lte/rrc/lib/asn/src/InterFreqBlackCellList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/InterFreqBlackCellList.h" - -static asn_per_constraints_t asn_PER_type_InterFreqBlackCellList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_InterFreqBlackCellList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_PhysCellIdRange, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_InterFreqBlackCellList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_InterFreqBlackCellList_specs_1 = { - sizeof(struct InterFreqBlackCellList), - offsetof(struct InterFreqBlackCellList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_InterFreqBlackCellList = { - "InterFreqBlackCellList", - "InterFreqBlackCellList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_InterFreqBlackCellList_tags_1, - sizeof(asn_DEF_InterFreqBlackCellList_tags_1) - /sizeof(asn_DEF_InterFreqBlackCellList_tags_1[0]), /* 1 */ - asn_DEF_InterFreqBlackCellList_tags_1, /* Same as above */ - sizeof(asn_DEF_InterFreqBlackCellList_tags_1) - /sizeof(asn_DEF_InterFreqBlackCellList_tags_1[0]), /* 1 */ - &asn_PER_type_InterFreqBlackCellList_constr_1, - asn_MBR_InterFreqBlackCellList_1, - 1, /* Single element */ - &asn_SPC_InterFreqBlackCellList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/InterFreqCarrierFreqInfo.c b/lte/rrc/lib/asn/src/InterFreqCarrierFreqInfo.c deleted file mode 100644 index 5d624f360..000000000 --- a/lte/rrc/lib/asn/src/InterFreqCarrierFreqInfo.c +++ /dev/null @@ -1,293 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/InterFreqCarrierFreqInfo.h" - -static int asn_DFL_13_set_15(int set_value, void **sptr) { - Q_OffsetRange_t *st = *sptr; - - if(!st) { - if(!set_value) return -1; /* Not a default value */ - st = (*sptr = CALLOC(1, sizeof(*st))); - if(!st) return -1; - } - - if(set_value) { - /* Install default value 15 */ - *st = 15; - return 0; - } else { - /* Test default value 15 */ - return (*st == 15); - } -} -static asn_TYPE_member_t asn_MBR_threshX_Q_r9_17[] = { - { ATF_NOFLAGS, 0, offsetof(struct InterFreqCarrierFreqInfo__threshX_Q_r9, threshX_HighQ_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThresholdQ_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "threshX-HighQ-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct InterFreqCarrierFreqInfo__threshX_Q_r9, threshX_LowQ_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThresholdQ_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "threshX-LowQ-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_threshX_Q_r9_tags_17[] = { - (ASN_TAG_CLASS_CONTEXT | (15 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_threshX_Q_r9_tag2el_17[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* threshX-HighQ-r9 at 1586 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* threshX-LowQ-r9 at 1588 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_threshX_Q_r9_specs_17 = { - sizeof(struct InterFreqCarrierFreqInfo__threshX_Q_r9), - offsetof(struct InterFreqCarrierFreqInfo__threshX_Q_r9, _asn_ctx), - asn_MAP_threshX_Q_r9_tag2el_17, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_threshX_Q_r9_17 = { - "threshX-Q-r9", - "threshX-Q-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_threshX_Q_r9_tags_17, - sizeof(asn_DEF_threshX_Q_r9_tags_17) - /sizeof(asn_DEF_threshX_Q_r9_tags_17[0]) - 1, /* 1 */ - asn_DEF_threshX_Q_r9_tags_17, /* Same as above */ - sizeof(asn_DEF_threshX_Q_r9_tags_17) - /sizeof(asn_DEF_threshX_Q_r9_tags_17[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_threshX_Q_r9_17, - 2, /* Elements count */ - &asn_SPC_threshX_Q_r9_specs_17 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_InterFreqCarrierFreqInfo_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct InterFreqCarrierFreqInfo, dl_CarrierFreq), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dl-CarrierFreq" - }, - { ATF_NOFLAGS, 0, offsetof(struct InterFreqCarrierFreqInfo, q_RxLevMin), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Q_RxLevMin, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "q-RxLevMin" - }, - { ATF_POINTER, 1, offsetof(struct InterFreqCarrierFreqInfo, p_Max), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_P_Max, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "p-Max" - }, - { ATF_NOFLAGS, 0, offsetof(struct InterFreqCarrierFreqInfo, t_ReselectionEUTRA), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_T_Reselection, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t-ReselectionEUTRA" - }, - { ATF_POINTER, 1, offsetof(struct InterFreqCarrierFreqInfo, t_ReselectionEUTRA_SF), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SpeedStateScaleFactors, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t-ReselectionEUTRA-SF" - }, - { ATF_NOFLAGS, 0, offsetof(struct InterFreqCarrierFreqInfo, threshX_High), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThreshold, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "threshX-High" - }, - { ATF_NOFLAGS, 0, offsetof(struct InterFreqCarrierFreqInfo, threshX_Low), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThreshold, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "threshX-Low" - }, - { ATF_NOFLAGS, 0, offsetof(struct InterFreqCarrierFreqInfo, allowedMeasBandwidth), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AllowedMeasBandwidth, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "allowedMeasBandwidth" - }, - { ATF_NOFLAGS, 0, offsetof(struct InterFreqCarrierFreqInfo, presenceAntennaPort1), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PresenceAntennaPort1, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "presenceAntennaPort1" - }, - { ATF_POINTER, 1, offsetof(struct InterFreqCarrierFreqInfo, cellReselectionPriority), - (ASN_TAG_CLASS_CONTEXT | (9 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellReselectionPriority, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReselectionPriority" - }, - { ATF_NOFLAGS, 0, offsetof(struct InterFreqCarrierFreqInfo, neighCellConfig), - (ASN_TAG_CLASS_CONTEXT | (10 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NeighCellConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "neighCellConfig" - }, - { ATF_POINTER, 5, offsetof(struct InterFreqCarrierFreqInfo, q_OffsetFreq), - (ASN_TAG_CLASS_CONTEXT | (11 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Q_OffsetRange, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - asn_DFL_13_set_15, /* DEFAULT 15 */ - "q-OffsetFreq" - }, - { ATF_POINTER, 4, offsetof(struct InterFreqCarrierFreqInfo, interFreqNeighCellList), - (ASN_TAG_CLASS_CONTEXT | (12 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_InterFreqNeighCellList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interFreqNeighCellList" - }, - { ATF_POINTER, 3, offsetof(struct InterFreqCarrierFreqInfo, interFreqBlackCellList), - (ASN_TAG_CLASS_CONTEXT | (13 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_InterFreqBlackCellList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interFreqBlackCellList" - }, - { ATF_POINTER, 2, offsetof(struct InterFreqCarrierFreqInfo, q_QualMin_r9), - (ASN_TAG_CLASS_CONTEXT | (14 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Q_QualMin_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "q-QualMin-r9" - }, - { ATF_POINTER, 1, offsetof(struct InterFreqCarrierFreqInfo, threshX_Q_r9), - (ASN_TAG_CLASS_CONTEXT | (15 << 2)), - 0, - &asn_DEF_threshX_Q_r9_17, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "threshX-Q-r9" - }, -}; -static int asn_MAP_InterFreqCarrierFreqInfo_oms_1[] = { 2, 4, 9, 11, 12, 13, 14, 15 }; -static ber_tlv_tag_t asn_DEF_InterFreqCarrierFreqInfo_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_InterFreqCarrierFreqInfo_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* dl-CarrierFreq at 1570 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* q-RxLevMin at 1571 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* p-Max at 1572 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* t-ReselectionEUTRA at 1573 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* t-ReselectionEUTRA-SF at 1574 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* threshX-High at 1575 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* threshX-Low at 1576 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* allowedMeasBandwidth at 1577 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* presenceAntennaPort1 at 1578 */ - { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* cellReselectionPriority at 1579 */ - { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* neighCellConfig at 1580 */ - { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 }, /* q-OffsetFreq at 1581 */ - { (ASN_TAG_CLASS_CONTEXT | (12 << 2)), 12, 0, 0 }, /* interFreqNeighCellList at 1582 */ - { (ASN_TAG_CLASS_CONTEXT | (13 << 2)), 13, 0, 0 }, /* interFreqBlackCellList at 1583 */ - { (ASN_TAG_CLASS_CONTEXT | (14 << 2)), 14, 0, 0 }, /* q-QualMin-r9 at 1584 */ - { (ASN_TAG_CLASS_CONTEXT | (15 << 2)), 15, 0, 0 } /* threshX-Q-r9 at 1586 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_InterFreqCarrierFreqInfo_specs_1 = { - sizeof(struct InterFreqCarrierFreqInfo), - offsetof(struct InterFreqCarrierFreqInfo, _asn_ctx), - asn_MAP_InterFreqCarrierFreqInfo_tag2el_1, - 16, /* Count of tags in the map */ - asn_MAP_InterFreqCarrierFreqInfo_oms_1, /* Optional members */ - 8, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_InterFreqCarrierFreqInfo = { - "InterFreqCarrierFreqInfo", - "InterFreqCarrierFreqInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_InterFreqCarrierFreqInfo_tags_1, - sizeof(asn_DEF_InterFreqCarrierFreqInfo_tags_1) - /sizeof(asn_DEF_InterFreqCarrierFreqInfo_tags_1[0]), /* 1 */ - asn_DEF_InterFreqCarrierFreqInfo_tags_1, /* Same as above */ - sizeof(asn_DEF_InterFreqCarrierFreqInfo_tags_1) - /sizeof(asn_DEF_InterFreqCarrierFreqInfo_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_InterFreqCarrierFreqInfo_1, - 16, /* Elements count */ - &asn_SPC_InterFreqCarrierFreqInfo_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/InterFreqCarrierFreqList.c b/lte/rrc/lib/asn/src/InterFreqCarrierFreqList.c deleted file mode 100644 index 07994f763..000000000 --- a/lte/rrc/lib/asn/src/InterFreqCarrierFreqList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/InterFreqCarrierFreqList.h" - -static asn_per_constraints_t asn_PER_type_InterFreqCarrierFreqList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (SIZE(1..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_InterFreqCarrierFreqList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_InterFreqCarrierFreqInfo, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_InterFreqCarrierFreqList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_InterFreqCarrierFreqList_specs_1 = { - sizeof(struct InterFreqCarrierFreqList), - offsetof(struct InterFreqCarrierFreqList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_InterFreqCarrierFreqList = { - "InterFreqCarrierFreqList", - "InterFreqCarrierFreqList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_InterFreqCarrierFreqList_tags_1, - sizeof(asn_DEF_InterFreqCarrierFreqList_tags_1) - /sizeof(asn_DEF_InterFreqCarrierFreqList_tags_1[0]), /* 1 */ - asn_DEF_InterFreqCarrierFreqList_tags_1, /* Same as above */ - sizeof(asn_DEF_InterFreqCarrierFreqList_tags_1) - /sizeof(asn_DEF_InterFreqCarrierFreqList_tags_1[0]), /* 1 */ - &asn_PER_type_InterFreqCarrierFreqList_constr_1, - asn_MBR_InterFreqCarrierFreqList_1, - 1, /* Single element */ - &asn_SPC_InterFreqCarrierFreqList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/InterFreqNeighCellInfo.c b/lte/rrc/lib/asn/src/InterFreqNeighCellInfo.c deleted file mode 100644 index 813b38b7d..000000000 --- a/lte/rrc/lib/asn/src/InterFreqNeighCellInfo.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/InterFreqNeighCellInfo.h" - -static asn_TYPE_member_t asn_MBR_InterFreqNeighCellInfo_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct InterFreqNeighCellInfo, physCellId), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId" - }, - { ATF_NOFLAGS, 0, offsetof(struct InterFreqNeighCellInfo, q_OffsetCell), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Q_OffsetRange, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "q-OffsetCell" - }, -}; -static ber_tlv_tag_t asn_DEF_InterFreqNeighCellInfo_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_InterFreqNeighCellInfo_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* physCellId at 1594 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* q-OffsetCell at 1596 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_InterFreqNeighCellInfo_specs_1 = { - sizeof(struct InterFreqNeighCellInfo), - offsetof(struct InterFreqNeighCellInfo, _asn_ctx), - asn_MAP_InterFreqNeighCellInfo_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_InterFreqNeighCellInfo = { - "InterFreqNeighCellInfo", - "InterFreqNeighCellInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_InterFreqNeighCellInfo_tags_1, - sizeof(asn_DEF_InterFreqNeighCellInfo_tags_1) - /sizeof(asn_DEF_InterFreqNeighCellInfo_tags_1[0]), /* 1 */ - asn_DEF_InterFreqNeighCellInfo_tags_1, /* Same as above */ - sizeof(asn_DEF_InterFreqNeighCellInfo_tags_1) - /sizeof(asn_DEF_InterFreqNeighCellInfo_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_InterFreqNeighCellInfo_1, - 2, /* Elements count */ - &asn_SPC_InterFreqNeighCellInfo_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/InterFreqNeighCellList.c b/lte/rrc/lib/asn/src/InterFreqNeighCellList.c deleted file mode 100644 index 27ce54d28..000000000 --- a/lte/rrc/lib/asn/src/InterFreqNeighCellList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/InterFreqNeighCellList.h" - -static asn_per_constraints_t asn_PER_type_InterFreqNeighCellList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_InterFreqNeighCellList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_InterFreqNeighCellInfo, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_InterFreqNeighCellList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_InterFreqNeighCellList_specs_1 = { - sizeof(struct InterFreqNeighCellList), - offsetof(struct InterFreqNeighCellList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_InterFreqNeighCellList = { - "InterFreqNeighCellList", - "InterFreqNeighCellList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_InterFreqNeighCellList_tags_1, - sizeof(asn_DEF_InterFreqNeighCellList_tags_1) - /sizeof(asn_DEF_InterFreqNeighCellList_tags_1[0]), /* 1 */ - asn_DEF_InterFreqNeighCellList_tags_1, /* Same as above */ - sizeof(asn_DEF_InterFreqNeighCellList_tags_1) - /sizeof(asn_DEF_InterFreqNeighCellList_tags_1[0]), /* 1 */ - &asn_PER_type_InterFreqNeighCellList_constr_1, - asn_MBR_InterFreqNeighCellList_1, - 1, /* Single element */ - &asn_SPC_InterFreqNeighCellList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/InterFreqRSTDMeasurementIndication-r10-IEs.c b/lte/rrc/lib/asn/src/InterFreqRSTDMeasurementIndication-r10-IEs.c deleted file mode 100644 index 2de62f635..000000000 --- a/lte/rrc/lib/asn/src/InterFreqRSTDMeasurementIndication-r10-IEs.c +++ /dev/null @@ -1,236 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/InterFreqRSTDMeasurementIndication-r10-IEs.h" - -static asn_per_constraints_t asn_PER_type_rstd_InterFreqIndication_r10_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_start_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct InterFreqRSTDMeasurementIndication_r10_IEs__rstd_InterFreqIndication_r10__start, rstd_InterFreqInfoList_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RSTD_InterFreqInfoList_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rstd-InterFreqInfoList-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_start_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_start_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* rstd-InterFreqInfoList-r10 at 305 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_start_specs_3 = { - sizeof(struct InterFreqRSTDMeasurementIndication_r10_IEs__rstd_InterFreqIndication_r10__start), - offsetof(struct InterFreqRSTDMeasurementIndication_r10_IEs__rstd_InterFreqIndication_r10__start, _asn_ctx), - asn_MAP_start_tag2el_3, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_start_3 = { - "start", - "start", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_start_tags_3, - sizeof(asn_DEF_start_tags_3) - /sizeof(asn_DEF_start_tags_3[0]) - 1, /* 1 */ - asn_DEF_start_tags_3, /* Same as above */ - sizeof(asn_DEF_start_tags_3) - /sizeof(asn_DEF_start_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_start_3, - 1, /* Elements count */ - &asn_SPC_start_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_rstd_InterFreqIndication_r10_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct InterFreqRSTDMeasurementIndication_r10_IEs__rstd_InterFreqIndication_r10, choice.start), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_start_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "start" - }, - { ATF_NOFLAGS, 0, offsetof(struct InterFreqRSTDMeasurementIndication_r10_IEs__rstd_InterFreqIndication_r10, choice.stop), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "stop" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_rstd_InterFreqIndication_r10_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* start at 305 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* stop at 306 */ -}; -static asn_CHOICE_specifics_t asn_SPC_rstd_InterFreqIndication_r10_specs_2 = { - sizeof(struct InterFreqRSTDMeasurementIndication_r10_IEs__rstd_InterFreqIndication_r10), - offsetof(struct InterFreqRSTDMeasurementIndication_r10_IEs__rstd_InterFreqIndication_r10, _asn_ctx), - offsetof(struct InterFreqRSTDMeasurementIndication_r10_IEs__rstd_InterFreqIndication_r10, present), - sizeof(((struct InterFreqRSTDMeasurementIndication_r10_IEs__rstd_InterFreqIndication_r10 *)0)->present), - asn_MAP_rstd_InterFreqIndication_r10_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_rstd_InterFreqIndication_r10_2 = { - "rstd-InterFreqIndication-r10", - "rstd-InterFreqIndication-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_rstd_InterFreqIndication_r10_constr_2, - asn_MBR_rstd_InterFreqIndication_r10_2, - 2, /* Elements count */ - &asn_SPC_rstd_InterFreqIndication_r10_specs_2 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_7[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_7 = { - sizeof(struct InterFreqRSTDMeasurementIndication_r10_IEs__nonCriticalExtension), - offsetof(struct InterFreqRSTDMeasurementIndication_r10_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_7 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_7, - sizeof(asn_DEF_nonCriticalExtension_tags_7) - /sizeof(asn_DEF_nonCriticalExtension_tags_7[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_7, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_7) - /sizeof(asn_DEF_nonCriticalExtension_tags_7[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_7 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_InterFreqRSTDMeasurementIndication_r10_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct InterFreqRSTDMeasurementIndication_r10_IEs, rstd_InterFreqIndication_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_rstd_InterFreqIndication_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rstd-InterFreqIndication-r10" - }, - { ATF_POINTER, 2, offsetof(struct InterFreqRSTDMeasurementIndication_r10_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct InterFreqRSTDMeasurementIndication_r10_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_nonCriticalExtension_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_InterFreqRSTDMeasurementIndication_r10_IEs_oms_1[] = { 1, 2 }; -static ber_tlv_tag_t asn_DEF_InterFreqRSTDMeasurementIndication_r10_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_InterFreqRSTDMeasurementIndication_r10_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rstd-InterFreqIndication-r10 at 305 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* lateNonCriticalExtension at 308 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* nonCriticalExtension at 309 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_InterFreqRSTDMeasurementIndication_r10_IEs_specs_1 = { - sizeof(struct InterFreqRSTDMeasurementIndication_r10_IEs), - offsetof(struct InterFreqRSTDMeasurementIndication_r10_IEs, _asn_ctx), - asn_MAP_InterFreqRSTDMeasurementIndication_r10_IEs_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_InterFreqRSTDMeasurementIndication_r10_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_InterFreqRSTDMeasurementIndication_r10_IEs = { - "InterFreqRSTDMeasurementIndication-r10-IEs", - "InterFreqRSTDMeasurementIndication-r10-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_InterFreqRSTDMeasurementIndication_r10_IEs_tags_1, - sizeof(asn_DEF_InterFreqRSTDMeasurementIndication_r10_IEs_tags_1) - /sizeof(asn_DEF_InterFreqRSTDMeasurementIndication_r10_IEs_tags_1[0]), /* 1 */ - asn_DEF_InterFreqRSTDMeasurementIndication_r10_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_InterFreqRSTDMeasurementIndication_r10_IEs_tags_1) - /sizeof(asn_DEF_InterFreqRSTDMeasurementIndication_r10_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_InterFreqRSTDMeasurementIndication_r10_IEs_1, - 3, /* Elements count */ - &asn_SPC_InterFreqRSTDMeasurementIndication_r10_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/InterFreqRSTDMeasurementIndication-r10.c b/lte/rrc/lib/asn/src/InterFreqRSTDMeasurementIndication-r10.c deleted file mode 100644 index 101acea5d..000000000 --- a/lte/rrc/lib/asn/src/InterFreqRSTDMeasurementIndication-r10.c +++ /dev/null @@ -1,244 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/InterFreqRSTDMeasurementIndication-r10.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_3 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions__c1, choice.interFreqRSTDMeasurementIndication_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_InterFreqRSTDMeasurementIndication_r10_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interFreqRSTDMeasurementIndication-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* interFreqRSTDMeasurementIndication-r10 at 294 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 at 295 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 295 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 295 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_3 = { - sizeof(struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions__c1), - offsetof(struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions__c1, _asn_ctx), - offsetof(struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions__c1, present), - sizeof(((struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_3, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_3 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_3, - asn_MBR_c1_3, - 4, /* Elements count */ - &asn_SPC_c1_specs_3 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_8[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_8 = { - sizeof(struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions__criticalExtensionsFuture), - offsetof(struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_8 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_8, - sizeof(asn_DEF_criticalExtensionsFuture_tags_8) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_8[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_8, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_8) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_8[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_8 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 294 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 297 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = { - sizeof(struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions), - offsetof(struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions, _asn_ctx), - offsetof(struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions, present), - sizeof(((struct InterFreqRSTDMeasurementIndication_r10__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_2, - asn_MBR_criticalExtensions_2, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_InterFreqRSTDMeasurementIndication_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct InterFreqRSTDMeasurementIndication_r10, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_InterFreqRSTDMeasurementIndication_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_InterFreqRSTDMeasurementIndication_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions at 296 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_InterFreqRSTDMeasurementIndication_r10_specs_1 = { - sizeof(struct InterFreqRSTDMeasurementIndication_r10), - offsetof(struct InterFreqRSTDMeasurementIndication_r10, _asn_ctx), - asn_MAP_InterFreqRSTDMeasurementIndication_r10_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_InterFreqRSTDMeasurementIndication_r10 = { - "InterFreqRSTDMeasurementIndication-r10", - "InterFreqRSTDMeasurementIndication-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_InterFreqRSTDMeasurementIndication_r10_tags_1, - sizeof(asn_DEF_InterFreqRSTDMeasurementIndication_r10_tags_1) - /sizeof(asn_DEF_InterFreqRSTDMeasurementIndication_r10_tags_1[0]), /* 1 */ - asn_DEF_InterFreqRSTDMeasurementIndication_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_InterFreqRSTDMeasurementIndication_r10_tags_1) - /sizeof(asn_DEF_InterFreqRSTDMeasurementIndication_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_InterFreqRSTDMeasurementIndication_r10_1, - 1, /* Elements count */ - &asn_SPC_InterFreqRSTDMeasurementIndication_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/InterRAT-BandInfo.c b/lte/rrc/lib/asn/src/InterRAT-BandInfo.c deleted file mode 100644 index b5b6d3386..000000000 --- a/lte/rrc/lib/asn/src/InterRAT-BandInfo.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/InterRAT-BandInfo.h" - -static asn_TYPE_member_t asn_MBR_InterRAT_BandInfo_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct InterRAT_BandInfo, interRAT_NeedForGaps), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interRAT-NeedForGaps" - }, -}; -static ber_tlv_tag_t asn_DEF_InterRAT_BandInfo_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_InterRAT_BandInfo_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* interRAT-NeedForGaps at 3894 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_InterRAT_BandInfo_specs_1 = { - sizeof(struct InterRAT_BandInfo), - offsetof(struct InterRAT_BandInfo, _asn_ctx), - asn_MAP_InterRAT_BandInfo_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_InterRAT_BandInfo = { - "InterRAT-BandInfo", - "InterRAT-BandInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_InterRAT_BandInfo_tags_1, - sizeof(asn_DEF_InterRAT_BandInfo_tags_1) - /sizeof(asn_DEF_InterRAT_BandInfo_tags_1[0]), /* 1 */ - asn_DEF_InterRAT_BandInfo_tags_1, /* Same as above */ - sizeof(asn_DEF_InterRAT_BandInfo_tags_1) - /sizeof(asn_DEF_InterRAT_BandInfo_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_InterRAT_BandInfo_1, - 1, /* Elements count */ - &asn_SPC_InterRAT_BandInfo_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/InterRAT-BandList.c b/lte/rrc/lib/asn/src/InterRAT-BandList.c deleted file mode 100644 index d1b8276ab..000000000 --- a/lte/rrc/lib/asn/src/InterRAT-BandList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/InterRAT-BandList.h" - -static asn_per_constraints_t asn_PER_type_InterRAT_BandList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 6, 6, 1, 64 } /* (SIZE(1..64)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_InterRAT_BandList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_InterRAT_BandInfo, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_InterRAT_BandList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_InterRAT_BandList_specs_1 = { - sizeof(struct InterRAT_BandList), - offsetof(struct InterRAT_BandList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_InterRAT_BandList = { - "InterRAT-BandList", - "InterRAT-BandList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_InterRAT_BandList_tags_1, - sizeof(asn_DEF_InterRAT_BandList_tags_1) - /sizeof(asn_DEF_InterRAT_BandList_tags_1[0]), /* 1 */ - asn_DEF_InterRAT_BandList_tags_1, /* Same as above */ - sizeof(asn_DEF_InterRAT_BandList_tags_1) - /sizeof(asn_DEF_InterRAT_BandList_tags_1[0]), /* 1 */ - &asn_PER_type_InterRAT_BandList_constr_1, - asn_MBR_InterRAT_BandList_1, - 1, /* Single element */ - &asn_SPC_InterRAT_BandList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/IntraFreqBlackCellList.c b/lte/rrc/lib/asn/src/IntraFreqBlackCellList.c deleted file mode 100644 index 00c238b80..000000000 --- a/lte/rrc/lib/asn/src/IntraFreqBlackCellList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/IntraFreqBlackCellList.h" - -static asn_per_constraints_t asn_PER_type_IntraFreqBlackCellList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_IntraFreqBlackCellList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_PhysCellIdRange, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_IntraFreqBlackCellList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_IntraFreqBlackCellList_specs_1 = { - sizeof(struct IntraFreqBlackCellList), - offsetof(struct IntraFreqBlackCellList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_IntraFreqBlackCellList = { - "IntraFreqBlackCellList", - "IntraFreqBlackCellList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_IntraFreqBlackCellList_tags_1, - sizeof(asn_DEF_IntraFreqBlackCellList_tags_1) - /sizeof(asn_DEF_IntraFreqBlackCellList_tags_1[0]), /* 1 */ - asn_DEF_IntraFreqBlackCellList_tags_1, /* Same as above */ - sizeof(asn_DEF_IntraFreqBlackCellList_tags_1) - /sizeof(asn_DEF_IntraFreqBlackCellList_tags_1[0]), /* 1 */ - &asn_PER_type_IntraFreqBlackCellList_constr_1, - asn_MBR_IntraFreqBlackCellList_1, - 1, /* Single element */ - &asn_SPC_IntraFreqBlackCellList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/IntraFreqNeighCellInfo.c b/lte/rrc/lib/asn/src/IntraFreqNeighCellInfo.c deleted file mode 100644 index d04f84425..000000000 --- a/lte/rrc/lib/asn/src/IntraFreqNeighCellInfo.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/IntraFreqNeighCellInfo.h" - -static asn_TYPE_member_t asn_MBR_IntraFreqNeighCellInfo_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct IntraFreqNeighCellInfo, physCellId), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId" - }, - { ATF_NOFLAGS, 0, offsetof(struct IntraFreqNeighCellInfo, q_OffsetCell), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Q_OffsetRange, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "q-OffsetCell" - }, -}; -static ber_tlv_tag_t asn_DEF_IntraFreqNeighCellInfo_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_IntraFreqNeighCellInfo_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* physCellId at 1553 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* q-OffsetCell at 1554 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_IntraFreqNeighCellInfo_specs_1 = { - sizeof(struct IntraFreqNeighCellInfo), - offsetof(struct IntraFreqNeighCellInfo, _asn_ctx), - asn_MAP_IntraFreqNeighCellInfo_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* Start extensions */ - 3 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_IntraFreqNeighCellInfo = { - "IntraFreqNeighCellInfo", - "IntraFreqNeighCellInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_IntraFreqNeighCellInfo_tags_1, - sizeof(asn_DEF_IntraFreqNeighCellInfo_tags_1) - /sizeof(asn_DEF_IntraFreqNeighCellInfo_tags_1[0]), /* 1 */ - asn_DEF_IntraFreqNeighCellInfo_tags_1, /* Same as above */ - sizeof(asn_DEF_IntraFreqNeighCellInfo_tags_1) - /sizeof(asn_DEF_IntraFreqNeighCellInfo_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_IntraFreqNeighCellInfo_1, - 2, /* Elements count */ - &asn_SPC_IntraFreqNeighCellInfo_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/IntraFreqNeighCellList.c b/lte/rrc/lib/asn/src/IntraFreqNeighCellList.c deleted file mode 100644 index 55cb8868b..000000000 --- a/lte/rrc/lib/asn/src/IntraFreqNeighCellList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/IntraFreqNeighCellList.h" - -static asn_per_constraints_t asn_PER_type_IntraFreqNeighCellList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_IntraFreqNeighCellList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_IntraFreqNeighCellInfo, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_IntraFreqNeighCellList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_IntraFreqNeighCellList_specs_1 = { - sizeof(struct IntraFreqNeighCellList), - offsetof(struct IntraFreqNeighCellList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_IntraFreqNeighCellList = { - "IntraFreqNeighCellList", - "IntraFreqNeighCellList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_IntraFreqNeighCellList_tags_1, - sizeof(asn_DEF_IntraFreqNeighCellList_tags_1) - /sizeof(asn_DEF_IntraFreqNeighCellList_tags_1[0]), /* 1 */ - asn_DEF_IntraFreqNeighCellList_tags_1, /* Same as above */ - sizeof(asn_DEF_IntraFreqNeighCellList_tags_1) - /sizeof(asn_DEF_IntraFreqNeighCellList_tags_1[0]), /* 1 */ - &asn_PER_type_IntraFreqNeighCellList_constr_1, - asn_MBR_IntraFreqNeighCellList_1, - 1, /* Single element */ - &asn_SPC_IntraFreqNeighCellList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/Key-eNodeB-Star.c b/lte/rrc/lib/asn/src/Key-eNodeB-Star.c deleted file mode 100644 index 7d7375c91..000000000 --- a/lte/rrc/lib/asn/src/Key-eNodeB-Star.c +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#include "liblte/rrc/asn/Key-eNodeB-Star.h" - -int -Key_eNodeB_Star_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 256)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using BIT_STRING, - * so here we adjust the DEF accordingly. - */ -static void -Key_eNodeB_Star_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_BIT_STRING.free_struct; - td->print_struct = asn_DEF_BIT_STRING.print_struct; - td->check_constraints = asn_DEF_BIT_STRING.check_constraints; - td->ber_decoder = asn_DEF_BIT_STRING.ber_decoder; - td->der_encoder = asn_DEF_BIT_STRING.der_encoder; - td->xer_decoder = asn_DEF_BIT_STRING.xer_decoder; - td->xer_encoder = asn_DEF_BIT_STRING.xer_encoder; - td->uper_decoder = asn_DEF_BIT_STRING.uper_decoder; - td->uper_encoder = asn_DEF_BIT_STRING.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_BIT_STRING.per_constraints; - td->elements = asn_DEF_BIT_STRING.elements; - td->elements_count = asn_DEF_BIT_STRING.elements_count; - td->specifics = asn_DEF_BIT_STRING.specifics; -} - -void -Key_eNodeB_Star_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - Key_eNodeB_Star_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -Key_eNodeB_Star_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - Key_eNodeB_Star_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -Key_eNodeB_Star_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - Key_eNodeB_Star_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -Key_eNodeB_Star_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - Key_eNodeB_Star_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -Key_eNodeB_Star_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - Key_eNodeB_Star_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -Key_eNodeB_Star_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - Key_eNodeB_Star_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -Key_eNodeB_Star_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - Key_eNodeB_Star_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -Key_eNodeB_Star_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - Key_eNodeB_Star_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_Key_eNodeB_Star_constr_1 GCC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 256, 256 } /* (SIZE(256..256)) */, - 0, 0 /* No PER value map */ -}; -static const ber_tlv_tag_t asn_DEF_Key_eNodeB_Star_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_Key_eNodeB_Star = { - "Key-eNodeB-Star", - "Key-eNodeB-Star", - Key_eNodeB_Star_free, - Key_eNodeB_Star_print, - Key_eNodeB_Star_constraint, - Key_eNodeB_Star_decode_ber, - Key_eNodeB_Star_encode_der, - Key_eNodeB_Star_decode_xer, - Key_eNodeB_Star_encode_xer, - Key_eNodeB_Star_decode_uper, - Key_eNodeB_Star_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_Key_eNodeB_Star_tags_1, - sizeof(asn_DEF_Key_eNodeB_Star_tags_1) - /sizeof(asn_DEF_Key_eNodeB_Star_tags_1[0]), /* 1 */ - asn_DEF_Key_eNodeB_Star_tags_1, /* Same as above */ - sizeof(asn_DEF_Key_eNodeB_Star_tags_1) - /sizeof(asn_DEF_Key_eNodeB_Star_tags_1[0]), /* 1 */ - &asn_PER_type_Key_eNodeB_Star_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/LocationInfo-r10.c b/lte/rrc/lib/asn/src/LocationInfo-r10.c deleted file mode 100644 index 65d360d39..000000000 --- a/lte/rrc/lib/asn/src/LocationInfo-r10.c +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/LocationInfo-r10.h" - -static asn_per_constraints_t asn_PER_type_locationCoordinates_r10_constr_2 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_locationCoordinates_r10_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct LocationInfo_r10__locationCoordinates_r10, choice.ellipsoid_Point_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ellipsoid-Point-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct LocationInfo_r10__locationCoordinates_r10, choice.ellipsoidPointWithAltitude_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ellipsoidPointWithAltitude-r10" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_locationCoordinates_r10_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ellipsoid-Point-r10 at 3158 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ellipsoidPointWithAltitude-r10 at 3159 */ -}; -static asn_CHOICE_specifics_t asn_SPC_locationCoordinates_r10_specs_2 = { - sizeof(struct LocationInfo_r10__locationCoordinates_r10), - offsetof(struct LocationInfo_r10__locationCoordinates_r10, _asn_ctx), - offsetof(struct LocationInfo_r10__locationCoordinates_r10, present), - sizeof(((struct LocationInfo_r10__locationCoordinates_r10 *)0)->present), - asn_MAP_locationCoordinates_r10_tag2el_2, - 2, /* Count of tags in the map */ - 0, - 2 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_locationCoordinates_r10_2 = { - "locationCoordinates-r10", - "locationCoordinates-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_locationCoordinates_r10_constr_2, - asn_MBR_locationCoordinates_r10_2, - 2, /* Elements count */ - &asn_SPC_locationCoordinates_r10_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_LocationInfo_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct LocationInfo_r10, locationCoordinates_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_locationCoordinates_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "locationCoordinates-r10" - }, - { ATF_POINTER, 2, offsetof(struct LocationInfo_r10, horizontalVelocity_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "horizontalVelocity-r10" - }, - { ATF_POINTER, 1, offsetof(struct LocationInfo_r10, gnss_TOD_msec_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "gnss-TOD-msec-r10" - }, -}; -static int asn_MAP_LocationInfo_r10_oms_1[] = { 1, 2 }; -static ber_tlv_tag_t asn_DEF_LocationInfo_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_LocationInfo_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* locationCoordinates-r10 at 3158 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* horizontalVelocity-r10 at 3162 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* gnss-TOD-msec-r10 at 3163 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_LocationInfo_r10_specs_1 = { - sizeof(struct LocationInfo_r10), - offsetof(struct LocationInfo_r10, _asn_ctx), - asn_MAP_LocationInfo_r10_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_LocationInfo_r10_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - 2, /* Start extensions */ - 4 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_LocationInfo_r10 = { - "LocationInfo-r10", - "LocationInfo-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_LocationInfo_r10_tags_1, - sizeof(asn_DEF_LocationInfo_r10_tags_1) - /sizeof(asn_DEF_LocationInfo_r10_tags_1[0]), /* 1 */ - asn_DEF_LocationInfo_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_LocationInfo_r10_tags_1) - /sizeof(asn_DEF_LocationInfo_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_LocationInfo_r10_1, - 3, /* Elements count */ - &asn_SPC_LocationInfo_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/LogMeasInfo-r10.c b/lte/rrc/lib/asn/src/LogMeasInfo-r10.c deleted file mode 100644 index 3b0e91377..000000000 --- a/lte/rrc/lib/asn/src/LogMeasInfo-r10.c +++ /dev/null @@ -1,280 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/LogMeasInfo-r10.h" - -static int -memb_relativeTimeStamp_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7200)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_relativeTimeStamp_r10_constr_3 = { - { APC_CONSTRAINED, 13, 13, 0, 7200 } /* (0..7200) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_measResultServCell_r10_5[] = { - { ATF_NOFLAGS, 0, offsetof(struct LogMeasInfo_r10__measResultServCell_r10, rsrpResult_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RSRP_Range, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rsrpResult-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct LogMeasInfo_r10__measResultServCell_r10, rsrqResult_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RSRQ_Range, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rsrqResult-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_measResultServCell_r10_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_measResultServCell_r10_tag2el_5[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rsrpResult-r10 at 1402 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* rsrqResult-r10 at 1404 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_measResultServCell_r10_specs_5 = { - sizeof(struct LogMeasInfo_r10__measResultServCell_r10), - offsetof(struct LogMeasInfo_r10__measResultServCell_r10, _asn_ctx), - asn_MAP_measResultServCell_r10_tag2el_5, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_measResultServCell_r10_5 = { - "measResultServCell-r10", - "measResultServCell-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_measResultServCell_r10_tags_5, - sizeof(asn_DEF_measResultServCell_r10_tags_5) - /sizeof(asn_DEF_measResultServCell_r10_tags_5[0]) - 1, /* 1 */ - asn_DEF_measResultServCell_r10_tags_5, /* Same as above */ - sizeof(asn_DEF_measResultServCell_r10_tags_5) - /sizeof(asn_DEF_measResultServCell_r10_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_measResultServCell_r10_5, - 2, /* Elements count */ - &asn_SPC_measResultServCell_r10_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_measResultNeighCells_r10_8[] = { - { ATF_POINTER, 4, offsetof(struct LogMeasInfo_r10__measResultNeighCells_r10, measResultListEUTRA_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResultList2EUTRA_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultListEUTRA-r10" - }, - { ATF_POINTER, 3, offsetof(struct LogMeasInfo_r10__measResultNeighCells_r10, measResultListUTRA_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResultList2UTRA_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultListUTRA-r10" - }, - { ATF_POINTER, 2, offsetof(struct LogMeasInfo_r10__measResultNeighCells_r10, measResultListGERAN_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResultList2GERAN_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultListGERAN-r10" - }, - { ATF_POINTER, 1, offsetof(struct LogMeasInfo_r10__measResultNeighCells_r10, measResultListCDMA2000_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResultList2CDMA2000_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultListCDMA2000-r10" - }, -}; -static int asn_MAP_measResultNeighCells_r10_oms_8[] = { 0, 1, 2, 3 }; -static ber_tlv_tag_t asn_DEF_measResultNeighCells_r10_tags_8[] = { - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_measResultNeighCells_r10_tag2el_8[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measResultListEUTRA-r10 at 1406 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measResultListUTRA-r10 at 1407 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* measResultListGERAN-r10 at 1408 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* measResultListCDMA2000-r10 at 1409 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_measResultNeighCells_r10_specs_8 = { - sizeof(struct LogMeasInfo_r10__measResultNeighCells_r10), - offsetof(struct LogMeasInfo_r10__measResultNeighCells_r10, _asn_ctx), - asn_MAP_measResultNeighCells_r10_tag2el_8, - 4, /* Count of tags in the map */ - asn_MAP_measResultNeighCells_r10_oms_8, /* Optional members */ - 4, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_measResultNeighCells_r10_8 = { - "measResultNeighCells-r10", - "measResultNeighCells-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_measResultNeighCells_r10_tags_8, - sizeof(asn_DEF_measResultNeighCells_r10_tags_8) - /sizeof(asn_DEF_measResultNeighCells_r10_tags_8[0]) - 1, /* 1 */ - asn_DEF_measResultNeighCells_r10_tags_8, /* Same as above */ - sizeof(asn_DEF_measResultNeighCells_r10_tags_8) - /sizeof(asn_DEF_measResultNeighCells_r10_tags_8[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_measResultNeighCells_r10_8, - 4, /* Elements count */ - &asn_SPC_measResultNeighCells_r10_specs_8 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_LogMeasInfo_r10_1[] = { - { ATF_POINTER, 1, offsetof(struct LogMeasInfo_r10, locationInfo_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_LocationInfo_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "locationInfo-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct LogMeasInfo_r10, relativeTimeStamp_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_relativeTimeStamp_r10_constraint_1, - &asn_PER_memb_relativeTimeStamp_r10_constr_3, - 0, - "relativeTimeStamp-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct LogMeasInfo_r10, servCellIdentity_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellGlobalIdEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "servCellIdentity-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct LogMeasInfo_r10, measResultServCell_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - 0, - &asn_DEF_measResultServCell_r10_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultServCell-r10" - }, - { ATF_POINTER, 1, offsetof(struct LogMeasInfo_r10, measResultNeighCells_r10), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - 0, - &asn_DEF_measResultNeighCells_r10_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultNeighCells-r10" - }, -}; -static int asn_MAP_LogMeasInfo_r10_oms_1[] = { 0, 4 }; -static ber_tlv_tag_t asn_DEF_LogMeasInfo_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_LogMeasInfo_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* locationInfo-r10 at 1398 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* relativeTimeStamp-r10 at 1399 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* servCellIdentity-r10 at 1400 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* measResultServCell-r10 at 1402 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* measResultNeighCells-r10 at 1406 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_LogMeasInfo_r10_specs_1 = { - sizeof(struct LogMeasInfo_r10), - offsetof(struct LogMeasInfo_r10, _asn_ctx), - asn_MAP_LogMeasInfo_r10_tag2el_1, - 5, /* Count of tags in the map */ - asn_MAP_LogMeasInfo_r10_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - 4, /* Start extensions */ - 6 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_LogMeasInfo_r10 = { - "LogMeasInfo-r10", - "LogMeasInfo-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_LogMeasInfo_r10_tags_1, - sizeof(asn_DEF_LogMeasInfo_r10_tags_1) - /sizeof(asn_DEF_LogMeasInfo_r10_tags_1[0]), /* 1 */ - asn_DEF_LogMeasInfo_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_LogMeasInfo_r10_tags_1) - /sizeof(asn_DEF_LogMeasInfo_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_LogMeasInfo_r10_1, - 5, /* Elements count */ - &asn_SPC_LogMeasInfo_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/LogMeasInfoList-r10.c b/lte/rrc/lib/asn/src/LogMeasInfoList-r10.c deleted file mode 100644 index 7f5c20196..000000000 --- a/lte/rrc/lib/asn/src/LogMeasInfoList-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/LogMeasInfoList-r10.h" - -static asn_per_constraints_t asn_PER_type_LogMeasInfoList_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 10, 10, 1, 520 } /* (SIZE(1..520)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_LogMeasInfoList_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_LogMeasInfo_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_LogMeasInfoList_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_LogMeasInfoList_r10_specs_1 = { - sizeof(struct LogMeasInfoList_r10), - offsetof(struct LogMeasInfoList_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_LogMeasInfoList_r10 = { - "LogMeasInfoList-r10", - "LogMeasInfoList-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_LogMeasInfoList_r10_tags_1, - sizeof(asn_DEF_LogMeasInfoList_r10_tags_1) - /sizeof(asn_DEF_LogMeasInfoList_r10_tags_1[0]), /* 1 */ - asn_DEF_LogMeasInfoList_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_LogMeasInfoList_r10_tags_1) - /sizeof(asn_DEF_LogMeasInfoList_r10_tags_1[0]), /* 1 */ - &asn_PER_type_LogMeasInfoList_r10_constr_1, - asn_MBR_LogMeasInfoList_r10_1, - 1, /* Single element */ - &asn_SPC_LogMeasInfoList_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/LogMeasReport-r10.c b/lte/rrc/lib/asn/src/LogMeasReport-r10.c deleted file mode 100644 index 0f1816fd6..000000000 --- a/lte/rrc/lib/asn/src/LogMeasReport-r10.c +++ /dev/null @@ -1,311 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/LogMeasReport-r10.h" - -static int -logMeasAvailable_r10_7_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -logMeasAvailable_r10_7_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -logMeasAvailable_r10_7_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - logMeasAvailable_r10_7_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -logMeasAvailable_r10_7_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - logMeasAvailable_r10_7_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -logMeasAvailable_r10_7_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - logMeasAvailable_r10_7_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -logMeasAvailable_r10_7_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - logMeasAvailable_r10_7_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -logMeasAvailable_r10_7_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - logMeasAvailable_r10_7_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -logMeasAvailable_r10_7_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - logMeasAvailable_r10_7_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -logMeasAvailable_r10_7_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - logMeasAvailable_r10_7_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -logMeasAvailable_r10_7_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - logMeasAvailable_r10_7_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_traceRecordingSessionRef_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - size = st->size; - - if((size == 2)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_tce_Id_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - size = st->size; - - if((size == 1)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_logMeasAvailable_r10_constr_7 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_traceRecordingSessionRef_r10_constr_4 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 2, 2 } /* (SIZE(2..2)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_tce_Id_r10_constr_5 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 1, 1 } /* (SIZE(1..1)) */, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_logMeasAvailable_r10_value2enum_7[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_logMeasAvailable_r10_enum2value_7[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_logMeasAvailable_r10_specs_7 = { - asn_MAP_logMeasAvailable_r10_value2enum_7, /* "tag" => N; sorted by tag */ - asn_MAP_logMeasAvailable_r10_enum2value_7, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_logMeasAvailable_r10_tags_7[] = { - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_logMeasAvailable_r10_7 = { - "logMeasAvailable-r10", - "logMeasAvailable-r10", - logMeasAvailable_r10_7_free, - logMeasAvailable_r10_7_print, - logMeasAvailable_r10_7_constraint, - logMeasAvailable_r10_7_decode_ber, - logMeasAvailable_r10_7_encode_der, - logMeasAvailable_r10_7_decode_xer, - logMeasAvailable_r10_7_encode_xer, - logMeasAvailable_r10_7_decode_uper, - logMeasAvailable_r10_7_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_logMeasAvailable_r10_tags_7, - sizeof(asn_DEF_logMeasAvailable_r10_tags_7) - /sizeof(asn_DEF_logMeasAvailable_r10_tags_7[0]) - 1, /* 1 */ - asn_DEF_logMeasAvailable_r10_tags_7, /* Same as above */ - sizeof(asn_DEF_logMeasAvailable_r10_tags_7) - /sizeof(asn_DEF_logMeasAvailable_r10_tags_7[0]), /* 2 */ - &asn_PER_type_logMeasAvailable_r10_constr_7, - 0, 0, /* Defined elsewhere */ - &asn_SPC_logMeasAvailable_r10_specs_7 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_LogMeasReport_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct LogMeasReport_r10, absoluteTimeStamp_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AbsoluteTimeInfo_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "absoluteTimeStamp-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct LogMeasReport_r10, traceReference_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_TraceReference_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "traceReference-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct LogMeasReport_r10, traceRecordingSessionRef_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_traceRecordingSessionRef_r10_constraint_1, - &asn_PER_memb_traceRecordingSessionRef_r10_constr_4, - 0, - "traceRecordingSessionRef-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct LogMeasReport_r10, tce_Id_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_tce_Id_r10_constraint_1, - &asn_PER_memb_tce_Id_r10_constr_5, - 0, - "tce-Id-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct LogMeasReport_r10, logMeasInfoList_r10), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_LogMeasInfoList_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "logMeasInfoList-r10" - }, - { ATF_POINTER, 1, offsetof(struct LogMeasReport_r10, logMeasAvailable_r10), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_logMeasAvailable_r10_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "logMeasAvailable-r10" - }, -}; -static int asn_MAP_LogMeasReport_r10_oms_1[] = { 5 }; -static ber_tlv_tag_t asn_DEF_LogMeasReport_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_LogMeasReport_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* absoluteTimeStamp-r10 at 1386 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* traceReference-r10 at 1387 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* traceRecordingSessionRef-r10 at 1388 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* tce-Id-r10 at 1389 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* logMeasInfoList-r10 at 1390 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* logMeasAvailable-r10 at 1391 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_LogMeasReport_r10_specs_1 = { - sizeof(struct LogMeasReport_r10), - offsetof(struct LogMeasReport_r10, _asn_ctx), - asn_MAP_LogMeasReport_r10_tag2el_1, - 6, /* Count of tags in the map */ - asn_MAP_LogMeasReport_r10_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - 5, /* Start extensions */ - 7 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_LogMeasReport_r10 = { - "LogMeasReport-r10", - "LogMeasReport-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_LogMeasReport_r10_tags_1, - sizeof(asn_DEF_LogMeasReport_r10_tags_1) - /sizeof(asn_DEF_LogMeasReport_r10_tags_1[0]), /* 1 */ - asn_DEF_LogMeasReport_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_LogMeasReport_r10_tags_1) - /sizeof(asn_DEF_LogMeasReport_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_LogMeasReport_r10_1, - 6, /* Elements count */ - &asn_SPC_LogMeasReport_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/LoggedMeasurementConfiguration-r10-IEs.c b/lte/rrc/lib/asn/src/LoggedMeasurementConfiguration-r10-IEs.c deleted file mode 100644 index 4114afd80..000000000 --- a/lte/rrc/lib/asn/src/LoggedMeasurementConfiguration-r10-IEs.c +++ /dev/null @@ -1,232 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/LoggedMeasurementConfiguration-r10-IEs.h" - -static int -memb_traceRecordingSessionRef_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - size = st->size; - - if((size == 2)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_tce_Id_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - size = st->size; - - if((size == 1)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_traceRecordingSessionRef_r10_constr_3 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 2, 2 } /* (SIZE(2..2)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_tce_Id_r10_constr_4 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 1, 1 } /* (SIZE(1..1)) */, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_9 = { - sizeof(struct LoggedMeasurementConfiguration_r10_IEs__nonCriticalExtension), - offsetof(struct LoggedMeasurementConfiguration_r10_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_9 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_9, - sizeof(asn_DEF_nonCriticalExtension_tags_9) - /sizeof(asn_DEF_nonCriticalExtension_tags_9[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_9, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_9) - /sizeof(asn_DEF_nonCriticalExtension_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_LoggedMeasurementConfiguration_r10_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct LoggedMeasurementConfiguration_r10_IEs, traceReference_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_TraceReference_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "traceReference-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct LoggedMeasurementConfiguration_r10_IEs, traceRecordingSessionRef_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_traceRecordingSessionRef_r10_constraint_1, - &asn_PER_memb_traceRecordingSessionRef_r10_constr_3, - 0, - "traceRecordingSessionRef-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct LoggedMeasurementConfiguration_r10_IEs, tce_Id_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_tce_Id_r10_constraint_1, - &asn_PER_memb_tce_Id_r10_constr_4, - 0, - "tce-Id-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct LoggedMeasurementConfiguration_r10_IEs, absoluteTimeInfo_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AbsoluteTimeInfo_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "absoluteTimeInfo-r10" - }, - { ATF_POINTER, 1, offsetof(struct LoggedMeasurementConfiguration_r10_IEs, areaConfiguration_r10), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_AreaConfiguration_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "areaConfiguration-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct LoggedMeasurementConfiguration_r10_IEs, loggingDuration_r10), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_LoggingDuration_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "loggingDuration-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct LoggedMeasurementConfiguration_r10_IEs, loggingInterval_r10), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_LoggingInterval_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "loggingInterval-r10" - }, - { ATF_POINTER, 1, offsetof(struct LoggedMeasurementConfiguration_r10_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - 0, - &asn_DEF_nonCriticalExtension_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_LoggedMeasurementConfiguration_r10_IEs_oms_1[] = { 4, 7 }; -static ber_tlv_tag_t asn_DEF_LoggedMeasurementConfiguration_r10_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_LoggedMeasurementConfiguration_r10_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* traceReference-r10 at 333 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* traceRecordingSessionRef-r10 at 334 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* tce-Id-r10 at 335 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* absoluteTimeInfo-r10 at 336 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* areaConfiguration-r10 at 337 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* loggingDuration-r10 at 338 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* loggingInterval-r10 at 339 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* nonCriticalExtension at 340 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_LoggedMeasurementConfiguration_r10_IEs_specs_1 = { - sizeof(struct LoggedMeasurementConfiguration_r10_IEs), - offsetof(struct LoggedMeasurementConfiguration_r10_IEs, _asn_ctx), - asn_MAP_LoggedMeasurementConfiguration_r10_IEs_tag2el_1, - 8, /* Count of tags in the map */ - asn_MAP_LoggedMeasurementConfiguration_r10_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_LoggedMeasurementConfiguration_r10_IEs = { - "LoggedMeasurementConfiguration-r10-IEs", - "LoggedMeasurementConfiguration-r10-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_LoggedMeasurementConfiguration_r10_IEs_tags_1, - sizeof(asn_DEF_LoggedMeasurementConfiguration_r10_IEs_tags_1) - /sizeof(asn_DEF_LoggedMeasurementConfiguration_r10_IEs_tags_1[0]), /* 1 */ - asn_DEF_LoggedMeasurementConfiguration_r10_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_LoggedMeasurementConfiguration_r10_IEs_tags_1) - /sizeof(asn_DEF_LoggedMeasurementConfiguration_r10_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_LoggedMeasurementConfiguration_r10_IEs_1, - 8, /* Elements count */ - &asn_SPC_LoggedMeasurementConfiguration_r10_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/LoggedMeasurementConfiguration-r10.c b/lte/rrc/lib/asn/src/LoggedMeasurementConfiguration-r10.c deleted file mode 100644 index 3e2016a5e..000000000 --- a/lte/rrc/lib/asn/src/LoggedMeasurementConfiguration-r10.c +++ /dev/null @@ -1,244 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/LoggedMeasurementConfiguration-r10.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_3 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct LoggedMeasurementConfiguration_r10__criticalExtensions__c1, choice.loggedMeasurementConfiguration_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_LoggedMeasurementConfiguration_r10_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "loggedMeasurementConfiguration-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct LoggedMeasurementConfiguration_r10__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct LoggedMeasurementConfiguration_r10__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct LoggedMeasurementConfiguration_r10__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* loggedMeasurementConfiguration-r10 at 324 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 at 325 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 325 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 325 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_3 = { - sizeof(struct LoggedMeasurementConfiguration_r10__criticalExtensions__c1), - offsetof(struct LoggedMeasurementConfiguration_r10__criticalExtensions__c1, _asn_ctx), - offsetof(struct LoggedMeasurementConfiguration_r10__criticalExtensions__c1, present), - sizeof(((struct LoggedMeasurementConfiguration_r10__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_3, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_3 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_3, - asn_MBR_c1_3, - 4, /* Elements count */ - &asn_SPC_c1_specs_3 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_8[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_8 = { - sizeof(struct LoggedMeasurementConfiguration_r10__criticalExtensions__criticalExtensionsFuture), - offsetof(struct LoggedMeasurementConfiguration_r10__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_8 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_8, - sizeof(asn_DEF_criticalExtensionsFuture_tags_8) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_8[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_8, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_8) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_8[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_8 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct LoggedMeasurementConfiguration_r10__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct LoggedMeasurementConfiguration_r10__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 324 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 327 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = { - sizeof(struct LoggedMeasurementConfiguration_r10__criticalExtensions), - offsetof(struct LoggedMeasurementConfiguration_r10__criticalExtensions, _asn_ctx), - offsetof(struct LoggedMeasurementConfiguration_r10__criticalExtensions, present), - sizeof(((struct LoggedMeasurementConfiguration_r10__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_2, - asn_MBR_criticalExtensions_2, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_LoggedMeasurementConfiguration_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct LoggedMeasurementConfiguration_r10, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_LoggedMeasurementConfiguration_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_LoggedMeasurementConfiguration_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions at 326 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_LoggedMeasurementConfiguration_r10_specs_1 = { - sizeof(struct LoggedMeasurementConfiguration_r10), - offsetof(struct LoggedMeasurementConfiguration_r10, _asn_ctx), - asn_MAP_LoggedMeasurementConfiguration_r10_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_LoggedMeasurementConfiguration_r10 = { - "LoggedMeasurementConfiguration-r10", - "LoggedMeasurementConfiguration-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_LoggedMeasurementConfiguration_r10_tags_1, - sizeof(asn_DEF_LoggedMeasurementConfiguration_r10_tags_1) - /sizeof(asn_DEF_LoggedMeasurementConfiguration_r10_tags_1[0]), /* 1 */ - asn_DEF_LoggedMeasurementConfiguration_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_LoggedMeasurementConfiguration_r10_tags_1) - /sizeof(asn_DEF_LoggedMeasurementConfiguration_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_LoggedMeasurementConfiguration_r10_1, - 1, /* Elements count */ - &asn_SPC_LoggedMeasurementConfiguration_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/LoggingDuration-r10.c b/lte/rrc/lib/asn/src/LoggingDuration-r10.c deleted file mode 100644 index fab9a0c85..000000000 --- a/lte/rrc/lib/asn/src/LoggingDuration-r10.c +++ /dev/null @@ -1,158 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/LoggingDuration-r10.h" - -int -LoggingDuration_r10_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -LoggingDuration_r10_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -LoggingDuration_r10_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - LoggingDuration_r10_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -LoggingDuration_r10_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - LoggingDuration_r10_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -LoggingDuration_r10_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - LoggingDuration_r10_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -LoggingDuration_r10_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - LoggingDuration_r10_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -LoggingDuration_r10_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - LoggingDuration_r10_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -LoggingDuration_r10_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - LoggingDuration_r10_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -LoggingDuration_r10_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - LoggingDuration_r10_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -LoggingDuration_r10_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - LoggingDuration_r10_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_LoggingDuration_r10_constr_1 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_LoggingDuration_r10_value2enum_1[] = { - { 0, 5, "min10" }, - { 1, 5, "min20" }, - { 2, 5, "min40" }, - { 3, 5, "min60" }, - { 4, 5, "min90" }, - { 5, 6, "min120" }, - { 6, 6, "spare2" }, - { 7, 6, "spare1" } -}; -static unsigned int asn_MAP_LoggingDuration_r10_enum2value_1[] = { - 0, /* min10(0) */ - 5, /* min120(5) */ - 1, /* min20(1) */ - 2, /* min40(2) */ - 3, /* min60(3) */ - 4, /* min90(4) */ - 7, /* spare1(7) */ - 6 /* spare2(6) */ -}; -static asn_INTEGER_specifics_t asn_SPC_LoggingDuration_r10_specs_1 = { - asn_MAP_LoggingDuration_r10_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_LoggingDuration_r10_enum2value_1, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_LoggingDuration_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_LoggingDuration_r10 = { - "LoggingDuration-r10", - "LoggingDuration-r10", - LoggingDuration_r10_free, - LoggingDuration_r10_print, - LoggingDuration_r10_constraint, - LoggingDuration_r10_decode_ber, - LoggingDuration_r10_encode_der, - LoggingDuration_r10_decode_xer, - LoggingDuration_r10_encode_xer, - LoggingDuration_r10_decode_uper, - LoggingDuration_r10_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_LoggingDuration_r10_tags_1, - sizeof(asn_DEF_LoggingDuration_r10_tags_1) - /sizeof(asn_DEF_LoggingDuration_r10_tags_1[0]), /* 1 */ - asn_DEF_LoggingDuration_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_LoggingDuration_r10_tags_1) - /sizeof(asn_DEF_LoggingDuration_r10_tags_1[0]), /* 1 */ - &asn_PER_type_LoggingDuration_r10_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_LoggingDuration_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/LoggingInterval-r10.c b/lte/rrc/lib/asn/src/LoggingInterval-r10.c deleted file mode 100644 index cade58700..000000000 --- a/lte/rrc/lib/asn/src/LoggingInterval-r10.c +++ /dev/null @@ -1,158 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/LoggingInterval-r10.h" - -int -LoggingInterval_r10_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -LoggingInterval_r10_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -LoggingInterval_r10_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - LoggingInterval_r10_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -LoggingInterval_r10_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - LoggingInterval_r10_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -LoggingInterval_r10_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - LoggingInterval_r10_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -LoggingInterval_r10_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - LoggingInterval_r10_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -LoggingInterval_r10_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - LoggingInterval_r10_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -LoggingInterval_r10_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - LoggingInterval_r10_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -LoggingInterval_r10_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - LoggingInterval_r10_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -LoggingInterval_r10_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - LoggingInterval_r10_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_LoggingInterval_r10_constr_1 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_LoggingInterval_r10_value2enum_1[] = { - { 0, 6, "ms1280" }, - { 1, 6, "ms2560" }, - { 2, 6, "ms5120" }, - { 3, 7, "ms10240" }, - { 4, 7, "ms20480" }, - { 5, 7, "ms30720" }, - { 6, 7, "ms40960" }, - { 7, 7, "ms61440" } -}; -static unsigned int asn_MAP_LoggingInterval_r10_enum2value_1[] = { - 3, /* ms10240(3) */ - 0, /* ms1280(0) */ - 4, /* ms20480(4) */ - 1, /* ms2560(1) */ - 5, /* ms30720(5) */ - 6, /* ms40960(6) */ - 2, /* ms5120(2) */ - 7 /* ms61440(7) */ -}; -static asn_INTEGER_specifics_t asn_SPC_LoggingInterval_r10_specs_1 = { - asn_MAP_LoggingInterval_r10_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_LoggingInterval_r10_enum2value_1, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_LoggingInterval_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_LoggingInterval_r10 = { - "LoggingInterval-r10", - "LoggingInterval-r10", - LoggingInterval_r10_free, - LoggingInterval_r10_print, - LoggingInterval_r10_constraint, - LoggingInterval_r10_decode_ber, - LoggingInterval_r10_encode_der, - LoggingInterval_r10_decode_xer, - LoggingInterval_r10_encode_xer, - LoggingInterval_r10_decode_uper, - LoggingInterval_r10_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_LoggingInterval_r10_tags_1, - sizeof(asn_DEF_LoggingInterval_r10_tags_1) - /sizeof(asn_DEF_LoggingInterval_r10_tags_1[0]), /* 1 */ - asn_DEF_LoggingInterval_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_LoggingInterval_r10_tags_1) - /sizeof(asn_DEF_LoggingInterval_r10_tags_1[0]), /* 1 */ - &asn_PER_type_LoggingInterval_r10_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_LoggingInterval_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/LogicalChannelConfig.c b/lte/rrc/lib/asn/src/LogicalChannelConfig.c deleted file mode 100644 index b99f64e70..000000000 --- a/lte/rrc/lib/asn/src/LogicalChannelConfig.c +++ /dev/null @@ -1,672 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/LogicalChannelConfig.h" - -static int -prioritisedBitRate_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -prioritisedBitRate_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -prioritisedBitRate_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - prioritisedBitRate_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -prioritisedBitRate_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - prioritisedBitRate_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -prioritisedBitRate_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - prioritisedBitRate_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -prioritisedBitRate_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - prioritisedBitRate_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -prioritisedBitRate_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - prioritisedBitRate_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -prioritisedBitRate_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - prioritisedBitRate_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -prioritisedBitRate_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - prioritisedBitRate_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -prioritisedBitRate_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - prioritisedBitRate_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -bucketSizeDuration_21_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -bucketSizeDuration_21_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -bucketSizeDuration_21_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - bucketSizeDuration_21_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -bucketSizeDuration_21_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - bucketSizeDuration_21_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -bucketSizeDuration_21_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - bucketSizeDuration_21_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -bucketSizeDuration_21_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - bucketSizeDuration_21_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -bucketSizeDuration_21_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - bucketSizeDuration_21_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -bucketSizeDuration_21_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - bucketSizeDuration_21_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -bucketSizeDuration_21_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - bucketSizeDuration_21_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -bucketSizeDuration_21_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - bucketSizeDuration_21_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_priority_constraint_2(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_logicalChannelGroup_constraint_2(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 3)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -logicalChannelSR_Mask_r9_31_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -logicalChannelSR_Mask_r9_31_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -logicalChannelSR_Mask_r9_31_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - logicalChannelSR_Mask_r9_31_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -logicalChannelSR_Mask_r9_31_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - logicalChannelSR_Mask_r9_31_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -logicalChannelSR_Mask_r9_31_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - logicalChannelSR_Mask_r9_31_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -logicalChannelSR_Mask_r9_31_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - logicalChannelSR_Mask_r9_31_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -logicalChannelSR_Mask_r9_31_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - logicalChannelSR_Mask_r9_31_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -logicalChannelSR_Mask_r9_31_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - logicalChannelSR_Mask_r9_31_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -logicalChannelSR_Mask_r9_31_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - logicalChannelSR_Mask_r9_31_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -logicalChannelSR_Mask_r9_31_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - logicalChannelSR_Mask_r9_31_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_prioritisedBitRate_constr_4 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_bucketSizeDuration_constr_21 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_priority_constr_3 = { - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (1..16) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_logicalChannelGroup_constr_30 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_logicalChannelSR_Mask_r9_constr_31 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_prioritisedBitRate_value2enum_4[] = { - { 0, 5, "kBps0" }, - { 1, 5, "kBps8" }, - { 2, 6, "kBps16" }, - { 3, 6, "kBps32" }, - { 4, 6, "kBps64" }, - { 5, 7, "kBps128" }, - { 6, 7, "kBps256" }, - { 7, 8, "infinity" }, - { 8, 13, "kBps512-v1020" }, - { 9, 14, "kBps1024-v1020" }, - { 10, 14, "kBps2048-v1020" }, - { 11, 6, "spare5" }, - { 12, 6, "spare4" }, - { 13, 6, "spare3" }, - { 14, 6, "spare2" }, - { 15, 6, "spare1" } -}; -static unsigned int asn_MAP_prioritisedBitRate_enum2value_4[] = { - 7, /* infinity(7) */ - 0, /* kBps0(0) */ - 9, /* kBps1024-v1020(9) */ - 5, /* kBps128(5) */ - 2, /* kBps16(2) */ - 10, /* kBps2048-v1020(10) */ - 6, /* kBps256(6) */ - 3, /* kBps32(3) */ - 8, /* kBps512-v1020(8) */ - 4, /* kBps64(4) */ - 1, /* kBps8(1) */ - 15, /* spare1(15) */ - 14, /* spare2(14) */ - 13, /* spare3(13) */ - 12, /* spare4(12) */ - 11 /* spare5(11) */ -}; -static asn_INTEGER_specifics_t asn_SPC_prioritisedBitRate_specs_4 = { - asn_MAP_prioritisedBitRate_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_prioritisedBitRate_enum2value_4, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_prioritisedBitRate_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_prioritisedBitRate_4 = { - "prioritisedBitRate", - "prioritisedBitRate", - prioritisedBitRate_4_free, - prioritisedBitRate_4_print, - prioritisedBitRate_4_constraint, - prioritisedBitRate_4_decode_ber, - prioritisedBitRate_4_encode_der, - prioritisedBitRate_4_decode_xer, - prioritisedBitRate_4_encode_xer, - prioritisedBitRate_4_decode_uper, - prioritisedBitRate_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_prioritisedBitRate_tags_4, - sizeof(asn_DEF_prioritisedBitRate_tags_4) - /sizeof(asn_DEF_prioritisedBitRate_tags_4[0]) - 1, /* 1 */ - asn_DEF_prioritisedBitRate_tags_4, /* Same as above */ - sizeof(asn_DEF_prioritisedBitRate_tags_4) - /sizeof(asn_DEF_prioritisedBitRate_tags_4[0]), /* 2 */ - &asn_PER_type_prioritisedBitRate_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_prioritisedBitRate_specs_4 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_bucketSizeDuration_value2enum_21[] = { - { 0, 4, "ms50" }, - { 1, 5, "ms100" }, - { 2, 5, "ms150" }, - { 3, 5, "ms300" }, - { 4, 5, "ms500" }, - { 5, 6, "ms1000" }, - { 6, 6, "spare2" }, - { 7, 6, "spare1" } -}; -static unsigned int asn_MAP_bucketSizeDuration_enum2value_21[] = { - 1, /* ms100(1) */ - 5, /* ms1000(5) */ - 2, /* ms150(2) */ - 3, /* ms300(3) */ - 0, /* ms50(0) */ - 4, /* ms500(4) */ - 7, /* spare1(7) */ - 6 /* spare2(6) */ -}; -static asn_INTEGER_specifics_t asn_SPC_bucketSizeDuration_specs_21 = { - asn_MAP_bucketSizeDuration_value2enum_21, /* "tag" => N; sorted by tag */ - asn_MAP_bucketSizeDuration_enum2value_21, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_bucketSizeDuration_tags_21[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_bucketSizeDuration_21 = { - "bucketSizeDuration", - "bucketSizeDuration", - bucketSizeDuration_21_free, - bucketSizeDuration_21_print, - bucketSizeDuration_21_constraint, - bucketSizeDuration_21_decode_ber, - bucketSizeDuration_21_encode_der, - bucketSizeDuration_21_decode_xer, - bucketSizeDuration_21_encode_xer, - bucketSizeDuration_21_decode_uper, - bucketSizeDuration_21_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_bucketSizeDuration_tags_21, - sizeof(asn_DEF_bucketSizeDuration_tags_21) - /sizeof(asn_DEF_bucketSizeDuration_tags_21[0]) - 1, /* 1 */ - asn_DEF_bucketSizeDuration_tags_21, /* Same as above */ - sizeof(asn_DEF_bucketSizeDuration_tags_21) - /sizeof(asn_DEF_bucketSizeDuration_tags_21[0]), /* 2 */ - &asn_PER_type_bucketSizeDuration_constr_21, - 0, 0, /* Defined elsewhere */ - &asn_SPC_bucketSizeDuration_specs_21 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ul_SpecificParameters_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct LogicalChannelConfig__ul_SpecificParameters, priority), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_priority_constraint_2, - &asn_PER_memb_priority_constr_3, - 0, - "priority" - }, - { ATF_NOFLAGS, 0, offsetof(struct LogicalChannelConfig__ul_SpecificParameters, prioritisedBitRate), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_prioritisedBitRate_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "prioritisedBitRate" - }, - { ATF_NOFLAGS, 0, offsetof(struct LogicalChannelConfig__ul_SpecificParameters, bucketSizeDuration), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_bucketSizeDuration_21, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "bucketSizeDuration" - }, - { ATF_POINTER, 1, offsetof(struct LogicalChannelConfig__ul_SpecificParameters, logicalChannelGroup), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_logicalChannelGroup_constraint_2, - &asn_PER_memb_logicalChannelGroup_constr_30, - 0, - "logicalChannelGroup" - }, -}; -static int asn_MAP_ul_SpecificParameters_oms_2[] = { 3 }; -static ber_tlv_tag_t asn_DEF_ul_SpecificParameters_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ul_SpecificParameters_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* priority at 1983 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* prioritisedBitRate at 1985 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* bucketSizeDuration at 1990 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* logicalChannelGroup at 1992 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ul_SpecificParameters_specs_2 = { - sizeof(struct LogicalChannelConfig__ul_SpecificParameters), - offsetof(struct LogicalChannelConfig__ul_SpecificParameters, _asn_ctx), - asn_MAP_ul_SpecificParameters_tag2el_2, - 4, /* Count of tags in the map */ - asn_MAP_ul_SpecificParameters_oms_2, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ul_SpecificParameters_2 = { - "ul-SpecificParameters", - "ul-SpecificParameters", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ul_SpecificParameters_tags_2, - sizeof(asn_DEF_ul_SpecificParameters_tags_2) - /sizeof(asn_DEF_ul_SpecificParameters_tags_2[0]) - 1, /* 1 */ - asn_DEF_ul_SpecificParameters_tags_2, /* Same as above */ - sizeof(asn_DEF_ul_SpecificParameters_tags_2) - /sizeof(asn_DEF_ul_SpecificParameters_tags_2[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_ul_SpecificParameters_2, - 4, /* Elements count */ - &asn_SPC_ul_SpecificParameters_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_logicalChannelSR_Mask_r9_value2enum_31[] = { - { 0, 5, "setup" } -}; -static unsigned int asn_MAP_logicalChannelSR_Mask_r9_enum2value_31[] = { - 0 /* setup(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_logicalChannelSR_Mask_r9_specs_31 = { - asn_MAP_logicalChannelSR_Mask_r9_value2enum_31, /* "tag" => N; sorted by tag */ - asn_MAP_logicalChannelSR_Mask_r9_enum2value_31, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_logicalChannelSR_Mask_r9_tags_31[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_logicalChannelSR_Mask_r9_31 = { - "logicalChannelSR-Mask-r9", - "logicalChannelSR-Mask-r9", - logicalChannelSR_Mask_r9_31_free, - logicalChannelSR_Mask_r9_31_print, - logicalChannelSR_Mask_r9_31_constraint, - logicalChannelSR_Mask_r9_31_decode_ber, - logicalChannelSR_Mask_r9_31_encode_der, - logicalChannelSR_Mask_r9_31_decode_xer, - logicalChannelSR_Mask_r9_31_encode_xer, - logicalChannelSR_Mask_r9_31_decode_uper, - logicalChannelSR_Mask_r9_31_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_logicalChannelSR_Mask_r9_tags_31, - sizeof(asn_DEF_logicalChannelSR_Mask_r9_tags_31) - /sizeof(asn_DEF_logicalChannelSR_Mask_r9_tags_31[0]) - 1, /* 1 */ - asn_DEF_logicalChannelSR_Mask_r9_tags_31, /* Same as above */ - sizeof(asn_DEF_logicalChannelSR_Mask_r9_tags_31) - /sizeof(asn_DEF_logicalChannelSR_Mask_r9_tags_31[0]), /* 2 */ - &asn_PER_type_logicalChannelSR_Mask_r9_constr_31, - 0, 0, /* Defined elsewhere */ - &asn_SPC_logicalChannelSR_Mask_r9_specs_31 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_LogicalChannelConfig_1[] = { - { ATF_POINTER, 2, offsetof(struct LogicalChannelConfig, ul_SpecificParameters), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_ul_SpecificParameters_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ul-SpecificParameters" - }, - { ATF_POINTER, 1, offsetof(struct LogicalChannelConfig, logicalChannelSR_Mask_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_logicalChannelSR_Mask_r9_31, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "logicalChannelSR-Mask-r9" - }, -}; -static int asn_MAP_LogicalChannelConfig_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_LogicalChannelConfig_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_LogicalChannelConfig_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ul-SpecificParameters at 1983 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* logicalChannelSR-Mask-r9 at 1994 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_LogicalChannelConfig_specs_1 = { - sizeof(struct LogicalChannelConfig), - offsetof(struct LogicalChannelConfig, _asn_ctx), - asn_MAP_LogicalChannelConfig_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_LogicalChannelConfig_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_LogicalChannelConfig = { - "LogicalChannelConfig", - "LogicalChannelConfig", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_LogicalChannelConfig_tags_1, - sizeof(asn_DEF_LogicalChannelConfig_tags_1) - /sizeof(asn_DEF_LogicalChannelConfig_tags_1[0]), /* 1 */ - asn_DEF_LogicalChannelConfig_tags_1, /* Same as above */ - sizeof(asn_DEF_LogicalChannelConfig_tags_1) - /sizeof(asn_DEF_LogicalChannelConfig_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_LogicalChannelConfig_1, - 2, /* Elements count */ - &asn_SPC_LogicalChannelConfig_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MAC-MainConfig.c b/lte/rrc/lib/asn/src/MAC-MainConfig.c deleted file mode 100644 index 14ce9e44e..000000000 --- a/lte/rrc/lib/asn/src/MAC-MainConfig.c +++ /dev/null @@ -1,1793 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MAC-MainConfig.h" - -static int -maxHARQ_Tx_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -maxHARQ_Tx_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -maxHARQ_Tx_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - maxHARQ_Tx_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -maxHARQ_Tx_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - maxHARQ_Tx_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -maxHARQ_Tx_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - maxHARQ_Tx_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -maxHARQ_Tx_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - maxHARQ_Tx_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -maxHARQ_Tx_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - maxHARQ_Tx_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -maxHARQ_Tx_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - maxHARQ_Tx_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -maxHARQ_Tx_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - maxHARQ_Tx_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -maxHARQ_Tx_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - maxHARQ_Tx_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -periodicBSR_Timer_20_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -periodicBSR_Timer_20_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -periodicBSR_Timer_20_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - periodicBSR_Timer_20_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -periodicBSR_Timer_20_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - periodicBSR_Timer_20_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -periodicBSR_Timer_20_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - periodicBSR_Timer_20_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -periodicBSR_Timer_20_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - periodicBSR_Timer_20_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -periodicBSR_Timer_20_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - periodicBSR_Timer_20_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -periodicBSR_Timer_20_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - periodicBSR_Timer_20_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -periodicBSR_Timer_20_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - periodicBSR_Timer_20_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -periodicBSR_Timer_20_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - periodicBSR_Timer_20_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -retxBSR_Timer_37_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -retxBSR_Timer_37_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -retxBSR_Timer_37_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - retxBSR_Timer_37_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -retxBSR_Timer_37_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - retxBSR_Timer_37_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -retxBSR_Timer_37_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - retxBSR_Timer_37_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -retxBSR_Timer_37_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - retxBSR_Timer_37_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -retxBSR_Timer_37_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - retxBSR_Timer_37_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -retxBSR_Timer_37_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - retxBSR_Timer_37_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -retxBSR_Timer_37_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - retxBSR_Timer_37_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -retxBSR_Timer_37_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - retxBSR_Timer_37_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -periodicPHR_Timer_52_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -periodicPHR_Timer_52_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -periodicPHR_Timer_52_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - periodicPHR_Timer_52_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -periodicPHR_Timer_52_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - periodicPHR_Timer_52_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -periodicPHR_Timer_52_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - periodicPHR_Timer_52_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -periodicPHR_Timer_52_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - periodicPHR_Timer_52_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -periodicPHR_Timer_52_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - periodicPHR_Timer_52_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -periodicPHR_Timer_52_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - periodicPHR_Timer_52_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -periodicPHR_Timer_52_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - periodicPHR_Timer_52_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -periodicPHR_Timer_52_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - periodicPHR_Timer_52_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -prohibitPHR_Timer_61_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -prohibitPHR_Timer_61_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -prohibitPHR_Timer_61_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - prohibitPHR_Timer_61_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -prohibitPHR_Timer_61_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - prohibitPHR_Timer_61_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -prohibitPHR_Timer_61_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - prohibitPHR_Timer_61_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -prohibitPHR_Timer_61_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - prohibitPHR_Timer_61_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -prohibitPHR_Timer_61_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - prohibitPHR_Timer_61_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -prohibitPHR_Timer_61_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - prohibitPHR_Timer_61_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -prohibitPHR_Timer_61_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - prohibitPHR_Timer_61_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -prohibitPHR_Timer_61_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - prohibitPHR_Timer_61_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -dl_PathlossChange_70_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -dl_PathlossChange_70_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -dl_PathlossChange_70_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - dl_PathlossChange_70_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -dl_PathlossChange_70_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - dl_PathlossChange_70_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -dl_PathlossChange_70_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - dl_PathlossChange_70_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -dl_PathlossChange_70_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - dl_PathlossChange_70_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -dl_PathlossChange_70_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - dl_PathlossChange_70_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -dl_PathlossChange_70_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - dl_PathlossChange_70_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -dl_PathlossChange_70_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - dl_PathlossChange_70_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -dl_PathlossChange_70_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - dl_PathlossChange_70_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -sCellDeactivationTimer_r10_77_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -sCellDeactivationTimer_r10_77_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -sCellDeactivationTimer_r10_77_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - sCellDeactivationTimer_r10_77_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -sCellDeactivationTimer_r10_77_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - sCellDeactivationTimer_r10_77_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -sCellDeactivationTimer_r10_77_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - sCellDeactivationTimer_r10_77_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -sCellDeactivationTimer_r10_77_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - sCellDeactivationTimer_r10_77_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -sCellDeactivationTimer_r10_77_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - sCellDeactivationTimer_r10_77_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -sCellDeactivationTimer_r10_77_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - sCellDeactivationTimer_r10_77_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -sCellDeactivationTimer_r10_77_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - sCellDeactivationTimer_r10_77_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -sCellDeactivationTimer_r10_77_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - sCellDeactivationTimer_r10_77_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -extendedBSR_Sizes_r10_86_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -extendedBSR_Sizes_r10_86_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -extendedBSR_Sizes_r10_86_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - extendedBSR_Sizes_r10_86_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -extendedBSR_Sizes_r10_86_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - extendedBSR_Sizes_r10_86_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -extendedBSR_Sizes_r10_86_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - extendedBSR_Sizes_r10_86_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -extendedBSR_Sizes_r10_86_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - extendedBSR_Sizes_r10_86_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -extendedBSR_Sizes_r10_86_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - extendedBSR_Sizes_r10_86_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -extendedBSR_Sizes_r10_86_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - extendedBSR_Sizes_r10_86_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -extendedBSR_Sizes_r10_86_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - extendedBSR_Sizes_r10_86_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -extendedBSR_Sizes_r10_86_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - extendedBSR_Sizes_r10_86_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -extendedPHR_r10_88_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -extendedPHR_r10_88_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -extendedPHR_r10_88_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - extendedPHR_r10_88_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -extendedPHR_r10_88_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - extendedPHR_r10_88_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -extendedPHR_r10_88_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - extendedPHR_r10_88_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -extendedPHR_r10_88_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - extendedPHR_r10_88_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -extendedPHR_r10_88_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - extendedPHR_r10_88_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -extendedPHR_r10_88_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - extendedPHR_r10_88_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -extendedPHR_r10_88_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - extendedPHR_r10_88_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -extendedPHR_r10_88_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - extendedPHR_r10_88_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_sr_ProhibitTimer_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_maxHARQ_Tx_constr_3 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_periodicBSR_Timer_constr_20 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_retxBSR_Timer_constr_37 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_periodicPHR_Timer_constr_52 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_prohibitPHR_Timer_constr_61 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_dl_PathlossChange_constr_70 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_phr_Config_constr_49 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_sCellDeactivationTimer_r10_constr_77 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_extendedBSR_Sizes_r10_constr_86 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_extendedPHR_r10_constr_88 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sr_ProhibitTimer_r9_constr_75 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_maxHARQ_Tx_value2enum_3[] = { - { 0, 2, "n1" }, - { 1, 2, "n2" }, - { 2, 2, "n3" }, - { 3, 2, "n4" }, - { 4, 2, "n5" }, - { 5, 2, "n6" }, - { 6, 2, "n7" }, - { 7, 2, "n8" }, - { 8, 3, "n10" }, - { 9, 3, "n12" }, - { 10, 3, "n16" }, - { 11, 3, "n20" }, - { 12, 3, "n24" }, - { 13, 3, "n28" }, - { 14, 6, "spare2" }, - { 15, 6, "spare1" } -}; -static unsigned int asn_MAP_maxHARQ_Tx_enum2value_3[] = { - 0, /* n1(0) */ - 8, /* n10(8) */ - 9, /* n12(9) */ - 10, /* n16(10) */ - 1, /* n2(1) */ - 11, /* n20(11) */ - 12, /* n24(12) */ - 13, /* n28(13) */ - 2, /* n3(2) */ - 3, /* n4(3) */ - 4, /* n5(4) */ - 5, /* n6(5) */ - 6, /* n7(6) */ - 7, /* n8(7) */ - 15, /* spare1(15) */ - 14 /* spare2(14) */ -}; -static asn_INTEGER_specifics_t asn_SPC_maxHARQ_Tx_specs_3 = { - asn_MAP_maxHARQ_Tx_value2enum_3, /* "tag" => N; sorted by tag */ - asn_MAP_maxHARQ_Tx_enum2value_3, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_maxHARQ_Tx_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_maxHARQ_Tx_3 = { - "maxHARQ-Tx", - "maxHARQ-Tx", - maxHARQ_Tx_3_free, - maxHARQ_Tx_3_print, - maxHARQ_Tx_3_constraint, - maxHARQ_Tx_3_decode_ber, - maxHARQ_Tx_3_encode_der, - maxHARQ_Tx_3_decode_xer, - maxHARQ_Tx_3_encode_xer, - maxHARQ_Tx_3_decode_uper, - maxHARQ_Tx_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_maxHARQ_Tx_tags_3, - sizeof(asn_DEF_maxHARQ_Tx_tags_3) - /sizeof(asn_DEF_maxHARQ_Tx_tags_3[0]) - 1, /* 1 */ - asn_DEF_maxHARQ_Tx_tags_3, /* Same as above */ - sizeof(asn_DEF_maxHARQ_Tx_tags_3) - /sizeof(asn_DEF_maxHARQ_Tx_tags_3[0]), /* 2 */ - &asn_PER_type_maxHARQ_Tx_constr_3, - 0, 0, /* Defined elsewhere */ - &asn_SPC_maxHARQ_Tx_specs_3 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_periodicBSR_Timer_value2enum_20[] = { - { 0, 3, "sf5" }, - { 1, 4, "sf10" }, - { 2, 4, "sf16" }, - { 3, 4, "sf20" }, - { 4, 4, "sf32" }, - { 5, 4, "sf40" }, - { 6, 4, "sf64" }, - { 7, 4, "sf80" }, - { 8, 5, "sf128" }, - { 9, 5, "sf160" }, - { 10, 5, "sf320" }, - { 11, 5, "sf640" }, - { 12, 6, "sf1280" }, - { 13, 6, "sf2560" }, - { 14, 8, "infinity" }, - { 15, 6, "spare1" } -}; -static unsigned int asn_MAP_periodicBSR_Timer_enum2value_20[] = { - 14, /* infinity(14) */ - 1, /* sf10(1) */ - 8, /* sf128(8) */ - 12, /* sf1280(12) */ - 2, /* sf16(2) */ - 9, /* sf160(9) */ - 3, /* sf20(3) */ - 13, /* sf2560(13) */ - 4, /* sf32(4) */ - 10, /* sf320(10) */ - 5, /* sf40(5) */ - 0, /* sf5(0) */ - 6, /* sf64(6) */ - 11, /* sf640(11) */ - 7, /* sf80(7) */ - 15 /* spare1(15) */ -}; -static asn_INTEGER_specifics_t asn_SPC_periodicBSR_Timer_specs_20 = { - asn_MAP_periodicBSR_Timer_value2enum_20, /* "tag" => N; sorted by tag */ - asn_MAP_periodicBSR_Timer_enum2value_20, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_periodicBSR_Timer_tags_20[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_periodicBSR_Timer_20 = { - "periodicBSR-Timer", - "periodicBSR-Timer", - periodicBSR_Timer_20_free, - periodicBSR_Timer_20_print, - periodicBSR_Timer_20_constraint, - periodicBSR_Timer_20_decode_ber, - periodicBSR_Timer_20_encode_der, - periodicBSR_Timer_20_decode_xer, - periodicBSR_Timer_20_encode_xer, - periodicBSR_Timer_20_decode_uper, - periodicBSR_Timer_20_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_periodicBSR_Timer_tags_20, - sizeof(asn_DEF_periodicBSR_Timer_tags_20) - /sizeof(asn_DEF_periodicBSR_Timer_tags_20[0]) - 1, /* 1 */ - asn_DEF_periodicBSR_Timer_tags_20, /* Same as above */ - sizeof(asn_DEF_periodicBSR_Timer_tags_20) - /sizeof(asn_DEF_periodicBSR_Timer_tags_20[0]), /* 2 */ - &asn_PER_type_periodicBSR_Timer_constr_20, - 0, 0, /* Defined elsewhere */ - &asn_SPC_periodicBSR_Timer_specs_20 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_retxBSR_Timer_value2enum_37[] = { - { 0, 5, "sf320" }, - { 1, 5, "sf640" }, - { 2, 6, "sf1280" }, - { 3, 6, "sf2560" }, - { 4, 6, "sf5120" }, - { 5, 7, "sf10240" }, - { 6, 6, "spare2" }, - { 7, 6, "spare1" } -}; -static unsigned int asn_MAP_retxBSR_Timer_enum2value_37[] = { - 5, /* sf10240(5) */ - 2, /* sf1280(2) */ - 3, /* sf2560(3) */ - 0, /* sf320(0) */ - 4, /* sf5120(4) */ - 1, /* sf640(1) */ - 7, /* spare1(7) */ - 6 /* spare2(6) */ -}; -static asn_INTEGER_specifics_t asn_SPC_retxBSR_Timer_specs_37 = { - asn_MAP_retxBSR_Timer_value2enum_37, /* "tag" => N; sorted by tag */ - asn_MAP_retxBSR_Timer_enum2value_37, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_retxBSR_Timer_tags_37[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_retxBSR_Timer_37 = { - "retxBSR-Timer", - "retxBSR-Timer", - retxBSR_Timer_37_free, - retxBSR_Timer_37_print, - retxBSR_Timer_37_constraint, - retxBSR_Timer_37_decode_ber, - retxBSR_Timer_37_encode_der, - retxBSR_Timer_37_decode_xer, - retxBSR_Timer_37_encode_xer, - retxBSR_Timer_37_decode_uper, - retxBSR_Timer_37_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_retxBSR_Timer_tags_37, - sizeof(asn_DEF_retxBSR_Timer_tags_37) - /sizeof(asn_DEF_retxBSR_Timer_tags_37[0]) - 1, /* 1 */ - asn_DEF_retxBSR_Timer_tags_37, /* Same as above */ - sizeof(asn_DEF_retxBSR_Timer_tags_37) - /sizeof(asn_DEF_retxBSR_Timer_tags_37[0]), /* 2 */ - &asn_PER_type_retxBSR_Timer_constr_37, - 0, 0, /* Defined elsewhere */ - &asn_SPC_retxBSR_Timer_specs_37 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ul_SCH_Config_2[] = { - { ATF_POINTER, 2, offsetof(struct MAC_MainConfig__ul_SCH_Config, maxHARQ_Tx), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_maxHARQ_Tx_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "maxHARQ-Tx" - }, - { ATF_POINTER, 1, offsetof(struct MAC_MainConfig__ul_SCH_Config, periodicBSR_Timer), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_periodicBSR_Timer_20, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "periodicBSR-Timer" - }, - { ATF_NOFLAGS, 0, offsetof(struct MAC_MainConfig__ul_SCH_Config, retxBSR_Timer), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_retxBSR_Timer_37, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "retxBSR-Timer" - }, - { ATF_NOFLAGS, 0, offsetof(struct MAC_MainConfig__ul_SCH_Config, ttiBundling), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ttiBundling" - }, -}; -static int asn_MAP_ul_SCH_Config_oms_2[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_ul_SCH_Config_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ul_SCH_Config_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* maxHARQ-Tx at 2001 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* periodicBSR-Timer at 2005 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* retxBSR-Timer at 2009 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* ttiBundling at 2011 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ul_SCH_Config_specs_2 = { - sizeof(struct MAC_MainConfig__ul_SCH_Config), - offsetof(struct MAC_MainConfig__ul_SCH_Config, _asn_ctx), - asn_MAP_ul_SCH_Config_tag2el_2, - 4, /* Count of tags in the map */ - asn_MAP_ul_SCH_Config_oms_2, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ul_SCH_Config_2 = { - "ul-SCH-Config", - "ul-SCH-Config", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ul_SCH_Config_tags_2, - sizeof(asn_DEF_ul_SCH_Config_tags_2) - /sizeof(asn_DEF_ul_SCH_Config_tags_2[0]) - 1, /* 1 */ - asn_DEF_ul_SCH_Config_tags_2, /* Same as above */ - sizeof(asn_DEF_ul_SCH_Config_tags_2) - /sizeof(asn_DEF_ul_SCH_Config_tags_2[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_ul_SCH_Config_2, - 4, /* Elements count */ - &asn_SPC_ul_SCH_Config_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_periodicPHR_Timer_value2enum_52[] = { - { 0, 4, "sf10" }, - { 1, 4, "sf20" }, - { 2, 4, "sf50" }, - { 3, 5, "sf100" }, - { 4, 5, "sf200" }, - { 5, 5, "sf500" }, - { 6, 6, "sf1000" }, - { 7, 8, "infinity" } -}; -static unsigned int asn_MAP_periodicPHR_Timer_enum2value_52[] = { - 7, /* infinity(7) */ - 0, /* sf10(0) */ - 3, /* sf100(3) */ - 6, /* sf1000(6) */ - 1, /* sf20(1) */ - 4, /* sf200(4) */ - 2, /* sf50(2) */ - 5 /* sf500(5) */ -}; -static asn_INTEGER_specifics_t asn_SPC_periodicPHR_Timer_specs_52 = { - asn_MAP_periodicPHR_Timer_value2enum_52, /* "tag" => N; sorted by tag */ - asn_MAP_periodicPHR_Timer_enum2value_52, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_periodicPHR_Timer_tags_52[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_periodicPHR_Timer_52 = { - "periodicPHR-Timer", - "periodicPHR-Timer", - periodicPHR_Timer_52_free, - periodicPHR_Timer_52_print, - periodicPHR_Timer_52_constraint, - periodicPHR_Timer_52_decode_ber, - periodicPHR_Timer_52_encode_der, - periodicPHR_Timer_52_decode_xer, - periodicPHR_Timer_52_encode_xer, - periodicPHR_Timer_52_decode_uper, - periodicPHR_Timer_52_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_periodicPHR_Timer_tags_52, - sizeof(asn_DEF_periodicPHR_Timer_tags_52) - /sizeof(asn_DEF_periodicPHR_Timer_tags_52[0]) - 1, /* 1 */ - asn_DEF_periodicPHR_Timer_tags_52, /* Same as above */ - sizeof(asn_DEF_periodicPHR_Timer_tags_52) - /sizeof(asn_DEF_periodicPHR_Timer_tags_52[0]), /* 2 */ - &asn_PER_type_periodicPHR_Timer_constr_52, - 0, 0, /* Defined elsewhere */ - &asn_SPC_periodicPHR_Timer_specs_52 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_prohibitPHR_Timer_value2enum_61[] = { - { 0, 3, "sf0" }, - { 1, 4, "sf10" }, - { 2, 4, "sf20" }, - { 3, 4, "sf50" }, - { 4, 5, "sf100" }, - { 5, 5, "sf200" }, - { 6, 5, "sf500" }, - { 7, 6, "sf1000" } -}; -static unsigned int asn_MAP_prohibitPHR_Timer_enum2value_61[] = { - 0, /* sf0(0) */ - 1, /* sf10(1) */ - 4, /* sf100(4) */ - 7, /* sf1000(7) */ - 2, /* sf20(2) */ - 5, /* sf200(5) */ - 3, /* sf50(3) */ - 6 /* sf500(6) */ -}; -static asn_INTEGER_specifics_t asn_SPC_prohibitPHR_Timer_specs_61 = { - asn_MAP_prohibitPHR_Timer_value2enum_61, /* "tag" => N; sorted by tag */ - asn_MAP_prohibitPHR_Timer_enum2value_61, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_prohibitPHR_Timer_tags_61[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_prohibitPHR_Timer_61 = { - "prohibitPHR-Timer", - "prohibitPHR-Timer", - prohibitPHR_Timer_61_free, - prohibitPHR_Timer_61_print, - prohibitPHR_Timer_61_constraint, - prohibitPHR_Timer_61_decode_ber, - prohibitPHR_Timer_61_encode_der, - prohibitPHR_Timer_61_decode_xer, - prohibitPHR_Timer_61_encode_xer, - prohibitPHR_Timer_61_decode_uper, - prohibitPHR_Timer_61_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_prohibitPHR_Timer_tags_61, - sizeof(asn_DEF_prohibitPHR_Timer_tags_61) - /sizeof(asn_DEF_prohibitPHR_Timer_tags_61[0]) - 1, /* 1 */ - asn_DEF_prohibitPHR_Timer_tags_61, /* Same as above */ - sizeof(asn_DEF_prohibitPHR_Timer_tags_61) - /sizeof(asn_DEF_prohibitPHR_Timer_tags_61[0]), /* 2 */ - &asn_PER_type_prohibitPHR_Timer_constr_61, - 0, 0, /* Defined elsewhere */ - &asn_SPC_prohibitPHR_Timer_specs_61 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_dl_PathlossChange_value2enum_70[] = { - { 0, 3, "dB1" }, - { 1, 3, "dB3" }, - { 2, 3, "dB6" }, - { 3, 8, "infinity" } -}; -static unsigned int asn_MAP_dl_PathlossChange_enum2value_70[] = { - 0, /* dB1(0) */ - 1, /* dB3(1) */ - 2, /* dB6(2) */ - 3 /* infinity(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_dl_PathlossChange_specs_70 = { - asn_MAP_dl_PathlossChange_value2enum_70, /* "tag" => N; sorted by tag */ - asn_MAP_dl_PathlossChange_enum2value_70, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_dl_PathlossChange_tags_70[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_dl_PathlossChange_70 = { - "dl-PathlossChange", - "dl-PathlossChange", - dl_PathlossChange_70_free, - dl_PathlossChange_70_print, - dl_PathlossChange_70_constraint, - dl_PathlossChange_70_decode_ber, - dl_PathlossChange_70_encode_der, - dl_PathlossChange_70_decode_xer, - dl_PathlossChange_70_encode_xer, - dl_PathlossChange_70_decode_uper, - dl_PathlossChange_70_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_dl_PathlossChange_tags_70, - sizeof(asn_DEF_dl_PathlossChange_tags_70) - /sizeof(asn_DEF_dl_PathlossChange_tags_70[0]) - 1, /* 1 */ - asn_DEF_dl_PathlossChange_tags_70, /* Same as above */ - sizeof(asn_DEF_dl_PathlossChange_tags_70) - /sizeof(asn_DEF_dl_PathlossChange_tags_70[0]), /* 2 */ - &asn_PER_type_dl_PathlossChange_constr_70, - 0, 0, /* Defined elsewhere */ - &asn_SPC_dl_PathlossChange_specs_70 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_51[] = { - { ATF_NOFLAGS, 0, offsetof(struct MAC_MainConfig__phr_Config__setup, periodicPHR_Timer), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_periodicPHR_Timer_52, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "periodicPHR-Timer" - }, - { ATF_NOFLAGS, 0, offsetof(struct MAC_MainConfig__phr_Config__setup, prohibitPHR_Timer), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_prohibitPHR_Timer_61, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "prohibitPHR-Timer" - }, - { ATF_NOFLAGS, 0, offsetof(struct MAC_MainConfig__phr_Config__setup, dl_PathlossChange), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_dl_PathlossChange_70, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dl-PathlossChange" - }, -}; -static ber_tlv_tag_t asn_DEF_setup_tags_51[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_51[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* periodicPHR-Timer at 2018 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* prohibitPHR-Timer at 2020 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* dl-PathlossChange at 2022 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_51 = { - sizeof(struct MAC_MainConfig__phr_Config__setup), - offsetof(struct MAC_MainConfig__phr_Config__setup, _asn_ctx), - asn_MAP_setup_tag2el_51, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_51 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_51, - sizeof(asn_DEF_setup_tags_51) - /sizeof(asn_DEF_setup_tags_51[0]) - 1, /* 1 */ - asn_DEF_setup_tags_51, /* Same as above */ - sizeof(asn_DEF_setup_tags_51) - /sizeof(asn_DEF_setup_tags_51[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_51, - 3, /* Elements count */ - &asn_SPC_setup_specs_51 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_phr_Config_49[] = { - { ATF_NOFLAGS, 0, offsetof(struct MAC_MainConfig__phr_Config, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct MAC_MainConfig__phr_Config, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_51, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_phr_Config_tag2el_49[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 2016 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 2019 */ -}; -static asn_CHOICE_specifics_t asn_SPC_phr_Config_specs_49 = { - sizeof(struct MAC_MainConfig__phr_Config), - offsetof(struct MAC_MainConfig__phr_Config, _asn_ctx), - offsetof(struct MAC_MainConfig__phr_Config, present), - sizeof(((struct MAC_MainConfig__phr_Config *)0)->present), - asn_MAP_phr_Config_tag2el_49, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_phr_Config_49 = { - "phr-Config", - "phr-Config", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_phr_Config_constr_49, - asn_MBR_phr_Config_49, - 2, /* Elements count */ - &asn_SPC_phr_Config_specs_49 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_sCellDeactivationTimer_r10_value2enum_77[] = { - { 0, 3, "rf2" }, - { 1, 3, "rf4" }, - { 2, 3, "rf8" }, - { 3, 4, "rf16" }, - { 4, 4, "rf32" }, - { 5, 4, "rf64" }, - { 6, 5, "rf128" }, - { 7, 5, "spare" } -}; -static unsigned int asn_MAP_sCellDeactivationTimer_r10_enum2value_77[] = { - 6, /* rf128(6) */ - 3, /* rf16(3) */ - 0, /* rf2(0) */ - 4, /* rf32(4) */ - 1, /* rf4(1) */ - 5, /* rf64(5) */ - 2, /* rf8(2) */ - 7 /* spare(7) */ -}; -static asn_INTEGER_specifics_t asn_SPC_sCellDeactivationTimer_r10_specs_77 = { - asn_MAP_sCellDeactivationTimer_r10_value2enum_77, /* "tag" => N; sorted by tag */ - asn_MAP_sCellDeactivationTimer_r10_enum2value_77, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_sCellDeactivationTimer_r10_tags_77[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_sCellDeactivationTimer_r10_77 = { - "sCellDeactivationTimer-r10", - "sCellDeactivationTimer-r10", - sCellDeactivationTimer_r10_77_free, - sCellDeactivationTimer_r10_77_print, - sCellDeactivationTimer_r10_77_constraint, - sCellDeactivationTimer_r10_77_decode_ber, - sCellDeactivationTimer_r10_77_encode_der, - sCellDeactivationTimer_r10_77_decode_xer, - sCellDeactivationTimer_r10_77_encode_xer, - sCellDeactivationTimer_r10_77_decode_uper, - sCellDeactivationTimer_r10_77_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_sCellDeactivationTimer_r10_tags_77, - sizeof(asn_DEF_sCellDeactivationTimer_r10_tags_77) - /sizeof(asn_DEF_sCellDeactivationTimer_r10_tags_77[0]) - 1, /* 1 */ - asn_DEF_sCellDeactivationTimer_r10_tags_77, /* Same as above */ - sizeof(asn_DEF_sCellDeactivationTimer_r10_tags_77) - /sizeof(asn_DEF_sCellDeactivationTimer_r10_tags_77[0]), /* 2 */ - &asn_PER_type_sCellDeactivationTimer_r10_constr_77, - 0, 0, /* Defined elsewhere */ - &asn_SPC_sCellDeactivationTimer_r10_specs_77 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_extendedBSR_Sizes_r10_value2enum_86[] = { - { 0, 5, "setup" } -}; -static unsigned int asn_MAP_extendedBSR_Sizes_r10_enum2value_86[] = { - 0 /* setup(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_extendedBSR_Sizes_r10_specs_86 = { - asn_MAP_extendedBSR_Sizes_r10_value2enum_86, /* "tag" => N; sorted by tag */ - asn_MAP_extendedBSR_Sizes_r10_enum2value_86, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_extendedBSR_Sizes_r10_tags_86[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_extendedBSR_Sizes_r10_86 = { - "extendedBSR-Sizes-r10", - "extendedBSR-Sizes-r10", - extendedBSR_Sizes_r10_86_free, - extendedBSR_Sizes_r10_86_print, - extendedBSR_Sizes_r10_86_constraint, - extendedBSR_Sizes_r10_86_decode_ber, - extendedBSR_Sizes_r10_86_encode_der, - extendedBSR_Sizes_r10_86_decode_xer, - extendedBSR_Sizes_r10_86_encode_xer, - extendedBSR_Sizes_r10_86_decode_uper, - extendedBSR_Sizes_r10_86_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_extendedBSR_Sizes_r10_tags_86, - sizeof(asn_DEF_extendedBSR_Sizes_r10_tags_86) - /sizeof(asn_DEF_extendedBSR_Sizes_r10_tags_86[0]) - 1, /* 1 */ - asn_DEF_extendedBSR_Sizes_r10_tags_86, /* Same as above */ - sizeof(asn_DEF_extendedBSR_Sizes_r10_tags_86) - /sizeof(asn_DEF_extendedBSR_Sizes_r10_tags_86[0]), /* 2 */ - &asn_PER_type_extendedBSR_Sizes_r10_constr_86, - 0, 0, /* Defined elsewhere */ - &asn_SPC_extendedBSR_Sizes_r10_specs_86 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_extendedPHR_r10_value2enum_88[] = { - { 0, 5, "setup" } -}; -static unsigned int asn_MAP_extendedPHR_r10_enum2value_88[] = { - 0 /* setup(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_extendedPHR_r10_specs_88 = { - asn_MAP_extendedPHR_r10_value2enum_88, /* "tag" => N; sorted by tag */ - asn_MAP_extendedPHR_r10_enum2value_88, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_extendedPHR_r10_tags_88[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_extendedPHR_r10_88 = { - "extendedPHR-r10", - "extendedPHR-r10", - extendedPHR_r10_88_free, - extendedPHR_r10_88_print, - extendedPHR_r10_88_constraint, - extendedPHR_r10_88_decode_ber, - extendedPHR_r10_88_encode_der, - extendedPHR_r10_88_decode_xer, - extendedPHR_r10_88_encode_xer, - extendedPHR_r10_88_decode_uper, - extendedPHR_r10_88_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_extendedPHR_r10_tags_88, - sizeof(asn_DEF_extendedPHR_r10_tags_88) - /sizeof(asn_DEF_extendedPHR_r10_tags_88[0]) - 1, /* 1 */ - asn_DEF_extendedPHR_r10_tags_88, /* Same as above */ - sizeof(asn_DEF_extendedPHR_r10_tags_88) - /sizeof(asn_DEF_extendedPHR_r10_tags_88[0]), /* 2 */ - &asn_PER_type_extendedPHR_r10_constr_88, - 0, 0, /* Defined elsewhere */ - &asn_SPC_extendedPHR_r10_specs_88 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_mac_MainConfig_v1020_76[] = { - { ATF_POINTER, 3, offsetof(struct MAC_MainConfig__mac_MainConfig_v1020, sCellDeactivationTimer_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_sCellDeactivationTimer_r10_77, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sCellDeactivationTimer-r10" - }, - { ATF_POINTER, 2, offsetof(struct MAC_MainConfig__mac_MainConfig_v1020, extendedBSR_Sizes_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_extendedBSR_Sizes_r10_86, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "extendedBSR-Sizes-r10" - }, - { ATF_POINTER, 1, offsetof(struct MAC_MainConfig__mac_MainConfig_v1020, extendedPHR_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_extendedPHR_r10_88, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "extendedPHR-r10" - }, -}; -static int asn_MAP_mac_MainConfig_v1020_oms_76[] = { 0, 1, 2 }; -static ber_tlv_tag_t asn_DEF_mac_MainConfig_v1020_tags_76[] = { - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_mac_MainConfig_v1020_tag2el_76[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sCellDeactivationTimer-r10 at 2028 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* extendedBSR-Sizes-r10 at 2030 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* extendedPHR-r10 at 2031 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_mac_MainConfig_v1020_specs_76 = { - sizeof(struct MAC_MainConfig__mac_MainConfig_v1020), - offsetof(struct MAC_MainConfig__mac_MainConfig_v1020, _asn_ctx), - asn_MAP_mac_MainConfig_v1020_tag2el_76, - 3, /* Count of tags in the map */ - asn_MAP_mac_MainConfig_v1020_oms_76, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_mac_MainConfig_v1020_76 = { - "mac-MainConfig-v1020", - "mac-MainConfig-v1020", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_mac_MainConfig_v1020_tags_76, - sizeof(asn_DEF_mac_MainConfig_v1020_tags_76) - /sizeof(asn_DEF_mac_MainConfig_v1020_tags_76[0]) - 1, /* 1 */ - asn_DEF_mac_MainConfig_v1020_tags_76, /* Same as above */ - sizeof(asn_DEF_mac_MainConfig_v1020_tags_76) - /sizeof(asn_DEF_mac_MainConfig_v1020_tags_76[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_mac_MainConfig_v1020_76, - 3, /* Elements count */ - &asn_SPC_mac_MainConfig_v1020_specs_76 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MAC_MainConfig_1[] = { - { ATF_POINTER, 2, offsetof(struct MAC_MainConfig, ul_SCH_Config), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_ul_SCH_Config_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ul-SCH-Config" - }, - { ATF_POINTER, 1, offsetof(struct MAC_MainConfig, drx_Config), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_DRX_Config, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "drx-Config" - }, - { ATF_NOFLAGS, 0, offsetof(struct MAC_MainConfig, timeAlignmentTimerDedicated), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_TimeAlignmentTimer, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "timeAlignmentTimerDedicated" - }, - { ATF_POINTER, 3, offsetof(struct MAC_MainConfig, phr_Config), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_phr_Config_49, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "phr-Config" - }, - { ATF_POINTER, 2, offsetof(struct MAC_MainConfig, sr_ProhibitTimer_r9), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sr_ProhibitTimer_r9_constraint_1, - &asn_PER_memb_sr_ProhibitTimer_r9_constr_75, - 0, - "sr-ProhibitTimer-r9" - }, - { ATF_POINTER, 1, offsetof(struct MAC_MainConfig, mac_MainConfig_v1020), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - 0, - &asn_DEF_mac_MainConfig_v1020_76, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mac-MainConfig-v1020" - }, -}; -static int asn_MAP_MAC_MainConfig_oms_1[] = { 0, 1, 3, 4, 5 }; -static ber_tlv_tag_t asn_DEF_MAC_MainConfig_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MAC_MainConfig_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ul-SCH-Config at 2003 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* drx-Config at 2013 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* timeAlignmentTimerDedicated at 2014 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* phr-Config at 2016 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* sr-ProhibitTimer-r9 at 2025 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* mac-MainConfig-v1020 at 2029 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MAC_MainConfig_specs_1 = { - sizeof(struct MAC_MainConfig), - offsetof(struct MAC_MainConfig, _asn_ctx), - asn_MAP_MAC_MainConfig_tag2el_1, - 6, /* Count of tags in the map */ - asn_MAP_MAC_MainConfig_oms_1, /* Optional members */ - 5, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MAC_MainConfig = { - "MAC-MainConfig", - "MAC-MainConfig", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MAC_MainConfig_tags_1, - sizeof(asn_DEF_MAC_MainConfig_tags_1) - /sizeof(asn_DEF_MAC_MainConfig_tags_1[0]), /* 1 */ - asn_DEF_MAC_MainConfig_tags_1, /* Same as above */ - sizeof(asn_DEF_MAC_MainConfig_tags_1) - /sizeof(asn_DEF_MAC_MainConfig_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MAC_MainConfig_1, - 6, /* Elements count */ - &asn_SPC_MAC_MainConfig_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MBMS-NotificationConfig-r9.c b/lte/rrc/lib/asn/src/MBMS-NotificationConfig-r9.c deleted file mode 100644 index eb676fefb..000000000 --- a/lte/rrc/lib/asn/src/MBMS-NotificationConfig-r9.c +++ /dev/null @@ -1,279 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MBMS-NotificationConfig-r9.h" - -static int -notificationRepetitionCoeff_r9_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -notificationRepetitionCoeff_r9_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -notificationRepetitionCoeff_r9_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - notificationRepetitionCoeff_r9_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -notificationRepetitionCoeff_r9_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - notificationRepetitionCoeff_r9_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -notificationRepetitionCoeff_r9_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - notificationRepetitionCoeff_r9_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -notificationRepetitionCoeff_r9_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - notificationRepetitionCoeff_r9_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -notificationRepetitionCoeff_r9_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - notificationRepetitionCoeff_r9_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -notificationRepetitionCoeff_r9_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - notificationRepetitionCoeff_r9_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -notificationRepetitionCoeff_r9_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - notificationRepetitionCoeff_r9_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -notificationRepetitionCoeff_r9_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - notificationRepetitionCoeff_r9_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_notificationOffset_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 10)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_notificationSF_Index_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 6)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_notificationRepetitionCoeff_r9_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_notificationOffset_r9_constr_5 = { - { APC_CONSTRAINED, 4, 4, 0, 10 } /* (0..10) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_notificationSF_Index_r9_constr_6 = { - { APC_CONSTRAINED, 3, 3, 1, 6 } /* (1..6) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_notificationRepetitionCoeff_r9_value2enum_2[] = { - { 0, 2, "n2" }, - { 1, 2, "n4" } -}; -static unsigned int asn_MAP_notificationRepetitionCoeff_r9_enum2value_2[] = { - 0, /* n2(0) */ - 1 /* n4(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_notificationRepetitionCoeff_r9_specs_2 = { - asn_MAP_notificationRepetitionCoeff_r9_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_notificationRepetitionCoeff_r9_enum2value_2, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_notificationRepetitionCoeff_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_notificationRepetitionCoeff_r9_2 = { - "notificationRepetitionCoeff-r9", - "notificationRepetitionCoeff-r9", - notificationRepetitionCoeff_r9_2_free, - notificationRepetitionCoeff_r9_2_print, - notificationRepetitionCoeff_r9_2_constraint, - notificationRepetitionCoeff_r9_2_decode_ber, - notificationRepetitionCoeff_r9_2_encode_der, - notificationRepetitionCoeff_r9_2_decode_xer, - notificationRepetitionCoeff_r9_2_encode_xer, - notificationRepetitionCoeff_r9_2_decode_uper, - notificationRepetitionCoeff_r9_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_notificationRepetitionCoeff_r9_tags_2, - sizeof(asn_DEF_notificationRepetitionCoeff_r9_tags_2) - /sizeof(asn_DEF_notificationRepetitionCoeff_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_notificationRepetitionCoeff_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_notificationRepetitionCoeff_r9_tags_2) - /sizeof(asn_DEF_notificationRepetitionCoeff_r9_tags_2[0]), /* 2 */ - &asn_PER_type_notificationRepetitionCoeff_r9_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_notificationRepetitionCoeff_r9_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MBMS_NotificationConfig_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MBMS_NotificationConfig_r9, notificationRepetitionCoeff_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_notificationRepetitionCoeff_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "notificationRepetitionCoeff-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBMS_NotificationConfig_r9, notificationOffset_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_notificationOffset_r9_constraint_1, - &asn_PER_memb_notificationOffset_r9_constr_5, - 0, - "notificationOffset-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBMS_NotificationConfig_r9, notificationSF_Index_r9), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_notificationSF_Index_r9_constraint_1, - &asn_PER_memb_notificationSF_Index_r9_constr_6, - 0, - "notificationSF-Index-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_MBMS_NotificationConfig_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MBMS_NotificationConfig_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* notificationRepetitionCoeff-r9 at 4035 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* notificationOffset-r9 at 4036 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* notificationSF-Index-r9 at 4037 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MBMS_NotificationConfig_r9_specs_1 = { - sizeof(struct MBMS_NotificationConfig_r9), - offsetof(struct MBMS_NotificationConfig_r9, _asn_ctx), - asn_MAP_MBMS_NotificationConfig_r9_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MBMS_NotificationConfig_r9 = { - "MBMS-NotificationConfig-r9", - "MBMS-NotificationConfig-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MBMS_NotificationConfig_r9_tags_1, - sizeof(asn_DEF_MBMS_NotificationConfig_r9_tags_1) - /sizeof(asn_DEF_MBMS_NotificationConfig_r9_tags_1[0]), /* 1 */ - asn_DEF_MBMS_NotificationConfig_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_MBMS_NotificationConfig_r9_tags_1) - /sizeof(asn_DEF_MBMS_NotificationConfig_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MBMS_NotificationConfig_r9_1, - 3, /* Elements count */ - &asn_SPC_MBMS_NotificationConfig_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MBMS-SessionInfo-r9.c b/lte/rrc/lib/asn/src/MBMS-SessionInfo-r9.c deleted file mode 100644 index c51750147..000000000 --- a/lte/rrc/lib/asn/src/MBMS-SessionInfo-r9.c +++ /dev/null @@ -1,143 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MBMS-SessionInfo-r9.h" - -static int -memb_sessionId_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - size = st->size; - - if((size == 1)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_logicalChannelIdentity_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 28)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_sessionId_r9_constr_3 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 1, 1 } /* (SIZE(1..1)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_logicalChannelIdentity_r9_constr_4 = { - { APC_CONSTRAINED, 5, 5, 0, 28 } /* (0..28) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MBMS_SessionInfo_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MBMS_SessionInfo_r9, tmgi_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_TMGI_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "tmgi-r9" - }, - { ATF_POINTER, 1, offsetof(struct MBMS_SessionInfo_r9, sessionId_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_sessionId_r9_constraint_1, - &asn_PER_memb_sessionId_r9_constr_3, - 0, - "sessionId-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBMS_SessionInfo_r9, logicalChannelIdentity_r9), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_logicalChannelIdentity_r9_constraint_1, - &asn_PER_memb_logicalChannelIdentity_r9_constr_4, - 0, - "logicalChannelIdentity-r9" - }, -}; -static int asn_MAP_MBMS_SessionInfo_r9_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_MBMS_SessionInfo_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MBMS_SessionInfo_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* tmgi-r9 at 4078 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* sessionId-r9 at 4079 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* logicalChannelIdentity-r9 at 4080 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MBMS_SessionInfo_r9_specs_1 = { - sizeof(struct MBMS_SessionInfo_r9), - offsetof(struct MBMS_SessionInfo_r9, _asn_ctx), - asn_MAP_MBMS_SessionInfo_r9_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_MBMS_SessionInfo_r9_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - 2, /* Start extensions */ - 4 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MBMS_SessionInfo_r9 = { - "MBMS-SessionInfo-r9", - "MBMS-SessionInfo-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MBMS_SessionInfo_r9_tags_1, - sizeof(asn_DEF_MBMS_SessionInfo_r9_tags_1) - /sizeof(asn_DEF_MBMS_SessionInfo_r9_tags_1[0]), /* 1 */ - asn_DEF_MBMS_SessionInfo_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_MBMS_SessionInfo_r9_tags_1) - /sizeof(asn_DEF_MBMS_SessionInfo_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MBMS_SessionInfo_r9_1, - 3, /* Elements count */ - &asn_SPC_MBMS_SessionInfo_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MBMS-SessionInfoList-r9.c b/lte/rrc/lib/asn/src/MBMS-SessionInfoList-r9.c deleted file mode 100644 index c653e7256..000000000 --- a/lte/rrc/lib/asn/src/MBMS-SessionInfoList-r9.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MBMS-SessionInfoList-r9.h" - -static asn_per_constraints_t asn_PER_type_MBMS_SessionInfoList_r9_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 0, 29 } /* (SIZE(0..29)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MBMS_SessionInfoList_r9_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_MBMS_SessionInfo_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MBMS_SessionInfoList_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MBMS_SessionInfoList_r9_specs_1 = { - sizeof(struct MBMS_SessionInfoList_r9), - offsetof(struct MBMS_SessionInfoList_r9, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MBMS_SessionInfoList_r9 = { - "MBMS-SessionInfoList-r9", - "MBMS-SessionInfoList-r9", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MBMS_SessionInfoList_r9_tags_1, - sizeof(asn_DEF_MBMS_SessionInfoList_r9_tags_1) - /sizeof(asn_DEF_MBMS_SessionInfoList_r9_tags_1[0]), /* 1 */ - asn_DEF_MBMS_SessionInfoList_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_MBMS_SessionInfoList_r9_tags_1) - /sizeof(asn_DEF_MBMS_SessionInfoList_r9_tags_1[0]), /* 1 */ - &asn_PER_type_MBMS_SessionInfoList_r9_constr_1, - asn_MBR_MBMS_SessionInfoList_r9_1, - 1, /* Single element */ - &asn_SPC_MBMS_SessionInfoList_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MBMSCountingRequest-r10.c b/lte/rrc/lib/asn/src/MBMSCountingRequest-r10.c deleted file mode 100644 index fc9a21a1a..000000000 --- a/lte/rrc/lib/asn/src/MBMSCountingRequest-r10.c +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MBMSCountingRequest-r10.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_4 = { - sizeof(struct MBMSCountingRequest_r10__nonCriticalExtension), - offsetof(struct MBMSCountingRequest_r10__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_4 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_4, - sizeof(asn_DEF_nonCriticalExtension_tags_4) - /sizeof(asn_DEF_nonCriticalExtension_tags_4[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_4, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_4) - /sizeof(asn_DEF_nonCriticalExtension_tags_4[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MBMSCountingRequest_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MBMSCountingRequest_r10, countingRequestList_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CountingRequestList_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "countingRequestList-r10" - }, - { ATF_POINTER, 2, offsetof(struct MBMSCountingRequest_r10, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct MBMSCountingRequest_r10, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_nonCriticalExtension_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_MBMSCountingRequest_r10_oms_1[] = { 1, 2 }; -static ber_tlv_tag_t asn_DEF_MBMSCountingRequest_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MBMSCountingRequest_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* countingRequestList-r10 at 356 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* lateNonCriticalExtension at 357 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* nonCriticalExtension at 358 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MBMSCountingRequest_r10_specs_1 = { - sizeof(struct MBMSCountingRequest_r10), - offsetof(struct MBMSCountingRequest_r10, _asn_ctx), - asn_MAP_MBMSCountingRequest_r10_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_MBMSCountingRequest_r10_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MBMSCountingRequest_r10 = { - "MBMSCountingRequest-r10", - "MBMSCountingRequest-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MBMSCountingRequest_r10_tags_1, - sizeof(asn_DEF_MBMSCountingRequest_r10_tags_1) - /sizeof(asn_DEF_MBMSCountingRequest_r10_tags_1[0]), /* 1 */ - asn_DEF_MBMSCountingRequest_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_MBMSCountingRequest_r10_tags_1) - /sizeof(asn_DEF_MBMSCountingRequest_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MBMSCountingRequest_r10_1, - 3, /* Elements count */ - &asn_SPC_MBMSCountingRequest_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MBMSCountingResponse-r10-IEs.c b/lte/rrc/lib/asn/src/MBMSCountingResponse-r10-IEs.c deleted file mode 100644 index 200f10156..000000000 --- a/lte/rrc/lib/asn/src/MBMSCountingResponse-r10-IEs.c +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MBMSCountingResponse-r10-IEs.h" - -static int -memb_mbsfn_AreaIndex_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_mbsfn_AreaIndex_r10_constr_2 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_5 = { - sizeof(struct MBMSCountingResponse_r10_IEs__nonCriticalExtension), - offsetof(struct MBMSCountingResponse_r10_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_5 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_5, - sizeof(asn_DEF_nonCriticalExtension_tags_5) - /sizeof(asn_DEF_nonCriticalExtension_tags_5[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_5, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_5) - /sizeof(asn_DEF_nonCriticalExtension_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MBMSCountingResponse_r10_IEs_1[] = { - { ATF_POINTER, 4, offsetof(struct MBMSCountingResponse_r10_IEs, mbsfn_AreaIndex_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_mbsfn_AreaIndex_r10_constraint_1, - &asn_PER_memb_mbsfn_AreaIndex_r10_constr_2, - 0, - "mbsfn-AreaIndex-r10" - }, - { ATF_POINTER, 3, offsetof(struct MBMSCountingResponse_r10_IEs, countingResponseList_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CountingResponseList_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "countingResponseList-r10" - }, - { ATF_POINTER, 2, offsetof(struct MBMSCountingResponse_r10_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct MBMSCountingResponse_r10_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - 0, - &asn_DEF_nonCriticalExtension_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_MBMSCountingResponse_r10_IEs_oms_1[] = { 0, 1, 2, 3 }; -static ber_tlv_tag_t asn_DEF_MBMSCountingResponse_r10_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MBMSCountingResponse_r10_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mbsfn-AreaIndex-r10 at 380 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* countingResponseList-r10 at 381 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* lateNonCriticalExtension at 382 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* nonCriticalExtension at 383 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MBMSCountingResponse_r10_IEs_specs_1 = { - sizeof(struct MBMSCountingResponse_r10_IEs), - offsetof(struct MBMSCountingResponse_r10_IEs, _asn_ctx), - asn_MAP_MBMSCountingResponse_r10_IEs_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_MBMSCountingResponse_r10_IEs_oms_1, /* Optional members */ - 4, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MBMSCountingResponse_r10_IEs = { - "MBMSCountingResponse-r10-IEs", - "MBMSCountingResponse-r10-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MBMSCountingResponse_r10_IEs_tags_1, - sizeof(asn_DEF_MBMSCountingResponse_r10_IEs_tags_1) - /sizeof(asn_DEF_MBMSCountingResponse_r10_IEs_tags_1[0]), /* 1 */ - asn_DEF_MBMSCountingResponse_r10_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_MBMSCountingResponse_r10_IEs_tags_1) - /sizeof(asn_DEF_MBMSCountingResponse_r10_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MBMSCountingResponse_r10_IEs_1, - 4, /* Elements count */ - &asn_SPC_MBMSCountingResponse_r10_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MBMSCountingResponse-r10.c b/lte/rrc/lib/asn/src/MBMSCountingResponse-r10.c deleted file mode 100644 index a217a1ed1..000000000 --- a/lte/rrc/lib/asn/src/MBMSCountingResponse-r10.c +++ /dev/null @@ -1,244 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MBMSCountingResponse-r10.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_3 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct MBMSCountingResponse_r10__criticalExtensions__c1, choice.countingResponse_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MBMSCountingResponse_r10_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "countingResponse-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBMSCountingResponse_r10__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBMSCountingResponse_r10__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBMSCountingResponse_r10__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* countingResponse-r10 at 372 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 at 373 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 373 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 373 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_3 = { - sizeof(struct MBMSCountingResponse_r10__criticalExtensions__c1), - offsetof(struct MBMSCountingResponse_r10__criticalExtensions__c1, _asn_ctx), - offsetof(struct MBMSCountingResponse_r10__criticalExtensions__c1, present), - sizeof(((struct MBMSCountingResponse_r10__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_3, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_3 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_3, - asn_MBR_c1_3, - 4, /* Elements count */ - &asn_SPC_c1_specs_3 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_8[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_8 = { - sizeof(struct MBMSCountingResponse_r10__criticalExtensions__criticalExtensionsFuture), - offsetof(struct MBMSCountingResponse_r10__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_8 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_8, - sizeof(asn_DEF_criticalExtensionsFuture_tags_8) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_8[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_8, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_8) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_8[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_8 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct MBMSCountingResponse_r10__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBMSCountingResponse_r10__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 372 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 375 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = { - sizeof(struct MBMSCountingResponse_r10__criticalExtensions), - offsetof(struct MBMSCountingResponse_r10__criticalExtensions, _asn_ctx), - offsetof(struct MBMSCountingResponse_r10__criticalExtensions, present), - sizeof(((struct MBMSCountingResponse_r10__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_2, - asn_MBR_criticalExtensions_2, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MBMSCountingResponse_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MBMSCountingResponse_r10, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_MBMSCountingResponse_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MBMSCountingResponse_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions at 374 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MBMSCountingResponse_r10_specs_1 = { - sizeof(struct MBMSCountingResponse_r10), - offsetof(struct MBMSCountingResponse_r10, _asn_ctx), - asn_MAP_MBMSCountingResponse_r10_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MBMSCountingResponse_r10 = { - "MBMSCountingResponse-r10", - "MBMSCountingResponse-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MBMSCountingResponse_r10_tags_1, - sizeof(asn_DEF_MBMSCountingResponse_r10_tags_1) - /sizeof(asn_DEF_MBMSCountingResponse_r10_tags_1[0]), /* 1 */ - asn_DEF_MBMSCountingResponse_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_MBMSCountingResponse_r10_tags_1) - /sizeof(asn_DEF_MBMSCountingResponse_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MBMSCountingResponse_r10_1, - 1, /* Elements count */ - &asn_SPC_MBMSCountingResponse_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MBSFN-AreaInfo-r9.c b/lte/rrc/lib/asn/src/MBSFN-AreaInfo-r9.c deleted file mode 100644 index fef23e4c6..000000000 --- a/lte/rrc/lib/asn/src/MBSFN-AreaInfo-r9.c +++ /dev/null @@ -1,873 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MBSFN-AreaInfo-r9.h" - -static int -non_MBSFNregionLength_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -non_MBSFNregionLength_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -non_MBSFNregionLength_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - non_MBSFNregionLength_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -non_MBSFNregionLength_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - non_MBSFNregionLength_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -non_MBSFNregionLength_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - non_MBSFNregionLength_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -non_MBSFNregionLength_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - non_MBSFNregionLength_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -non_MBSFNregionLength_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - non_MBSFNregionLength_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -non_MBSFNregionLength_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - non_MBSFNregionLength_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -non_MBSFNregionLength_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - non_MBSFNregionLength_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -non_MBSFNregionLength_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - non_MBSFNregionLength_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -mcch_RepetitionPeriod_r9_8_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -mcch_RepetitionPeriod_r9_8_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -mcch_RepetitionPeriod_r9_8_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - mcch_RepetitionPeriod_r9_8_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -mcch_RepetitionPeriod_r9_8_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - mcch_RepetitionPeriod_r9_8_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -mcch_RepetitionPeriod_r9_8_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - mcch_RepetitionPeriod_r9_8_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -mcch_RepetitionPeriod_r9_8_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - mcch_RepetitionPeriod_r9_8_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -mcch_RepetitionPeriod_r9_8_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - mcch_RepetitionPeriod_r9_8_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -mcch_RepetitionPeriod_r9_8_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - mcch_RepetitionPeriod_r9_8_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -mcch_RepetitionPeriod_r9_8_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - mcch_RepetitionPeriod_r9_8_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -mcch_RepetitionPeriod_r9_8_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - mcch_RepetitionPeriod_r9_8_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -mcch_ModificationPeriod_r9_14_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -mcch_ModificationPeriod_r9_14_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -mcch_ModificationPeriod_r9_14_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - mcch_ModificationPeriod_r9_14_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -mcch_ModificationPeriod_r9_14_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - mcch_ModificationPeriod_r9_14_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -mcch_ModificationPeriod_r9_14_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - mcch_ModificationPeriod_r9_14_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -mcch_ModificationPeriod_r9_14_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - mcch_ModificationPeriod_r9_14_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -mcch_ModificationPeriod_r9_14_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - mcch_ModificationPeriod_r9_14_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -mcch_ModificationPeriod_r9_14_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - mcch_ModificationPeriod_r9_14_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -mcch_ModificationPeriod_r9_14_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - mcch_ModificationPeriod_r9_14_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -mcch_ModificationPeriod_r9_14_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - mcch_ModificationPeriod_r9_14_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -signallingMCS_r9_18_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -signallingMCS_r9_18_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -signallingMCS_r9_18_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - signallingMCS_r9_18_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -signallingMCS_r9_18_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - signallingMCS_r9_18_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -signallingMCS_r9_18_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - signallingMCS_r9_18_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -signallingMCS_r9_18_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - signallingMCS_r9_18_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -signallingMCS_r9_18_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - signallingMCS_r9_18_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -signallingMCS_r9_18_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - signallingMCS_r9_18_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -signallingMCS_r9_18_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - signallingMCS_r9_18_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -signallingMCS_r9_18_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - signallingMCS_r9_18_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_mcch_Offset_r9_constraint_7(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 10)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_sf_AllocInfo_r9_constraint_7(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 6)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_mbsfn_AreaId_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 255)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_notificationIndicator_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_non_MBSFNregionLength_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_mcch_RepetitionPeriod_r9_constr_8 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_mcch_ModificationPeriod_r9_constr_14 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_signallingMCS_r9_constr_18 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_mcch_Offset_r9_constr_13 = { - { APC_CONSTRAINED, 4, 4, 0, 10 } /* (0..10) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sf_AllocInfo_r9_constr_17 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 6, 6 } /* (SIZE(6..6)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_mbsfn_AreaId_r9_constr_2 = { - { APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_notificationIndicator_r9_constr_6 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_non_MBSFNregionLength_value2enum_3[] = { - { 0, 2, "s1" }, - { 1, 2, "s2" } -}; -static unsigned int asn_MAP_non_MBSFNregionLength_enum2value_3[] = { - 0, /* s1(0) */ - 1 /* s2(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_non_MBSFNregionLength_specs_3 = { - asn_MAP_non_MBSFNregionLength_value2enum_3, /* "tag" => N; sorted by tag */ - asn_MAP_non_MBSFNregionLength_enum2value_3, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_non_MBSFNregionLength_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_non_MBSFNregionLength_3 = { - "non-MBSFNregionLength", - "non-MBSFNregionLength", - non_MBSFNregionLength_3_free, - non_MBSFNregionLength_3_print, - non_MBSFNregionLength_3_constraint, - non_MBSFNregionLength_3_decode_ber, - non_MBSFNregionLength_3_encode_der, - non_MBSFNregionLength_3_decode_xer, - non_MBSFNregionLength_3_encode_xer, - non_MBSFNregionLength_3_decode_uper, - non_MBSFNregionLength_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_non_MBSFNregionLength_tags_3, - sizeof(asn_DEF_non_MBSFNregionLength_tags_3) - /sizeof(asn_DEF_non_MBSFNregionLength_tags_3[0]) - 1, /* 1 */ - asn_DEF_non_MBSFNregionLength_tags_3, /* Same as above */ - sizeof(asn_DEF_non_MBSFNregionLength_tags_3) - /sizeof(asn_DEF_non_MBSFNregionLength_tags_3[0]), /* 2 */ - &asn_PER_type_non_MBSFNregionLength_constr_3, - 0, 0, /* Defined elsewhere */ - &asn_SPC_non_MBSFNregionLength_specs_3 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_mcch_RepetitionPeriod_r9_value2enum_8[] = { - { 0, 4, "rf32" }, - { 1, 4, "rf64" }, - { 2, 5, "rf128" }, - { 3, 5, "rf256" } -}; -static unsigned int asn_MAP_mcch_RepetitionPeriod_r9_enum2value_8[] = { - 2, /* rf128(2) */ - 3, /* rf256(3) */ - 0, /* rf32(0) */ - 1 /* rf64(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_mcch_RepetitionPeriod_r9_specs_8 = { - asn_MAP_mcch_RepetitionPeriod_r9_value2enum_8, /* "tag" => N; sorted by tag */ - asn_MAP_mcch_RepetitionPeriod_r9_enum2value_8, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_mcch_RepetitionPeriod_r9_tags_8[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_mcch_RepetitionPeriod_r9_8 = { - "mcch-RepetitionPeriod-r9", - "mcch-RepetitionPeriod-r9", - mcch_RepetitionPeriod_r9_8_free, - mcch_RepetitionPeriod_r9_8_print, - mcch_RepetitionPeriod_r9_8_constraint, - mcch_RepetitionPeriod_r9_8_decode_ber, - mcch_RepetitionPeriod_r9_8_encode_der, - mcch_RepetitionPeriod_r9_8_decode_xer, - mcch_RepetitionPeriod_r9_8_encode_xer, - mcch_RepetitionPeriod_r9_8_decode_uper, - mcch_RepetitionPeriod_r9_8_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_mcch_RepetitionPeriod_r9_tags_8, - sizeof(asn_DEF_mcch_RepetitionPeriod_r9_tags_8) - /sizeof(asn_DEF_mcch_RepetitionPeriod_r9_tags_8[0]) - 1, /* 1 */ - asn_DEF_mcch_RepetitionPeriod_r9_tags_8, /* Same as above */ - sizeof(asn_DEF_mcch_RepetitionPeriod_r9_tags_8) - /sizeof(asn_DEF_mcch_RepetitionPeriod_r9_tags_8[0]), /* 2 */ - &asn_PER_type_mcch_RepetitionPeriod_r9_constr_8, - 0, 0, /* Defined elsewhere */ - &asn_SPC_mcch_RepetitionPeriod_r9_specs_8 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_mcch_ModificationPeriod_r9_value2enum_14[] = { - { 0, 5, "rf512" }, - { 1, 6, "rf1024" } -}; -static unsigned int asn_MAP_mcch_ModificationPeriod_r9_enum2value_14[] = { - 1, /* rf1024(1) */ - 0 /* rf512(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_mcch_ModificationPeriod_r9_specs_14 = { - asn_MAP_mcch_ModificationPeriod_r9_value2enum_14, /* "tag" => N; sorted by tag */ - asn_MAP_mcch_ModificationPeriod_r9_enum2value_14, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_mcch_ModificationPeriod_r9_tags_14[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_mcch_ModificationPeriod_r9_14 = { - "mcch-ModificationPeriod-r9", - "mcch-ModificationPeriod-r9", - mcch_ModificationPeriod_r9_14_free, - mcch_ModificationPeriod_r9_14_print, - mcch_ModificationPeriod_r9_14_constraint, - mcch_ModificationPeriod_r9_14_decode_ber, - mcch_ModificationPeriod_r9_14_encode_der, - mcch_ModificationPeriod_r9_14_decode_xer, - mcch_ModificationPeriod_r9_14_encode_xer, - mcch_ModificationPeriod_r9_14_decode_uper, - mcch_ModificationPeriod_r9_14_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_mcch_ModificationPeriod_r9_tags_14, - sizeof(asn_DEF_mcch_ModificationPeriod_r9_tags_14) - /sizeof(asn_DEF_mcch_ModificationPeriod_r9_tags_14[0]) - 1, /* 1 */ - asn_DEF_mcch_ModificationPeriod_r9_tags_14, /* Same as above */ - sizeof(asn_DEF_mcch_ModificationPeriod_r9_tags_14) - /sizeof(asn_DEF_mcch_ModificationPeriod_r9_tags_14[0]), /* 2 */ - &asn_PER_type_mcch_ModificationPeriod_r9_constr_14, - 0, 0, /* Defined elsewhere */ - &asn_SPC_mcch_ModificationPeriod_r9_specs_14 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_signallingMCS_r9_value2enum_18[] = { - { 0, 2, "n2" }, - { 1, 2, "n7" }, - { 2, 3, "n13" }, - { 3, 3, "n19" } -}; -static unsigned int asn_MAP_signallingMCS_r9_enum2value_18[] = { - 2, /* n13(2) */ - 3, /* n19(3) */ - 0, /* n2(0) */ - 1 /* n7(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_signallingMCS_r9_specs_18 = { - asn_MAP_signallingMCS_r9_value2enum_18, /* "tag" => N; sorted by tag */ - asn_MAP_signallingMCS_r9_enum2value_18, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_signallingMCS_r9_tags_18[] = { - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_signallingMCS_r9_18 = { - "signallingMCS-r9", - "signallingMCS-r9", - signallingMCS_r9_18_free, - signallingMCS_r9_18_print, - signallingMCS_r9_18_constraint, - signallingMCS_r9_18_decode_ber, - signallingMCS_r9_18_encode_der, - signallingMCS_r9_18_decode_xer, - signallingMCS_r9_18_encode_xer, - signallingMCS_r9_18_decode_uper, - signallingMCS_r9_18_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_signallingMCS_r9_tags_18, - sizeof(asn_DEF_signallingMCS_r9_tags_18) - /sizeof(asn_DEF_signallingMCS_r9_tags_18[0]) - 1, /* 1 */ - asn_DEF_signallingMCS_r9_tags_18, /* Same as above */ - sizeof(asn_DEF_signallingMCS_r9_tags_18) - /sizeof(asn_DEF_signallingMCS_r9_tags_18[0]), /* 2 */ - &asn_PER_type_signallingMCS_r9_constr_18, - 0, 0, /* Defined elsewhere */ - &asn_SPC_signallingMCS_r9_specs_18 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_mcch_Config_r9_7[] = { - { ATF_NOFLAGS, 0, offsetof(struct MBSFN_AreaInfo_r9__mcch_Config_r9, mcch_RepetitionPeriod_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_mcch_RepetitionPeriod_r9_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mcch-RepetitionPeriod-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBSFN_AreaInfo_r9__mcch_Config_r9, mcch_Offset_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_mcch_Offset_r9_constraint_7, - &asn_PER_memb_mcch_Offset_r9_constr_13, - 0, - "mcch-Offset-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBSFN_AreaInfo_r9__mcch_Config_r9, mcch_ModificationPeriod_r9), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_mcch_ModificationPeriod_r9_14, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mcch-ModificationPeriod-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBSFN_AreaInfo_r9__mcch_Config_r9, sf_AllocInfo_r9), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_sf_AllocInfo_r9_constraint_7, - &asn_PER_memb_sf_AllocInfo_r9_constr_17, - 0, - "sf-AllocInfo-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBSFN_AreaInfo_r9__mcch_Config_r9, signallingMCS_r9), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_signallingMCS_r9_18, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "signallingMCS-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_mcch_Config_r9_tags_7[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_mcch_Config_r9_tag2el_7[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mcch-RepetitionPeriod-r9 at 4048 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* mcch-Offset-r9 at 4049 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* mcch-ModificationPeriod-r9 at 4050 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* sf-AllocInfo-r9 at 4051 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* signallingMCS-r9 at 4052 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_mcch_Config_r9_specs_7 = { - sizeof(struct MBSFN_AreaInfo_r9__mcch_Config_r9), - offsetof(struct MBSFN_AreaInfo_r9__mcch_Config_r9, _asn_ctx), - asn_MAP_mcch_Config_r9_tag2el_7, - 5, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_mcch_Config_r9_7 = { - "mcch-Config-r9", - "mcch-Config-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_mcch_Config_r9_tags_7, - sizeof(asn_DEF_mcch_Config_r9_tags_7) - /sizeof(asn_DEF_mcch_Config_r9_tags_7[0]) - 1, /* 1 */ - asn_DEF_mcch_Config_r9_tags_7, /* Same as above */ - sizeof(asn_DEF_mcch_Config_r9_tags_7) - /sizeof(asn_DEF_mcch_Config_r9_tags_7[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_mcch_Config_r9_7, - 5, /* Elements count */ - &asn_SPC_mcch_Config_r9_specs_7 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MBSFN_AreaInfo_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MBSFN_AreaInfo_r9, mbsfn_AreaId_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_mbsfn_AreaId_r9_constraint_1, - &asn_PER_memb_mbsfn_AreaId_r9_constr_2, - 0, - "mbsfn-AreaId-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBSFN_AreaInfo_r9, non_MBSFNregionLength), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_non_MBSFNregionLength_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "non-MBSFNregionLength" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBSFN_AreaInfo_r9, notificationIndicator_r9), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_notificationIndicator_r9_constraint_1, - &asn_PER_memb_notificationIndicator_r9_constr_6, - 0, - "notificationIndicator-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBSFN_AreaInfo_r9, mcch_Config_r9), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - 0, - &asn_DEF_mcch_Config_r9_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mcch-Config-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_MBSFN_AreaInfo_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MBSFN_AreaInfo_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mbsfn-AreaId-r9 at 4044 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* non-MBSFNregionLength at 4045 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* notificationIndicator-r9 at 4046 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* mcch-Config-r9 at 4048 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MBSFN_AreaInfo_r9_specs_1 = { - sizeof(struct MBSFN_AreaInfo_r9), - offsetof(struct MBSFN_AreaInfo_r9, _asn_ctx), - asn_MAP_MBSFN_AreaInfo_r9_tag2el_1, - 4, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 3, /* Start extensions */ - 5 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MBSFN_AreaInfo_r9 = { - "MBSFN-AreaInfo-r9", - "MBSFN-AreaInfo-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MBSFN_AreaInfo_r9_tags_1, - sizeof(asn_DEF_MBSFN_AreaInfo_r9_tags_1) - /sizeof(asn_DEF_MBSFN_AreaInfo_r9_tags_1[0]), /* 1 */ - asn_DEF_MBSFN_AreaInfo_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_MBSFN_AreaInfo_r9_tags_1) - /sizeof(asn_DEF_MBSFN_AreaInfo_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MBSFN_AreaInfo_r9_1, - 4, /* Elements count */ - &asn_SPC_MBSFN_AreaInfo_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MBSFN-AreaInfoList-r9.c b/lte/rrc/lib/asn/src/MBSFN-AreaInfoList-r9.c deleted file mode 100644 index 3019d0e47..000000000 --- a/lte/rrc/lib/asn/src/MBSFN-AreaInfoList-r9.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MBSFN-AreaInfoList-r9.h" - -static asn_per_constraints_t asn_PER_type_MBSFN_AreaInfoList_r9_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (SIZE(1..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MBSFN_AreaInfoList_r9_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_MBSFN_AreaInfo_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MBSFN_AreaInfoList_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MBSFN_AreaInfoList_r9_specs_1 = { - sizeof(struct MBSFN_AreaInfoList_r9), - offsetof(struct MBSFN_AreaInfoList_r9, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MBSFN_AreaInfoList_r9 = { - "MBSFN-AreaInfoList-r9", - "MBSFN-AreaInfoList-r9", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MBSFN_AreaInfoList_r9_tags_1, - sizeof(asn_DEF_MBSFN_AreaInfoList_r9_tags_1) - /sizeof(asn_DEF_MBSFN_AreaInfoList_r9_tags_1[0]), /* 1 */ - asn_DEF_MBSFN_AreaInfoList_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_MBSFN_AreaInfoList_r9_tags_1) - /sizeof(asn_DEF_MBSFN_AreaInfoList_r9_tags_1[0]), /* 1 */ - &asn_PER_type_MBSFN_AreaInfoList_r9_constr_1, - asn_MBR_MBSFN_AreaInfoList_r9_1, - 1, /* Single element */ - &asn_SPC_MBSFN_AreaInfoList_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MBSFN-SubframeConfig.c b/lte/rrc/lib/asn/src/MBSFN-SubframeConfig.c deleted file mode 100644 index dd572c92a..000000000 --- a/lte/rrc/lib/asn/src/MBSFN-SubframeConfig.c +++ /dev/null @@ -1,392 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MBSFN-SubframeConfig.h" - -static int -radioframeAllocationPeriod_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -radioframeAllocationPeriod_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -radioframeAllocationPeriod_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - radioframeAllocationPeriod_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -radioframeAllocationPeriod_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - radioframeAllocationPeriod_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -radioframeAllocationPeriod_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - radioframeAllocationPeriod_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -radioframeAllocationPeriod_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - radioframeAllocationPeriod_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -radioframeAllocationPeriod_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - radioframeAllocationPeriod_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -radioframeAllocationPeriod_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - radioframeAllocationPeriod_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -radioframeAllocationPeriod_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - radioframeAllocationPeriod_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -radioframeAllocationPeriod_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - radioframeAllocationPeriod_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_oneFrame_constraint_10(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 6)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_fourFrames_constraint_10(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 24)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_radioframeAllocationOffset_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_radioframeAllocationPeriod_constr_2 = { - { APC_CONSTRAINED, 3, 3, 0, 5 } /* (0..5) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_oneFrame_constr_11 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 6, 6 } /* (SIZE(6..6)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_fourFrames_constr_12 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 24, 24 } /* (SIZE(24..24)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_subframeAllocation_constr_10 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_radioframeAllocationOffset_constr_9 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_radioframeAllocationPeriod_value2enum_2[] = { - { 0, 2, "n1" }, - { 1, 2, "n2" }, - { 2, 2, "n4" }, - { 3, 2, "n8" }, - { 4, 3, "n16" }, - { 5, 3, "n32" } -}; -static unsigned int asn_MAP_radioframeAllocationPeriod_enum2value_2[] = { - 0, /* n1(0) */ - 4, /* n16(4) */ - 1, /* n2(1) */ - 5, /* n32(5) */ - 2, /* n4(2) */ - 3 /* n8(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_radioframeAllocationPeriod_specs_2 = { - asn_MAP_radioframeAllocationPeriod_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_radioframeAllocationPeriod_enum2value_2, /* N => "tag"; sorted by N */ - 6, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_radioframeAllocationPeriod_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_radioframeAllocationPeriod_2 = { - "radioframeAllocationPeriod", - "radioframeAllocationPeriod", - radioframeAllocationPeriod_2_free, - radioframeAllocationPeriod_2_print, - radioframeAllocationPeriod_2_constraint, - radioframeAllocationPeriod_2_decode_ber, - radioframeAllocationPeriod_2_encode_der, - radioframeAllocationPeriod_2_decode_xer, - radioframeAllocationPeriod_2_encode_xer, - radioframeAllocationPeriod_2_decode_uper, - radioframeAllocationPeriod_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_radioframeAllocationPeriod_tags_2, - sizeof(asn_DEF_radioframeAllocationPeriod_tags_2) - /sizeof(asn_DEF_radioframeAllocationPeriod_tags_2[0]) - 1, /* 1 */ - asn_DEF_radioframeAllocationPeriod_tags_2, /* Same as above */ - sizeof(asn_DEF_radioframeAllocationPeriod_tags_2) - /sizeof(asn_DEF_radioframeAllocationPeriod_tags_2[0]), /* 2 */ - &asn_PER_type_radioframeAllocationPeriod_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_radioframeAllocationPeriod_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_subframeAllocation_10[] = { - { ATF_NOFLAGS, 0, offsetof(struct MBSFN_SubframeConfig__subframeAllocation, choice.oneFrame), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_oneFrame_constraint_10, - &asn_PER_memb_oneFrame_constr_11, - 0, - "oneFrame" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBSFN_SubframeConfig__subframeAllocation, choice.fourFrames), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_fourFrames_constraint_10, - &asn_PER_memb_fourFrames_constr_12, - 0, - "fourFrames" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_subframeAllocation_tag2el_10[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* oneFrame at 4062 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* fourFrames at 4063 */ -}; -static asn_CHOICE_specifics_t asn_SPC_subframeAllocation_specs_10 = { - sizeof(struct MBSFN_SubframeConfig__subframeAllocation), - offsetof(struct MBSFN_SubframeConfig__subframeAllocation, _asn_ctx), - offsetof(struct MBSFN_SubframeConfig__subframeAllocation, present), - sizeof(((struct MBSFN_SubframeConfig__subframeAllocation *)0)->present), - asn_MAP_subframeAllocation_tag2el_10, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_subframeAllocation_10 = { - "subframeAllocation", - "subframeAllocation", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_subframeAllocation_constr_10, - asn_MBR_subframeAllocation_10, - 2, /* Elements count */ - &asn_SPC_subframeAllocation_specs_10 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MBSFN_SubframeConfig_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MBSFN_SubframeConfig, radioframeAllocationPeriod), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_radioframeAllocationPeriod_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "radioframeAllocationPeriod" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBSFN_SubframeConfig, radioframeAllocationOffset), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_radioframeAllocationOffset_constraint_1, - &asn_PER_memb_radioframeAllocationOffset_constr_9, - 0, - "radioframeAllocationOffset" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBSFN_SubframeConfig, subframeAllocation), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_subframeAllocation_10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "subframeAllocation" - }, -}; -static ber_tlv_tag_t asn_DEF_MBSFN_SubframeConfig_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MBSFN_SubframeConfig_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* radioframeAllocationPeriod at 4059 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* radioframeAllocationOffset at 4060 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* subframeAllocation at 4062 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MBSFN_SubframeConfig_specs_1 = { - sizeof(struct MBSFN_SubframeConfig), - offsetof(struct MBSFN_SubframeConfig, _asn_ctx), - asn_MAP_MBSFN_SubframeConfig_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MBSFN_SubframeConfig = { - "MBSFN-SubframeConfig", - "MBSFN-SubframeConfig", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MBSFN_SubframeConfig_tags_1, - sizeof(asn_DEF_MBSFN_SubframeConfig_tags_1) - /sizeof(asn_DEF_MBSFN_SubframeConfig_tags_1[0]), /* 1 */ - asn_DEF_MBSFN_SubframeConfig_tags_1, /* Same as above */ - sizeof(asn_DEF_MBSFN_SubframeConfig_tags_1) - /sizeof(asn_DEF_MBSFN_SubframeConfig_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MBSFN_SubframeConfig_1, - 3, /* Elements count */ - &asn_SPC_MBSFN_SubframeConfig_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MBSFN-SubframeConfigList.c b/lte/rrc/lib/asn/src/MBSFN-SubframeConfigList.c deleted file mode 100644 index ce8068079..000000000 --- a/lte/rrc/lib/asn/src/MBSFN-SubframeConfigList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MBSFN-SubframeConfigList.h" - -static asn_per_constraints_t asn_PER_type_MBSFN_SubframeConfigList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (SIZE(1..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MBSFN_SubframeConfigList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_MBSFN_SubframeConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MBSFN_SubframeConfigList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MBSFN_SubframeConfigList_specs_1 = { - sizeof(struct MBSFN_SubframeConfigList), - offsetof(struct MBSFN_SubframeConfigList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MBSFN_SubframeConfigList = { - "MBSFN-SubframeConfigList", - "MBSFN-SubframeConfigList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MBSFN_SubframeConfigList_tags_1, - sizeof(asn_DEF_MBSFN_SubframeConfigList_tags_1) - /sizeof(asn_DEF_MBSFN_SubframeConfigList_tags_1[0]), /* 1 */ - asn_DEF_MBSFN_SubframeConfigList_tags_1, /* Same as above */ - sizeof(asn_DEF_MBSFN_SubframeConfigList_tags_1) - /sizeof(asn_DEF_MBSFN_SubframeConfigList_tags_1[0]), /* 1 */ - &asn_PER_type_MBSFN_SubframeConfigList_constr_1, - asn_MBR_MBSFN_SubframeConfigList_1, - 1, /* Single element */ - &asn_SPC_MBSFN_SubframeConfigList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MBSFNAreaConfiguration-r9.c b/lte/rrc/lib/asn/src/MBSFNAreaConfiguration-r9.c deleted file mode 100644 index 309feaa01..000000000 --- a/lte/rrc/lib/asn/src/MBSFNAreaConfiguration-r9.c +++ /dev/null @@ -1,241 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MBSFNAreaConfiguration-r9.h" - -static int -commonSF_AllocPeriod_r9_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -commonSF_AllocPeriod_r9_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -commonSF_AllocPeriod_r9_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - commonSF_AllocPeriod_r9_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -commonSF_AllocPeriod_r9_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - commonSF_AllocPeriod_r9_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -commonSF_AllocPeriod_r9_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - commonSF_AllocPeriod_r9_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -commonSF_AllocPeriod_r9_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - commonSF_AllocPeriod_r9_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -commonSF_AllocPeriod_r9_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - commonSF_AllocPeriod_r9_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -commonSF_AllocPeriod_r9_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - commonSF_AllocPeriod_r9_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -commonSF_AllocPeriod_r9_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - commonSF_AllocPeriod_r9_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -commonSF_AllocPeriod_r9_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - commonSF_AllocPeriod_r9_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_commonSF_AllocPeriod_r9_constr_3 = { - { APC_CONSTRAINED, 3, 3, 0, 6 } /* (0..6) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_commonSF_AllocPeriod_r9_value2enum_3[] = { - { 0, 3, "rf4" }, - { 1, 3, "rf8" }, - { 2, 4, "rf16" }, - { 3, 4, "rf32" }, - { 4, 4, "rf64" }, - { 5, 5, "rf128" }, - { 6, 5, "rf256" } -}; -static unsigned int asn_MAP_commonSF_AllocPeriod_r9_enum2value_3[] = { - 5, /* rf128(5) */ - 2, /* rf16(2) */ - 6, /* rf256(6) */ - 3, /* rf32(3) */ - 0, /* rf4(0) */ - 4, /* rf64(4) */ - 1 /* rf8(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_commonSF_AllocPeriod_r9_specs_3 = { - asn_MAP_commonSF_AllocPeriod_r9_value2enum_3, /* "tag" => N; sorted by tag */ - asn_MAP_commonSF_AllocPeriod_r9_enum2value_3, /* N => "tag"; sorted by N */ - 7, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_commonSF_AllocPeriod_r9_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_commonSF_AllocPeriod_r9_3 = { - "commonSF-AllocPeriod-r9", - "commonSF-AllocPeriod-r9", - commonSF_AllocPeriod_r9_3_free, - commonSF_AllocPeriod_r9_3_print, - commonSF_AllocPeriod_r9_3_constraint, - commonSF_AllocPeriod_r9_3_decode_ber, - commonSF_AllocPeriod_r9_3_encode_der, - commonSF_AllocPeriod_r9_3_decode_xer, - commonSF_AllocPeriod_r9_3_encode_xer, - commonSF_AllocPeriod_r9_3_decode_uper, - commonSF_AllocPeriod_r9_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_commonSF_AllocPeriod_r9_tags_3, - sizeof(asn_DEF_commonSF_AllocPeriod_r9_tags_3) - /sizeof(asn_DEF_commonSF_AllocPeriod_r9_tags_3[0]) - 1, /* 1 */ - asn_DEF_commonSF_AllocPeriod_r9_tags_3, /* Same as above */ - sizeof(asn_DEF_commonSF_AllocPeriod_r9_tags_3) - /sizeof(asn_DEF_commonSF_AllocPeriod_r9_tags_3[0]), /* 2 */ - &asn_PER_type_commonSF_AllocPeriod_r9_constr_3, - 0, 0, /* Defined elsewhere */ - &asn_SPC_commonSF_AllocPeriod_r9_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MBSFNAreaConfiguration_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MBSFNAreaConfiguration_r9, commonSF_Alloc_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CommonSF_AllocPatternList_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "commonSF-Alloc-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBSFNAreaConfiguration_r9, commonSF_AllocPeriod_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_commonSF_AllocPeriod_r9_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "commonSF-AllocPeriod-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct MBSFNAreaConfiguration_r9, pmch_InfoList_r9), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PMCH_InfoList_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pmch-InfoList-r9" - }, - { ATF_POINTER, 1, offsetof(struct MBSFNAreaConfiguration_r9, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MBSFNAreaConfiguration_v930_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_MBSFNAreaConfiguration_r9_oms_1[] = { 3 }; -static ber_tlv_tag_t asn_DEF_MBSFNAreaConfiguration_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MBSFNAreaConfiguration_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* commonSF-Alloc-r9 at 395 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* commonSF-AllocPeriod-r9 at 397 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pmch-InfoList-r9 at 398 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* nonCriticalExtension at 399 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MBSFNAreaConfiguration_r9_specs_1 = { - sizeof(struct MBSFNAreaConfiguration_r9), - offsetof(struct MBSFNAreaConfiguration_r9, _asn_ctx), - asn_MAP_MBSFNAreaConfiguration_r9_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_MBSFNAreaConfiguration_r9_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MBSFNAreaConfiguration_r9 = { - "MBSFNAreaConfiguration-r9", - "MBSFNAreaConfiguration-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MBSFNAreaConfiguration_r9_tags_1, - sizeof(asn_DEF_MBSFNAreaConfiguration_r9_tags_1) - /sizeof(asn_DEF_MBSFNAreaConfiguration_r9_tags_1[0]), /* 1 */ - asn_DEF_MBSFNAreaConfiguration_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_MBSFNAreaConfiguration_r9_tags_1) - /sizeof(asn_DEF_MBSFNAreaConfiguration_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MBSFNAreaConfiguration_r9_1, - 4, /* Elements count */ - &asn_SPC_MBSFNAreaConfiguration_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MBSFNAreaConfiguration-v930-IEs.c b/lte/rrc/lib/asn/src/MBSFNAreaConfiguration-v930-IEs.c deleted file mode 100644 index bda6b4a1e..000000000 --- a/lte/rrc/lib/asn/src/MBSFNAreaConfiguration-v930-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MBSFNAreaConfiguration-v930-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct MBSFNAreaConfiguration_v930_IEs__nonCriticalExtension), - offsetof(struct MBSFNAreaConfiguration_v930_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MBSFNAreaConfiguration_v930_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct MBSFNAreaConfiguration_v930_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct MBSFNAreaConfiguration_v930_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_MBSFNAreaConfiguration_v930_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_MBSFNAreaConfiguration_v930_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MBSFNAreaConfiguration_v930_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 403 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 404 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MBSFNAreaConfiguration_v930_IEs_specs_1 = { - sizeof(struct MBSFNAreaConfiguration_v930_IEs), - offsetof(struct MBSFNAreaConfiguration_v930_IEs, _asn_ctx), - asn_MAP_MBSFNAreaConfiguration_v930_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_MBSFNAreaConfiguration_v930_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MBSFNAreaConfiguration_v930_IEs = { - "MBSFNAreaConfiguration-v930-IEs", - "MBSFNAreaConfiguration-v930-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MBSFNAreaConfiguration_v930_IEs_tags_1, - sizeof(asn_DEF_MBSFNAreaConfiguration_v930_IEs_tags_1) - /sizeof(asn_DEF_MBSFNAreaConfiguration_v930_IEs_tags_1[0]), /* 1 */ - asn_DEF_MBSFNAreaConfiguration_v930_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_MBSFNAreaConfiguration_v930_IEs_tags_1) - /sizeof(asn_DEF_MBSFNAreaConfiguration_v930_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MBSFNAreaConfiguration_v930_IEs_1, - 2, /* Elements count */ - &asn_SPC_MBSFNAreaConfiguration_v930_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MCC-MNC-Digit.c b/lte/rrc/lib/asn/src/MCC-MNC-Digit.c deleted file mode 100644 index 7c3b12f55..000000000 --- a/lte/rrc/lib/asn/src/MCC-MNC-Digit.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MCC-MNC-Digit.h" - -int -MCC_MNC_Digit_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 9)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -MCC_MNC_Digit_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -MCC_MNC_Digit_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - MCC_MNC_Digit_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -MCC_MNC_Digit_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - MCC_MNC_Digit_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -MCC_MNC_Digit_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - MCC_MNC_Digit_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -MCC_MNC_Digit_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - MCC_MNC_Digit_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -MCC_MNC_Digit_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - MCC_MNC_Digit_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -MCC_MNC_Digit_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - MCC_MNC_Digit_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -MCC_MNC_Digit_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - MCC_MNC_Digit_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -MCC_MNC_Digit_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - MCC_MNC_Digit_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_MCC_MNC_Digit_constr_1 = { - { APC_CONSTRAINED, 4, 4, 0, 9 } /* (0..9) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_MCC_MNC_Digit_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_MCC_MNC_Digit = { - "MCC-MNC-Digit", - "MCC-MNC-Digit", - MCC_MNC_Digit_free, - MCC_MNC_Digit_print, - MCC_MNC_Digit_constraint, - MCC_MNC_Digit_decode_ber, - MCC_MNC_Digit_encode_der, - MCC_MNC_Digit_decode_xer, - MCC_MNC_Digit_encode_xer, - MCC_MNC_Digit_decode_uper, - MCC_MNC_Digit_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MCC_MNC_Digit_tags_1, - sizeof(asn_DEF_MCC_MNC_Digit_tags_1) - /sizeof(asn_DEF_MCC_MNC_Digit_tags_1[0]), /* 1 */ - asn_DEF_MCC_MNC_Digit_tags_1, /* Same as above */ - sizeof(asn_DEF_MCC_MNC_Digit_tags_1) - /sizeof(asn_DEF_MCC_MNC_Digit_tags_1[0]), /* 1 */ - &asn_PER_type_MCC_MNC_Digit_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/MCC.c b/lte/rrc/lib/asn/src/MCC.c deleted file mode 100644 index e1ccffc9a..000000000 --- a/lte/rrc/lib/asn/src/MCC.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MCC.h" - -static asn_per_constraints_t asn_PER_type_MCC_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 3, 3 } /* (SIZE(3..3)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MCC_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_MCC_MNC_Digit, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MCC_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MCC_specs_1 = { - sizeof(struct MCC), - offsetof(struct MCC, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MCC = { - "MCC", - "MCC", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MCC_tags_1, - sizeof(asn_DEF_MCC_tags_1) - /sizeof(asn_DEF_MCC_tags_1[0]), /* 1 */ - asn_DEF_MCC_tags_1, /* Same as above */ - sizeof(asn_DEF_MCC_tags_1) - /sizeof(asn_DEF_MCC_tags_1[0]), /* 1 */ - &asn_PER_type_MCC_constr_1, - asn_MBR_MCC_1, - 1, /* Single element */ - &asn_SPC_MCC_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MCCH-Message.c b/lte/rrc/lib/asn/src/MCCH-Message.c deleted file mode 100644 index c19f16863..000000000 --- a/lte/rrc/lib/asn/src/MCCH-Message.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MCCH-Message.h" - -static asn_TYPE_member_t asn_MBR_MCCH_Message_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MCCH_Message, message), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_MCCH_MessageType, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "message" - }, -}; -static ber_tlv_tag_t asn_DEF_MCCH_Message_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MCCH_Message_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* message at 28 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MCCH_Message_specs_1 = { - sizeof(struct MCCH_Message), - offsetof(struct MCCH_Message, _asn_ctx), - asn_MAP_MCCH_Message_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MCCH_Message = { - "MCCH-Message", - "MCCH-Message", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MCCH_Message_tags_1, - sizeof(asn_DEF_MCCH_Message_tags_1) - /sizeof(asn_DEF_MCCH_Message_tags_1[0]), /* 1 */ - asn_DEF_MCCH_Message_tags_1, /* Same as above */ - sizeof(asn_DEF_MCCH_Message_tags_1) - /sizeof(asn_DEF_MCCH_Message_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MCCH_Message_1, - 1, /* Elements count */ - &asn_SPC_MCCH_Message_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MCCH-MessageType.c b/lte/rrc/lib/asn/src/MCCH-MessageType.c deleted file mode 100644 index dbe49372e..000000000 --- a/lte/rrc/lib/asn/src/MCCH-MessageType.c +++ /dev/null @@ -1,278 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MCCH-MessageType.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_c2_constr_5 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_later_constr_4 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_MCCH_MessageType_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct MCCH_MessageType__c1, choice.mbsfnAreaConfiguration_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MBSFNAreaConfiguration_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mbsfnAreaConfiguration-r9" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* mbsfnAreaConfiguration-r9 at 33 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_2 = { - sizeof(struct MCCH_MessageType__c1), - offsetof(struct MCCH_MessageType__c1, _asn_ctx), - offsetof(struct MCCH_MessageType__c1, present), - sizeof(((struct MCCH_MessageType__c1 *)0)->present), - asn_MAP_c1_tag2el_2, - 1, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_2 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_2, - asn_MBR_c1_2, - 1, /* Elements count */ - &asn_SPC_c1_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_c2_5[] = { - { ATF_NOFLAGS, 0, offsetof(struct MCCH_MessageType__later__c2, choice.mbmsCountingRequest_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MBMSCountingRequest_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mbmsCountingRequest-r10" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c2_tag2el_5[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* mbmsCountingRequest-r10 at 37 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c2_specs_5 = { - sizeof(struct MCCH_MessageType__later__c2), - offsetof(struct MCCH_MessageType__later__c2, _asn_ctx), - offsetof(struct MCCH_MessageType__later__c2, present), - sizeof(((struct MCCH_MessageType__later__c2 *)0)->present), - asn_MAP_c2_tag2el_5, - 1, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c2_5 = { - "c2", - "c2", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c2_constr_5, - asn_MBR_c2_5, - 1, /* Elements count */ - &asn_SPC_c2_specs_5 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_messageClassExtension_tags_7[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_messageClassExtension_specs_7 = { - sizeof(struct MCCH_MessageType__later__messageClassExtension), - offsetof(struct MCCH_MessageType__later__messageClassExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_messageClassExtension_7 = { - "messageClassExtension", - "messageClassExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_messageClassExtension_tags_7, - sizeof(asn_DEF_messageClassExtension_tags_7) - /sizeof(asn_DEF_messageClassExtension_tags_7[0]) - 1, /* 1 */ - asn_DEF_messageClassExtension_tags_7, /* Same as above */ - sizeof(asn_DEF_messageClassExtension_tags_7) - /sizeof(asn_DEF_messageClassExtension_tags_7[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_messageClassExtension_specs_7 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_later_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct MCCH_MessageType__later, choice.c2), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c2_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c2" - }, - { ATF_NOFLAGS, 0, offsetof(struct MCCH_MessageType__later, choice.messageClassExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_messageClassExtension_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "messageClassExtension" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_later_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c2 at 37 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* messageClassExtension at 38 */ -}; -static asn_CHOICE_specifics_t asn_SPC_later_specs_4 = { - sizeof(struct MCCH_MessageType__later), - offsetof(struct MCCH_MessageType__later, _asn_ctx), - offsetof(struct MCCH_MessageType__later, present), - sizeof(((struct MCCH_MessageType__later *)0)->present), - asn_MAP_later_tag2el_4, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_later_4 = { - "later", - "later", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_later_constr_4, - asn_MBR_later_4, - 2, /* Elements count */ - &asn_SPC_later_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MCCH_MessageType_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MCCH_MessageType, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct MCCH_MessageType, choice.later), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_later_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "later" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_MCCH_MessageType_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 33 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* later at 37 */ -}; -static asn_CHOICE_specifics_t asn_SPC_MCCH_MessageType_specs_1 = { - sizeof(struct MCCH_MessageType), - offsetof(struct MCCH_MessageType, _asn_ctx), - offsetof(struct MCCH_MessageType, present), - sizeof(((struct MCCH_MessageType *)0)->present), - asn_MAP_MCCH_MessageType_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_MCCH_MessageType = { - "MCCH-MessageType", - "MCCH-MessageType", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_MCCH_MessageType_constr_1, - asn_MBR_MCCH_MessageType_1, - 2, /* Elements count */ - &asn_SPC_MCCH_MessageType_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MIMO-CapabilityDL-r10.c b/lte/rrc/lib/asn/src/MIMO-CapabilityDL-r10.c deleted file mode 100644 index 58ccd8d29..000000000 --- a/lte/rrc/lib/asn/src/MIMO-CapabilityDL-r10.c +++ /dev/null @@ -1,148 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MIMO-CapabilityDL-r10.h" - -int -MIMO_CapabilityDL_r10_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -MIMO_CapabilityDL_r10_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -MIMO_CapabilityDL_r10_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - MIMO_CapabilityDL_r10_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -MIMO_CapabilityDL_r10_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - MIMO_CapabilityDL_r10_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -MIMO_CapabilityDL_r10_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - MIMO_CapabilityDL_r10_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -MIMO_CapabilityDL_r10_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - MIMO_CapabilityDL_r10_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -MIMO_CapabilityDL_r10_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - MIMO_CapabilityDL_r10_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -MIMO_CapabilityDL_r10_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - MIMO_CapabilityDL_r10_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -MIMO_CapabilityDL_r10_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - MIMO_CapabilityDL_r10_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -MIMO_CapabilityDL_r10_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - MIMO_CapabilityDL_r10_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_MIMO_CapabilityDL_r10_constr_1 = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_MIMO_CapabilityDL_r10_value2enum_1[] = { - { 0, 9, "twoLayers" }, - { 1, 10, "fourLayers" }, - { 2, 11, "eightLayers" } -}; -static unsigned int asn_MAP_MIMO_CapabilityDL_r10_enum2value_1[] = { - 2, /* eightLayers(2) */ - 1, /* fourLayers(1) */ - 0 /* twoLayers(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_MIMO_CapabilityDL_r10_specs_1 = { - asn_MAP_MIMO_CapabilityDL_r10_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_MIMO_CapabilityDL_r10_enum2value_1, /* N => "tag"; sorted by N */ - 3, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_MIMO_CapabilityDL_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_MIMO_CapabilityDL_r10 = { - "MIMO-CapabilityDL-r10", - "MIMO-CapabilityDL-r10", - MIMO_CapabilityDL_r10_free, - MIMO_CapabilityDL_r10_print, - MIMO_CapabilityDL_r10_constraint, - MIMO_CapabilityDL_r10_decode_ber, - MIMO_CapabilityDL_r10_encode_der, - MIMO_CapabilityDL_r10_decode_xer, - MIMO_CapabilityDL_r10_encode_xer, - MIMO_CapabilityDL_r10_decode_uper, - MIMO_CapabilityDL_r10_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MIMO_CapabilityDL_r10_tags_1, - sizeof(asn_DEF_MIMO_CapabilityDL_r10_tags_1) - /sizeof(asn_DEF_MIMO_CapabilityDL_r10_tags_1[0]), /* 1 */ - asn_DEF_MIMO_CapabilityDL_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_MIMO_CapabilityDL_r10_tags_1) - /sizeof(asn_DEF_MIMO_CapabilityDL_r10_tags_1[0]), /* 1 */ - &asn_PER_type_MIMO_CapabilityDL_r10_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_MIMO_CapabilityDL_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MIMO-CapabilityUL-r10.c b/lte/rrc/lib/asn/src/MIMO-CapabilityUL-r10.c deleted file mode 100644 index 55156b976..000000000 --- a/lte/rrc/lib/asn/src/MIMO-CapabilityUL-r10.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MIMO-CapabilityUL-r10.h" - -int -MIMO_CapabilityUL_r10_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -MIMO_CapabilityUL_r10_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -MIMO_CapabilityUL_r10_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - MIMO_CapabilityUL_r10_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -MIMO_CapabilityUL_r10_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - MIMO_CapabilityUL_r10_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -MIMO_CapabilityUL_r10_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - MIMO_CapabilityUL_r10_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -MIMO_CapabilityUL_r10_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - MIMO_CapabilityUL_r10_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -MIMO_CapabilityUL_r10_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - MIMO_CapabilityUL_r10_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -MIMO_CapabilityUL_r10_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - MIMO_CapabilityUL_r10_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -MIMO_CapabilityUL_r10_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - MIMO_CapabilityUL_r10_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -MIMO_CapabilityUL_r10_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - MIMO_CapabilityUL_r10_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_MIMO_CapabilityUL_r10_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_MIMO_CapabilityUL_r10_value2enum_1[] = { - { 0, 9, "twoLayers" }, - { 1, 10, "fourLayers" } -}; -static unsigned int asn_MAP_MIMO_CapabilityUL_r10_enum2value_1[] = { - 1, /* fourLayers(1) */ - 0 /* twoLayers(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_MIMO_CapabilityUL_r10_specs_1 = { - asn_MAP_MIMO_CapabilityUL_r10_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_MIMO_CapabilityUL_r10_enum2value_1, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_MIMO_CapabilityUL_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_MIMO_CapabilityUL_r10 = { - "MIMO-CapabilityUL-r10", - "MIMO-CapabilityUL-r10", - MIMO_CapabilityUL_r10_free, - MIMO_CapabilityUL_r10_print, - MIMO_CapabilityUL_r10_constraint, - MIMO_CapabilityUL_r10_decode_ber, - MIMO_CapabilityUL_r10_encode_der, - MIMO_CapabilityUL_r10_decode_xer, - MIMO_CapabilityUL_r10_encode_xer, - MIMO_CapabilityUL_r10_decode_uper, - MIMO_CapabilityUL_r10_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MIMO_CapabilityUL_r10_tags_1, - sizeof(asn_DEF_MIMO_CapabilityUL_r10_tags_1) - /sizeof(asn_DEF_MIMO_CapabilityUL_r10_tags_1[0]), /* 1 */ - asn_DEF_MIMO_CapabilityUL_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_MIMO_CapabilityUL_r10_tags_1) - /sizeof(asn_DEF_MIMO_CapabilityUL_r10_tags_1[0]), /* 1 */ - &asn_PER_type_MIMO_CapabilityUL_r10_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_MIMO_CapabilityUL_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MMEC.c b/lte/rrc/lib/asn/src/MMEC.c deleted file mode 100644 index 0f4e86915..000000000 --- a/lte/rrc/lib/asn/src/MMEC.c +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MMEC.h" - -int -MMEC_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 8)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using BIT_STRING, - * so here we adjust the DEF accordingly. - */ -static void -MMEC_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_BIT_STRING.free_struct; - td->print_struct = asn_DEF_BIT_STRING.print_struct; - td->ber_decoder = asn_DEF_BIT_STRING.ber_decoder; - td->der_encoder = asn_DEF_BIT_STRING.der_encoder; - td->xer_decoder = asn_DEF_BIT_STRING.xer_decoder; - td->xer_encoder = asn_DEF_BIT_STRING.xer_encoder; - td->uper_decoder = asn_DEF_BIT_STRING.uper_decoder; - td->uper_encoder = asn_DEF_BIT_STRING.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_BIT_STRING.per_constraints; - td->elements = asn_DEF_BIT_STRING.elements; - td->elements_count = asn_DEF_BIT_STRING.elements_count; - td->specifics = asn_DEF_BIT_STRING.specifics; -} - -void -MMEC_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - MMEC_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -MMEC_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - MMEC_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -MMEC_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - MMEC_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -MMEC_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - MMEC_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -MMEC_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - MMEC_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -MMEC_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - MMEC_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -MMEC_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - MMEC_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -MMEC_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - MMEC_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_MMEC_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 8, 8 } /* (SIZE(8..8)) */, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_MMEC_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_MMEC = { - "MMEC", - "MMEC", - MMEC_free, - MMEC_print, - MMEC_constraint, - MMEC_decode_ber, - MMEC_encode_der, - MMEC_decode_xer, - MMEC_encode_xer, - MMEC_decode_uper, - MMEC_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MMEC_tags_1, - sizeof(asn_DEF_MMEC_tags_1) - /sizeof(asn_DEF_MMEC_tags_1[0]), /* 1 */ - asn_DEF_MMEC_tags_1, /* Same as above */ - sizeof(asn_DEF_MMEC_tags_1) - /sizeof(asn_DEF_MMEC_tags_1[0]), /* 1 */ - &asn_PER_type_MMEC_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/MNC.c b/lte/rrc/lib/asn/src/MNC.c deleted file mode 100644 index 3954b020b..000000000 --- a/lte/rrc/lib/asn/src/MNC.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MNC.h" - -static asn_per_constraints_t asn_PER_type_MNC_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 1, 1, 2, 3 } /* (SIZE(2..3)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MNC_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_MCC_MNC_Digit, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MNC_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MNC_specs_1 = { - sizeof(struct MNC), - offsetof(struct MNC, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MNC = { - "MNC", - "MNC", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MNC_tags_1, - sizeof(asn_DEF_MNC_tags_1) - /sizeof(asn_DEF_MNC_tags_1[0]), /* 1 */ - asn_DEF_MNC_tags_1, /* Same as above */ - sizeof(asn_DEF_MNC_tags_1) - /sizeof(asn_DEF_MNC_tags_1[0]), /* 1 */ - &asn_PER_type_MNC_constr_1, - asn_MBR_MNC_1, - 1, /* Single element */ - &asn_SPC_MNC_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MasterInformationBlock.c b/lte/rrc/lib/asn/src/MasterInformationBlock.c deleted file mode 100644 index 45bfee0ff..000000000 --- a/lte/rrc/lib/asn/src/MasterInformationBlock.c +++ /dev/null @@ -1,309 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MasterInformationBlock.h" - -static int -dl_Bandwidth_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -dl_Bandwidth_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -dl_Bandwidth_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - dl_Bandwidth_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -dl_Bandwidth_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - dl_Bandwidth_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -dl_Bandwidth_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - dl_Bandwidth_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -dl_Bandwidth_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - dl_Bandwidth_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -dl_Bandwidth_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - dl_Bandwidth_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -dl_Bandwidth_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - dl_Bandwidth_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -dl_Bandwidth_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - dl_Bandwidth_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -dl_Bandwidth_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - dl_Bandwidth_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_systemFrameNumber_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 8)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_spare_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 10)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_dl_Bandwidth_constr_2 = { - { APC_CONSTRAINED, 3, 3, 0, 5 } /* (0..5) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_systemFrameNumber_constr_10 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 8, 8 } /* (SIZE(8..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_spare_constr_11 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 10, 10 } /* (SIZE(10..10)) */, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_dl_Bandwidth_value2enum_2[] = { - { 0, 2, "n6" }, - { 1, 3, "n15" }, - { 2, 3, "n25" }, - { 3, 3, "n50" }, - { 4, 3, "n75" }, - { 5, 4, "n100" } -}; -static unsigned int asn_MAP_dl_Bandwidth_enum2value_2[] = { - 5, /* n100(5) */ - 1, /* n15(1) */ - 2, /* n25(2) */ - 3, /* n50(3) */ - 0, /* n6(0) */ - 4 /* n75(4) */ -}; -static asn_INTEGER_specifics_t asn_SPC_dl_Bandwidth_specs_2 = { - asn_MAP_dl_Bandwidth_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_dl_Bandwidth_enum2value_2, /* N => "tag"; sorted by N */ - 6, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_dl_Bandwidth_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_dl_Bandwidth_2 = { - "dl-Bandwidth", - "dl-Bandwidth", - dl_Bandwidth_2_free, - dl_Bandwidth_2_print, - dl_Bandwidth_2_constraint, - dl_Bandwidth_2_decode_ber, - dl_Bandwidth_2_encode_der, - dl_Bandwidth_2_decode_xer, - dl_Bandwidth_2_encode_xer, - dl_Bandwidth_2_decode_uper, - dl_Bandwidth_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_dl_Bandwidth_tags_2, - sizeof(asn_DEF_dl_Bandwidth_tags_2) - /sizeof(asn_DEF_dl_Bandwidth_tags_2[0]) - 1, /* 1 */ - asn_DEF_dl_Bandwidth_tags_2, /* Same as above */ - sizeof(asn_DEF_dl_Bandwidth_tags_2) - /sizeof(asn_DEF_dl_Bandwidth_tags_2[0]), /* 2 */ - &asn_PER_type_dl_Bandwidth_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_dl_Bandwidth_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MasterInformationBlock_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MasterInformationBlock, dl_Bandwidth), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_dl_Bandwidth_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dl-Bandwidth" - }, - { ATF_NOFLAGS, 0, offsetof(struct MasterInformationBlock, phich_Config), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PHICH_Config, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "phich-Config" - }, - { ATF_NOFLAGS, 0, offsetof(struct MasterInformationBlock, systemFrameNumber), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_systemFrameNumber_constraint_1, - &asn_PER_memb_systemFrameNumber_constr_10, - 0, - "systemFrameNumber" - }, - { ATF_NOFLAGS, 0, offsetof(struct MasterInformationBlock, spare), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_spare_constraint_1, - &asn_PER_memb_spare_constr_11, - 0, - "spare" - }, -}; -static ber_tlv_tag_t asn_DEF_MasterInformationBlock_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MasterInformationBlock_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* dl-Bandwidth at 347 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* phich-Config at 348 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* systemFrameNumber at 349 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare at 350 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MasterInformationBlock_specs_1 = { - sizeof(struct MasterInformationBlock), - offsetof(struct MasterInformationBlock, _asn_ctx), - asn_MAP_MasterInformationBlock_tag2el_1, - 4, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MasterInformationBlock = { - "MasterInformationBlock", - "MasterInformationBlock", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MasterInformationBlock_tags_1, - sizeof(asn_DEF_MasterInformationBlock_tags_1) - /sizeof(asn_DEF_MasterInformationBlock_tags_1[0]), /* 1 */ - asn_DEF_MasterInformationBlock_tags_1, /* Same as above */ - sizeof(asn_DEF_MasterInformationBlock_tags_1) - /sizeof(asn_DEF_MasterInformationBlock_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MasterInformationBlock_1, - 4, /* Elements count */ - &asn_SPC_MasterInformationBlock_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasConfig.c b/lte/rrc/lib/asn/src/MeasConfig.c deleted file mode 100644 index d8724ce8b..000000000 --- a/lte/rrc/lib/asn/src/MeasConfig.c +++ /dev/null @@ -1,288 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasConfig.h" - -static asn_per_constraints_t asn_PER_type_speedStatePars_constr_12 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_setup_14[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasConfig__speedStatePars__setup, mobilityStateParameters), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MobilityStateParameters, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mobilityStateParameters" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasConfig__speedStatePars__setup, timeToTrigger_SF), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SpeedStateScaleFactors, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "timeToTrigger-SF" - }, -}; -static ber_tlv_tag_t asn_DEF_setup_tags_14[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_14[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mobilityStateParameters at 3186 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* timeToTrigger-SF at 3188 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_14 = { - sizeof(struct MeasConfig__speedStatePars__setup), - offsetof(struct MeasConfig__speedStatePars__setup, _asn_ctx), - asn_MAP_setup_tag2el_14, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_14 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_14, - sizeof(asn_DEF_setup_tags_14) - /sizeof(asn_DEF_setup_tags_14[0]) - 1, /* 1 */ - asn_DEF_setup_tags_14, /* Same as above */ - sizeof(asn_DEF_setup_tags_14) - /sizeof(asn_DEF_setup_tags_14[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_14, - 2, /* Elements count */ - &asn_SPC_setup_specs_14 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_speedStatePars_12[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasConfig__speedStatePars, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasConfig__speedStatePars, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_14, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_speedStatePars_tag2el_12[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 3184 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 3186 */ -}; -static asn_CHOICE_specifics_t asn_SPC_speedStatePars_specs_12 = { - sizeof(struct MeasConfig__speedStatePars), - offsetof(struct MeasConfig__speedStatePars, _asn_ctx), - offsetof(struct MeasConfig__speedStatePars, present), - sizeof(((struct MeasConfig__speedStatePars *)0)->present), - asn_MAP_speedStatePars_tag2el_12, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_speedStatePars_12 = { - "speedStatePars", - "speedStatePars", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_speedStatePars_constr_12, - asn_MBR_speedStatePars_12, - 2, /* Elements count */ - &asn_SPC_speedStatePars_specs_12 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MeasConfig_1[] = { - { ATF_POINTER, 11, offsetof(struct MeasConfig, measObjectToRemoveList), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasObjectToRemoveList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measObjectToRemoveList" - }, - { ATF_POINTER, 10, offsetof(struct MeasConfig, measObjectToAddModList), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasObjectToAddModList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measObjectToAddModList" - }, - { ATF_POINTER, 9, offsetof(struct MeasConfig, reportConfigToRemoveList), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReportConfigToRemoveList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reportConfigToRemoveList" - }, - { ATF_POINTER, 8, offsetof(struct MeasConfig, reportConfigToAddModList), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReportConfigToAddModList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reportConfigToAddModList" - }, - { ATF_POINTER, 7, offsetof(struct MeasConfig, measIdToRemoveList), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasIdToRemoveList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measIdToRemoveList" - }, - { ATF_POINTER, 6, offsetof(struct MeasConfig, measIdToAddModList), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasIdToAddModList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measIdToAddModList" - }, - { ATF_POINTER, 5, offsetof(struct MeasConfig, quantityConfig), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_QuantityConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "quantityConfig" - }, - { ATF_POINTER, 4, offsetof(struct MeasConfig, measGapConfig), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_MeasGapConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measGapConfig" - }, - { ATF_POINTER, 3, offsetof(struct MeasConfig, s_Measure), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RSRP_Range, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "s-Measure" - }, - { ATF_POINTER, 2, offsetof(struct MeasConfig, preRegistrationInfoHRPD), - (ASN_TAG_CLASS_CONTEXT | (9 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PreRegistrationInfoHRPD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "preRegistrationInfoHRPD" - }, - { ATF_POINTER, 1, offsetof(struct MeasConfig, speedStatePars), - (ASN_TAG_CLASS_CONTEXT | (10 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_speedStatePars_12, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "speedStatePars" - }, -}; -static int asn_MAP_MeasConfig_oms_1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; -static ber_tlv_tag_t asn_DEF_MeasConfig_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasConfig_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measObjectToRemoveList at 3170 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measObjectToAddModList at 3171 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* reportConfigToRemoveList at 3173 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* reportConfigToAddModList at 3174 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* measIdToRemoveList at 3176 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* measIdToAddModList at 3177 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* quantityConfig at 3179 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* measGapConfig at 3180 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* s-Measure at 3181 */ - { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* preRegistrationInfoHRPD at 3182 */ - { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 } /* speedStatePars at 3184 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasConfig_specs_1 = { - sizeof(struct MeasConfig), - offsetof(struct MeasConfig, _asn_ctx), - asn_MAP_MeasConfig_tag2el_1, - 11, /* Count of tags in the map */ - asn_MAP_MeasConfig_oms_1, /* Optional members */ - 11, 0, /* Root/Additions */ - 10, /* Start extensions */ - 12 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasConfig = { - "MeasConfig", - "MeasConfig", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasConfig_tags_1, - sizeof(asn_DEF_MeasConfig_tags_1) - /sizeof(asn_DEF_MeasConfig_tags_1[0]), /* 1 */ - asn_DEF_MeasConfig_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasConfig_tags_1) - /sizeof(asn_DEF_MeasConfig_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasConfig_1, - 11, /* Elements count */ - &asn_SPC_MeasConfig_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasCycleSCell-r10.c b/lte/rrc/lib/asn/src/MeasCycleSCell-r10.c deleted file mode 100644 index 00ce99d0b..000000000 --- a/lte/rrc/lib/asn/src/MeasCycleSCell-r10.c +++ /dev/null @@ -1,158 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasCycleSCell-r10.h" - -int -MeasCycleSCell_r10_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -MeasCycleSCell_r10_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -MeasCycleSCell_r10_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - MeasCycleSCell_r10_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -MeasCycleSCell_r10_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - MeasCycleSCell_r10_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -MeasCycleSCell_r10_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - MeasCycleSCell_r10_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -MeasCycleSCell_r10_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - MeasCycleSCell_r10_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -MeasCycleSCell_r10_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - MeasCycleSCell_r10_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -MeasCycleSCell_r10_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - MeasCycleSCell_r10_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -MeasCycleSCell_r10_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - MeasCycleSCell_r10_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -MeasCycleSCell_r10_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - MeasCycleSCell_r10_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_MeasCycleSCell_r10_constr_1 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_MeasCycleSCell_r10_value2enum_1[] = { - { 0, 5, "sf160" }, - { 1, 5, "sf256" }, - { 2, 5, "sf320" }, - { 3, 5, "sf512" }, - { 4, 5, "sf640" }, - { 5, 6, "sf1024" }, - { 6, 6, "sf1280" }, - { 7, 6, "spare1" } -}; -static unsigned int asn_MAP_MeasCycleSCell_r10_enum2value_1[] = { - 5, /* sf1024(5) */ - 6, /* sf1280(6) */ - 0, /* sf160(0) */ - 1, /* sf256(1) */ - 2, /* sf320(2) */ - 3, /* sf512(3) */ - 4, /* sf640(4) */ - 7 /* spare1(7) */ -}; -static asn_INTEGER_specifics_t asn_SPC_MeasCycleSCell_r10_specs_1 = { - asn_MAP_MeasCycleSCell_r10_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_MeasCycleSCell_r10_enum2value_1, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_MeasCycleSCell_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_MeasCycleSCell_r10 = { - "MeasCycleSCell-r10", - "MeasCycleSCell-r10", - MeasCycleSCell_r10_free, - MeasCycleSCell_r10_print, - MeasCycleSCell_r10_constraint, - MeasCycleSCell_r10_decode_ber, - MeasCycleSCell_r10_encode_der, - MeasCycleSCell_r10_decode_xer, - MeasCycleSCell_r10_encode_xer, - MeasCycleSCell_r10_decode_uper, - MeasCycleSCell_r10_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasCycleSCell_r10_tags_1, - sizeof(asn_DEF_MeasCycleSCell_r10_tags_1) - /sizeof(asn_DEF_MeasCycleSCell_r10_tags_1[0]), /* 1 */ - asn_DEF_MeasCycleSCell_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasCycleSCell_r10_tags_1) - /sizeof(asn_DEF_MeasCycleSCell_r10_tags_1[0]), /* 1 */ - &asn_PER_type_MeasCycleSCell_r10_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_MeasCycleSCell_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasGapConfig.c b/lte/rrc/lib/asn/src/MeasGapConfig.c deleted file mode 100644 index 9b3d1edfb..000000000 --- a/lte/rrc/lib/asn/src/MeasGapConfig.c +++ /dev/null @@ -1,247 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasGapConfig.h" - -static int -memb_gp0_constraint_4(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 39)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_gp1_constraint_4(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 79)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_gp0_constr_5 = { - { APC_CONSTRAINED, 6, 6, 0, 39 } /* (0..39) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_gp1_constr_6 = { - { APC_CONSTRAINED, 7, 7, 0, 79 } /* (0..79) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_gapOffset_constr_4 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_MeasGapConfig_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_gapOffset_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasGapConfig__setup__gapOffset, choice.gp0), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_gp0_constraint_4, - &asn_PER_memb_gp0_constr_5, - 0, - "gp0" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasGapConfig__setup__gapOffset, choice.gp1), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_gp1_constraint_4, - &asn_PER_memb_gp1_constr_6, - 0, - "gp1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_gapOffset_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gp0 at 3204 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* gp1 at 3205 */ -}; -static asn_CHOICE_specifics_t asn_SPC_gapOffset_specs_4 = { - sizeof(struct MeasGapConfig__setup__gapOffset), - offsetof(struct MeasGapConfig__setup__gapOffset, _asn_ctx), - offsetof(struct MeasGapConfig__setup__gapOffset, present), - sizeof(((struct MeasGapConfig__setup__gapOffset *)0)->present), - asn_MAP_gapOffset_tag2el_4, - 2, /* Count of tags in the map */ - 0, - 2 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_gapOffset_4 = { - "gapOffset", - "gapOffset", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_gapOffset_constr_4, - asn_MBR_gapOffset_4, - 2, /* Elements count */ - &asn_SPC_gapOffset_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasGapConfig__setup, gapOffset), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_gapOffset_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "gapOffset" - }, -}; -static ber_tlv_tag_t asn_DEF_setup_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* gapOffset at 3204 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_3 = { - sizeof(struct MeasGapConfig__setup), - offsetof(struct MeasGapConfig__setup, _asn_ctx), - asn_MAP_setup_tag2el_3, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_3 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_3, - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]) - 1, /* 1 */ - asn_DEF_setup_tags_3, /* Same as above */ - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_3, - 1, /* Elements count */ - &asn_SPC_setup_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MeasGapConfig_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasGapConfig, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasGapConfig, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_MeasGapConfig_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 3201 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 3208 */ -}; -static asn_CHOICE_specifics_t asn_SPC_MeasGapConfig_specs_1 = { - sizeof(struct MeasGapConfig), - offsetof(struct MeasGapConfig, _asn_ctx), - offsetof(struct MeasGapConfig, present), - sizeof(((struct MeasGapConfig *)0)->present), - asn_MAP_MeasGapConfig_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasGapConfig = { - "MeasGapConfig", - "MeasGapConfig", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_MeasGapConfig_constr_1, - asn_MBR_MeasGapConfig_1, - 2, /* Elements count */ - &asn_SPC_MeasGapConfig_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasId.c b/lte/rrc/lib/asn/src/MeasId.c deleted file mode 100644 index 3ef85829b..000000000 --- a/lte/rrc/lib/asn/src/MeasId.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasId.h" - -int -MeasId_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 32)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -MeasId_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -MeasId_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - MeasId_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -MeasId_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - MeasId_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -MeasId_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - MeasId_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -MeasId_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - MeasId_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -MeasId_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - MeasId_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -MeasId_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - MeasId_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -MeasId_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - MeasId_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -MeasId_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - MeasId_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_MeasId_constr_1 = { - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (1..32) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_MeasId_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_MeasId = { - "MeasId", - "MeasId", - MeasId_free, - MeasId_print, - MeasId_constraint, - MeasId_decode_ber, - MeasId_encode_der, - MeasId_decode_xer, - MeasId_encode_xer, - MeasId_decode_uper, - MeasId_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasId_tags_1, - sizeof(asn_DEF_MeasId_tags_1) - /sizeof(asn_DEF_MeasId_tags_1[0]), /* 1 */ - asn_DEF_MeasId_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasId_tags_1) - /sizeof(asn_DEF_MeasId_tags_1[0]), /* 1 */ - &asn_PER_type_MeasId_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasIdToAddMod.c b/lte/rrc/lib/asn/src/MeasIdToAddMod.c deleted file mode 100644 index 691390727..000000000 --- a/lte/rrc/lib/asn/src/MeasIdToAddMod.c +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasIdToAddMod.h" - -static asn_TYPE_member_t asn_MBR_MeasIdToAddMod_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasIdToAddMod, measId), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measId" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasIdToAddMod, measObjectId), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasObjectId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measObjectId" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasIdToAddMod, reportConfigId), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReportConfigId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reportConfigId" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasIdToAddMod_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasIdToAddMod_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measId at 3218 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measObjectId at 3219 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* reportConfigId at 3221 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasIdToAddMod_specs_1 = { - sizeof(struct MeasIdToAddMod), - offsetof(struct MeasIdToAddMod, _asn_ctx), - asn_MAP_MeasIdToAddMod_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasIdToAddMod = { - "MeasIdToAddMod", - "MeasIdToAddMod", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasIdToAddMod_tags_1, - sizeof(asn_DEF_MeasIdToAddMod_tags_1) - /sizeof(asn_DEF_MeasIdToAddMod_tags_1[0]), /* 1 */ - asn_DEF_MeasIdToAddMod_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasIdToAddMod_tags_1) - /sizeof(asn_DEF_MeasIdToAddMod_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasIdToAddMod_1, - 3, /* Elements count */ - &asn_SPC_MeasIdToAddMod_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasIdToAddModList.c b/lte/rrc/lib/asn/src/MeasIdToAddModList.c deleted file mode 100644 index 61b456007..000000000 --- a/lte/rrc/lib/asn/src/MeasIdToAddModList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasIdToAddModList.h" - -static asn_per_constraints_t asn_PER_type_MeasIdToAddModList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MeasIdToAddModList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_MeasIdToAddMod, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasIdToAddModList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MeasIdToAddModList_specs_1 = { - sizeof(struct MeasIdToAddModList), - offsetof(struct MeasIdToAddModList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasIdToAddModList = { - "MeasIdToAddModList", - "MeasIdToAddModList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasIdToAddModList_tags_1, - sizeof(asn_DEF_MeasIdToAddModList_tags_1) - /sizeof(asn_DEF_MeasIdToAddModList_tags_1[0]), /* 1 */ - asn_DEF_MeasIdToAddModList_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasIdToAddModList_tags_1) - /sizeof(asn_DEF_MeasIdToAddModList_tags_1[0]), /* 1 */ - &asn_PER_type_MeasIdToAddModList_constr_1, - asn_MBR_MeasIdToAddModList_1, - 1, /* Single element */ - &asn_SPC_MeasIdToAddModList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasIdToRemoveList.c b/lte/rrc/lib/asn/src/MeasIdToRemoveList.c deleted file mode 100644 index 88c27f279..000000000 --- a/lte/rrc/lib/asn/src/MeasIdToRemoveList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasIdToRemoveList.h" - -static asn_per_constraints_t asn_PER_type_MeasIdToRemoveList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MeasIdToRemoveList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_MeasId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasIdToRemoveList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MeasIdToRemoveList_specs_1 = { - sizeof(struct MeasIdToRemoveList), - offsetof(struct MeasIdToRemoveList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasIdToRemoveList = { - "MeasIdToRemoveList", - "MeasIdToRemoveList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasIdToRemoveList_tags_1, - sizeof(asn_DEF_MeasIdToRemoveList_tags_1) - /sizeof(asn_DEF_MeasIdToRemoveList_tags_1[0]), /* 1 */ - asn_DEF_MeasIdToRemoveList_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasIdToRemoveList_tags_1) - /sizeof(asn_DEF_MeasIdToRemoveList_tags_1[0]), /* 1 */ - &asn_PER_type_MeasIdToRemoveList_constr_1, - asn_MBR_MeasIdToRemoveList_1, - 1, /* Single element */ - &asn_SPC_MeasIdToRemoveList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasObjectCDMA2000.c b/lte/rrc/lib/asn/src/MeasObjectCDMA2000.c deleted file mode 100644 index 74c97df22..000000000 --- a/lte/rrc/lib/asn/src/MeasObjectCDMA2000.c +++ /dev/null @@ -1,170 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasObjectCDMA2000.h" - -static int -memb_searchWindowSize_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_searchWindowSize_constr_4 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static int asn_DFL_5_set_0(int set_value, void **sptr) { - Q_OffsetRangeInterRAT_t *st = *sptr; - - if(!st) { - if(!set_value) return -1; /* Not a default value */ - st = (*sptr = CALLOC(1, sizeof(*st))); - if(!st) return -1; - } - - if(set_value) { - /* Install default value 0 */ - *st = 0; - return 0; - } else { - /* Test default value 0 */ - return (*st == 0); - } -} -static asn_TYPE_member_t asn_MBR_MeasObjectCDMA2000_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasObjectCDMA2000, cdma2000_Type), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CDMA2000_Type, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cdma2000-Type" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasObjectCDMA2000, carrierFreq), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq" - }, - { ATF_POINTER, 5, offsetof(struct MeasObjectCDMA2000, searchWindowSize), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_searchWindowSize_constraint_1, - &asn_PER_memb_searchWindowSize_constr_4, - 0, - "searchWindowSize" - }, - { ATF_NOFLAGS, 4, offsetof(struct MeasObjectCDMA2000, offsetFreq), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Q_OffsetRangeInterRAT, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - asn_DFL_5_set_0, /* DEFAULT 0 */ - "offsetFreq" - }, - { ATF_POINTER, 3, offsetof(struct MeasObjectCDMA2000, cellsToRemoveList), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellIndexList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellsToRemoveList" - }, - { ATF_POINTER, 2, offsetof(struct MeasObjectCDMA2000, cellsToAddModList), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellsToAddModListCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellsToAddModList" - }, - { ATF_POINTER, 1, offsetof(struct MeasObjectCDMA2000, cellForWhichToReportCGI), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellForWhichToReportCGI" - }, -}; -static int asn_MAP_MeasObjectCDMA2000_oms_1[] = { 2, 3, 4, 5, 6 }; -static ber_tlv_tag_t asn_DEF_MeasObjectCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasObjectCDMA2000_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cdma2000-Type at 3225 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* carrierFreq at 3226 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* searchWindowSize at 3227 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* offsetFreq at 3228 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* cellsToRemoveList at 3229 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* cellsToAddModList at 3230 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* cellForWhichToReportCGI at 3231 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasObjectCDMA2000_specs_1 = { - sizeof(struct MeasObjectCDMA2000), - offsetof(struct MeasObjectCDMA2000, _asn_ctx), - asn_MAP_MeasObjectCDMA2000_tag2el_1, - 7, /* Count of tags in the map */ - asn_MAP_MeasObjectCDMA2000_oms_1, /* Optional members */ - 5, 0, /* Root/Additions */ - 6, /* Start extensions */ - 8 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasObjectCDMA2000 = { - "MeasObjectCDMA2000", - "MeasObjectCDMA2000", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasObjectCDMA2000_tags_1, - sizeof(asn_DEF_MeasObjectCDMA2000_tags_1) - /sizeof(asn_DEF_MeasObjectCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_MeasObjectCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasObjectCDMA2000_tags_1) - /sizeof(asn_DEF_MeasObjectCDMA2000_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasObjectCDMA2000_1, - 7, /* Elements count */ - &asn_SPC_MeasObjectCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasObjectEUTRA.c b/lte/rrc/lib/asn/src/MeasObjectEUTRA.c deleted file mode 100644 index 049733c35..000000000 --- a/lte/rrc/lib/asn/src/MeasObjectEUTRA.c +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasObjectEUTRA.h" - -static int asn_DFL_6_set_15(int set_value, void **sptr) { - Q_OffsetRange_t *st = *sptr; - - if(!st) { - if(!set_value) return -1; /* Not a default value */ - st = (*sptr = CALLOC(1, sizeof(*st))); - if(!st) return -1; - } - - if(set_value) { - /* Install default value 15 */ - *st = 15; - return 0; - } else { - /* Test default value 15 */ - return (*st == 15); - } -} -static asn_TYPE_member_t asn_MBR_MeasObjectEUTRA_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasObjectEUTRA, carrierFreq), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasObjectEUTRA, allowedMeasBandwidth), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AllowedMeasBandwidth, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "allowedMeasBandwidth" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasObjectEUTRA, presenceAntennaPort1), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PresenceAntennaPort1, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "presenceAntennaPort1" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasObjectEUTRA, neighCellConfig), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NeighCellConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "neighCellConfig" - }, - { ATF_POINTER, 8, offsetof(struct MeasObjectEUTRA, offsetFreq), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Q_OffsetRange, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - asn_DFL_6_set_15, /* DEFAULT 15 */ - "offsetFreq" - }, - { ATF_POINTER, 7, offsetof(struct MeasObjectEUTRA, cellsToRemoveList), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellIndexList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellsToRemoveList" - }, - { ATF_POINTER, 6, offsetof(struct MeasObjectEUTRA, cellsToAddModList), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellsToAddModList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellsToAddModList" - }, - { ATF_POINTER, 5, offsetof(struct MeasObjectEUTRA, blackCellsToRemoveList), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellIndexList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "blackCellsToRemoveList" - }, - { ATF_POINTER, 4, offsetof(struct MeasObjectEUTRA, blackCellsToAddModList), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BlackCellsToAddModList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "blackCellsToAddModList" - }, - { ATF_POINTER, 3, offsetof(struct MeasObjectEUTRA, cellForWhichToReportCGI), - (ASN_TAG_CLASS_CONTEXT | (9 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellForWhichToReportCGI" - }, - { ATF_POINTER, 2, offsetof(struct MeasObjectEUTRA, measCycleSCell_r10), - (ASN_TAG_CLASS_CONTEXT | (10 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasCycleSCell_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measCycleSCell-r10" - }, - { ATF_POINTER, 1, offsetof(struct MeasObjectEUTRA, measSubframePatternConfigNeigh_r10), - (ASN_TAG_CLASS_CONTEXT | (11 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_MeasSubframePatternConfigNeigh_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measSubframePatternConfigNeigh-r10" - }, -}; -static int asn_MAP_MeasObjectEUTRA_oms_1[] = { 4, 5, 6, 7, 8, 9, 10, 11 }; -static ber_tlv_tag_t asn_DEF_MeasObjectEUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasObjectEUTRA_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreq at 3244 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* allowedMeasBandwidth at 3245 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* presenceAntennaPort1 at 3246 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* neighCellConfig at 3247 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* offsetFreq at 3248 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* cellsToRemoveList at 3250 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* cellsToAddModList at 3251 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* blackCellsToRemoveList at 3253 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* blackCellsToAddModList at 3254 */ - { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* cellForWhichToReportCGI at 3255 */ - { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* measCycleSCell-r10 at 3256 */ - { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 } /* measSubframePatternConfigNeigh-r10 at 3257 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasObjectEUTRA_specs_1 = { - sizeof(struct MeasObjectEUTRA), - offsetof(struct MeasObjectEUTRA, _asn_ctx), - asn_MAP_MeasObjectEUTRA_tag2el_1, - 12, /* Count of tags in the map */ - asn_MAP_MeasObjectEUTRA_oms_1, /* Optional members */ - 8, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasObjectEUTRA = { - "MeasObjectEUTRA", - "MeasObjectEUTRA", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasObjectEUTRA_tags_1, - sizeof(asn_DEF_MeasObjectEUTRA_tags_1) - /sizeof(asn_DEF_MeasObjectEUTRA_tags_1[0]), /* 1 */ - asn_DEF_MeasObjectEUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasObjectEUTRA_tags_1) - /sizeof(asn_DEF_MeasObjectEUTRA_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasObjectEUTRA_1, - 12, /* Elements count */ - &asn_SPC_MeasObjectEUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasObjectGERAN.c b/lte/rrc/lib/asn/src/MeasObjectGERAN.c deleted file mode 100644 index f34892039..000000000 --- a/lte/rrc/lib/asn/src/MeasObjectGERAN.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasObjectGERAN.h" - -static int -memb_ncc_Permitted_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 8)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_ncc_Permitted_constr_4 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 8, 8 } /* (SIZE(8..8)) */, - 0, 0 /* No PER value map */ -}; -static int asn_DFL_3_set_0(int set_value, void **sptr) { - Q_OffsetRangeInterRAT_t *st = *sptr; - - if(!st) { - if(!set_value) return -1; /* Not a default value */ - st = (*sptr = CALLOC(1, sizeof(*st))); - if(!st) return -1; - } - - if(set_value) { - /* Install default value 0 */ - *st = 0; - return 0; - } else { - /* Test default value 0 */ - return (*st == 0); - } -} -static asn_TYPE_member_t asn_MBR_MeasObjectGERAN_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasObjectGERAN, carrierFreqs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqsGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreqs" - }, - { ATF_NOFLAGS, 3, offsetof(struct MeasObjectGERAN, offsetFreq), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Q_OffsetRangeInterRAT, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - asn_DFL_3_set_0, /* DEFAULT 0 */ - "offsetFreq" - }, - { ATF_POINTER, 2, offsetof(struct MeasObjectGERAN, ncc_Permitted), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_ncc_Permitted_constraint_1, - &asn_PER_memb_ncc_Permitted_constr_4, - 0, - "ncc-Permitted" - }, - { ATF_POINTER, 1, offsetof(struct MeasObjectGERAN, cellForWhichToReportCGI), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellForWhichToReportCGI" - }, -}; -static int asn_MAP_MeasObjectGERAN_oms_1[] = { 1, 2, 3 }; -static ber_tlv_tag_t asn_DEF_MeasObjectGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasObjectGERAN_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreqs at 3290 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* offsetFreq at 3291 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ncc-Permitted at 3292 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* cellForWhichToReportCGI at 3293 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasObjectGERAN_specs_1 = { - sizeof(struct MeasObjectGERAN), - offsetof(struct MeasObjectGERAN, _asn_ctx), - asn_MAP_MeasObjectGERAN_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_MeasObjectGERAN_oms_1, /* Optional members */ - 3, 0, /* Root/Additions */ - 3, /* Start extensions */ - 5 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasObjectGERAN = { - "MeasObjectGERAN", - "MeasObjectGERAN", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasObjectGERAN_tags_1, - sizeof(asn_DEF_MeasObjectGERAN_tags_1) - /sizeof(asn_DEF_MeasObjectGERAN_tags_1[0]), /* 1 */ - asn_DEF_MeasObjectGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasObjectGERAN_tags_1) - /sizeof(asn_DEF_MeasObjectGERAN_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasObjectGERAN_1, - 4, /* Elements count */ - &asn_SPC_MeasObjectGERAN_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasObjectId.c b/lte/rrc/lib/asn/src/MeasObjectId.c deleted file mode 100644 index f19b40876..000000000 --- a/lte/rrc/lib/asn/src/MeasObjectId.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasObjectId.h" - -int -MeasObjectId_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 32)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -MeasObjectId_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -MeasObjectId_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - MeasObjectId_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -MeasObjectId_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - MeasObjectId_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -MeasObjectId_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - MeasObjectId_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -MeasObjectId_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - MeasObjectId_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -MeasObjectId_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - MeasObjectId_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -MeasObjectId_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - MeasObjectId_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -MeasObjectId_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - MeasObjectId_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -MeasObjectId_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - MeasObjectId_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_MeasObjectId_constr_1 = { - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (1..32) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_MeasObjectId_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_MeasObjectId = { - "MeasObjectId", - "MeasObjectId", - MeasObjectId_free, - MeasObjectId_print, - MeasObjectId_constraint, - MeasObjectId_decode_ber, - MeasObjectId_encode_der, - MeasObjectId_decode_xer, - MeasObjectId_encode_xer, - MeasObjectId_decode_uper, - MeasObjectId_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasObjectId_tags_1, - sizeof(asn_DEF_MeasObjectId_tags_1) - /sizeof(asn_DEF_MeasObjectId_tags_1[0]), /* 1 */ - asn_DEF_MeasObjectId_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasObjectId_tags_1) - /sizeof(asn_DEF_MeasObjectId_tags_1[0]), /* 1 */ - &asn_PER_type_MeasObjectId_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasObjectToAddMod.c b/lte/rrc/lib/asn/src/MeasObjectToAddMod.c deleted file mode 100644 index 11c2b1620..000000000 --- a/lte/rrc/lib/asn/src/MeasObjectToAddMod.c +++ /dev/null @@ -1,153 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasObjectToAddMod.h" - -static asn_per_constraints_t asn_PER_type_measObject_constr_3 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 3 } /* (0..3,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_measObject_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasObjectToAddMod__measObject, choice.measObjectEUTRA), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasObjectEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measObjectEUTRA" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasObjectToAddMod__measObject, choice.measObjectUTRA), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasObjectUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measObjectUTRA" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasObjectToAddMod__measObject, choice.measObjectGERAN), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasObjectGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measObjectGERAN" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasObjectToAddMod__measObject, choice.measObjectCDMA2000), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasObjectCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measObjectCDMA2000" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_measObject_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measObjectEUTRA at 3306 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measObjectUTRA at 3307 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* measObjectGERAN at 3308 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* measObjectCDMA2000 at 3309 */ -}; -static asn_CHOICE_specifics_t asn_SPC_measObject_specs_3 = { - sizeof(struct MeasObjectToAddMod__measObject), - offsetof(struct MeasObjectToAddMod__measObject, _asn_ctx), - offsetof(struct MeasObjectToAddMod__measObject, present), - sizeof(((struct MeasObjectToAddMod__measObject *)0)->present), - asn_MAP_measObject_tag2el_3, - 4, /* Count of tags in the map */ - 0, - 4 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_measObject_3 = { - "measObject", - "measObject", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_measObject_constr_3, - asn_MBR_measObject_3, - 4, /* Elements count */ - &asn_SPC_measObject_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MeasObjectToAddMod_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasObjectToAddMod, measObjectId), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasObjectId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measObjectId" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasObjectToAddMod, measObject), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_measObject_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measObject" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasObjectToAddMod_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasObjectToAddMod_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measObjectId at 3304 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* measObject at 3306 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasObjectToAddMod_specs_1 = { - sizeof(struct MeasObjectToAddMod), - offsetof(struct MeasObjectToAddMod, _asn_ctx), - asn_MAP_MeasObjectToAddMod_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasObjectToAddMod = { - "MeasObjectToAddMod", - "MeasObjectToAddMod", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasObjectToAddMod_tags_1, - sizeof(asn_DEF_MeasObjectToAddMod_tags_1) - /sizeof(asn_DEF_MeasObjectToAddMod_tags_1[0]), /* 1 */ - asn_DEF_MeasObjectToAddMod_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasObjectToAddMod_tags_1) - /sizeof(asn_DEF_MeasObjectToAddMod_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasObjectToAddMod_1, - 2, /* Elements count */ - &asn_SPC_MeasObjectToAddMod_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasObjectToAddModList.c b/lte/rrc/lib/asn/src/MeasObjectToAddModList.c deleted file mode 100644 index dc59e90e4..000000000 --- a/lte/rrc/lib/asn/src/MeasObjectToAddModList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasObjectToAddModList.h" - -static asn_per_constraints_t asn_PER_type_MeasObjectToAddModList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MeasObjectToAddModList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_MeasObjectToAddMod, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasObjectToAddModList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MeasObjectToAddModList_specs_1 = { - sizeof(struct MeasObjectToAddModList), - offsetof(struct MeasObjectToAddModList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasObjectToAddModList = { - "MeasObjectToAddModList", - "MeasObjectToAddModList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasObjectToAddModList_tags_1, - sizeof(asn_DEF_MeasObjectToAddModList_tags_1) - /sizeof(asn_DEF_MeasObjectToAddModList_tags_1[0]), /* 1 */ - asn_DEF_MeasObjectToAddModList_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasObjectToAddModList_tags_1) - /sizeof(asn_DEF_MeasObjectToAddModList_tags_1[0]), /* 1 */ - &asn_PER_type_MeasObjectToAddModList_constr_1, - asn_MBR_MeasObjectToAddModList_1, - 1, /* Single element */ - &asn_SPC_MeasObjectToAddModList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasObjectToRemoveList.c b/lte/rrc/lib/asn/src/MeasObjectToRemoveList.c deleted file mode 100644 index a638fc2ff..000000000 --- a/lte/rrc/lib/asn/src/MeasObjectToRemoveList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasObjectToRemoveList.h" - -static asn_per_constraints_t asn_PER_type_MeasObjectToRemoveList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MeasObjectToRemoveList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_MeasObjectId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasObjectToRemoveList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MeasObjectToRemoveList_specs_1 = { - sizeof(struct MeasObjectToRemoveList), - offsetof(struct MeasObjectToRemoveList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasObjectToRemoveList = { - "MeasObjectToRemoveList", - "MeasObjectToRemoveList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasObjectToRemoveList_tags_1, - sizeof(asn_DEF_MeasObjectToRemoveList_tags_1) - /sizeof(asn_DEF_MeasObjectToRemoveList_tags_1[0]), /* 1 */ - asn_DEF_MeasObjectToRemoveList_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasObjectToRemoveList_tags_1) - /sizeof(asn_DEF_MeasObjectToRemoveList_tags_1[0]), /* 1 */ - &asn_PER_type_MeasObjectToRemoveList_constr_1, - asn_MBR_MeasObjectToRemoveList_1, - 1, /* Single element */ - &asn_SPC_MeasObjectToRemoveList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasObjectUTRA.c b/lte/rrc/lib/asn/src/MeasObjectUTRA.c deleted file mode 100644 index 2ebb72fdc..000000000 --- a/lte/rrc/lib/asn/src/MeasObjectUTRA.c +++ /dev/null @@ -1,256 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasObjectUTRA.h" - -static asn_per_constraints_t asn_PER_type_cellsToAddModList_constr_5 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_cellForWhichToReportCGI_constr_8 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static int asn_DFL_3_set_0(int set_value, void **sptr) { - Q_OffsetRangeInterRAT_t *st = *sptr; - - if(!st) { - if(!set_value) return -1; /* Not a default value */ - st = (*sptr = CALLOC(1, sizeof(*st))); - if(!st) return -1; - } - - if(set_value) { - /* Install default value 0 */ - *st = 0; - return 0; - } else { - /* Test default value 0 */ - return (*st == 0); - } -} -static asn_TYPE_member_t asn_MBR_cellsToAddModList_5[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasObjectUTRA__cellsToAddModList, choice.cellsToAddModListUTRA_FDD), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellsToAddModListUTRA_FDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellsToAddModListUTRA-FDD" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasObjectUTRA__cellsToAddModList, choice.cellsToAddModListUTRA_TDD), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellsToAddModListUTRA_TDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellsToAddModListUTRA-TDD" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_cellsToAddModList_tag2el_5[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellsToAddModListUTRA-FDD at 3320 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cellsToAddModListUTRA-TDD at 3322 */ -}; -static asn_CHOICE_specifics_t asn_SPC_cellsToAddModList_specs_5 = { - sizeof(struct MeasObjectUTRA__cellsToAddModList), - offsetof(struct MeasObjectUTRA__cellsToAddModList, _asn_ctx), - offsetof(struct MeasObjectUTRA__cellsToAddModList, present), - sizeof(((struct MeasObjectUTRA__cellsToAddModList *)0)->present), - asn_MAP_cellsToAddModList_tag2el_5, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cellsToAddModList_5 = { - "cellsToAddModList", - "cellsToAddModList", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_cellsToAddModList_constr_5, - asn_MBR_cellsToAddModList_5, - 2, /* Elements count */ - &asn_SPC_cellsToAddModList_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_cellForWhichToReportCGI_8[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasObjectUTRA__cellForWhichToReportCGI, choice.utra_FDD), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdUTRA_FDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "utra-FDD" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasObjectUTRA__cellForWhichToReportCGI, choice.utra_TDD), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdUTRA_TDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "utra-TDD" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_cellForWhichToReportCGI_tag2el_8[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* utra-FDD at 3324 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* utra-TDD at 3326 */ -}; -static asn_CHOICE_specifics_t asn_SPC_cellForWhichToReportCGI_specs_8 = { - sizeof(struct MeasObjectUTRA__cellForWhichToReportCGI), - offsetof(struct MeasObjectUTRA__cellForWhichToReportCGI, _asn_ctx), - offsetof(struct MeasObjectUTRA__cellForWhichToReportCGI, present), - sizeof(((struct MeasObjectUTRA__cellForWhichToReportCGI *)0)->present), - asn_MAP_cellForWhichToReportCGI_tag2el_8, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cellForWhichToReportCGI_8 = { - "cellForWhichToReportCGI", - "cellForWhichToReportCGI", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_cellForWhichToReportCGI_constr_8, - asn_MBR_cellForWhichToReportCGI_8, - 2, /* Elements count */ - &asn_SPC_cellForWhichToReportCGI_specs_8 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MeasObjectUTRA_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasObjectUTRA, carrierFreq), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq" - }, - { ATF_NOFLAGS, 5, offsetof(struct MeasObjectUTRA, offsetFreq), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Q_OffsetRangeInterRAT, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - asn_DFL_3_set_0, /* DEFAULT 0 */ - "offsetFreq" - }, - { ATF_POINTER, 4, offsetof(struct MeasObjectUTRA, cellsToRemoveList), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellIndexList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellsToRemoveList" - }, - { ATF_POINTER, 3, offsetof(struct MeasObjectUTRA, cellsToAddModList), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_cellsToAddModList_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellsToAddModList" - }, - { ATF_POINTER, 2, offsetof(struct MeasObjectUTRA, cellForWhichToReportCGI), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_cellForWhichToReportCGI_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellForWhichToReportCGI" - }, - { ATF_POINTER, 1, offsetof(struct MeasObjectUTRA, csg_allowedReportingCells_v930), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CSG_AllowedReportingCells_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csg-allowedReportingCells-v930" - }, -}; -static int asn_MAP_MeasObjectUTRA_oms_1[] = { 1, 2, 3, 4, 5 }; -static ber_tlv_tag_t asn_DEF_MeasObjectUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasObjectUTRA_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreq at 3316 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* offsetFreq at 3317 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* cellsToRemoveList at 3318 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* cellsToAddModList at 3320 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* cellForWhichToReportCGI at 3324 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* csg-allowedReportingCells-v930 at 3327 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasObjectUTRA_specs_1 = { - sizeof(struct MeasObjectUTRA), - offsetof(struct MeasObjectUTRA, _asn_ctx), - asn_MAP_MeasObjectUTRA_tag2el_1, - 6, /* Count of tags in the map */ - asn_MAP_MeasObjectUTRA_oms_1, /* Optional members */ - 5, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasObjectUTRA = { - "MeasObjectUTRA", - "MeasObjectUTRA", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasObjectUTRA_tags_1, - sizeof(asn_DEF_MeasObjectUTRA_tags_1) - /sizeof(asn_DEF_MeasObjectUTRA_tags_1[0]), /* 1 */ - asn_DEF_MeasObjectUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasObjectUTRA_tags_1) - /sizeof(asn_DEF_MeasObjectUTRA_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasObjectUTRA_1, - 6, /* Elements count */ - &asn_SPC_MeasObjectUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasParameters-v1020.c b/lte/rrc/lib/asn/src/MeasParameters-v1020.c deleted file mode 100644 index 8510ea62c..000000000 --- a/lte/rrc/lib/asn/src/MeasParameters-v1020.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasParameters-v1020.h" - -static asn_TYPE_member_t asn_MBR_MeasParameters_v1020_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasParameters_v1020, bandCombinationListEUTRA_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BandCombinationListEUTRA_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "bandCombinationListEUTRA-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasParameters_v1020_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasParameters_v1020_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* bandCombinationListEUTRA-r10 at 3874 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasParameters_v1020_specs_1 = { - sizeof(struct MeasParameters_v1020), - offsetof(struct MeasParameters_v1020, _asn_ctx), - asn_MAP_MeasParameters_v1020_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasParameters_v1020 = { - "MeasParameters-v1020", - "MeasParameters-v1020", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasParameters_v1020_tags_1, - sizeof(asn_DEF_MeasParameters_v1020_tags_1) - /sizeof(asn_DEF_MeasParameters_v1020_tags_1[0]), /* 1 */ - asn_DEF_MeasParameters_v1020_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasParameters_v1020_tags_1) - /sizeof(asn_DEF_MeasParameters_v1020_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasParameters_v1020_1, - 1, /* Elements count */ - &asn_SPC_MeasParameters_v1020_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasParameters.c b/lte/rrc/lib/asn/src/MeasParameters.c deleted file mode 100644 index 1f05a98d0..000000000 --- a/lte/rrc/lib/asn/src/MeasParameters.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasParameters.h" - -static asn_TYPE_member_t asn_MBR_MeasParameters_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasParameters, bandListEUTRA), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BandListEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "bandListEUTRA" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasParameters_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasParameters_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* bandListEUTRA at 3870 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasParameters_specs_1 = { - sizeof(struct MeasParameters), - offsetof(struct MeasParameters, _asn_ctx), - asn_MAP_MeasParameters_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasParameters = { - "MeasParameters", - "MeasParameters", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasParameters_tags_1, - sizeof(asn_DEF_MeasParameters_tags_1) - /sizeof(asn_DEF_MeasParameters_tags_1[0]), /* 1 */ - asn_DEF_MeasParameters_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasParameters_tags_1) - /sizeof(asn_DEF_MeasParameters_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasParameters_1, - 1, /* Elements count */ - &asn_SPC_MeasParameters_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResult2CDMA2000-r9.c b/lte/rrc/lib/asn/src/MeasResult2CDMA2000-r9.c deleted file mode 100644 index ea19bc1fd..000000000 --- a/lte/rrc/lib/asn/src/MeasResult2CDMA2000-r9.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResult2CDMA2000-r9.h" - -static asn_TYPE_member_t asn_MBR_MeasResult2CDMA2000_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResult2CDMA2000_r9, carrierFreq_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResult2CDMA2000_r9, measResultList_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResultsCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultList-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasResult2CDMA2000_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasResult2CDMA2000_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreq-r9 at 1381 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* measResultList-r9 at 1383 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasResult2CDMA2000_r9_specs_1 = { - sizeof(struct MeasResult2CDMA2000_r9), - offsetof(struct MeasResult2CDMA2000_r9, _asn_ctx), - asn_MAP_MeasResult2CDMA2000_r9_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResult2CDMA2000_r9 = { - "MeasResult2CDMA2000-r9", - "MeasResult2CDMA2000-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResult2CDMA2000_r9_tags_1, - sizeof(asn_DEF_MeasResult2CDMA2000_r9_tags_1) - /sizeof(asn_DEF_MeasResult2CDMA2000_r9_tags_1[0]), /* 1 */ - asn_DEF_MeasResult2CDMA2000_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResult2CDMA2000_r9_tags_1) - /sizeof(asn_DEF_MeasResult2CDMA2000_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasResult2CDMA2000_r9_1, - 2, /* Elements count */ - &asn_SPC_MeasResult2CDMA2000_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResult2EUTRA-r9.c b/lte/rrc/lib/asn/src/MeasResult2EUTRA-r9.c deleted file mode 100644 index 8c063469d..000000000 --- a/lte/rrc/lib/asn/src/MeasResult2EUTRA-r9.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResult2EUTRA-r9.h" - -static asn_TYPE_member_t asn_MBR_MeasResult2EUTRA_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResult2EUTRA_r9, carrierFreq_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResult2EUTRA_r9, measResultList_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResultListEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultList-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasResult2EUTRA_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasResult2EUTRA_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreq-r9 at 1367 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* measResultList-r9 at 1369 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasResult2EUTRA_r9_specs_1 = { - sizeof(struct MeasResult2EUTRA_r9), - offsetof(struct MeasResult2EUTRA_r9, _asn_ctx), - asn_MAP_MeasResult2EUTRA_r9_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResult2EUTRA_r9 = { - "MeasResult2EUTRA-r9", - "MeasResult2EUTRA-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResult2EUTRA_r9_tags_1, - sizeof(asn_DEF_MeasResult2EUTRA_r9_tags_1) - /sizeof(asn_DEF_MeasResult2EUTRA_r9_tags_1[0]), /* 1 */ - asn_DEF_MeasResult2EUTRA_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResult2EUTRA_r9_tags_1) - /sizeof(asn_DEF_MeasResult2EUTRA_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasResult2EUTRA_r9_1, - 2, /* Elements count */ - &asn_SPC_MeasResult2EUTRA_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResult2UTRA-r9.c b/lte/rrc/lib/asn/src/MeasResult2UTRA-r9.c deleted file mode 100644 index c7a9d7037..000000000 --- a/lte/rrc/lib/asn/src/MeasResult2UTRA-r9.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResult2UTRA-r9.h" - -static asn_TYPE_member_t asn_MBR_MeasResult2UTRA_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResult2UTRA_r9, carrierFreq_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResult2UTRA_r9, measResultList_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResultListUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultList-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasResult2UTRA_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasResult2UTRA_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreq-r9 at 1374 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* measResultList-r9 at 1376 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasResult2UTRA_r9_specs_1 = { - sizeof(struct MeasResult2UTRA_r9), - offsetof(struct MeasResult2UTRA_r9, _asn_ctx), - asn_MAP_MeasResult2UTRA_r9_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResult2UTRA_r9 = { - "MeasResult2UTRA-r9", - "MeasResult2UTRA-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResult2UTRA_r9_tags_1, - sizeof(asn_DEF_MeasResult2UTRA_r9_tags_1) - /sizeof(asn_DEF_MeasResult2UTRA_r9_tags_1[0]), /* 1 */ - asn_DEF_MeasResult2UTRA_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResult2UTRA_r9_tags_1) - /sizeof(asn_DEF_MeasResult2UTRA_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasResult2UTRA_r9_1, - 2, /* Elements count */ - &asn_SPC_MeasResult2UTRA_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResultCDMA2000.c b/lte/rrc/lib/asn/src/MeasResultCDMA2000.c deleted file mode 100644 index c3bada81c..000000000 --- a/lte/rrc/lib/asn/src/MeasResultCDMA2000.c +++ /dev/null @@ -1,207 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResultCDMA2000.h" - -static int -memb_pilotPnPhase_constraint_4(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 32767)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_pilotStrength_constraint_4(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 63)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_pilotPnPhase_constr_5 = { - { APC_CONSTRAINED, 15, 15, 0, 32767 } /* (0..32767) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_pilotStrength_constr_6 = { - { APC_CONSTRAINED, 6, 6, 0, 63 } /* (0..63) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_measResult_4[] = { - { ATF_POINTER, 1, offsetof(struct MeasResultCDMA2000__measResult, pilotPnPhase), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_pilotPnPhase_constraint_4, - &asn_PER_memb_pilotPnPhase_constr_5, - 0, - "pilotPnPhase" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResultCDMA2000__measResult, pilotStrength), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_pilotStrength_constraint_4, - &asn_PER_memb_pilotStrength_constr_6, - 0, - "pilotStrength" - }, -}; -static int asn_MAP_measResult_oms_4[] = { 0 }; -static ber_tlv_tag_t asn_DEF_measResult_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_measResult_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pilotPnPhase at 3444 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* pilotStrength at 3445 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_measResult_specs_4 = { - sizeof(struct MeasResultCDMA2000__measResult), - offsetof(struct MeasResultCDMA2000__measResult, _asn_ctx), - asn_MAP_measResult_tag2el_4, - 2, /* Count of tags in the map */ - asn_MAP_measResult_oms_4, /* Optional members */ - 1, 0, /* Root/Additions */ - 1, /* Start extensions */ - 3 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_measResult_4 = { - "measResult", - "measResult", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_measResult_tags_4, - sizeof(asn_DEF_measResult_tags_4) - /sizeof(asn_DEF_measResult_tags_4[0]) - 1, /* 1 */ - asn_DEF_measResult_tags_4, /* Same as above */ - sizeof(asn_DEF_measResult_tags_4) - /sizeof(asn_DEF_measResult_tags_4[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_measResult_4, - 2, /* Elements count */ - &asn_SPC_measResult_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MeasResultCDMA2000_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResultCDMA2000, physCellId), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId" - }, - { ATF_POINTER, 1, offsetof(struct MeasResultCDMA2000, cgi_Info), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_CellGlobalIdCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cgi-Info" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResultCDMA2000, measResult), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_measResult_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResult" - }, -}; -static int asn_MAP_MeasResultCDMA2000_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_MeasResultCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasResultCDMA2000_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* physCellId at 3441 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cgi-Info at 3442 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* measResult at 3444 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasResultCDMA2000_specs_1 = { - sizeof(struct MeasResultCDMA2000), - offsetof(struct MeasResultCDMA2000, _asn_ctx), - asn_MAP_MeasResultCDMA2000_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_MeasResultCDMA2000_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResultCDMA2000 = { - "MeasResultCDMA2000", - "MeasResultCDMA2000", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResultCDMA2000_tags_1, - sizeof(asn_DEF_MeasResultCDMA2000_tags_1) - /sizeof(asn_DEF_MeasResultCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_MeasResultCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResultCDMA2000_tags_1) - /sizeof(asn_DEF_MeasResultCDMA2000_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasResultCDMA2000_1, - 3, /* Elements count */ - &asn_SPC_MeasResultCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResultEUTRA.c b/lte/rrc/lib/asn/src/MeasResultEUTRA.c deleted file mode 100644 index fb875d15d..000000000 --- a/lte/rrc/lib/asn/src/MeasResultEUTRA.c +++ /dev/null @@ -1,232 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResultEUTRA.h" - -static asn_TYPE_member_t asn_MBR_cgi_Info_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResultEUTRA__cgi_Info, cellGlobalId), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellGlobalIdEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellGlobalId" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResultEUTRA__cgi_Info, trackingAreaCode), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_TrackingAreaCode, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "trackingAreaCode" - }, - { ATF_POINTER, 1, offsetof(struct MeasResultEUTRA__cgi_Info, plmn_IdentityList), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PLMN_IdentityList2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "plmn-IdentityList" - }, -}; -static int asn_MAP_cgi_Info_oms_3[] = { 2 }; -static ber_tlv_tag_t asn_DEF_cgi_Info_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_cgi_Info_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellGlobalId at 3371 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* trackingAreaCode at 3372 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* plmn-IdentityList at 3373 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_cgi_Info_specs_3 = { - sizeof(struct MeasResultEUTRA__cgi_Info), - offsetof(struct MeasResultEUTRA__cgi_Info, _asn_ctx), - asn_MAP_cgi_Info_tag2el_3, - 3, /* Count of tags in the map */ - asn_MAP_cgi_Info_oms_3, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cgi_Info_3 = { - "cgi-Info", - "cgi-Info", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_cgi_Info_tags_3, - sizeof(asn_DEF_cgi_Info_tags_3) - /sizeof(asn_DEF_cgi_Info_tags_3[0]) - 1, /* 1 */ - asn_DEF_cgi_Info_tags_3, /* Same as above */ - sizeof(asn_DEF_cgi_Info_tags_3) - /sizeof(asn_DEF_cgi_Info_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_cgi_Info_3, - 3, /* Elements count */ - &asn_SPC_cgi_Info_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_measResult_7[] = { - { ATF_POINTER, 3, offsetof(struct MeasResultEUTRA__measResult, rsrpResult), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RSRP_Range, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rsrpResult" - }, - { ATF_POINTER, 2, offsetof(struct MeasResultEUTRA__measResult, rsrqResult), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RSRQ_Range, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rsrqResult" - }, - { ATF_POINTER, 1, offsetof(struct MeasResultEUTRA__measResult, additionalSI_Info_r9), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AdditionalSI_Info_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "additionalSI-Info-r9" - }, -}; -static int asn_MAP_measResult_oms_7[] = { 0, 1, 2 }; -static ber_tlv_tag_t asn_DEF_measResult_tags_7[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_measResult_tag2el_7[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rsrpResult at 3376 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rsrqResult at 3377 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* additionalSI-Info-r9 at 3378 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_measResult_specs_7 = { - sizeof(struct MeasResultEUTRA__measResult), - offsetof(struct MeasResultEUTRA__measResult, _asn_ctx), - asn_MAP_measResult_tag2el_7, - 3, /* Count of tags in the map */ - asn_MAP_measResult_oms_7, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_measResult_7 = { - "measResult", - "measResult", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_measResult_tags_7, - sizeof(asn_DEF_measResult_tags_7) - /sizeof(asn_DEF_measResult_tags_7[0]) - 1, /* 1 */ - asn_DEF_measResult_tags_7, /* Same as above */ - sizeof(asn_DEF_measResult_tags_7) - /sizeof(asn_DEF_measResult_tags_7[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_measResult_7, - 3, /* Elements count */ - &asn_SPC_measResult_specs_7 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MeasResultEUTRA_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResultEUTRA, physCellId), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId" - }, - { ATF_POINTER, 1, offsetof(struct MeasResultEUTRA, cgi_Info), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_cgi_Info_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cgi-Info" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResultEUTRA, measResult), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_measResult_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResult" - }, -}; -static int asn_MAP_MeasResultEUTRA_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_MeasResultEUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasResultEUTRA_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* physCellId at 3369 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cgi-Info at 3371 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* measResult at 3376 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasResultEUTRA_specs_1 = { - sizeof(struct MeasResultEUTRA), - offsetof(struct MeasResultEUTRA, _asn_ctx), - asn_MAP_MeasResultEUTRA_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_MeasResultEUTRA_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResultEUTRA = { - "MeasResultEUTRA", - "MeasResultEUTRA", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResultEUTRA_tags_1, - sizeof(asn_DEF_MeasResultEUTRA_tags_1) - /sizeof(asn_DEF_MeasResultEUTRA_tags_1[0]), /* 1 */ - asn_DEF_MeasResultEUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResultEUTRA_tags_1) - /sizeof(asn_DEF_MeasResultEUTRA_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasResultEUTRA_1, - 3, /* Elements count */ - &asn_SPC_MeasResultEUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResultForECID-r9.c b/lte/rrc/lib/asn/src/MeasResultForECID-r9.c deleted file mode 100644 index 689f8d697..000000000 --- a/lte/rrc/lib/asn/src/MeasResultForECID-r9.c +++ /dev/null @@ -1,136 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResultForECID-r9.h" - -static int -memb_ue_RxTxTimeDiffResult_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 4095)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_currentSFN_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 10)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_ue_RxTxTimeDiffResult_r9_constr_2 = { - { APC_CONSTRAINED, 12, 12, 0, 4095 } /* (0..4095) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_currentSFN_r9_constr_3 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 10, 10 } /* (SIZE(10..10)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MeasResultForECID_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResultForECID_r9, ue_RxTxTimeDiffResult_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_ue_RxTxTimeDiffResult_r9_constraint_1, - &asn_PER_memb_ue_RxTxTimeDiffResult_r9_constr_2, - 0, - "ue-RxTxTimeDiffResult-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResultForECID_r9, currentSFN_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_currentSFN_r9_constraint_1, - &asn_PER_memb_currentSFN_r9_constr_3, - 0, - "currentSFN-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasResultForECID_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasResultForECID_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ue-RxTxTimeDiffResult-r9 at 3451 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* currentSFN-r9 at 3452 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasResultForECID_r9_specs_1 = { - sizeof(struct MeasResultForECID_r9), - offsetof(struct MeasResultForECID_r9, _asn_ctx), - asn_MAP_MeasResultForECID_r9_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResultForECID_r9 = { - "MeasResultForECID-r9", - "MeasResultForECID-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResultForECID_r9_tags_1, - sizeof(asn_DEF_MeasResultForECID_r9_tags_1) - /sizeof(asn_DEF_MeasResultForECID_r9_tags_1[0]), /* 1 */ - asn_DEF_MeasResultForECID_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResultForECID_r9_tags_1) - /sizeof(asn_DEF_MeasResultForECID_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasResultForECID_r9_1, - 2, /* Elements count */ - &asn_SPC_MeasResultForECID_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResultGERAN.c b/lte/rrc/lib/asn/src/MeasResultGERAN.c deleted file mode 100644 index 0da2b8809..000000000 --- a/lte/rrc/lib/asn/src/MeasResultGERAN.c +++ /dev/null @@ -1,276 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResultGERAN.h" - -static int -memb_routingAreaCode_constraint_4(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 8)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_rssi_constraint_7(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 63)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_routingAreaCode_constr_6 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 8, 8 } /* (SIZE(8..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_rssi_constr_8 = { - { APC_CONSTRAINED, 6, 6, 0, 63 } /* (0..63) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_cgi_Info_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResultGERAN__cgi_Info, cellGlobalId), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellGlobalIdGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellGlobalId" - }, - { ATF_POINTER, 1, offsetof(struct MeasResultGERAN__cgi_Info, routingAreaCode), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_routingAreaCode_constraint_4, - &asn_PER_memb_routingAreaCode_constr_6, - 0, - "routingAreaCode" - }, -}; -static int asn_MAP_cgi_Info_oms_4[] = { 1 }; -static ber_tlv_tag_t asn_DEF_cgi_Info_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_cgi_Info_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellGlobalId at 3424 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* routingAreaCode at 3425 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_cgi_Info_specs_4 = { - sizeof(struct MeasResultGERAN__cgi_Info), - offsetof(struct MeasResultGERAN__cgi_Info, _asn_ctx), - asn_MAP_cgi_Info_tag2el_4, - 2, /* Count of tags in the map */ - asn_MAP_cgi_Info_oms_4, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cgi_Info_4 = { - "cgi-Info", - "cgi-Info", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_cgi_Info_tags_4, - sizeof(asn_DEF_cgi_Info_tags_4) - /sizeof(asn_DEF_cgi_Info_tags_4[0]) - 1, /* 1 */ - asn_DEF_cgi_Info_tags_4, /* Same as above */ - sizeof(asn_DEF_cgi_Info_tags_4) - /sizeof(asn_DEF_cgi_Info_tags_4[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_cgi_Info_4, - 2, /* Elements count */ - &asn_SPC_cgi_Info_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_measResult_7[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResultGERAN__measResult, rssi), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_rssi_constraint_7, - &asn_PER_memb_rssi_constr_8, - 0, - "rssi" - }, -}; -static ber_tlv_tag_t asn_DEF_measResult_tags_7[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_measResult_tag2el_7[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* rssi at 3428 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_measResult_specs_7 = { - sizeof(struct MeasResultGERAN__measResult), - offsetof(struct MeasResultGERAN__measResult, _asn_ctx), - asn_MAP_measResult_tag2el_7, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 0, /* Start extensions */ - 2 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_measResult_7 = { - "measResult", - "measResult", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_measResult_tags_7, - sizeof(asn_DEF_measResult_tags_7) - /sizeof(asn_DEF_measResult_tags_7[0]) - 1, /* 1 */ - asn_DEF_measResult_tags_7, /* Same as above */ - sizeof(asn_DEF_measResult_tags_7) - /sizeof(asn_DEF_measResult_tags_7[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_measResult_7, - 1, /* Elements count */ - &asn_SPC_measResult_specs_7 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MeasResultGERAN_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResultGERAN, carrierFreq), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResultGERAN, physCellId), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId" - }, - { ATF_POINTER, 1, offsetof(struct MeasResultGERAN, cgi_Info), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_cgi_Info_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cgi-Info" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResultGERAN, measResult), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - 0, - &asn_DEF_measResult_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResult" - }, -}; -static int asn_MAP_MeasResultGERAN_oms_1[] = { 2 }; -static ber_tlv_tag_t asn_DEF_MeasResultGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasResultGERAN_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreq at 3421 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* physCellId at 3422 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* cgi-Info at 3424 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* measResult at 3428 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasResultGERAN_specs_1 = { - sizeof(struct MeasResultGERAN), - offsetof(struct MeasResultGERAN, _asn_ctx), - asn_MAP_MeasResultGERAN_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_MeasResultGERAN_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResultGERAN = { - "MeasResultGERAN", - "MeasResultGERAN", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResultGERAN_tags_1, - sizeof(asn_DEF_MeasResultGERAN_tags_1) - /sizeof(asn_DEF_MeasResultGERAN_tags_1[0]), /* 1 */ - asn_DEF_MeasResultGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResultGERAN_tags_1) - /sizeof(asn_DEF_MeasResultGERAN_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasResultGERAN_1, - 4, /* Elements count */ - &asn_SPC_MeasResultGERAN_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResultList2CDMA2000-r9.c b/lte/rrc/lib/asn/src/MeasResultList2CDMA2000-r9.c deleted file mode 100644 index e926db1cd..000000000 --- a/lte/rrc/lib/asn/src/MeasResultList2CDMA2000-r9.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResultList2CDMA2000-r9.h" - -static asn_per_constraints_t asn_PER_type_MeasResultList2CDMA2000_r9_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (SIZE(1..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MeasResultList2CDMA2000_r9_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_MeasResult2CDMA2000_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasResultList2CDMA2000_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MeasResultList2CDMA2000_r9_specs_1 = { - sizeof(struct MeasResultList2CDMA2000_r9), - offsetof(struct MeasResultList2CDMA2000_r9, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResultList2CDMA2000_r9 = { - "MeasResultList2CDMA2000-r9", - "MeasResultList2CDMA2000-r9", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResultList2CDMA2000_r9_tags_1, - sizeof(asn_DEF_MeasResultList2CDMA2000_r9_tags_1) - /sizeof(asn_DEF_MeasResultList2CDMA2000_r9_tags_1[0]), /* 1 */ - asn_DEF_MeasResultList2CDMA2000_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResultList2CDMA2000_r9_tags_1) - /sizeof(asn_DEF_MeasResultList2CDMA2000_r9_tags_1[0]), /* 1 */ - &asn_PER_type_MeasResultList2CDMA2000_r9_constr_1, - asn_MBR_MeasResultList2CDMA2000_r9_1, - 1, /* Single element */ - &asn_SPC_MeasResultList2CDMA2000_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResultList2EUTRA-r9.c b/lte/rrc/lib/asn/src/MeasResultList2EUTRA-r9.c deleted file mode 100644 index 4902d105b..000000000 --- a/lte/rrc/lib/asn/src/MeasResultList2EUTRA-r9.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResultList2EUTRA-r9.h" - -static asn_per_constraints_t asn_PER_type_MeasResultList2EUTRA_r9_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (SIZE(1..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MeasResultList2EUTRA_r9_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_MeasResult2EUTRA_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasResultList2EUTRA_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MeasResultList2EUTRA_r9_specs_1 = { - sizeof(struct MeasResultList2EUTRA_r9), - offsetof(struct MeasResultList2EUTRA_r9, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResultList2EUTRA_r9 = { - "MeasResultList2EUTRA-r9", - "MeasResultList2EUTRA-r9", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResultList2EUTRA_r9_tags_1, - sizeof(asn_DEF_MeasResultList2EUTRA_r9_tags_1) - /sizeof(asn_DEF_MeasResultList2EUTRA_r9_tags_1[0]), /* 1 */ - asn_DEF_MeasResultList2EUTRA_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResultList2EUTRA_r9_tags_1) - /sizeof(asn_DEF_MeasResultList2EUTRA_r9_tags_1[0]), /* 1 */ - &asn_PER_type_MeasResultList2EUTRA_r9_constr_1, - asn_MBR_MeasResultList2EUTRA_r9_1, - 1, /* Single element */ - &asn_SPC_MeasResultList2EUTRA_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResultList2GERAN-r10.c b/lte/rrc/lib/asn/src/MeasResultList2GERAN-r10.c deleted file mode 100644 index cde24d220..000000000 --- a/lte/rrc/lib/asn/src/MeasResultList2GERAN-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResultList2GERAN-r10.h" - -static asn_per_constraints_t asn_PER_type_MeasResultList2GERAN_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 2, 2, 1, 3 } /* (SIZE(1..3)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MeasResultList2GERAN_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_MeasResultListGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasResultList2GERAN_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MeasResultList2GERAN_r10_specs_1 = { - sizeof(struct MeasResultList2GERAN_r10), - offsetof(struct MeasResultList2GERAN_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResultList2GERAN_r10 = { - "MeasResultList2GERAN-r10", - "MeasResultList2GERAN-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResultList2GERAN_r10_tags_1, - sizeof(asn_DEF_MeasResultList2GERAN_r10_tags_1) - /sizeof(asn_DEF_MeasResultList2GERAN_r10_tags_1[0]), /* 1 */ - asn_DEF_MeasResultList2GERAN_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResultList2GERAN_r10_tags_1) - /sizeof(asn_DEF_MeasResultList2GERAN_r10_tags_1[0]), /* 1 */ - &asn_PER_type_MeasResultList2GERAN_r10_constr_1, - asn_MBR_MeasResultList2GERAN_r10_1, - 1, /* Single element */ - &asn_SPC_MeasResultList2GERAN_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResultList2UTRA-r9.c b/lte/rrc/lib/asn/src/MeasResultList2UTRA-r9.c deleted file mode 100644 index ed3b354e5..000000000 --- a/lte/rrc/lib/asn/src/MeasResultList2UTRA-r9.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResultList2UTRA-r9.h" - -static asn_per_constraints_t asn_PER_type_MeasResultList2UTRA_r9_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (SIZE(1..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MeasResultList2UTRA_r9_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_MeasResult2UTRA_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasResultList2UTRA_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MeasResultList2UTRA_r9_specs_1 = { - sizeof(struct MeasResultList2UTRA_r9), - offsetof(struct MeasResultList2UTRA_r9, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResultList2UTRA_r9 = { - "MeasResultList2UTRA-r9", - "MeasResultList2UTRA-r9", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResultList2UTRA_r9_tags_1, - sizeof(asn_DEF_MeasResultList2UTRA_r9_tags_1) - /sizeof(asn_DEF_MeasResultList2UTRA_r9_tags_1[0]), /* 1 */ - asn_DEF_MeasResultList2UTRA_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResultList2UTRA_r9_tags_1) - /sizeof(asn_DEF_MeasResultList2UTRA_r9_tags_1[0]), /* 1 */ - &asn_PER_type_MeasResultList2UTRA_r9_constr_1, - asn_MBR_MeasResultList2UTRA_r9_1, - 1, /* Single element */ - &asn_SPC_MeasResultList2UTRA_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResultListCDMA2000.c b/lte/rrc/lib/asn/src/MeasResultListCDMA2000.c deleted file mode 100644 index fc0267248..000000000 --- a/lte/rrc/lib/asn/src/MeasResultListCDMA2000.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResultListCDMA2000.h" - -static asn_per_constraints_t asn_PER_type_MeasResultListCDMA2000_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (SIZE(1..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MeasResultListCDMA2000_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_MeasResultCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasResultListCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MeasResultListCDMA2000_specs_1 = { - sizeof(struct MeasResultListCDMA2000), - offsetof(struct MeasResultListCDMA2000, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResultListCDMA2000 = { - "MeasResultListCDMA2000", - "MeasResultListCDMA2000", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResultListCDMA2000_tags_1, - sizeof(asn_DEF_MeasResultListCDMA2000_tags_1) - /sizeof(asn_DEF_MeasResultListCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_MeasResultListCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResultListCDMA2000_tags_1) - /sizeof(asn_DEF_MeasResultListCDMA2000_tags_1[0]), /* 1 */ - &asn_PER_type_MeasResultListCDMA2000_constr_1, - asn_MBR_MeasResultListCDMA2000_1, - 1, /* Single element */ - &asn_SPC_MeasResultListCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResultListEUTRA.c b/lte/rrc/lib/asn/src/MeasResultListEUTRA.c deleted file mode 100644 index bafac1d81..000000000 --- a/lte/rrc/lib/asn/src/MeasResultListEUTRA.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResultListEUTRA.h" - -static asn_per_constraints_t asn_PER_type_MeasResultListEUTRA_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (SIZE(1..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MeasResultListEUTRA_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_MeasResultEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasResultListEUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MeasResultListEUTRA_specs_1 = { - sizeof(struct MeasResultListEUTRA), - offsetof(struct MeasResultListEUTRA, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResultListEUTRA = { - "MeasResultListEUTRA", - "MeasResultListEUTRA", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResultListEUTRA_tags_1, - sizeof(asn_DEF_MeasResultListEUTRA_tags_1) - /sizeof(asn_DEF_MeasResultListEUTRA_tags_1[0]), /* 1 */ - asn_DEF_MeasResultListEUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResultListEUTRA_tags_1) - /sizeof(asn_DEF_MeasResultListEUTRA_tags_1[0]), /* 1 */ - &asn_PER_type_MeasResultListEUTRA_constr_1, - asn_MBR_MeasResultListEUTRA_1, - 1, /* Single element */ - &asn_SPC_MeasResultListEUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResultListGERAN.c b/lte/rrc/lib/asn/src/MeasResultListGERAN.c deleted file mode 100644 index 6d63a75a4..000000000 --- a/lte/rrc/lib/asn/src/MeasResultListGERAN.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResultListGERAN.h" - -static asn_per_constraints_t asn_PER_type_MeasResultListGERAN_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (SIZE(1..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MeasResultListGERAN_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_MeasResultGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasResultListGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MeasResultListGERAN_specs_1 = { - sizeof(struct MeasResultListGERAN), - offsetof(struct MeasResultListGERAN, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResultListGERAN = { - "MeasResultListGERAN", - "MeasResultListGERAN", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResultListGERAN_tags_1, - sizeof(asn_DEF_MeasResultListGERAN_tags_1) - /sizeof(asn_DEF_MeasResultListGERAN_tags_1[0]), /* 1 */ - asn_DEF_MeasResultListGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResultListGERAN_tags_1) - /sizeof(asn_DEF_MeasResultListGERAN_tags_1[0]), /* 1 */ - &asn_PER_type_MeasResultListGERAN_constr_1, - asn_MBR_MeasResultListGERAN_1, - 1, /* Single element */ - &asn_SPC_MeasResultListGERAN_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResultListUTRA.c b/lte/rrc/lib/asn/src/MeasResultListUTRA.c deleted file mode 100644 index 203185ff9..000000000 --- a/lte/rrc/lib/asn/src/MeasResultListUTRA.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResultListUTRA.h" - -static asn_per_constraints_t asn_PER_type_MeasResultListUTRA_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (SIZE(1..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MeasResultListUTRA_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_MeasResultUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasResultListUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MeasResultListUTRA_specs_1 = { - sizeof(struct MeasResultListUTRA), - offsetof(struct MeasResultListUTRA, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResultListUTRA = { - "MeasResultListUTRA", - "MeasResultListUTRA", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResultListUTRA_tags_1, - sizeof(asn_DEF_MeasResultListUTRA_tags_1) - /sizeof(asn_DEF_MeasResultListUTRA_tags_1[0]), /* 1 */ - asn_DEF_MeasResultListUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResultListUTRA_tags_1) - /sizeof(asn_DEF_MeasResultListUTRA_tags_1[0]), /* 1 */ - &asn_PER_type_MeasResultListUTRA_constr_1, - asn_MBR_MeasResultListUTRA_1, - 1, /* Single element */ - &asn_SPC_MeasResultListUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResultServFreq-r10.c b/lte/rrc/lib/asn/src/MeasResultServFreq-r10.c deleted file mode 100644 index 94889bafd..000000000 --- a/lte/rrc/lib/asn/src/MeasResultServFreq-r10.c +++ /dev/null @@ -1,218 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResultServFreq-r10.h" - -static asn_TYPE_member_t asn_MBR_measResultSCell_r10_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResultServFreq_r10__measResultSCell_r10, rsrpResultSCell_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RSRP_Range, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rsrpResultSCell-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResultServFreq_r10__measResultSCell_r10, rsrqResultSCell_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RSRQ_Range, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rsrqResultSCell-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_measResultSCell_r10_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_measResultSCell_r10_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rsrpResultSCell-r10 at 3387 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* rsrqResultSCell-r10 at 3389 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_measResultSCell_r10_specs_3 = { - sizeof(struct MeasResultServFreq_r10__measResultSCell_r10), - offsetof(struct MeasResultServFreq_r10__measResultSCell_r10, _asn_ctx), - asn_MAP_measResultSCell_r10_tag2el_3, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_measResultSCell_r10_3 = { - "measResultSCell-r10", - "measResultSCell-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_measResultSCell_r10_tags_3, - sizeof(asn_DEF_measResultSCell_r10_tags_3) - /sizeof(asn_DEF_measResultSCell_r10_tags_3[0]) - 1, /* 1 */ - asn_DEF_measResultSCell_r10_tags_3, /* Same as above */ - sizeof(asn_DEF_measResultSCell_r10_tags_3) - /sizeof(asn_DEF_measResultSCell_r10_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_measResultSCell_r10_3, - 2, /* Elements count */ - &asn_SPC_measResultSCell_r10_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_measResultBestNeighCell_r10_6[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResultServFreq_r10__measResultBestNeighCell_r10, physCellId_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResultServFreq_r10__measResultBestNeighCell_r10, rsrpResultNCell_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RSRP_Range, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rsrpResultNCell-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResultServFreq_r10__measResultBestNeighCell_r10, rsrqResultNCell_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RSRQ_Range, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rsrqResultNCell-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_measResultBestNeighCell_r10_tags_6[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_measResultBestNeighCell_r10_tag2el_6[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* physCellId-r10 at 3391 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rsrpResultNCell-r10 at 3392 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* rsrqResultNCell-r10 at 3394 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_measResultBestNeighCell_r10_specs_6 = { - sizeof(struct MeasResultServFreq_r10__measResultBestNeighCell_r10), - offsetof(struct MeasResultServFreq_r10__measResultBestNeighCell_r10, _asn_ctx), - asn_MAP_measResultBestNeighCell_r10_tag2el_6, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_measResultBestNeighCell_r10_6 = { - "measResultBestNeighCell-r10", - "measResultBestNeighCell-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_measResultBestNeighCell_r10_tags_6, - sizeof(asn_DEF_measResultBestNeighCell_r10_tags_6) - /sizeof(asn_DEF_measResultBestNeighCell_r10_tags_6[0]) - 1, /* 1 */ - asn_DEF_measResultBestNeighCell_r10_tags_6, /* Same as above */ - sizeof(asn_DEF_measResultBestNeighCell_r10_tags_6) - /sizeof(asn_DEF_measResultBestNeighCell_r10_tags_6[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_measResultBestNeighCell_r10_6, - 3, /* Elements count */ - &asn_SPC_measResultBestNeighCell_r10_specs_6 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MeasResultServFreq_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResultServFreq_r10, servFreqId_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ServCellIndex_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "servFreqId-r10" - }, - { ATF_POINTER, 2, offsetof(struct MeasResultServFreq_r10, measResultSCell_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_measResultSCell_r10_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultSCell-r10" - }, - { ATF_POINTER, 1, offsetof(struct MeasResultServFreq_r10, measResultBestNeighCell_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_measResultBestNeighCell_r10_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultBestNeighCell-r10" - }, -}; -static int asn_MAP_MeasResultServFreq_r10_oms_1[] = { 1, 2 }; -static ber_tlv_tag_t asn_DEF_MeasResultServFreq_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasResultServFreq_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* servFreqId-r10 at 3385 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measResultSCell-r10 at 3387 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* measResultBestNeighCell-r10 at 3391 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasResultServFreq_r10_specs_1 = { - sizeof(struct MeasResultServFreq_r10), - offsetof(struct MeasResultServFreq_r10, _asn_ctx), - asn_MAP_MeasResultServFreq_r10_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_MeasResultServFreq_r10_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - 2, /* Start extensions */ - 4 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResultServFreq_r10 = { - "MeasResultServFreq-r10", - "MeasResultServFreq-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResultServFreq_r10_tags_1, - sizeof(asn_DEF_MeasResultServFreq_r10_tags_1) - /sizeof(asn_DEF_MeasResultServFreq_r10_tags_1[0]), /* 1 */ - asn_DEF_MeasResultServFreq_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResultServFreq_r10_tags_1) - /sizeof(asn_DEF_MeasResultServFreq_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasResultServFreq_r10_1, - 3, /* Elements count */ - &asn_SPC_MeasResultServFreq_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResultServFreqList-r10.c b/lte/rrc/lib/asn/src/MeasResultServFreqList-r10.c deleted file mode 100644 index 88a898cd4..000000000 --- a/lte/rrc/lib/asn/src/MeasResultServFreqList-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResultServFreqList-r10.h" - -static asn_per_constraints_t asn_PER_type_MeasResultServFreqList_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 3, 3, 1, 5 } /* (SIZE(1..5)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MeasResultServFreqList_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_MeasResultServFreq_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasResultServFreqList_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MeasResultServFreqList_r10_specs_1 = { - sizeof(struct MeasResultServFreqList_r10), - offsetof(struct MeasResultServFreqList_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResultServFreqList_r10 = { - "MeasResultServFreqList-r10", - "MeasResultServFreqList-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResultServFreqList_r10_tags_1, - sizeof(asn_DEF_MeasResultServFreqList_r10_tags_1) - /sizeof(asn_DEF_MeasResultServFreqList_r10_tags_1[0]), /* 1 */ - asn_DEF_MeasResultServFreqList_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResultServFreqList_r10_tags_1) - /sizeof(asn_DEF_MeasResultServFreqList_r10_tags_1[0]), /* 1 */ - &asn_PER_type_MeasResultServFreqList_r10_constr_1, - asn_MBR_MeasResultServFreqList_r10_1, - 1, /* Single element */ - &asn_SPC_MeasResultServFreqList_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResultUTRA.c b/lte/rrc/lib/asn/src/MeasResultUTRA.c deleted file mode 100644 index 15356e88a..000000000 --- a/lte/rrc/lib/asn/src/MeasResultUTRA.c +++ /dev/null @@ -1,437 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResultUTRA.h" - -static int -memb_locationAreaCode_constraint_5(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_routingAreaCode_constraint_5(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 8)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_utra_RSCP_constraint_10(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -5 && value <= 91)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_utra_EcN0_constraint_10(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 49)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_physCellId_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_locationAreaCode_constr_7 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_routingAreaCode_constr_8 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 8, 8 } /* (SIZE(8..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_utra_RSCP_constr_11 = { - { APC_CONSTRAINED, 7, 7, -5, 91 } /* (-5..91) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_utra_EcN0_constr_12 = { - { APC_CONSTRAINED, 6, 6, 0, 49 } /* (0..49) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_physCellId_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResultUTRA__physCellId, choice.fdd), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdUTRA_FDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "fdd" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResultUTRA__physCellId, choice.tdd), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdUTRA_TDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "tdd" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_physCellId_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* fdd at 3402 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* tdd at 3404 */ -}; -static asn_CHOICE_specifics_t asn_SPC_physCellId_specs_2 = { - sizeof(struct MeasResultUTRA__physCellId), - offsetof(struct MeasResultUTRA__physCellId, _asn_ctx), - offsetof(struct MeasResultUTRA__physCellId, present), - sizeof(((struct MeasResultUTRA__physCellId *)0)->present), - asn_MAP_physCellId_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_physCellId_2 = { - "physCellId", - "physCellId", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_physCellId_constr_2, - asn_MBR_physCellId_2, - 2, /* Elements count */ - &asn_SPC_physCellId_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_cgi_Info_5[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResultUTRA__cgi_Info, cellGlobalId), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellGlobalIdUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellGlobalId" - }, - { ATF_POINTER, 3, offsetof(struct MeasResultUTRA__cgi_Info, locationAreaCode), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_locationAreaCode_constraint_5, - &asn_PER_memb_locationAreaCode_constr_7, - 0, - "locationAreaCode" - }, - { ATF_POINTER, 2, offsetof(struct MeasResultUTRA__cgi_Info, routingAreaCode), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_routingAreaCode_constraint_5, - &asn_PER_memb_routingAreaCode_constr_8, - 0, - "routingAreaCode" - }, - { ATF_POINTER, 1, offsetof(struct MeasResultUTRA__cgi_Info, plmn_IdentityList), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PLMN_IdentityList2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "plmn-IdentityList" - }, -}; -static int asn_MAP_cgi_Info_oms_5[] = { 1, 2, 3 }; -static ber_tlv_tag_t asn_DEF_cgi_Info_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_cgi_Info_tag2el_5[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellGlobalId at 3406 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* locationAreaCode at 3407 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* routingAreaCode at 3408 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* plmn-IdentityList at 3409 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_cgi_Info_specs_5 = { - sizeof(struct MeasResultUTRA__cgi_Info), - offsetof(struct MeasResultUTRA__cgi_Info, _asn_ctx), - asn_MAP_cgi_Info_tag2el_5, - 4, /* Count of tags in the map */ - asn_MAP_cgi_Info_oms_5, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cgi_Info_5 = { - "cgi-Info", - "cgi-Info", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_cgi_Info_tags_5, - sizeof(asn_DEF_cgi_Info_tags_5) - /sizeof(asn_DEF_cgi_Info_tags_5[0]) - 1, /* 1 */ - asn_DEF_cgi_Info_tags_5, /* Same as above */ - sizeof(asn_DEF_cgi_Info_tags_5) - /sizeof(asn_DEF_cgi_Info_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_cgi_Info_5, - 4, /* Elements count */ - &asn_SPC_cgi_Info_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_measResult_10[] = { - { ATF_POINTER, 3, offsetof(struct MeasResultUTRA__measResult, utra_RSCP), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_utra_RSCP_constraint_10, - &asn_PER_memb_utra_RSCP_constr_11, - 0, - "utra-RSCP" - }, - { ATF_POINTER, 2, offsetof(struct MeasResultUTRA__measResult, utra_EcN0), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_utra_EcN0_constraint_10, - &asn_PER_memb_utra_EcN0_constr_12, - 0, - "utra-EcN0" - }, - { ATF_POINTER, 1, offsetof(struct MeasResultUTRA__measResult, additionalSI_Info_r9), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AdditionalSI_Info_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "additionalSI-Info-r9" - }, -}; -static int asn_MAP_measResult_oms_10[] = { 0, 1, 2 }; -static ber_tlv_tag_t asn_DEF_measResult_tags_10[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_measResult_tag2el_10[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* utra-RSCP at 3412 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* utra-EcN0 at 3413 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* additionalSI-Info-r9 at 3414 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_measResult_specs_10 = { - sizeof(struct MeasResultUTRA__measResult), - offsetof(struct MeasResultUTRA__measResult, _asn_ctx), - asn_MAP_measResult_tag2el_10, - 3, /* Count of tags in the map */ - asn_MAP_measResult_oms_10, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_measResult_10 = { - "measResult", - "measResult", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_measResult_tags_10, - sizeof(asn_DEF_measResult_tags_10) - /sizeof(asn_DEF_measResult_tags_10[0]) - 1, /* 1 */ - asn_DEF_measResult_tags_10, /* Same as above */ - sizeof(asn_DEF_measResult_tags_10) - /sizeof(asn_DEF_measResult_tags_10[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_measResult_10, - 3, /* Elements count */ - &asn_SPC_measResult_specs_10 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MeasResultUTRA_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResultUTRA, physCellId), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_physCellId_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId" - }, - { ATF_POINTER, 1, offsetof(struct MeasResultUTRA, cgi_Info), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_cgi_Info_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cgi-Info" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResultUTRA, measResult), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_measResult_10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResult" - }, -}; -static int asn_MAP_MeasResultUTRA_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_MeasResultUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasResultUTRA_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* physCellId at 3402 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cgi-Info at 3406 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* measResult at 3412 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasResultUTRA_specs_1 = { - sizeof(struct MeasResultUTRA), - offsetof(struct MeasResultUTRA, _asn_ctx), - asn_MAP_MeasResultUTRA_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_MeasResultUTRA_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResultUTRA = { - "MeasResultUTRA", - "MeasResultUTRA", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResultUTRA_tags_1, - sizeof(asn_DEF_MeasResultUTRA_tags_1) - /sizeof(asn_DEF_MeasResultUTRA_tags_1[0]), /* 1 */ - asn_DEF_MeasResultUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResultUTRA_tags_1) - /sizeof(asn_DEF_MeasResultUTRA_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasResultUTRA_1, - 3, /* Elements count */ - &asn_SPC_MeasResultUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResults.c b/lte/rrc/lib/asn/src/MeasResults.c deleted file mode 100644 index 10fe353db..000000000 --- a/lte/rrc/lib/asn/src/MeasResults.c +++ /dev/null @@ -1,258 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResults.h" - -static asn_per_constraints_t asn_PER_type_measResultNeighCells_constr_6 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 3 } /* (0..3,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_measResultPCell_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResults__measResultPCell, rsrpResult), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RSRP_Range, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rsrpResult" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResults__measResultPCell, rsrqResult), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RSRQ_Range, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rsrqResult" - }, -}; -static ber_tlv_tag_t asn_DEF_measResultPCell_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_measResultPCell_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rsrpResult at 3351 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* rsrqResult at 3353 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_measResultPCell_specs_3 = { - sizeof(struct MeasResults__measResultPCell), - offsetof(struct MeasResults__measResultPCell, _asn_ctx), - asn_MAP_measResultPCell_tag2el_3, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_measResultPCell_3 = { - "measResultPCell", - "measResultPCell", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_measResultPCell_tags_3, - sizeof(asn_DEF_measResultPCell_tags_3) - /sizeof(asn_DEF_measResultPCell_tags_3[0]) - 1, /* 1 */ - asn_DEF_measResultPCell_tags_3, /* Same as above */ - sizeof(asn_DEF_measResultPCell_tags_3) - /sizeof(asn_DEF_measResultPCell_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_measResultPCell_3, - 2, /* Elements count */ - &asn_SPC_measResultPCell_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_measResultNeighCells_6[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResults__measResultNeighCells, choice.measResultListEUTRA), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResultListEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultListEUTRA" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResults__measResultNeighCells, choice.measResultListUTRA), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResultListUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultListUTRA" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResults__measResultNeighCells, choice.measResultListGERAN), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResultListGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultListGERAN" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResults__measResultNeighCells, choice.measResultsCDMA2000), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResultsCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultsCDMA2000" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_measResultNeighCells_tag2el_6[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measResultListEUTRA at 3355 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measResultListUTRA at 3356 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* measResultListGERAN at 3357 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* measResultsCDMA2000 at 3358 */ -}; -static asn_CHOICE_specifics_t asn_SPC_measResultNeighCells_specs_6 = { - sizeof(struct MeasResults__measResultNeighCells), - offsetof(struct MeasResults__measResultNeighCells, _asn_ctx), - offsetof(struct MeasResults__measResultNeighCells, present), - sizeof(((struct MeasResults__measResultNeighCells *)0)->present), - asn_MAP_measResultNeighCells_tag2el_6, - 4, /* Count of tags in the map */ - 0, - 4 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_measResultNeighCells_6 = { - "measResultNeighCells", - "measResultNeighCells", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_measResultNeighCells_constr_6, - asn_MBR_measResultNeighCells_6, - 4, /* Elements count */ - &asn_SPC_measResultNeighCells_specs_6 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MeasResults_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResults, measId), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measId" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResults, measResultPCell), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_measResultPCell_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultPCell" - }, - { ATF_POINTER, 4, offsetof(struct MeasResults, measResultNeighCells), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_measResultNeighCells_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultNeighCells" - }, - { ATF_POINTER, 3, offsetof(struct MeasResults, measResultForECID_r9), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResultForECID_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultForECID-r9" - }, - { ATF_POINTER, 2, offsetof(struct MeasResults, locationInfo_r10), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_LocationInfo_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "locationInfo-r10" - }, - { ATF_POINTER, 1, offsetof(struct MeasResults, measResultServFreqList_r10), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResultServFreqList_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultServFreqList-r10" - }, -}; -static int asn_MAP_MeasResults_oms_1[] = { 2, 3, 4, 5 }; -static ber_tlv_tag_t asn_DEF_MeasResults_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasResults_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measId at 3349 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measResultPCell at 3351 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* measResultNeighCells at 3355 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* measResultForECID-r9 at 3361 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* locationInfo-r10 at 3362 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* measResultServFreqList-r10 at 3363 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasResults_specs_1 = { - sizeof(struct MeasResults), - offsetof(struct MeasResults, _asn_ctx), - asn_MAP_MeasResults_tag2el_1, - 6, /* Count of tags in the map */ - asn_MAP_MeasResults_oms_1, /* Optional members */ - 4, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResults = { - "MeasResults", - "MeasResults", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResults_tags_1, - sizeof(asn_DEF_MeasResults_tags_1) - /sizeof(asn_DEF_MeasResults_tags_1[0]), /* 1 */ - asn_DEF_MeasResults_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResults_tags_1) - /sizeof(asn_DEF_MeasResults_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasResults_1, - 6, /* Elements count */ - &asn_SPC_MeasResults_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasResultsCDMA2000.c b/lte/rrc/lib/asn/src/MeasResultsCDMA2000.c deleted file mode 100644 index fc0fa325b..000000000 --- a/lte/rrc/lib/asn/src/MeasResultsCDMA2000.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasResultsCDMA2000.h" - -static asn_TYPE_member_t asn_MBR_MeasResultsCDMA2000_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasResultsCDMA2000, preRegistrationStatusHRPD), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "preRegistrationStatusHRPD" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasResultsCDMA2000, measResultListCDMA2000), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResultListCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultListCDMA2000" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasResultsCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasResultsCDMA2000_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* preRegistrationStatusHRPD at 3434 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* measResultListCDMA2000 at 3436 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasResultsCDMA2000_specs_1 = { - sizeof(struct MeasResultsCDMA2000), - offsetof(struct MeasResultsCDMA2000, _asn_ctx), - asn_MAP_MeasResultsCDMA2000_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasResultsCDMA2000 = { - "MeasResultsCDMA2000", - "MeasResultsCDMA2000", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasResultsCDMA2000_tags_1, - sizeof(asn_DEF_MeasResultsCDMA2000_tags_1) - /sizeof(asn_DEF_MeasResultsCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_MeasResultsCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasResultsCDMA2000_tags_1) - /sizeof(asn_DEF_MeasResultsCDMA2000_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasResultsCDMA2000_1, - 2, /* Elements count */ - &asn_SPC_MeasResultsCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasSubframeCellList-r10.c b/lte/rrc/lib/asn/src/MeasSubframeCellList-r10.c deleted file mode 100644 index 575f4e4e3..000000000 --- a/lte/rrc/lib/asn/src/MeasSubframeCellList-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasSubframeCellList-r10.h" - -static asn_per_constraints_t asn_PER_type_MeasSubframeCellList_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MeasSubframeCellList_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_PhysCellIdRange, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasSubframeCellList_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_MeasSubframeCellList_r10_specs_1 = { - sizeof(struct MeasSubframeCellList_r10), - offsetof(struct MeasSubframeCellList_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasSubframeCellList_r10 = { - "MeasSubframeCellList-r10", - "MeasSubframeCellList-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasSubframeCellList_r10_tags_1, - sizeof(asn_DEF_MeasSubframeCellList_r10_tags_1) - /sizeof(asn_DEF_MeasSubframeCellList_r10_tags_1[0]), /* 1 */ - asn_DEF_MeasSubframeCellList_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasSubframeCellList_r10_tags_1) - /sizeof(asn_DEF_MeasSubframeCellList_r10_tags_1[0]), /* 1 */ - &asn_PER_type_MeasSubframeCellList_r10_constr_1, - asn_MBR_MeasSubframeCellList_r10_1, - 1, /* Single element */ - &asn_SPC_MeasSubframeCellList_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasSubframePattern-r10.c b/lte/rrc/lib/asn/src/MeasSubframePattern-r10.c deleted file mode 100644 index 327edf20d..000000000 --- a/lte/rrc/lib/asn/src/MeasSubframePattern-r10.c +++ /dev/null @@ -1,288 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasSubframePattern-r10.h" - -static int -memb_subframeConfig1_5_r10_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 20)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_subframeConfig0_r10_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 70)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_subframeConfig6_r10_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 60)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_subframePatternFDD_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 40)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_subframeConfig1_5_r10_constr_4 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 20, 20 } /* (SIZE(20..20)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_subframeConfig0_r10_constr_5 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 70, 70 } /* (SIZE(70..70)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_subframeConfig6_r10_constr_6 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 60, 60 } /* (SIZE(60..60)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_subframePatternTDD_r10_constr_3 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 2 } /* (0..2,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_subframePatternFDD_r10_constr_2 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 40, 40 } /* (SIZE(40..40)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_MeasSubframePattern_r10_constr_1 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_subframePatternTDD_r10_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasSubframePattern_r10__subframePatternTDD_r10, choice.subframeConfig1_5_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_subframeConfig1_5_r10_constraint_3, - &asn_PER_memb_subframeConfig1_5_r10_constr_4, - 0, - "subframeConfig1-5-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasSubframePattern_r10__subframePatternTDD_r10, choice.subframeConfig0_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_subframeConfig0_r10_constraint_3, - &asn_PER_memb_subframeConfig0_r10_constr_5, - 0, - "subframeConfig0-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasSubframePattern_r10__subframePatternTDD_r10, choice.subframeConfig6_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_subframeConfig6_r10_constraint_3, - &asn_PER_memb_subframeConfig6_r10_constr_6, - 0, - "subframeConfig6-r10" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_subframePatternTDD_r10_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* subframeConfig1-5-r10 at 3668 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* subframeConfig0-r10 at 3669 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* subframeConfig6-r10 at 3670 */ -}; -static asn_CHOICE_specifics_t asn_SPC_subframePatternTDD_r10_specs_3 = { - sizeof(struct MeasSubframePattern_r10__subframePatternTDD_r10), - offsetof(struct MeasSubframePattern_r10__subframePatternTDD_r10, _asn_ctx), - offsetof(struct MeasSubframePattern_r10__subframePatternTDD_r10, present), - sizeof(((struct MeasSubframePattern_r10__subframePatternTDD_r10 *)0)->present), - asn_MAP_subframePatternTDD_r10_tag2el_3, - 3, /* Count of tags in the map */ - 0, - 3 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_subframePatternTDD_r10_3 = { - "subframePatternTDD-r10", - "subframePatternTDD-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_subframePatternTDD_r10_constr_3, - asn_MBR_subframePatternTDD_r10_3, - 3, /* Elements count */ - &asn_SPC_subframePatternTDD_r10_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MeasSubframePattern_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasSubframePattern_r10, choice.subframePatternFDD_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_subframePatternFDD_r10_constraint_1, - &asn_PER_memb_subframePatternFDD_r10_constr_2, - 0, - "subframePatternFDD-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasSubframePattern_r10, choice.subframePatternTDD_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_subframePatternTDD_r10_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "subframePatternTDD-r10" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_MeasSubframePattern_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* subframePatternFDD-r10 at 3666 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* subframePatternTDD-r10 at 3668 */ -}; -static asn_CHOICE_specifics_t asn_SPC_MeasSubframePattern_r10_specs_1 = { - sizeof(struct MeasSubframePattern_r10), - offsetof(struct MeasSubframePattern_r10, _asn_ctx), - offsetof(struct MeasSubframePattern_r10, present), - sizeof(((struct MeasSubframePattern_r10 *)0)->present), - asn_MAP_MeasSubframePattern_r10_tag2el_1, - 2, /* Count of tags in the map */ - 0, - 2 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasSubframePattern_r10 = { - "MeasSubframePattern-r10", - "MeasSubframePattern-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_MeasSubframePattern_r10_constr_1, - asn_MBR_MeasSubframePattern_r10_1, - 2, /* Elements count */ - &asn_SPC_MeasSubframePattern_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasSubframePatternConfigNeigh-r10.c b/lte/rrc/lib/asn/src/MeasSubframePatternConfigNeigh-r10.c deleted file mode 100644 index d6bedaf7d..000000000 --- a/lte/rrc/lib/asn/src/MeasSubframePatternConfigNeigh-r10.c +++ /dev/null @@ -1,136 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasSubframePatternConfigNeigh-r10.h" - -static asn_per_constraints_t asn_PER_type_MeasSubframePatternConfigNeigh_r10_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_setup_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasSubframePatternConfigNeigh_r10__setup, measSubframePatternNeigh_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_MeasSubframePattern_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measSubframePatternNeigh-r10" - }, - { ATF_POINTER, 1, offsetof(struct MeasSubframePatternConfigNeigh_r10__setup, measSubframeCellList_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasSubframeCellList_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measSubframeCellList-r10" - }, -}; -static int asn_MAP_setup_oms_3[] = { 1 }; -static ber_tlv_tag_t asn_DEF_setup_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measSubframePatternNeigh-r10 at 3281 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* measSubframeCellList-r10 at 3282 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_3 = { - sizeof(struct MeasSubframePatternConfigNeigh_r10__setup), - offsetof(struct MeasSubframePatternConfigNeigh_r10__setup, _asn_ctx), - asn_MAP_setup_tag2el_3, - 2, /* Count of tags in the map */ - asn_MAP_setup_oms_3, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_3 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_3, - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]) - 1, /* 1 */ - asn_DEF_setup_tags_3, /* Same as above */ - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_3, - 2, /* Elements count */ - &asn_SPC_setup_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MeasSubframePatternConfigNeigh_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasSubframePatternConfigNeigh_r10, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasSubframePatternConfigNeigh_r10, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_MeasSubframePatternConfigNeigh_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 3279 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 3281 */ -}; -static asn_CHOICE_specifics_t asn_SPC_MeasSubframePatternConfigNeigh_r10_specs_1 = { - sizeof(struct MeasSubframePatternConfigNeigh_r10), - offsetof(struct MeasSubframePatternConfigNeigh_r10, _asn_ctx), - offsetof(struct MeasSubframePatternConfigNeigh_r10, present), - sizeof(((struct MeasSubframePatternConfigNeigh_r10 *)0)->present), - asn_MAP_MeasSubframePatternConfigNeigh_r10_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasSubframePatternConfigNeigh_r10 = { - "MeasSubframePatternConfigNeigh-r10", - "MeasSubframePatternConfigNeigh-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_MeasSubframePatternConfigNeigh_r10_constr_1, - asn_MBR_MeasSubframePatternConfigNeigh_r10_1, - 2, /* Elements count */ - &asn_SPC_MeasSubframePatternConfigNeigh_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasSubframePatternPCell-r10.c b/lte/rrc/lib/asn/src/MeasSubframePatternPCell-r10.c deleted file mode 100644 index 7b66e13c8..000000000 --- a/lte/rrc/lib/asn/src/MeasSubframePatternPCell-r10.c +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasSubframePatternPCell-r10.h" - -static asn_per_constraints_t asn_PER_type_MeasSubframePatternPCell_r10_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_MeasSubframePatternPCell_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasSubframePatternPCell_r10, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasSubframePatternPCell_r10, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_MeasSubframePattern_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_MeasSubframePatternPCell_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 2506 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 2508 */ -}; -static asn_CHOICE_specifics_t asn_SPC_MeasSubframePatternPCell_r10_specs_1 = { - sizeof(struct MeasSubframePatternPCell_r10), - offsetof(struct MeasSubframePatternPCell_r10, _asn_ctx), - offsetof(struct MeasSubframePatternPCell_r10, present), - sizeof(((struct MeasSubframePatternPCell_r10 *)0)->present), - asn_MAP_MeasSubframePatternPCell_r10_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasSubframePatternPCell_r10 = { - "MeasSubframePatternPCell-r10", - "MeasSubframePatternPCell-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_MeasSubframePatternPCell_r10_constr_1, - asn_MBR_MeasSubframePatternPCell_r10_1, - 2, /* Elements count */ - &asn_SPC_MeasSubframePatternPCell_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasurementReport-r8-IEs.c b/lte/rrc/lib/asn/src/MeasurementReport-r8-IEs.c deleted file mode 100644 index 799f44061..000000000 --- a/lte/rrc/lib/asn/src/MeasurementReport-r8-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasurementReport-r8-IEs.h" - -static asn_TYPE_member_t asn_MBR_MeasurementReport_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasurementReport_r8_IEs, measResults), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResults, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResults" - }, - { ATF_POINTER, 1, offsetof(struct MeasurementReport_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasurementReport_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_MeasurementReport_r8_IEs_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_MeasurementReport_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasurementReport_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measResults at 423 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 424 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasurementReport_r8_IEs_specs_1 = { - sizeof(struct MeasurementReport_r8_IEs), - offsetof(struct MeasurementReport_r8_IEs, _asn_ctx), - asn_MAP_MeasurementReport_r8_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_MeasurementReport_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasurementReport_r8_IEs = { - "MeasurementReport-r8-IEs", - "MeasurementReport-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasurementReport_r8_IEs_tags_1, - sizeof(asn_DEF_MeasurementReport_r8_IEs_tags_1) - /sizeof(asn_DEF_MeasurementReport_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_MeasurementReport_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasurementReport_r8_IEs_tags_1) - /sizeof(asn_DEF_MeasurementReport_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasurementReport_r8_IEs_1, - 2, /* Elements count */ - &asn_SPC_MeasurementReport_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasurementReport-v8a0-IEs.c b/lte/rrc/lib/asn/src/MeasurementReport-v8a0-IEs.c deleted file mode 100644 index eb964c152..000000000 --- a/lte/rrc/lib/asn/src/MeasurementReport-v8a0-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasurementReport-v8a0-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct MeasurementReport_v8a0_IEs__nonCriticalExtension), - offsetof(struct MeasurementReport_v8a0_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MeasurementReport_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct MeasurementReport_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct MeasurementReport_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_MeasurementReport_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_MeasurementReport_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasurementReport_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 428 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 429 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasurementReport_v8a0_IEs_specs_1 = { - sizeof(struct MeasurementReport_v8a0_IEs), - offsetof(struct MeasurementReport_v8a0_IEs, _asn_ctx), - asn_MAP_MeasurementReport_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_MeasurementReport_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasurementReport_v8a0_IEs = { - "MeasurementReport-v8a0-IEs", - "MeasurementReport-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasurementReport_v8a0_IEs_tags_1, - sizeof(asn_DEF_MeasurementReport_v8a0_IEs_tags_1) - /sizeof(asn_DEF_MeasurementReport_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_MeasurementReport_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasurementReport_v8a0_IEs_tags_1) - /sizeof(asn_DEF_MeasurementReport_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasurementReport_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_MeasurementReport_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MeasurementReport.c b/lte/rrc/lib/asn/src/MeasurementReport.c deleted file mode 100644 index 50ede272d..000000000 --- a/lte/rrc/lib/asn/src/MeasurementReport.c +++ /dev/null @@ -1,284 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MeasurementReport.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_3 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasurementReport__criticalExtensions__c1, choice.measurementReport_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasurementReport_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measurementReport-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasurementReport__criticalExtensions__c1, choice.spare7), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare7" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasurementReport__criticalExtensions__c1, choice.spare6), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare6" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasurementReport__criticalExtensions__c1, choice.spare5), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare5" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasurementReport__criticalExtensions__c1, choice.spare4), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare4" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasurementReport__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasurementReport__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasurementReport__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measurementReport-r8 at 413 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare7 at 414 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare6 at 415 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* spare5 at 415 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* spare4 at 415 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* spare3 at 416 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* spare2 at 416 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* spare1 at 416 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_3 = { - sizeof(struct MeasurementReport__criticalExtensions__c1), - offsetof(struct MeasurementReport__criticalExtensions__c1, _asn_ctx), - offsetof(struct MeasurementReport__criticalExtensions__c1, present), - sizeof(((struct MeasurementReport__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_3, - 8, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_3 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_3, - asn_MBR_c1_3, - 8, /* Elements count */ - &asn_SPC_c1_specs_3 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_12[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_12 = { - sizeof(struct MeasurementReport__criticalExtensions__criticalExtensionsFuture), - offsetof(struct MeasurementReport__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_12 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_12, - sizeof(asn_DEF_criticalExtensionsFuture_tags_12) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_12[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_12, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_12) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_12[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_12 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasurementReport__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct MeasurementReport__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_12, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 413 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 418 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = { - sizeof(struct MeasurementReport__criticalExtensions), - offsetof(struct MeasurementReport__criticalExtensions, _asn_ctx), - offsetof(struct MeasurementReport__criticalExtensions, present), - sizeof(((struct MeasurementReport__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_2, - asn_MBR_criticalExtensions_2, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MeasurementReport_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MeasurementReport, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_MeasurementReport_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MeasurementReport_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions at 417 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MeasurementReport_specs_1 = { - sizeof(struct MeasurementReport), - offsetof(struct MeasurementReport, _asn_ctx), - asn_MAP_MeasurementReport_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MeasurementReport = { - "MeasurementReport", - "MeasurementReport", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MeasurementReport_tags_1, - sizeof(asn_DEF_MeasurementReport_tags_1) - /sizeof(asn_DEF_MeasurementReport_tags_1[0]), /* 1 */ - asn_DEF_MeasurementReport_tags_1, /* Same as above */ - sizeof(asn_DEF_MeasurementReport_tags_1) - /sizeof(asn_DEF_MeasurementReport_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MeasurementReport_1, - 1, /* Elements count */ - &asn_SPC_MeasurementReport_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MobilityControlInfo.c b/lte/rrc/lib/asn/src/MobilityControlInfo.c deleted file mode 100644 index fea38758f..000000000 --- a/lte/rrc/lib/asn/src/MobilityControlInfo.c +++ /dev/null @@ -1,283 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MobilityControlInfo.h" - -static int -t304_6_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -t304_6_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -t304_6_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - t304_6_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -t304_6_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - t304_6_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -t304_6_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - t304_6_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -t304_6_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - t304_6_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -t304_6_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - t304_6_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -t304_6_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - t304_6_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -t304_6_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - t304_6_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -t304_6_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - t304_6_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_t304_constr_6 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_t304_value2enum_6[] = { - { 0, 4, "ms50" }, - { 1, 5, "ms100" }, - { 2, 5, "ms150" }, - { 3, 5, "ms200" }, - { 4, 5, "ms500" }, - { 5, 6, "ms1000" }, - { 6, 6, "ms2000" }, - { 7, 6, "spare1" } -}; -static unsigned int asn_MAP_t304_enum2value_6[] = { - 1, /* ms100(1) */ - 5, /* ms1000(5) */ - 2, /* ms150(2) */ - 3, /* ms200(3) */ - 6, /* ms2000(6) */ - 0, /* ms50(0) */ - 4, /* ms500(4) */ - 7 /* spare1(7) */ -}; -static asn_INTEGER_specifics_t asn_SPC_t304_specs_6 = { - asn_MAP_t304_value2enum_6, /* "tag" => N; sorted by tag */ - asn_MAP_t304_enum2value_6, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_t304_tags_6[] = { - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_t304_6 = { - "t304", - "t304", - t304_6_free, - t304_6_print, - t304_6_constraint, - t304_6_decode_ber, - t304_6_encode_der, - t304_6_decode_xer, - t304_6_encode_xer, - t304_6_decode_uper, - t304_6_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_t304_tags_6, - sizeof(asn_DEF_t304_tags_6) - /sizeof(asn_DEF_t304_tags_6[0]) - 1, /* 1 */ - asn_DEF_t304_tags_6, /* Same as above */ - sizeof(asn_DEF_t304_tags_6) - /sizeof(asn_DEF_t304_tags_6[0]), /* 2 */ - &asn_PER_type_t304_constr_6, - 0, 0, /* Defined elsewhere */ - &asn_SPC_t304_specs_6 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MobilityControlInfo_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MobilityControlInfo, targetPhysCellId), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "targetPhysCellId" - }, - { ATF_POINTER, 3, offsetof(struct MobilityControlInfo, carrierFreq), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq" - }, - { ATF_POINTER, 2, offsetof(struct MobilityControlInfo, carrierBandwidth), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierBandwidthEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierBandwidth" - }, - { ATF_POINTER, 1, offsetof(struct MobilityControlInfo, additionalSpectrumEmission), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AdditionalSpectrumEmission, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "additionalSpectrumEmission" - }, - { ATF_NOFLAGS, 0, offsetof(struct MobilityControlInfo, t304), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_t304_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t304" - }, - { ATF_NOFLAGS, 0, offsetof(struct MobilityControlInfo, newUE_Identity), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_C_RNTI, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "newUE-Identity" - }, - { ATF_NOFLAGS, 0, offsetof(struct MobilityControlInfo, radioResourceConfigCommon), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RadioResourceConfigCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "radioResourceConfigCommon" - }, - { ATF_POINTER, 1, offsetof(struct MobilityControlInfo, rach_ConfigDedicated), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RACH_ConfigDedicated, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rach-ConfigDedicated" - }, -}; -static int asn_MAP_MobilityControlInfo_oms_1[] = { 1, 2, 3, 7 }; -static ber_tlv_tag_t asn_DEF_MobilityControlInfo_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MobilityControlInfo_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* targetPhysCellId at 2993 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* carrierFreq at 2994 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* carrierBandwidth at 2995 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* additionalSpectrumEmission at 2996 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* t304 at 2998 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* newUE-Identity at 3000 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* radioResourceConfigCommon at 3001 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* rach-ConfigDedicated at 3002 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MobilityControlInfo_specs_1 = { - sizeof(struct MobilityControlInfo), - offsetof(struct MobilityControlInfo, _asn_ctx), - asn_MAP_MobilityControlInfo_tag2el_1, - 8, /* Count of tags in the map */ - asn_MAP_MobilityControlInfo_oms_1, /* Optional members */ - 4, 0, /* Root/Additions */ - 7, /* Start extensions */ - 9 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MobilityControlInfo = { - "MobilityControlInfo", - "MobilityControlInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MobilityControlInfo_tags_1, - sizeof(asn_DEF_MobilityControlInfo_tags_1) - /sizeof(asn_DEF_MobilityControlInfo_tags_1[0]), /* 1 */ - asn_DEF_MobilityControlInfo_tags_1, /* Same as above */ - sizeof(asn_DEF_MobilityControlInfo_tags_1) - /sizeof(asn_DEF_MobilityControlInfo_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MobilityControlInfo_1, - 8, /* Elements count */ - &asn_SPC_MobilityControlInfo_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MobilityFromEUTRACommand-r8-IEs.c b/lte/rrc/lib/asn/src/MobilityFromEUTRACommand-r8-IEs.c deleted file mode 100644 index a7cc75059..000000000 --- a/lte/rrc/lib/asn/src/MobilityFromEUTRACommand-r8-IEs.c +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MobilityFromEUTRACommand-r8-IEs.h" - -static asn_per_constraints_t asn_PER_type_purpose_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_purpose_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct MobilityFromEUTRACommand_r8_IEs__purpose, choice.handover), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Handover, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "handover" - }, - { ATF_NOFLAGS, 0, offsetof(struct MobilityFromEUTRACommand_r8_IEs__purpose, choice.cellChangeOrder), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellChangeOrder, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellChangeOrder" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_purpose_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* handover at 448 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cellChangeOrder at 450 */ -}; -static asn_CHOICE_specifics_t asn_SPC_purpose_specs_3 = { - sizeof(struct MobilityFromEUTRACommand_r8_IEs__purpose), - offsetof(struct MobilityFromEUTRACommand_r8_IEs__purpose, _asn_ctx), - offsetof(struct MobilityFromEUTRACommand_r8_IEs__purpose, present), - sizeof(((struct MobilityFromEUTRACommand_r8_IEs__purpose *)0)->present), - asn_MAP_purpose_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_purpose_3 = { - "purpose", - "purpose", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_purpose_constr_3, - asn_MBR_purpose_3, - 2, /* Elements count */ - &asn_SPC_purpose_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MobilityFromEUTRACommand_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MobilityFromEUTRACommand_r8_IEs, cs_FallbackIndicator), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cs-FallbackIndicator" - }, - { ATF_NOFLAGS, 0, offsetof(struct MobilityFromEUTRACommand_r8_IEs, purpose), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_purpose_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "purpose" - }, - { ATF_POINTER, 1, offsetof(struct MobilityFromEUTRACommand_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MobilityFromEUTRACommand_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_MobilityFromEUTRACommand_r8_IEs_oms_1[] = { 2 }; -static ber_tlv_tag_t asn_DEF_MobilityFromEUTRACommand_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MobilityFromEUTRACommand_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cs-FallbackIndicator at 446 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* purpose at 448 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* nonCriticalExtension at 451 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MobilityFromEUTRACommand_r8_IEs_specs_1 = { - sizeof(struct MobilityFromEUTRACommand_r8_IEs), - offsetof(struct MobilityFromEUTRACommand_r8_IEs, _asn_ctx), - asn_MAP_MobilityFromEUTRACommand_r8_IEs_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_MobilityFromEUTRACommand_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MobilityFromEUTRACommand_r8_IEs = { - "MobilityFromEUTRACommand-r8-IEs", - "MobilityFromEUTRACommand-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MobilityFromEUTRACommand_r8_IEs_tags_1, - sizeof(asn_DEF_MobilityFromEUTRACommand_r8_IEs_tags_1) - /sizeof(asn_DEF_MobilityFromEUTRACommand_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_MobilityFromEUTRACommand_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_MobilityFromEUTRACommand_r8_IEs_tags_1) - /sizeof(asn_DEF_MobilityFromEUTRACommand_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MobilityFromEUTRACommand_r8_IEs_1, - 3, /* Elements count */ - &asn_SPC_MobilityFromEUTRACommand_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MobilityFromEUTRACommand-r9-IEs.c b/lte/rrc/lib/asn/src/MobilityFromEUTRACommand-r9-IEs.c deleted file mode 100644 index 95ebd778d..000000000 --- a/lte/rrc/lib/asn/src/MobilityFromEUTRACommand-r9-IEs.c +++ /dev/null @@ -1,155 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MobilityFromEUTRACommand-r9-IEs.h" - -static asn_per_constraints_t asn_PER_type_purpose_constr_3 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 2 } /* (0..2,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_purpose_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct MobilityFromEUTRACommand_r9_IEs__purpose, choice.handover), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Handover, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "handover" - }, - { ATF_NOFLAGS, 0, offsetof(struct MobilityFromEUTRACommand_r9_IEs__purpose, choice.cellChangeOrder), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellChangeOrder, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellChangeOrder" - }, - { ATF_NOFLAGS, 0, offsetof(struct MobilityFromEUTRACommand_r9_IEs__purpose, choice.e_CSFB_r9), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_E_CSFB_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "e-CSFB-r9" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_purpose_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* handover at 467 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cellChangeOrder at 468 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* e-CSFB-r9 at 469 */ -}; -static asn_CHOICE_specifics_t asn_SPC_purpose_specs_3 = { - sizeof(struct MobilityFromEUTRACommand_r9_IEs__purpose), - offsetof(struct MobilityFromEUTRACommand_r9_IEs__purpose, _asn_ctx), - offsetof(struct MobilityFromEUTRACommand_r9_IEs__purpose, present), - sizeof(((struct MobilityFromEUTRACommand_r9_IEs__purpose *)0)->present), - asn_MAP_purpose_tag2el_3, - 3, /* Count of tags in the map */ - 0, - 3 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_purpose_3 = { - "purpose", - "purpose", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_purpose_constr_3, - asn_MBR_purpose_3, - 3, /* Elements count */ - &asn_SPC_purpose_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MobilityFromEUTRACommand_r9_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MobilityFromEUTRACommand_r9_IEs, cs_FallbackIndicator), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cs-FallbackIndicator" - }, - { ATF_NOFLAGS, 0, offsetof(struct MobilityFromEUTRACommand_r9_IEs, purpose), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_purpose_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "purpose" - }, - { ATF_POINTER, 1, offsetof(struct MobilityFromEUTRACommand_r9_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MobilityFromEUTRACommand_v930_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_MobilityFromEUTRACommand_r9_IEs_oms_1[] = { 2 }; -static ber_tlv_tag_t asn_DEF_MobilityFromEUTRACommand_r9_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MobilityFromEUTRACommand_r9_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cs-FallbackIndicator at 465 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* purpose at 467 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* nonCriticalExtension at 472 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MobilityFromEUTRACommand_r9_IEs_specs_1 = { - sizeof(struct MobilityFromEUTRACommand_r9_IEs), - offsetof(struct MobilityFromEUTRACommand_r9_IEs, _asn_ctx), - asn_MAP_MobilityFromEUTRACommand_r9_IEs_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_MobilityFromEUTRACommand_r9_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MobilityFromEUTRACommand_r9_IEs = { - "MobilityFromEUTRACommand-r9-IEs", - "MobilityFromEUTRACommand-r9-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MobilityFromEUTRACommand_r9_IEs_tags_1, - sizeof(asn_DEF_MobilityFromEUTRACommand_r9_IEs_tags_1) - /sizeof(asn_DEF_MobilityFromEUTRACommand_r9_IEs_tags_1[0]), /* 1 */ - asn_DEF_MobilityFromEUTRACommand_r9_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_MobilityFromEUTRACommand_r9_IEs_tags_1) - /sizeof(asn_DEF_MobilityFromEUTRACommand_r9_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MobilityFromEUTRACommand_r9_IEs_1, - 3, /* Elements count */ - &asn_SPC_MobilityFromEUTRACommand_r9_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MobilityFromEUTRACommand-v8a0-IEs.c b/lte/rrc/lib/asn/src/MobilityFromEUTRACommand-v8a0-IEs.c deleted file mode 100644 index 86e61120f..000000000 --- a/lte/rrc/lib/asn/src/MobilityFromEUTRACommand-v8a0-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MobilityFromEUTRACommand-v8a0-IEs.h" - -static asn_TYPE_member_t asn_MBR_MobilityFromEUTRACommand_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct MobilityFromEUTRACommand_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct MobilityFromEUTRACommand_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MobilityFromEUTRACommand_v8d0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_MobilityFromEUTRACommand_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_MobilityFromEUTRACommand_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MobilityFromEUTRACommand_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 455 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 456 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MobilityFromEUTRACommand_v8a0_IEs_specs_1 = { - sizeof(struct MobilityFromEUTRACommand_v8a0_IEs), - offsetof(struct MobilityFromEUTRACommand_v8a0_IEs, _asn_ctx), - asn_MAP_MobilityFromEUTRACommand_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_MobilityFromEUTRACommand_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MobilityFromEUTRACommand_v8a0_IEs = { - "MobilityFromEUTRACommand-v8a0-IEs", - "MobilityFromEUTRACommand-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MobilityFromEUTRACommand_v8a0_IEs_tags_1, - sizeof(asn_DEF_MobilityFromEUTRACommand_v8a0_IEs_tags_1) - /sizeof(asn_DEF_MobilityFromEUTRACommand_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_MobilityFromEUTRACommand_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_MobilityFromEUTRACommand_v8a0_IEs_tags_1) - /sizeof(asn_DEF_MobilityFromEUTRACommand_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MobilityFromEUTRACommand_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_MobilityFromEUTRACommand_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MobilityFromEUTRACommand-v8d0-IEs.c b/lte/rrc/lib/asn/src/MobilityFromEUTRACommand-v8d0-IEs.c deleted file mode 100644 index e614538d1..000000000 --- a/lte/rrc/lib/asn/src/MobilityFromEUTRACommand-v8d0-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MobilityFromEUTRACommand-v8d0-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct MobilityFromEUTRACommand_v8d0_IEs__nonCriticalExtension), - offsetof(struct MobilityFromEUTRACommand_v8d0_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MobilityFromEUTRACommand_v8d0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct MobilityFromEUTRACommand_v8d0_IEs, bandIndicator), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BandIndicatorGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "bandIndicator" - }, - { ATF_POINTER, 1, offsetof(struct MobilityFromEUTRACommand_v8d0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_MobilityFromEUTRACommand_v8d0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_MobilityFromEUTRACommand_v8d0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MobilityFromEUTRACommand_v8d0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bandIndicator at 460 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 461 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MobilityFromEUTRACommand_v8d0_IEs_specs_1 = { - sizeof(struct MobilityFromEUTRACommand_v8d0_IEs), - offsetof(struct MobilityFromEUTRACommand_v8d0_IEs, _asn_ctx), - asn_MAP_MobilityFromEUTRACommand_v8d0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_MobilityFromEUTRACommand_v8d0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MobilityFromEUTRACommand_v8d0_IEs = { - "MobilityFromEUTRACommand-v8d0-IEs", - "MobilityFromEUTRACommand-v8d0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MobilityFromEUTRACommand_v8d0_IEs_tags_1, - sizeof(asn_DEF_MobilityFromEUTRACommand_v8d0_IEs_tags_1) - /sizeof(asn_DEF_MobilityFromEUTRACommand_v8d0_IEs_tags_1[0]), /* 1 */ - asn_DEF_MobilityFromEUTRACommand_v8d0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_MobilityFromEUTRACommand_v8d0_IEs_tags_1) - /sizeof(asn_DEF_MobilityFromEUTRACommand_v8d0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MobilityFromEUTRACommand_v8d0_IEs_1, - 2, /* Elements count */ - &asn_SPC_MobilityFromEUTRACommand_v8d0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MobilityFromEUTRACommand-v930-IEs.c b/lte/rrc/lib/asn/src/MobilityFromEUTRACommand-v930-IEs.c deleted file mode 100644 index 701deaf41..000000000 --- a/lte/rrc/lib/asn/src/MobilityFromEUTRACommand-v930-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MobilityFromEUTRACommand-v930-IEs.h" - -static asn_TYPE_member_t asn_MBR_MobilityFromEUTRACommand_v930_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct MobilityFromEUTRACommand_v930_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct MobilityFromEUTRACommand_v930_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MobilityFromEUTRACommand_v960_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_MobilityFromEUTRACommand_v930_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_MobilityFromEUTRACommand_v930_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MobilityFromEUTRACommand_v930_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 476 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 477 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MobilityFromEUTRACommand_v930_IEs_specs_1 = { - sizeof(struct MobilityFromEUTRACommand_v930_IEs), - offsetof(struct MobilityFromEUTRACommand_v930_IEs, _asn_ctx), - asn_MAP_MobilityFromEUTRACommand_v930_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_MobilityFromEUTRACommand_v930_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MobilityFromEUTRACommand_v930_IEs = { - "MobilityFromEUTRACommand-v930-IEs", - "MobilityFromEUTRACommand-v930-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MobilityFromEUTRACommand_v930_IEs_tags_1, - sizeof(asn_DEF_MobilityFromEUTRACommand_v930_IEs_tags_1) - /sizeof(asn_DEF_MobilityFromEUTRACommand_v930_IEs_tags_1[0]), /* 1 */ - asn_DEF_MobilityFromEUTRACommand_v930_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_MobilityFromEUTRACommand_v930_IEs_tags_1) - /sizeof(asn_DEF_MobilityFromEUTRACommand_v930_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MobilityFromEUTRACommand_v930_IEs_1, - 2, /* Elements count */ - &asn_SPC_MobilityFromEUTRACommand_v930_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MobilityFromEUTRACommand-v960-IEs.c b/lte/rrc/lib/asn/src/MobilityFromEUTRACommand-v960-IEs.c deleted file mode 100644 index 6d948aa9c..000000000 --- a/lte/rrc/lib/asn/src/MobilityFromEUTRACommand-v960-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MobilityFromEUTRACommand-v960-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct MobilityFromEUTRACommand_v960_IEs__nonCriticalExtension), - offsetof(struct MobilityFromEUTRACommand_v960_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MobilityFromEUTRACommand_v960_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct MobilityFromEUTRACommand_v960_IEs, bandIndicator), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BandIndicatorGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "bandIndicator" - }, - { ATF_POINTER, 1, offsetof(struct MobilityFromEUTRACommand_v960_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_MobilityFromEUTRACommand_v960_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_MobilityFromEUTRACommand_v960_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MobilityFromEUTRACommand_v960_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bandIndicator at 481 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 482 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MobilityFromEUTRACommand_v960_IEs_specs_1 = { - sizeof(struct MobilityFromEUTRACommand_v960_IEs), - offsetof(struct MobilityFromEUTRACommand_v960_IEs, _asn_ctx), - asn_MAP_MobilityFromEUTRACommand_v960_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_MobilityFromEUTRACommand_v960_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MobilityFromEUTRACommand_v960_IEs = { - "MobilityFromEUTRACommand-v960-IEs", - "MobilityFromEUTRACommand-v960-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MobilityFromEUTRACommand_v960_IEs_tags_1, - sizeof(asn_DEF_MobilityFromEUTRACommand_v960_IEs_tags_1) - /sizeof(asn_DEF_MobilityFromEUTRACommand_v960_IEs_tags_1[0]), /* 1 */ - asn_DEF_MobilityFromEUTRACommand_v960_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_MobilityFromEUTRACommand_v960_IEs_tags_1) - /sizeof(asn_DEF_MobilityFromEUTRACommand_v960_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MobilityFromEUTRACommand_v960_IEs_1, - 2, /* Elements count */ - &asn_SPC_MobilityFromEUTRACommand_v960_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MobilityFromEUTRACommand.c b/lte/rrc/lib/asn/src/MobilityFromEUTRACommand.c deleted file mode 100644 index 44c3162b9..000000000 --- a/lte/rrc/lib/asn/src/MobilityFromEUTRACommand.c +++ /dev/null @@ -1,254 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MobilityFromEUTRACommand.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_4 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct MobilityFromEUTRACommand__criticalExtensions__c1, choice.mobilityFromEUTRACommand_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MobilityFromEUTRACommand_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mobilityFromEUTRACommand-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct MobilityFromEUTRACommand__criticalExtensions__c1, choice.mobilityFromEUTRACommand_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MobilityFromEUTRACommand_r9_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mobilityFromEUTRACommand-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct MobilityFromEUTRACommand__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct MobilityFromEUTRACommand__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mobilityFromEUTRACommand-r8 at 437 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* mobilityFromEUTRACommand-r9 at 438 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 439 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 439 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_4 = { - sizeof(struct MobilityFromEUTRACommand__criticalExtensions__c1), - offsetof(struct MobilityFromEUTRACommand__criticalExtensions__c1, _asn_ctx), - offsetof(struct MobilityFromEUTRACommand__criticalExtensions__c1, present), - sizeof(((struct MobilityFromEUTRACommand__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_4, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_4 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_4, - asn_MBR_c1_4, - 4, /* Elements count */ - &asn_SPC_c1_specs_4 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_9 = { - sizeof(struct MobilityFromEUTRACommand__criticalExtensions__criticalExtensionsFuture), - offsetof(struct MobilityFromEUTRACommand__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_9 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_9, - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_9, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct MobilityFromEUTRACommand__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct MobilityFromEUTRACommand__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 437 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 441 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct MobilityFromEUTRACommand__criticalExtensions), - offsetof(struct MobilityFromEUTRACommand__criticalExtensions, _asn_ctx), - offsetof(struct MobilityFromEUTRACommand__criticalExtensions, present), - sizeof(((struct MobilityFromEUTRACommand__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MobilityFromEUTRACommand_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MobilityFromEUTRACommand, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct MobilityFromEUTRACommand, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_MobilityFromEUTRACommand_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MobilityFromEUTRACommand_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 434 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 440 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MobilityFromEUTRACommand_specs_1 = { - sizeof(struct MobilityFromEUTRACommand), - offsetof(struct MobilityFromEUTRACommand, _asn_ctx), - asn_MAP_MobilityFromEUTRACommand_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MobilityFromEUTRACommand = { - "MobilityFromEUTRACommand", - "MobilityFromEUTRACommand", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MobilityFromEUTRACommand_tags_1, - sizeof(asn_DEF_MobilityFromEUTRACommand_tags_1) - /sizeof(asn_DEF_MobilityFromEUTRACommand_tags_1[0]), /* 1 */ - asn_DEF_MobilityFromEUTRACommand_tags_1, /* Same as above */ - sizeof(asn_DEF_MobilityFromEUTRACommand_tags_1) - /sizeof(asn_DEF_MobilityFromEUTRACommand_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MobilityFromEUTRACommand_1, - 2, /* Elements count */ - &asn_SPC_MobilityFromEUTRACommand_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/MobilityParametersCDMA2000.c b/lte/rrc/lib/asn/src/MobilityParametersCDMA2000.c deleted file mode 100644 index d3b34757a..000000000 --- a/lte/rrc/lib/asn/src/MobilityParametersCDMA2000.c +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MobilityParametersCDMA2000.h" - -int -MobilityParametersCDMA2000_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_OCTET_STRING.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using OCTET_STRING, - * so here we adjust the DEF accordingly. - */ -static void -MobilityParametersCDMA2000_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_OCTET_STRING.free_struct; - td->print_struct = asn_DEF_OCTET_STRING.print_struct; - td->ber_decoder = asn_DEF_OCTET_STRING.ber_decoder; - td->der_encoder = asn_DEF_OCTET_STRING.der_encoder; - td->xer_decoder = asn_DEF_OCTET_STRING.xer_decoder; - td->xer_encoder = asn_DEF_OCTET_STRING.xer_encoder; - td->uper_decoder = asn_DEF_OCTET_STRING.uper_decoder; - td->uper_encoder = asn_DEF_OCTET_STRING.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_OCTET_STRING.per_constraints; - td->elements = asn_DEF_OCTET_STRING.elements; - td->elements_count = asn_DEF_OCTET_STRING.elements_count; - td->specifics = asn_DEF_OCTET_STRING.specifics; -} - -void -MobilityParametersCDMA2000_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - MobilityParametersCDMA2000_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -MobilityParametersCDMA2000_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - MobilityParametersCDMA2000_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -MobilityParametersCDMA2000_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - MobilityParametersCDMA2000_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -MobilityParametersCDMA2000_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - MobilityParametersCDMA2000_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -MobilityParametersCDMA2000_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - MobilityParametersCDMA2000_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -MobilityParametersCDMA2000_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - MobilityParametersCDMA2000_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -MobilityParametersCDMA2000_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - MobilityParametersCDMA2000_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -MobilityParametersCDMA2000_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - MobilityParametersCDMA2000_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static ber_tlv_tag_t asn_DEF_MobilityParametersCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_MobilityParametersCDMA2000 = { - "MobilityParametersCDMA2000", - "MobilityParametersCDMA2000", - MobilityParametersCDMA2000_free, - MobilityParametersCDMA2000_print, - MobilityParametersCDMA2000_constraint, - MobilityParametersCDMA2000_decode_ber, - MobilityParametersCDMA2000_encode_der, - MobilityParametersCDMA2000_decode_xer, - MobilityParametersCDMA2000_encode_xer, - MobilityParametersCDMA2000_decode_uper, - MobilityParametersCDMA2000_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MobilityParametersCDMA2000_tags_1, - sizeof(asn_DEF_MobilityParametersCDMA2000_tags_1) - /sizeof(asn_DEF_MobilityParametersCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_MobilityParametersCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_MobilityParametersCDMA2000_tags_1) - /sizeof(asn_DEF_MobilityParametersCDMA2000_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/MobilityStateParameters.c b/lte/rrc/lib/asn/src/MobilityStateParameters.c deleted file mode 100644 index 8206d3d0e..000000000 --- a/lte/rrc/lib/asn/src/MobilityStateParameters.c +++ /dev/null @@ -1,452 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/MobilityStateParameters.h" - -static int -t_Evaluation_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -t_Evaluation_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -t_Evaluation_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - t_Evaluation_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -t_Evaluation_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - t_Evaluation_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -t_Evaluation_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - t_Evaluation_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -t_Evaluation_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - t_Evaluation_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -t_Evaluation_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - t_Evaluation_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -t_Evaluation_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - t_Evaluation_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -t_Evaluation_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - t_Evaluation_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -t_Evaluation_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - t_Evaluation_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -t_HystNormal_11_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -t_HystNormal_11_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -t_HystNormal_11_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - t_HystNormal_11_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -t_HystNormal_11_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - t_HystNormal_11_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -t_HystNormal_11_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - t_HystNormal_11_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -t_HystNormal_11_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - t_HystNormal_11_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -t_HystNormal_11_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - t_HystNormal_11_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -t_HystNormal_11_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - t_HystNormal_11_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -t_HystNormal_11_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - t_HystNormal_11_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -t_HystNormal_11_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - t_HystNormal_11_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_n_CellChangeMedium_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_n_CellChangeHigh_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_t_Evaluation_constr_2 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_t_HystNormal_constr_11 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n_CellChangeMedium_constr_20 = { - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (1..16) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n_CellChangeHigh_constr_21 = { - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (1..16) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_t_Evaluation_value2enum_2[] = { - { 0, 3, "s30" }, - { 1, 3, "s60" }, - { 2, 4, "s120" }, - { 3, 4, "s180" }, - { 4, 4, "s240" }, - { 5, 6, "spare3" }, - { 6, 6, "spare2" }, - { 7, 6, "spare1" } -}; -static unsigned int asn_MAP_t_Evaluation_enum2value_2[] = { - 2, /* s120(2) */ - 3, /* s180(3) */ - 4, /* s240(4) */ - 0, /* s30(0) */ - 1, /* s60(1) */ - 7, /* spare1(7) */ - 6, /* spare2(6) */ - 5 /* spare3(5) */ -}; -static asn_INTEGER_specifics_t asn_SPC_t_Evaluation_specs_2 = { - asn_MAP_t_Evaluation_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_t_Evaluation_enum2value_2, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_t_Evaluation_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_t_Evaluation_2 = { - "t-Evaluation", - "t-Evaluation", - t_Evaluation_2_free, - t_Evaluation_2_print, - t_Evaluation_2_constraint, - t_Evaluation_2_decode_ber, - t_Evaluation_2_encode_der, - t_Evaluation_2_decode_xer, - t_Evaluation_2_encode_xer, - t_Evaluation_2_decode_uper, - t_Evaluation_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_t_Evaluation_tags_2, - sizeof(asn_DEF_t_Evaluation_tags_2) - /sizeof(asn_DEF_t_Evaluation_tags_2[0]) - 1, /* 1 */ - asn_DEF_t_Evaluation_tags_2, /* Same as above */ - sizeof(asn_DEF_t_Evaluation_tags_2) - /sizeof(asn_DEF_t_Evaluation_tags_2[0]), /* 2 */ - &asn_PER_type_t_Evaluation_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_t_Evaluation_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_t_HystNormal_value2enum_11[] = { - { 0, 3, "s30" }, - { 1, 3, "s60" }, - { 2, 4, "s120" }, - { 3, 4, "s180" }, - { 4, 4, "s240" }, - { 5, 6, "spare3" }, - { 6, 6, "spare2" }, - { 7, 6, "spare1" } -}; -static unsigned int asn_MAP_t_HystNormal_enum2value_11[] = { - 2, /* s120(2) */ - 3, /* s180(3) */ - 4, /* s240(4) */ - 0, /* s30(0) */ - 1, /* s60(1) */ - 7, /* spare1(7) */ - 6, /* spare2(6) */ - 5 /* spare3(5) */ -}; -static asn_INTEGER_specifics_t asn_SPC_t_HystNormal_specs_11 = { - asn_MAP_t_HystNormal_value2enum_11, /* "tag" => N; sorted by tag */ - asn_MAP_t_HystNormal_enum2value_11, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_t_HystNormal_tags_11[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_t_HystNormal_11 = { - "t-HystNormal", - "t-HystNormal", - t_HystNormal_11_free, - t_HystNormal_11_print, - t_HystNormal_11_constraint, - t_HystNormal_11_decode_ber, - t_HystNormal_11_encode_der, - t_HystNormal_11_decode_xer, - t_HystNormal_11_encode_xer, - t_HystNormal_11_decode_uper, - t_HystNormal_11_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_t_HystNormal_tags_11, - sizeof(asn_DEF_t_HystNormal_tags_11) - /sizeof(asn_DEF_t_HystNormal_tags_11[0]) - 1, /* 1 */ - asn_DEF_t_HystNormal_tags_11, /* Same as above */ - sizeof(asn_DEF_t_HystNormal_tags_11) - /sizeof(asn_DEF_t_HystNormal_tags_11[0]), /* 2 */ - &asn_PER_type_t_HystNormal_constr_11, - 0, 0, /* Defined elsewhere */ - &asn_SPC_t_HystNormal_specs_11 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_MobilityStateParameters_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct MobilityStateParameters, t_Evaluation), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_t_Evaluation_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t-Evaluation" - }, - { ATF_NOFLAGS, 0, offsetof(struct MobilityStateParameters, t_HystNormal), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_t_HystNormal_11, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t-HystNormal" - }, - { ATF_NOFLAGS, 0, offsetof(struct MobilityStateParameters, n_CellChangeMedium), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_n_CellChangeMedium_constraint_1, - &asn_PER_memb_n_CellChangeMedium_constr_20, - 0, - "n-CellChangeMedium" - }, - { ATF_NOFLAGS, 0, offsetof(struct MobilityStateParameters, n_CellChangeHigh), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_n_CellChangeHigh_constraint_1, - &asn_PER_memb_n_CellChangeHigh_constr_21, - 0, - "n-CellChangeHigh" - }, -}; -static ber_tlv_tag_t asn_DEF_MobilityStateParameters_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_MobilityStateParameters_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* t-Evaluation at 3028 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* t-HystNormal at 3030 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* n-CellChangeMedium at 3031 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* n-CellChangeHigh at 3032 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_MobilityStateParameters_specs_1 = { - sizeof(struct MobilityStateParameters), - offsetof(struct MobilityStateParameters, _asn_ctx), - asn_MAP_MobilityStateParameters_tag2el_1, - 4, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_MobilityStateParameters = { - "MobilityStateParameters", - "MobilityStateParameters", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_MobilityStateParameters_tags_1, - sizeof(asn_DEF_MobilityStateParameters_tags_1) - /sizeof(asn_DEF_MobilityStateParameters_tags_1[0]), /* 1 */ - asn_DEF_MobilityStateParameters_tags_1, /* Same as above */ - sizeof(asn_DEF_MobilityStateParameters_tags_1) - /sizeof(asn_DEF_MobilityStateParameters_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_MobilityStateParameters_1, - 4, /* Elements count */ - &asn_SPC_MobilityStateParameters_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/N1-PUCCH-AN-PersistentList.c b/lte/rrc/lib/asn/src/N1-PUCCH-AN-PersistentList.c deleted file mode 100644 index 64d9218ee..000000000 --- a/lte/rrc/lib/asn/src/N1-PUCCH-AN-PersistentList.c +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "EUTRA-RRC-Definitions.asn" - */ - -#include "liblte/rrc/asn/N1-PUCCH-AN-PersistentList.h" - -static int -memb_NativeInteger_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 2047)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_Member_constr_2 GCC_NOTUSED = { - { APC_CONSTRAINED, 11, 11, 0, 2047 } /* (0..2047) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_N1_PUCCH_AN_PersistentList_constr_1 GCC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 2, 2, 1, 4 } /* (SIZE(1..4)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_N1_PUCCH_AN_PersistentList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_NativeInteger, - memb_NativeInteger_constraint_1, - &asn_PER_memb_Member_constr_2, - 0, - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_N1_PUCCH_AN_PersistentList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_N1_PUCCH_AN_PersistentList_specs_1 = { - sizeof(struct N1_PUCCH_AN_PersistentList), - offsetof(struct N1_PUCCH_AN_PersistentList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_N1_PUCCH_AN_PersistentList = { - "N1-PUCCH-AN-PersistentList", - "N1-PUCCH-AN-PersistentList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_N1_PUCCH_AN_PersistentList_tags_1, - sizeof(asn_DEF_N1_PUCCH_AN_PersistentList_tags_1) - /sizeof(asn_DEF_N1_PUCCH_AN_PersistentList_tags_1[0]), /* 1 */ - asn_DEF_N1_PUCCH_AN_PersistentList_tags_1, /* Same as above */ - sizeof(asn_DEF_N1_PUCCH_AN_PersistentList_tags_1) - /sizeof(asn_DEF_N1_PUCCH_AN_PersistentList_tags_1[0]), /* 1 */ - &asn_PER_type_N1_PUCCH_AN_PersistentList_constr_1, - asn_MBR_N1_PUCCH_AN_PersistentList_1, - 1, /* Single element */ - &asn_SPC_N1_PUCCH_AN_PersistentList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/N1PUCCH-AN-CS-r10.c b/lte/rrc/lib/asn/src/N1PUCCH-AN-CS-r10.c deleted file mode 100644 index be763e2bb..000000000 --- a/lte/rrc/lib/asn/src/N1PUCCH-AN-CS-r10.c +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/N1PUCCH-AN-CS-r10.h" - -static int -memb_NativeInteger_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 2047)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_Member_constr_2 = { - { APC_CONSTRAINED, 11, 11, 0, 2047 } /* (0..2047) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_N1PUCCH_AN_CS_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 2, 2, 1, 4 } /* (SIZE(1..4)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_N1PUCCH_AN_CS_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_NativeInteger, - memb_NativeInteger_constraint_1, - &asn_PER_memb_Member_constr_2, - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_N1PUCCH_AN_CS_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_N1PUCCH_AN_CS_r10_specs_1 = { - sizeof(struct N1PUCCH_AN_CS_r10), - offsetof(struct N1PUCCH_AN_CS_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_N1PUCCH_AN_CS_r10 = { - "N1PUCCH-AN-CS-r10", - "N1PUCCH-AN-CS-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_N1PUCCH_AN_CS_r10_tags_1, - sizeof(asn_DEF_N1PUCCH_AN_CS_r10_tags_1) - /sizeof(asn_DEF_N1PUCCH_AN_CS_r10_tags_1[0]), /* 1 */ - asn_DEF_N1PUCCH_AN_CS_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_N1PUCCH_AN_CS_r10_tags_1) - /sizeof(asn_DEF_N1PUCCH_AN_CS_r10_tags_1[0]), /* 1 */ - &asn_PER_type_N1PUCCH_AN_CS_r10_constr_1, - asn_MBR_N1PUCCH_AN_CS_r10_1, - 1, /* Single element */ - &asn_SPC_N1PUCCH_AN_CS_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/N1PUCCH-AN-PersistentList.c b/lte/rrc/lib/asn/src/N1PUCCH-AN-PersistentList.c deleted file mode 100644 index b6a7c2ed8..000000000 --- a/lte/rrc/lib/asn/src/N1PUCCH-AN-PersistentList.c +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/N1PUCCH-AN-PersistentList.h" - -static int -memb_NativeInteger_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 2047)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_Member_constr_2 = { - { APC_CONSTRAINED, 11, 11, 0, 2047 } /* (0..2047) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_N1PUCCH_AN_PersistentList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 2, 2, 1, 4 } /* (SIZE(1..4)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_N1PUCCH_AN_PersistentList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_NativeInteger, - memb_NativeInteger_constraint_1, - &asn_PER_memb_Member_constr_2, - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_N1PUCCH_AN_PersistentList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_N1PUCCH_AN_PersistentList_specs_1 = { - sizeof(struct N1PUCCH_AN_PersistentList), - offsetof(struct N1PUCCH_AN_PersistentList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_N1PUCCH_AN_PersistentList = { - "N1PUCCH-AN-PersistentList", - "N1PUCCH-AN-PersistentList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_N1PUCCH_AN_PersistentList_tags_1, - sizeof(asn_DEF_N1PUCCH_AN_PersistentList_tags_1) - /sizeof(asn_DEF_N1PUCCH_AN_PersistentList_tags_1[0]), /* 1 */ - asn_DEF_N1PUCCH_AN_PersistentList_tags_1, /* Same as above */ - sizeof(asn_DEF_N1PUCCH_AN_PersistentList_tags_1) - /sizeof(asn_DEF_N1PUCCH_AN_PersistentList_tags_1[0]), /* 1 */ - &asn_PER_type_N1PUCCH_AN_PersistentList_constr_1, - asn_MBR_N1PUCCH_AN_PersistentList_1, - 1, /* Single element */ - &asn_SPC_N1PUCCH_AN_PersistentList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/NULL.c b/lte/rrc/lib/asn/src/NULL.c deleted file mode 100644 index 23b27e17f..000000000 --- a/lte/rrc/lib/asn/src/NULL.c +++ /dev/null @@ -1,147 +0,0 @@ -/*- - * Copyright (c) 2003, 2005 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include -#include -#include /* Implemented in terms of BOOLEAN type */ - -/* - * NULL basic type description. - */ -static ber_tlv_tag_t asn_DEF_NULL_tags[] = { - (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_NULL = { - "NULL", - "NULL", - BOOLEAN_free, - NULL_print, - asn_generic_no_constraint, - BOOLEAN_decode_ber, /* Implemented in terms of BOOLEAN */ - NULL_encode_der, /* Special handling of DER encoding */ - NULL_decode_xer, - NULL_encode_xer, - NULL_decode_uper, /* Unaligned PER decoder */ - NULL_encode_uper, /* Unaligned PER encoder */ - 0, /* Use generic outmost tag fetcher */ - asn_DEF_NULL_tags, - sizeof(asn_DEF_NULL_tags) / sizeof(asn_DEF_NULL_tags[0]), - asn_DEF_NULL_tags, /* Same as above */ - sizeof(asn_DEF_NULL_tags) / sizeof(asn_DEF_NULL_tags[0]), - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - 0 /* No specifics */ -}; - -asn_enc_rval_t -NULL_encode_der(asn_TYPE_descriptor_t *td, void *ptr, - int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_enc_rval_t erval; - - erval.encoded = der_write_tags(td, 0, tag_mode, 0, tag, cb, app_key); - if(erval.encoded == -1) { - erval.failed_type = td; - erval.structure_ptr = ptr; - } - - _ASN_ENCODED_OK(erval); -} - -asn_enc_rval_t -NULL_encode_xer(asn_TYPE_descriptor_t *td, void *sptr, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_enc_rval_t er; - - (void)td; - (void)sptr; - (void)ilevel; - (void)flags; - (void)cb; - (void)app_key; - - /* XMLNullValue is empty */ - er.encoded = 0; - _ASN_ENCODED_OK(er); -} - - -static enum xer_pbd_rval -NULL__xer_body_decode(asn_TYPE_descriptor_t *td, void *sptr, const void *chunk_buf, size_t chunk_size) { - (void)td; - (void)sptr; - - if(xer_is_whitespace(chunk_buf, chunk_size)) - return XPBD_BODY_CONSUMED; - else - return XPBD_BROKEN_ENCODING; -} - -asn_dec_rval_t -NULL_decode_xer(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *td, void **sptr, const char *opt_mname, - const void *buf_ptr, size_t size) { - - return xer_decode_primitive(opt_codec_ctx, td, - sptr, sizeof(NULL_t), opt_mname, buf_ptr, size, - NULL__xer_body_decode); -} - -int -NULL_print(asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, - asn_app_consume_bytes_f *cb, void *app_key) { - - (void)td; /* Unused argument */ - (void)ilevel; /* Unused argument */ - - if(sptr) { - return (cb("", 9, app_key) < 0) ? -1 : 0; - } else { - return (cb("", 8, app_key) < 0) ? -1 : 0; - } -} - -asn_dec_rval_t -NULL_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd) { - asn_dec_rval_t rv; - - (void)opt_codec_ctx; - (void)td; - (void)constraints; - (void)pd; - - if(!*sptr) { - *sptr = MALLOC(sizeof(NULL_t)); - if(*sptr) { - *(NULL_t *)*sptr = 0; - } else { - _ASN_DECODE_FAILED; - } - } - - /* - * NULL type does not have content octets. - */ - - rv.code = RC_OK; - rv.consumed = 0; - return rv; -} - -asn_enc_rval_t -NULL_encode_uper(asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, - void *sptr, asn_per_outp_t *po) { - asn_enc_rval_t er; - - (void)td; - (void)constraints; - (void)sptr; - (void)po; - - er.encoded = 0; - _ASN_ENCODED_OK(er); -} diff --git a/lte/rrc/lib/asn/src/NativeEnumerated.c b/lte/rrc/lib/asn/src/NativeEnumerated.c deleted file mode 100644 index f8575b80f..000000000 --- a/lte/rrc/lib/asn/src/NativeEnumerated.c +++ /dev/null @@ -1,208 +0,0 @@ -/*- - * Copyright (c) 2004, 2007 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -/* - * Read the NativeInteger.h for the explanation wrt. differences between - * INTEGER and NativeInteger. - * Basically, both are decoders and encoders of ASN.1 INTEGER type, but this - * implementation deals with the standard (machine-specific) representation - * of them instead of using the platform-independent buffer. - */ -#include -#include - -/* - * NativeEnumerated basic type description. - */ -static ber_tlv_tag_t asn_DEF_NativeEnumerated_tags[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_NativeEnumerated = { - "ENUMERATED", /* The ASN.1 type is still ENUMERATED */ - "ENUMERATED", - NativeInteger_free, - NativeInteger_print, - asn_generic_no_constraint, - NativeInteger_decode_ber, - NativeInteger_encode_der, - NativeInteger_decode_xer, - NativeEnumerated_encode_xer, - NativeEnumerated_decode_uper, - NativeEnumerated_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_NativeEnumerated_tags, - sizeof(asn_DEF_NativeEnumerated_tags) / sizeof(asn_DEF_NativeEnumerated_tags[0]), - asn_DEF_NativeEnumerated_tags, /* Same as above */ - sizeof(asn_DEF_NativeEnumerated_tags) / sizeof(asn_DEF_NativeEnumerated_tags[0]), - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - 0 /* No specifics */ -}; - -asn_enc_rval_t -NativeEnumerated_encode_xer(asn_TYPE_descriptor_t *td, void *sptr, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_INTEGER_specifics_t *specs=(asn_INTEGER_specifics_t *)td->specifics; - asn_enc_rval_t er; - char scratch[128]; - const long *native = (const long *)sptr; - const asn_INTEGER_enum_map_t *el; - - (void)ilevel; - (void)flags; - - if(!native) _ASN_ENCODE_FAILED; - - el = INTEGER_map_value2enum(specs, *native); - if(el) { - size_t srcsize = el->enum_len + 5; - char *src = (char *)scratch; //alloca(srcsize); - - er.encoded = snprintf(src, srcsize, "<%s/>", el->enum_name); - assert(er.encoded > 0 && (size_t)er.encoded < srcsize); - if(cb(src, er.encoded, app_key) < 0) _ASN_ENCODE_FAILED; - _ASN_ENCODED_OK(er); - } else { - ASN_DEBUG("ASN.1 forbids dealing with " - "unknown value of ENUMERATED type"); - _ASN_ENCODE_FAILED; - } -} - -asn_dec_rval_t -NativeEnumerated_decode_uper(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, - void **sptr, asn_per_data_t *pd) { - asn_INTEGER_specifics_t *specs = (asn_INTEGER_specifics_t *)td->specifics; - asn_dec_rval_t rval = { RC_OK, 0 }; - long *native = (long *)*sptr; - asn_per_constraint_t *ct; - long value; - - (void)opt_codec_ctx; - - if(constraints) ct = &constraints->value; - else if(td->per_constraints) ct = &td->per_constraints->value; - else _ASN_DECODE_FAILED; /* Mandatory! */ - if(!specs) _ASN_DECODE_FAILED; - - if(!native) { - native = (long *)(*sptr = CALLOC(1, sizeof(*native))); - if(!native) _ASN_DECODE_FAILED; - } - - ASN_DEBUG("Decoding %s as NativeEnumerated", td->name); - - if(ct->flags & APC_EXTENSIBLE) { - int inext = per_get_few_bits(pd, 1); - if(inext < 0) _ASN_DECODE_STARVED; - if(inext) ct = 0; - } - - if(ct && ct->range_bits >= 0) { - value = per_get_few_bits(pd, ct->range_bits); - if(value < 0) _ASN_DECODE_STARVED; - if(value >= (specs->extension - ? specs->extension - 1 : specs->map_count)) - _ASN_DECODE_FAILED; - } else { - if(!specs->extension) - _ASN_DECODE_FAILED; - /* - * X.691, #10.6: normally small non-negative whole number; - */ - value = uper_get_nsnnwn(pd); - if(value < 0) _ASN_DECODE_STARVED; - value += specs->extension - 1; - if(value >= specs->map_count) - _ASN_DECODE_FAILED; - } - - *native = specs->value2enum[value].nat_value; - ASN_DEBUG("Decoded %s = %ld", td->name, *native); - - return rval; -} - -static int -NativeEnumerated__compar_value2enum(const void *ap, const void *bp) { - const asn_INTEGER_enum_map_t *a = ap; - const asn_INTEGER_enum_map_t *b = bp; - if(a->nat_value == b->nat_value) - return 0; - if(a->nat_value < b->nat_value) - return -1; - return 1; -} - -asn_enc_rval_t -NativeEnumerated_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void *sptr, asn_per_outp_t *po) { - asn_INTEGER_specifics_t *specs = (asn_INTEGER_specifics_t *)td->specifics; - asn_enc_rval_t er; - long native, value; - asn_per_constraint_t *ct; - int inext = 0; - asn_INTEGER_enum_map_t key; - asn_INTEGER_enum_map_t *kf; - - if(!sptr) _ASN_ENCODE_FAILED; - if(!specs) _ASN_ENCODE_FAILED; - - if(constraints) ct = &constraints->value; - else if(td->per_constraints) ct = &td->per_constraints->value; - else _ASN_ENCODE_FAILED; /* Mandatory! */ - - ASN_DEBUG("Encoding %s as NativeEnumerated", td->name); - - er.encoded = 0; - - native = *(long *)sptr; - if(native < 0) _ASN_ENCODE_FAILED; - - key.nat_value = native; - kf = bsearch(&key, specs->value2enum, specs->map_count, - sizeof(key), NativeEnumerated__compar_value2enum); - if(!kf) { - ASN_DEBUG("No element corresponds to %ld", native); - _ASN_ENCODE_FAILED; - } - value = kf - specs->value2enum; - - if(ct->range_bits >= 0) { - int cmpWith = specs->extension - ? specs->extension - 1 : specs->map_count; - if(value >= cmpWith) - inext = 1; - } - if(ct->flags & APC_EXTENSIBLE) { - if(per_put_few_bits(po, inext, 1)) - _ASN_ENCODE_FAILED; - if(inext) ct = 0; - } else if(inext) { - _ASN_ENCODE_FAILED; - } - - if(ct && ct->range_bits >= 0) { - if(per_put_few_bits(po, value, ct->range_bits)) - _ASN_ENCODE_FAILED; - _ASN_ENCODED_OK(er); - } - - if(!specs->extension) - _ASN_ENCODE_FAILED; - - /* - * X.691, #10.6: normally small non-negative whole number; - */ - ASN_DEBUG("value = %ld, ext = %d, inext = %d, res = %ld", - value, specs->extension, inext, - value - (inext ? (specs->extension - 1) : 0)); - if(uper_put_nsnnwn(po, value - (inext ? (specs->extension - 1) : 0))) - _ASN_ENCODE_FAILED; - - _ASN_ENCODED_OK(er); -} - diff --git a/lte/rrc/lib/asn/src/NativeInteger.c b/lte/rrc/lib/asn/src/NativeInteger.c deleted file mode 100644 index 9e02cf570..000000000 --- a/lte/rrc/lib/asn/src/NativeInteger.c +++ /dev/null @@ -1,332 +0,0 @@ -/*- - * Copyright (c) 2004, 2005, 2006 Lev Walkin . - * All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -/* - * Read the NativeInteger.h for the explanation wrt. differences between - * INTEGER and NativeInteger. - * Basically, both are decoders and encoders of ASN.1 INTEGER type, but this - * implementation deals with the standard (machine-specific) representation - * of them instead of using the platform-independent buffer. - */ -#include -#include - -/* - * NativeInteger basic type description. - */ -static ber_tlv_tag_t asn_DEF_NativeInteger_tags[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_NativeInteger = { - "INTEGER", /* The ASN.1 type is still INTEGER */ - "INTEGER", - NativeInteger_free, - NativeInteger_print, - asn_generic_no_constraint, - NativeInteger_decode_ber, - NativeInteger_encode_der, - NativeInteger_decode_xer, - NativeInteger_encode_xer, - NativeInteger_decode_uper, /* Unaligned PER decoder */ - NativeInteger_encode_uper, /* Unaligned PER encoder */ - 0, /* Use generic outmost tag fetcher */ - asn_DEF_NativeInteger_tags, - sizeof(asn_DEF_NativeInteger_tags) / sizeof(asn_DEF_NativeInteger_tags[0]), - asn_DEF_NativeInteger_tags, /* Same as above */ - sizeof(asn_DEF_NativeInteger_tags) / sizeof(asn_DEF_NativeInteger_tags[0]), - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - 0 /* No specifics */ -}; - -/* - * Decode INTEGER type. - */ -asn_dec_rval_t -NativeInteger_decode_ber(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *td, - void **nint_ptr, const void *buf_ptr, size_t size, int tag_mode) { - asn_INTEGER_specifics_t *specs=(asn_INTEGER_specifics_t *)td->specifics; - long *native = (long *)*nint_ptr; - asn_dec_rval_t rval; - ber_tlv_len_t length; - - /* - * If the structure is not there, allocate it. - */ - if(native == NULL) { - native = (long *)(*nint_ptr = CALLOC(1, sizeof(*native))); - if(native == NULL) { - rval.code = RC_FAIL; - rval.consumed = 0; - return rval; - } - } - - ASN_DEBUG("Decoding %s as INTEGER (tm=%d)", - td->name, tag_mode); - - /* - * Check tags. - */ - rval = ber_check_tags(opt_codec_ctx, td, 0, buf_ptr, size, - tag_mode, 0, &length, 0); - if(rval.code != RC_OK) - return rval; - - ASN_DEBUG("%s length is %d bytes", td->name, (int)length); - - /* - * Make sure we have this length. - */ - buf_ptr = ((const char *)buf_ptr) + rval.consumed; - size -= rval.consumed; - if(length > (ber_tlv_len_t)size) { - rval.code = RC_WMORE; - rval.consumed = 0; - return rval; - } - - /* - * ASN.1 encoded INTEGER: buf_ptr, length - * Fill the native, at the same time checking for overflow. - * If overflow occured, return with RC_FAIL. - */ - { - INTEGER_t tmp; - union { - const void *constbuf; - void *nonconstbuf; - } unconst_buf; - long l; - - unconst_buf.constbuf = buf_ptr; - tmp.buf = (uint8_t *)unconst_buf.nonconstbuf; - tmp.size = length; - - if((specs&&specs->field_unsigned) - ? asn_INTEGER2ulong(&tmp, &l) - : asn_INTEGER2long(&tmp, &l)) { - rval.code = RC_FAIL; - rval.consumed = 0; - return rval; - } - - *native = l; - } - - rval.code = RC_OK; - rval.consumed += length; - - ASN_DEBUG("Took %ld/%ld bytes to encode %s (%ld)", - (long)rval.consumed, (long)length, td->name, (long)*native); - - return rval; -} - -/* - * Encode the NativeInteger using the standard INTEGER type DER encoder. - */ -asn_enc_rval_t -NativeInteger_encode_der(asn_TYPE_descriptor_t *sd, void *ptr, - int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - unsigned long native = *(unsigned long *)ptr; /* Disable sign ext. */ - asn_enc_rval_t erval; - INTEGER_t tmp; - -#ifdef WORDS_BIGENDIAN /* Opportunistic optimization */ - - tmp.buf = (uint8_t *)&native; - tmp.size = sizeof(native); - -#else /* Works even if WORDS_BIGENDIAN is not set where should've been */ - uint8_t buf[sizeof(native)]; - uint8_t *p; - - /* Prepare a fake INTEGER */ - for(p = buf + sizeof(buf) - 1; p >= buf; p--, native >>= 8) - *p = (uint8_t)native; - - tmp.buf = buf; - tmp.size = sizeof(buf); -#endif /* WORDS_BIGENDIAN */ - - /* Encode fake INTEGER */ - erval = INTEGER_encode_der(sd, &tmp, tag_mode, tag, cb, app_key); - if(erval.encoded == -1) { - assert(erval.structure_ptr == &tmp); - erval.structure_ptr = ptr; - } - return erval; -} - -/* - * Decode the chunk of XML text encoding INTEGER. - */ -asn_dec_rval_t -NativeInteger_decode_xer(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *td, void **sptr, const char *opt_mname, - const void *buf_ptr, size_t size) { - asn_INTEGER_specifics_t *specs=(asn_INTEGER_specifics_t *)td->specifics; - asn_dec_rval_t rval; - INTEGER_t st; - void *st_ptr = (void *)&st; - long *native = (long *)*sptr; - - if(!native) { - native = (long *)(*sptr = CALLOC(1, sizeof(*native))); - if(!native) _ASN_DECODE_FAILED; - } - - memset(&st, 0, sizeof(st)); - rval = INTEGER_decode_xer(opt_codec_ctx, td, &st_ptr, - opt_mname, buf_ptr, size); - if(rval.code == RC_OK) { - long l; - if((specs&&specs->field_unsigned) - ? asn_INTEGER2ulong(&st, &l) - : asn_INTEGER2long(&st, &l)) { - rval.code = RC_FAIL; - rval.consumed = 0; - } else { - *native = l; - } - } else { - /* - * Cannot restart from the middle; - * there is no place to save state in the native type. - * Request a continuation from the very beginning. - */ - rval.consumed = 0; - } - ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_INTEGER, &st); - return rval; -} - - -asn_enc_rval_t -NativeInteger_encode_xer(asn_TYPE_descriptor_t *td, void *sptr, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_INTEGER_specifics_t *specs=(asn_INTEGER_specifics_t *)td->specifics; - char scratch[32]; /* Enough for 64-bit int */ - asn_enc_rval_t er; - const long *native = (const long *)sptr; - - (void)ilevel; - (void)flags; - - if(!native) _ASN_ENCODE_FAILED; - - er.encoded = snprintf(scratch, sizeof(scratch), - (specs && specs->field_unsigned) - ? "%lu" : "%ld", *native); - if(er.encoded <= 0 || (size_t)er.encoded >= sizeof(scratch) - || cb(scratch, er.encoded, app_key) < 0) - _ASN_ENCODE_FAILED; - - _ASN_ENCODED_OK(er); -} - -asn_dec_rval_t -NativeInteger_decode_uper(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd) { - - asn_INTEGER_specifics_t *specs=(asn_INTEGER_specifics_t *)td->specifics; - asn_dec_rval_t rval; - long *native = (long *)*sptr; - INTEGER_t tmpint; - void *tmpintptr = &tmpint; - - (void)opt_codec_ctx; - ASN_DEBUG("Decoding NativeInteger %s (UPER)", td->name); - - if(!native) { - native = (long *)(*sptr = CALLOC(1, sizeof(*native))); - if(!native) _ASN_DECODE_FAILED; - } - - memset(&tmpint, 0, sizeof tmpint); - rval = INTEGER_decode_uper(opt_codec_ctx, td, constraints, - &tmpintptr, pd); - if(rval.code == RC_OK) { - if((specs&&specs->field_unsigned) - ? asn_INTEGER2ulong(&tmpint, native) - : asn_INTEGER2long(&tmpint, native)) - rval.code = RC_FAIL; - else - ASN_DEBUG("NativeInteger %s got value %ld", - td->name, *native); - } - ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_INTEGER, &tmpint); - - return rval; -} - -asn_enc_rval_t -NativeInteger_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void *sptr, asn_per_outp_t *po) { - asn_INTEGER_specifics_t *specs=(asn_INTEGER_specifics_t *)td->specifics; - asn_enc_rval_t er; - long native; - INTEGER_t tmpint; - - if(!sptr) _ASN_ENCODE_FAILED; - - native = *(long *)sptr; - - ASN_DEBUG("Encoding NativeInteger %s %ld (UPER)", td->name, native); - - memset(&tmpint, 0, sizeof(tmpint)); - if((specs&&specs->field_unsigned) - ? asn_ulong2INTEGER(&tmpint, native) - : asn_long2INTEGER(&tmpint, native)) - _ASN_ENCODE_FAILED; - er = INTEGER_encode_uper(td, constraints, &tmpint, po); - ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_INTEGER, &tmpint); - return er; -} - -/* - * INTEGER specific human-readable output. - */ -int -NativeInteger_print(asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_INTEGER_specifics_t *specs=(asn_INTEGER_specifics_t *)td->specifics; - const long *native = (const long *)sptr; - char scratch[32]; /* Enough for 64-bit int */ - int ret; - - (void)td; /* Unused argument */ - (void)ilevel; /* Unused argument */ - - if(native) { - ret = snprintf(scratch, sizeof(scratch), - (specs && specs->field_unsigned) - ? "%lu" : "%ld", *native); - assert(ret > 0 && (size_t)ret < sizeof(scratch)); - return (cb(scratch, ret, app_key) < 0) ? -1 : 0; - } else { - return (cb("", 8, app_key) < 0) ? -1 : 0; - } -} - -void -NativeInteger_free(asn_TYPE_descriptor_t *td, void *ptr, int contents_only) { - - if(!td || !ptr) - return; - - ASN_DEBUG("Freeing %s as INTEGER (%d, %p, Native)", - td->name, contents_only, ptr); - - if(!contents_only) { - FREEMEM(ptr); - } -} - diff --git a/lte/rrc/lib/asn/src/NeighCellCDMA2000-v920.c b/lte/rrc/lib/asn/src/NeighCellCDMA2000-v920.c deleted file mode 100644 index 73d052f2a..000000000 --- a/lte/rrc/lib/asn/src/NeighCellCDMA2000-v920.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/NeighCellCDMA2000-v920.h" - -static asn_TYPE_member_t asn_MBR_NeighCellCDMA2000_v920_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct NeighCellCDMA2000_v920, neighCellsPerFreqList_v920), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NeighCellsPerBandclassListCDMA2000_v920, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "neighCellsPerFreqList-v920" - }, -}; -static ber_tlv_tag_t asn_DEF_NeighCellCDMA2000_v920_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_NeighCellCDMA2000_v920_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* neighCellsPerFreqList-v920 at 1713 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_NeighCellCDMA2000_v920_specs_1 = { - sizeof(struct NeighCellCDMA2000_v920), - offsetof(struct NeighCellCDMA2000_v920, _asn_ctx), - asn_MAP_NeighCellCDMA2000_v920_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_NeighCellCDMA2000_v920 = { - "NeighCellCDMA2000-v920", - "NeighCellCDMA2000-v920", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_NeighCellCDMA2000_v920_tags_1, - sizeof(asn_DEF_NeighCellCDMA2000_v920_tags_1) - /sizeof(asn_DEF_NeighCellCDMA2000_v920_tags_1[0]), /* 1 */ - asn_DEF_NeighCellCDMA2000_v920_tags_1, /* Same as above */ - sizeof(asn_DEF_NeighCellCDMA2000_v920_tags_1) - /sizeof(asn_DEF_NeighCellCDMA2000_v920_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_NeighCellCDMA2000_v920_1, - 1, /* Elements count */ - &asn_SPC_NeighCellCDMA2000_v920_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/NeighCellCDMA2000.c b/lte/rrc/lib/asn/src/NeighCellCDMA2000.c deleted file mode 100644 index ef28dc95e..000000000 --- a/lte/rrc/lib/asn/src/NeighCellCDMA2000.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/NeighCellCDMA2000.h" - -static asn_TYPE_member_t asn_MBR_NeighCellCDMA2000_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct NeighCellCDMA2000, bandClass), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BandclassCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "bandClass" - }, - { ATF_NOFLAGS, 0, offsetof(struct NeighCellCDMA2000, neighCellsPerFreqList), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NeighCellsPerBandclassListCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "neighCellsPerFreqList" - }, -}; -static ber_tlv_tag_t asn_DEF_NeighCellCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_NeighCellCDMA2000_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bandClass at 1698 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* neighCellsPerFreqList at 1700 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_NeighCellCDMA2000_specs_1 = { - sizeof(struct NeighCellCDMA2000), - offsetof(struct NeighCellCDMA2000, _asn_ctx), - asn_MAP_NeighCellCDMA2000_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_NeighCellCDMA2000 = { - "NeighCellCDMA2000", - "NeighCellCDMA2000", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_NeighCellCDMA2000_tags_1, - sizeof(asn_DEF_NeighCellCDMA2000_tags_1) - /sizeof(asn_DEF_NeighCellCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_NeighCellCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_NeighCellCDMA2000_tags_1) - /sizeof(asn_DEF_NeighCellCDMA2000_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_NeighCellCDMA2000_1, - 2, /* Elements count */ - &asn_SPC_NeighCellCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/NeighCellConfig.c b/lte/rrc/lib/asn/src/NeighCellConfig.c deleted file mode 100644 index 52ab741b8..000000000 --- a/lte/rrc/lib/asn/src/NeighCellConfig.c +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/NeighCellConfig.h" - -int -NeighCellConfig_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 2)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using BIT_STRING, - * so here we adjust the DEF accordingly. - */ -static void -NeighCellConfig_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_BIT_STRING.free_struct; - td->print_struct = asn_DEF_BIT_STRING.print_struct; - td->ber_decoder = asn_DEF_BIT_STRING.ber_decoder; - td->der_encoder = asn_DEF_BIT_STRING.der_encoder; - td->xer_decoder = asn_DEF_BIT_STRING.xer_decoder; - td->xer_encoder = asn_DEF_BIT_STRING.xer_encoder; - td->uper_decoder = asn_DEF_BIT_STRING.uper_decoder; - td->uper_encoder = asn_DEF_BIT_STRING.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_BIT_STRING.per_constraints; - td->elements = asn_DEF_BIT_STRING.elements; - td->elements_count = asn_DEF_BIT_STRING.elements_count; - td->specifics = asn_DEF_BIT_STRING.specifics; -} - -void -NeighCellConfig_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - NeighCellConfig_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -NeighCellConfig_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - NeighCellConfig_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -NeighCellConfig_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - NeighCellConfig_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -NeighCellConfig_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - NeighCellConfig_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -NeighCellConfig_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - NeighCellConfig_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -NeighCellConfig_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - NeighCellConfig_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -NeighCellConfig_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - NeighCellConfig_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -NeighCellConfig_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - NeighCellConfig_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_NeighCellConfig_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 2, 2 } /* (SIZE(2..2)) */, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_NeighCellConfig_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_NeighCellConfig = { - "NeighCellConfig", - "NeighCellConfig", - NeighCellConfig_free, - NeighCellConfig_print, - NeighCellConfig_constraint, - NeighCellConfig_decode_ber, - NeighCellConfig_encode_der, - NeighCellConfig_decode_xer, - NeighCellConfig_encode_xer, - NeighCellConfig_decode_uper, - NeighCellConfig_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_NeighCellConfig_tags_1, - sizeof(asn_DEF_NeighCellConfig_tags_1) - /sizeof(asn_DEF_NeighCellConfig_tags_1[0]), /* 1 */ - asn_DEF_NeighCellConfig_tags_1, /* Same as above */ - sizeof(asn_DEF_NeighCellConfig_tags_1) - /sizeof(asn_DEF_NeighCellConfig_tags_1[0]), /* 1 */ - &asn_PER_type_NeighCellConfig_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/NeighCellListCDMA2000-v920.c b/lte/rrc/lib/asn/src/NeighCellListCDMA2000-v920.c deleted file mode 100644 index 5a84cbb8a..000000000 --- a/lte/rrc/lib/asn/src/NeighCellListCDMA2000-v920.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/NeighCellListCDMA2000-v920.h" - -static asn_per_constraints_t asn_PER_type_NeighCellListCDMA2000_v920_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_NeighCellListCDMA2000_v920_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_NeighCellCDMA2000_v920, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_NeighCellListCDMA2000_v920_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_NeighCellListCDMA2000_v920_specs_1 = { - sizeof(struct NeighCellListCDMA2000_v920), - offsetof(struct NeighCellListCDMA2000_v920, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_NeighCellListCDMA2000_v920 = { - "NeighCellListCDMA2000-v920", - "NeighCellListCDMA2000-v920", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_NeighCellListCDMA2000_v920_tags_1, - sizeof(asn_DEF_NeighCellListCDMA2000_v920_tags_1) - /sizeof(asn_DEF_NeighCellListCDMA2000_v920_tags_1[0]), /* 1 */ - asn_DEF_NeighCellListCDMA2000_v920_tags_1, /* Same as above */ - sizeof(asn_DEF_NeighCellListCDMA2000_v920_tags_1) - /sizeof(asn_DEF_NeighCellListCDMA2000_v920_tags_1[0]), /* 1 */ - &asn_PER_type_NeighCellListCDMA2000_v920_constr_1, - asn_MBR_NeighCellListCDMA2000_v920_1, - 1, /* Single element */ - &asn_SPC_NeighCellListCDMA2000_v920_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/NeighCellListCDMA2000.c b/lte/rrc/lib/asn/src/NeighCellListCDMA2000.c deleted file mode 100644 index 4f2c2540c..000000000 --- a/lte/rrc/lib/asn/src/NeighCellListCDMA2000.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/NeighCellListCDMA2000.h" - -static asn_per_constraints_t asn_PER_type_NeighCellListCDMA2000_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_NeighCellListCDMA2000_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_NeighCellCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_NeighCellListCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_NeighCellListCDMA2000_specs_1 = { - sizeof(struct NeighCellListCDMA2000), - offsetof(struct NeighCellListCDMA2000, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_NeighCellListCDMA2000 = { - "NeighCellListCDMA2000", - "NeighCellListCDMA2000", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_NeighCellListCDMA2000_tags_1, - sizeof(asn_DEF_NeighCellListCDMA2000_tags_1) - /sizeof(asn_DEF_NeighCellListCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_NeighCellListCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_NeighCellListCDMA2000_tags_1) - /sizeof(asn_DEF_NeighCellListCDMA2000_tags_1[0]), /* 1 */ - &asn_PER_type_NeighCellListCDMA2000_constr_1, - asn_MBR_NeighCellListCDMA2000_1, - 1, /* Single element */ - &asn_SPC_NeighCellListCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/NeighCellSI-AcquisitionParameters-r9.c b/lte/rrc/lib/asn/src/NeighCellSI-AcquisitionParameters-r9.c deleted file mode 100644 index 3981a8420..000000000 --- a/lte/rrc/lib/asn/src/NeighCellSI-AcquisitionParameters-r9.c +++ /dev/null @@ -1,493 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/NeighCellSI-AcquisitionParameters-r9.h" - -static int -intraFreqSI_AcquisitionForHO_r9_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -intraFreqSI_AcquisitionForHO_r9_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -intraFreqSI_AcquisitionForHO_r9_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - intraFreqSI_AcquisitionForHO_r9_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -intraFreqSI_AcquisitionForHO_r9_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - intraFreqSI_AcquisitionForHO_r9_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -intraFreqSI_AcquisitionForHO_r9_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - intraFreqSI_AcquisitionForHO_r9_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -intraFreqSI_AcquisitionForHO_r9_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - intraFreqSI_AcquisitionForHO_r9_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -intraFreqSI_AcquisitionForHO_r9_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - intraFreqSI_AcquisitionForHO_r9_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -intraFreqSI_AcquisitionForHO_r9_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - intraFreqSI_AcquisitionForHO_r9_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -intraFreqSI_AcquisitionForHO_r9_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - intraFreqSI_AcquisitionForHO_r9_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -intraFreqSI_AcquisitionForHO_r9_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - intraFreqSI_AcquisitionForHO_r9_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -interFreqSI_AcquisitionForHO_r9_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -interFreqSI_AcquisitionForHO_r9_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -interFreqSI_AcquisitionForHO_r9_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - interFreqSI_AcquisitionForHO_r9_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -interFreqSI_AcquisitionForHO_r9_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - interFreqSI_AcquisitionForHO_r9_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -interFreqSI_AcquisitionForHO_r9_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - interFreqSI_AcquisitionForHO_r9_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -interFreqSI_AcquisitionForHO_r9_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - interFreqSI_AcquisitionForHO_r9_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -interFreqSI_AcquisitionForHO_r9_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - interFreqSI_AcquisitionForHO_r9_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -interFreqSI_AcquisitionForHO_r9_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - interFreqSI_AcquisitionForHO_r9_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -interFreqSI_AcquisitionForHO_r9_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - interFreqSI_AcquisitionForHO_r9_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -interFreqSI_AcquisitionForHO_r9_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - interFreqSI_AcquisitionForHO_r9_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -utran_SI_AcquisitionForHO_r9_6_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -utran_SI_AcquisitionForHO_r9_6_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -utran_SI_AcquisitionForHO_r9_6_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - utran_SI_AcquisitionForHO_r9_6_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -utran_SI_AcquisitionForHO_r9_6_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - utran_SI_AcquisitionForHO_r9_6_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -utran_SI_AcquisitionForHO_r9_6_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - utran_SI_AcquisitionForHO_r9_6_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -utran_SI_AcquisitionForHO_r9_6_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - utran_SI_AcquisitionForHO_r9_6_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -utran_SI_AcquisitionForHO_r9_6_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - utran_SI_AcquisitionForHO_r9_6_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -utran_SI_AcquisitionForHO_r9_6_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - utran_SI_AcquisitionForHO_r9_6_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -utran_SI_AcquisitionForHO_r9_6_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - utran_SI_AcquisitionForHO_r9_6_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -utran_SI_AcquisitionForHO_r9_6_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - utran_SI_AcquisitionForHO_r9_6_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_intraFreqSI_AcquisitionForHO_r9_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_interFreqSI_AcquisitionForHO_r9_constr_4 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_utran_SI_AcquisitionForHO_r9_constr_6 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_intraFreqSI_AcquisitionForHO_r9_value2enum_2[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_intraFreqSI_AcquisitionForHO_r9_enum2value_2[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_intraFreqSI_AcquisitionForHO_r9_specs_2 = { - asn_MAP_intraFreqSI_AcquisitionForHO_r9_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_intraFreqSI_AcquisitionForHO_r9_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_intraFreqSI_AcquisitionForHO_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_intraFreqSI_AcquisitionForHO_r9_2 = { - "intraFreqSI-AcquisitionForHO-r9", - "intraFreqSI-AcquisitionForHO-r9", - intraFreqSI_AcquisitionForHO_r9_2_free, - intraFreqSI_AcquisitionForHO_r9_2_print, - intraFreqSI_AcquisitionForHO_r9_2_constraint, - intraFreqSI_AcquisitionForHO_r9_2_decode_ber, - intraFreqSI_AcquisitionForHO_r9_2_encode_der, - intraFreqSI_AcquisitionForHO_r9_2_decode_xer, - intraFreqSI_AcquisitionForHO_r9_2_encode_xer, - intraFreqSI_AcquisitionForHO_r9_2_decode_uper, - intraFreqSI_AcquisitionForHO_r9_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_intraFreqSI_AcquisitionForHO_r9_tags_2, - sizeof(asn_DEF_intraFreqSI_AcquisitionForHO_r9_tags_2) - /sizeof(asn_DEF_intraFreqSI_AcquisitionForHO_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_intraFreqSI_AcquisitionForHO_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_intraFreqSI_AcquisitionForHO_r9_tags_2) - /sizeof(asn_DEF_intraFreqSI_AcquisitionForHO_r9_tags_2[0]), /* 2 */ - &asn_PER_type_intraFreqSI_AcquisitionForHO_r9_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_intraFreqSI_AcquisitionForHO_r9_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_interFreqSI_AcquisitionForHO_r9_value2enum_4[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_interFreqSI_AcquisitionForHO_r9_enum2value_4[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_interFreqSI_AcquisitionForHO_r9_specs_4 = { - asn_MAP_interFreqSI_AcquisitionForHO_r9_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_interFreqSI_AcquisitionForHO_r9_enum2value_4, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_interFreqSI_AcquisitionForHO_r9_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_interFreqSI_AcquisitionForHO_r9_4 = { - "interFreqSI-AcquisitionForHO-r9", - "interFreqSI-AcquisitionForHO-r9", - interFreqSI_AcquisitionForHO_r9_4_free, - interFreqSI_AcquisitionForHO_r9_4_print, - interFreqSI_AcquisitionForHO_r9_4_constraint, - interFreqSI_AcquisitionForHO_r9_4_decode_ber, - interFreqSI_AcquisitionForHO_r9_4_encode_der, - interFreqSI_AcquisitionForHO_r9_4_decode_xer, - interFreqSI_AcquisitionForHO_r9_4_encode_xer, - interFreqSI_AcquisitionForHO_r9_4_decode_uper, - interFreqSI_AcquisitionForHO_r9_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_interFreqSI_AcquisitionForHO_r9_tags_4, - sizeof(asn_DEF_interFreqSI_AcquisitionForHO_r9_tags_4) - /sizeof(asn_DEF_interFreqSI_AcquisitionForHO_r9_tags_4[0]) - 1, /* 1 */ - asn_DEF_interFreqSI_AcquisitionForHO_r9_tags_4, /* Same as above */ - sizeof(asn_DEF_interFreqSI_AcquisitionForHO_r9_tags_4) - /sizeof(asn_DEF_interFreqSI_AcquisitionForHO_r9_tags_4[0]), /* 2 */ - &asn_PER_type_interFreqSI_AcquisitionForHO_r9_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_interFreqSI_AcquisitionForHO_r9_specs_4 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_utran_SI_AcquisitionForHO_r9_value2enum_6[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_utran_SI_AcquisitionForHO_r9_enum2value_6[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_utran_SI_AcquisitionForHO_r9_specs_6 = { - asn_MAP_utran_SI_AcquisitionForHO_r9_value2enum_6, /* "tag" => N; sorted by tag */ - asn_MAP_utran_SI_AcquisitionForHO_r9_enum2value_6, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_utran_SI_AcquisitionForHO_r9_tags_6[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_utran_SI_AcquisitionForHO_r9_6 = { - "utran-SI-AcquisitionForHO-r9", - "utran-SI-AcquisitionForHO-r9", - utran_SI_AcquisitionForHO_r9_6_free, - utran_SI_AcquisitionForHO_r9_6_print, - utran_SI_AcquisitionForHO_r9_6_constraint, - utran_SI_AcquisitionForHO_r9_6_decode_ber, - utran_SI_AcquisitionForHO_r9_6_encode_der, - utran_SI_AcquisitionForHO_r9_6_decode_xer, - utran_SI_AcquisitionForHO_r9_6_encode_xer, - utran_SI_AcquisitionForHO_r9_6_decode_uper, - utran_SI_AcquisitionForHO_r9_6_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_utran_SI_AcquisitionForHO_r9_tags_6, - sizeof(asn_DEF_utran_SI_AcquisitionForHO_r9_tags_6) - /sizeof(asn_DEF_utran_SI_AcquisitionForHO_r9_tags_6[0]) - 1, /* 1 */ - asn_DEF_utran_SI_AcquisitionForHO_r9_tags_6, /* Same as above */ - sizeof(asn_DEF_utran_SI_AcquisitionForHO_r9_tags_6) - /sizeof(asn_DEF_utran_SI_AcquisitionForHO_r9_tags_6[0]), /* 2 */ - &asn_PER_type_utran_SI_AcquisitionForHO_r9_constr_6, - 0, 0, /* Defined elsewhere */ - &asn_SPC_utran_SI_AcquisitionForHO_r9_specs_6 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_NeighCellSI_AcquisitionParameters_r9_1[] = { - { ATF_POINTER, 3, offsetof(struct NeighCellSI_AcquisitionParameters_r9, intraFreqSI_AcquisitionForHO_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_intraFreqSI_AcquisitionForHO_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "intraFreqSI-AcquisitionForHO-r9" - }, - { ATF_POINTER, 2, offsetof(struct NeighCellSI_AcquisitionParameters_r9, interFreqSI_AcquisitionForHO_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_interFreqSI_AcquisitionForHO_r9_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interFreqSI-AcquisitionForHO-r9" - }, - { ATF_POINTER, 1, offsetof(struct NeighCellSI_AcquisitionParameters_r9, utran_SI_AcquisitionForHO_r9), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_utran_SI_AcquisitionForHO_r9_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "utran-SI-AcquisitionForHO-r9" - }, -}; -static int asn_MAP_NeighCellSI_AcquisitionParameters_r9_oms_1[] = { 0, 1, 2 }; -static ber_tlv_tag_t asn_DEF_NeighCellSI_AcquisitionParameters_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_NeighCellSI_AcquisitionParameters_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* intraFreqSI-AcquisitionForHO-r9 at 3999 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* interFreqSI-AcquisitionForHO-r9 at 4000 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* utran-SI-AcquisitionForHO-r9 at 4001 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_NeighCellSI_AcquisitionParameters_r9_specs_1 = { - sizeof(struct NeighCellSI_AcquisitionParameters_r9), - offsetof(struct NeighCellSI_AcquisitionParameters_r9, _asn_ctx), - asn_MAP_NeighCellSI_AcquisitionParameters_r9_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_NeighCellSI_AcquisitionParameters_r9_oms_1, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_NeighCellSI_AcquisitionParameters_r9 = { - "NeighCellSI-AcquisitionParameters-r9", - "NeighCellSI-AcquisitionParameters-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_NeighCellSI_AcquisitionParameters_r9_tags_1, - sizeof(asn_DEF_NeighCellSI_AcquisitionParameters_r9_tags_1) - /sizeof(asn_DEF_NeighCellSI_AcquisitionParameters_r9_tags_1[0]), /* 1 */ - asn_DEF_NeighCellSI_AcquisitionParameters_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_NeighCellSI_AcquisitionParameters_r9_tags_1) - /sizeof(asn_DEF_NeighCellSI_AcquisitionParameters_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_NeighCellSI_AcquisitionParameters_r9_1, - 3, /* Elements count */ - &asn_SPC_NeighCellSI_AcquisitionParameters_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/NeighCellsPerBandclassCDMA2000-v920.c b/lte/rrc/lib/asn/src/NeighCellsPerBandclassCDMA2000-v920.c deleted file mode 100644 index a5535341b..000000000 --- a/lte/rrc/lib/asn/src/NeighCellsPerBandclassCDMA2000-v920.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/NeighCellsPerBandclassCDMA2000-v920.h" - -static asn_TYPE_member_t asn_MBR_NeighCellsPerBandclassCDMA2000_v920_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct NeighCellsPerBandclassCDMA2000_v920, physCellIdList_v920), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdListCDMA2000_v920, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellIdList-v920" - }, -}; -static ber_tlv_tag_t asn_DEF_NeighCellsPerBandclassCDMA2000_v920_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_NeighCellsPerBandclassCDMA2000_v920_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* physCellIdList-v920 at 1719 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_NeighCellsPerBandclassCDMA2000_v920_specs_1 = { - sizeof(struct NeighCellsPerBandclassCDMA2000_v920), - offsetof(struct NeighCellsPerBandclassCDMA2000_v920, _asn_ctx), - asn_MAP_NeighCellsPerBandclassCDMA2000_v920_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_NeighCellsPerBandclassCDMA2000_v920 = { - "NeighCellsPerBandclassCDMA2000-v920", - "NeighCellsPerBandclassCDMA2000-v920", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_NeighCellsPerBandclassCDMA2000_v920_tags_1, - sizeof(asn_DEF_NeighCellsPerBandclassCDMA2000_v920_tags_1) - /sizeof(asn_DEF_NeighCellsPerBandclassCDMA2000_v920_tags_1[0]), /* 1 */ - asn_DEF_NeighCellsPerBandclassCDMA2000_v920_tags_1, /* Same as above */ - sizeof(asn_DEF_NeighCellsPerBandclassCDMA2000_v920_tags_1) - /sizeof(asn_DEF_NeighCellsPerBandclassCDMA2000_v920_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_NeighCellsPerBandclassCDMA2000_v920_1, - 1, /* Elements count */ - &asn_SPC_NeighCellsPerBandclassCDMA2000_v920_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/NeighCellsPerBandclassCDMA2000.c b/lte/rrc/lib/asn/src/NeighCellsPerBandclassCDMA2000.c deleted file mode 100644 index 2d03b7ca1..000000000 --- a/lte/rrc/lib/asn/src/NeighCellsPerBandclassCDMA2000.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/NeighCellsPerBandclassCDMA2000.h" - -static asn_TYPE_member_t asn_MBR_NeighCellsPerBandclassCDMA2000_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct NeighCellsPerBandclassCDMA2000, arfcn), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "arfcn" - }, - { ATF_NOFLAGS, 0, offsetof(struct NeighCellsPerBandclassCDMA2000, physCellIdList), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdListCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellIdList" - }, -}; -static ber_tlv_tag_t asn_DEF_NeighCellsPerBandclassCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_NeighCellsPerBandclassCDMA2000_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* arfcn at 1705 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* physCellIdList at 1707 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_NeighCellsPerBandclassCDMA2000_specs_1 = { - sizeof(struct NeighCellsPerBandclassCDMA2000), - offsetof(struct NeighCellsPerBandclassCDMA2000, _asn_ctx), - asn_MAP_NeighCellsPerBandclassCDMA2000_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_NeighCellsPerBandclassCDMA2000 = { - "NeighCellsPerBandclassCDMA2000", - "NeighCellsPerBandclassCDMA2000", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_NeighCellsPerBandclassCDMA2000_tags_1, - sizeof(asn_DEF_NeighCellsPerBandclassCDMA2000_tags_1) - /sizeof(asn_DEF_NeighCellsPerBandclassCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_NeighCellsPerBandclassCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_NeighCellsPerBandclassCDMA2000_tags_1) - /sizeof(asn_DEF_NeighCellsPerBandclassCDMA2000_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_NeighCellsPerBandclassCDMA2000_1, - 2, /* Elements count */ - &asn_SPC_NeighCellsPerBandclassCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/NeighCellsPerBandclassListCDMA2000-v920.c b/lte/rrc/lib/asn/src/NeighCellsPerBandclassListCDMA2000-v920.c deleted file mode 100644 index 9af572d6a..000000000 --- a/lte/rrc/lib/asn/src/NeighCellsPerBandclassListCDMA2000-v920.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/NeighCellsPerBandclassListCDMA2000-v920.h" - -static asn_per_constraints_t asn_PER_type_NeighCellsPerBandclassListCDMA2000_v920_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_NeighCellsPerBandclassListCDMA2000_v920_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_NeighCellsPerBandclassCDMA2000_v920, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_NeighCellsPerBandclassListCDMA2000_v920_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_NeighCellsPerBandclassListCDMA2000_v920_specs_1 = { - sizeof(struct NeighCellsPerBandclassListCDMA2000_v920), - offsetof(struct NeighCellsPerBandclassListCDMA2000_v920, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_NeighCellsPerBandclassListCDMA2000_v920 = { - "NeighCellsPerBandclassListCDMA2000-v920", - "NeighCellsPerBandclassListCDMA2000-v920", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_NeighCellsPerBandclassListCDMA2000_v920_tags_1, - sizeof(asn_DEF_NeighCellsPerBandclassListCDMA2000_v920_tags_1) - /sizeof(asn_DEF_NeighCellsPerBandclassListCDMA2000_v920_tags_1[0]), /* 1 */ - asn_DEF_NeighCellsPerBandclassListCDMA2000_v920_tags_1, /* Same as above */ - sizeof(asn_DEF_NeighCellsPerBandclassListCDMA2000_v920_tags_1) - /sizeof(asn_DEF_NeighCellsPerBandclassListCDMA2000_v920_tags_1[0]), /* 1 */ - &asn_PER_type_NeighCellsPerBandclassListCDMA2000_v920_constr_1, - asn_MBR_NeighCellsPerBandclassListCDMA2000_v920_1, - 1, /* Single element */ - &asn_SPC_NeighCellsPerBandclassListCDMA2000_v920_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/NeighCellsPerBandclassListCDMA2000.c b/lte/rrc/lib/asn/src/NeighCellsPerBandclassListCDMA2000.c deleted file mode 100644 index 6844ba573..000000000 --- a/lte/rrc/lib/asn/src/NeighCellsPerBandclassListCDMA2000.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/NeighCellsPerBandclassListCDMA2000.h" - -static asn_per_constraints_t asn_PER_type_NeighCellsPerBandclassListCDMA2000_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_NeighCellsPerBandclassListCDMA2000_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_NeighCellsPerBandclassCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_NeighCellsPerBandclassListCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_NeighCellsPerBandclassListCDMA2000_specs_1 = { - sizeof(struct NeighCellsPerBandclassListCDMA2000), - offsetof(struct NeighCellsPerBandclassListCDMA2000, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_NeighCellsPerBandclassListCDMA2000 = { - "NeighCellsPerBandclassListCDMA2000", - "NeighCellsPerBandclassListCDMA2000", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_NeighCellsPerBandclassListCDMA2000_tags_1, - sizeof(asn_DEF_NeighCellsPerBandclassListCDMA2000_tags_1) - /sizeof(asn_DEF_NeighCellsPerBandclassListCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_NeighCellsPerBandclassListCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_NeighCellsPerBandclassListCDMA2000_tags_1) - /sizeof(asn_DEF_NeighCellsPerBandclassListCDMA2000_tags_1[0]), /* 1 */ - &asn_PER_type_NeighCellsPerBandclassListCDMA2000_constr_1, - asn_MBR_NeighCellsPerBandclassListCDMA2000_1, - 1, /* Single element */ - &asn_SPC_NeighCellsPerBandclassListCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/NextHopChainingCount.c b/lte/rrc/lib/asn/src/NextHopChainingCount.c deleted file mode 100644 index bc940400c..000000000 --- a/lte/rrc/lib/asn/src/NextHopChainingCount.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/NextHopChainingCount.h" - -int -NextHopChainingCount_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -NextHopChainingCount_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -NextHopChainingCount_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - NextHopChainingCount_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -NextHopChainingCount_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - NextHopChainingCount_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -NextHopChainingCount_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - NextHopChainingCount_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -NextHopChainingCount_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - NextHopChainingCount_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -NextHopChainingCount_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - NextHopChainingCount_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -NextHopChainingCount_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - NextHopChainingCount_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -NextHopChainingCount_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - NextHopChainingCount_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -NextHopChainingCount_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - NextHopChainingCount_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_NextHopChainingCount_constr_1 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_NextHopChainingCount_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_NextHopChainingCount = { - "NextHopChainingCount", - "NextHopChainingCount", - NextHopChainingCount_free, - NextHopChainingCount_print, - NextHopChainingCount_constraint, - NextHopChainingCount_decode_ber, - NextHopChainingCount_encode_der, - NextHopChainingCount_decode_xer, - NextHopChainingCount_encode_xer, - NextHopChainingCount_decode_uper, - NextHopChainingCount_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_NextHopChainingCount_tags_1, - sizeof(asn_DEF_NextHopChainingCount_tags_1) - /sizeof(asn_DEF_NextHopChainingCount_tags_1[0]), /* 1 */ - asn_DEF_NextHopChainingCount_tags_1, /* Same as above */ - sizeof(asn_DEF_NextHopChainingCount_tags_1) - /sizeof(asn_DEF_NextHopChainingCount_tags_1[0]), /* 1 */ - &asn_PER_type_NextHopChainingCount_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/NonContiguousUL-RA-WithinCC-List-r10.c b/lte/rrc/lib/asn/src/NonContiguousUL-RA-WithinCC-List-r10.c deleted file mode 100644 index 1991b69aa..000000000 --- a/lte/rrc/lib/asn/src/NonContiguousUL-RA-WithinCC-List-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/NonContiguousUL-RA-WithinCC-List-r10.h" - -static asn_per_constraints_t asn_PER_type_NonContiguousUL_RA_WithinCC_List_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 6, 6, 1, 64 } /* (SIZE(1..64)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_NonContiguousUL_RA_WithinCC_List_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_NonContiguousUL_RA_WithinCC_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_NonContiguousUL_RA_WithinCC_List_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_NonContiguousUL_RA_WithinCC_List_r10_specs_1 = { - sizeof(struct NonContiguousUL_RA_WithinCC_List_r10), - offsetof(struct NonContiguousUL_RA_WithinCC_List_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_NonContiguousUL_RA_WithinCC_List_r10 = { - "NonContiguousUL-RA-WithinCC-List-r10", - "NonContiguousUL-RA-WithinCC-List-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_NonContiguousUL_RA_WithinCC_List_r10_tags_1, - sizeof(asn_DEF_NonContiguousUL_RA_WithinCC_List_r10_tags_1) - /sizeof(asn_DEF_NonContiguousUL_RA_WithinCC_List_r10_tags_1[0]), /* 1 */ - asn_DEF_NonContiguousUL_RA_WithinCC_List_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_NonContiguousUL_RA_WithinCC_List_r10_tags_1) - /sizeof(asn_DEF_NonContiguousUL_RA_WithinCC_List_r10_tags_1[0]), /* 1 */ - &asn_PER_type_NonContiguousUL_RA_WithinCC_List_r10_constr_1, - asn_MBR_NonContiguousUL_RA_WithinCC_List_r10_1, - 1, /* Single element */ - &asn_SPC_NonContiguousUL_RA_WithinCC_List_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/NonContiguousUL-RA-WithinCC-r10.c b/lte/rrc/lib/asn/src/NonContiguousUL-RA-WithinCC-r10.c deleted file mode 100644 index fc8ec62dd..000000000 --- a/lte/rrc/lib/asn/src/NonContiguousUL-RA-WithinCC-r10.c +++ /dev/null @@ -1,199 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/NonContiguousUL-RA-WithinCC-r10.h" - -static int -nonContiguousUL_RA_WithinCC_Info_r10_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -nonContiguousUL_RA_WithinCC_Info_r10_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -nonContiguousUL_RA_WithinCC_Info_r10_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - nonContiguousUL_RA_WithinCC_Info_r10_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -nonContiguousUL_RA_WithinCC_Info_r10_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - nonContiguousUL_RA_WithinCC_Info_r10_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -nonContiguousUL_RA_WithinCC_Info_r10_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - nonContiguousUL_RA_WithinCC_Info_r10_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -nonContiguousUL_RA_WithinCC_Info_r10_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - nonContiguousUL_RA_WithinCC_Info_r10_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -nonContiguousUL_RA_WithinCC_Info_r10_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - nonContiguousUL_RA_WithinCC_Info_r10_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -nonContiguousUL_RA_WithinCC_Info_r10_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - nonContiguousUL_RA_WithinCC_Info_r10_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -nonContiguousUL_RA_WithinCC_Info_r10_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - nonContiguousUL_RA_WithinCC_Info_r10_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -nonContiguousUL_RA_WithinCC_Info_r10_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - nonContiguousUL_RA_WithinCC_Info_r10_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_nonContiguousUL_RA_WithinCC_Info_r10_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_nonContiguousUL_RA_WithinCC_Info_r10_value2enum_2[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_nonContiguousUL_RA_WithinCC_Info_r10_enum2value_2[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_nonContiguousUL_RA_WithinCC_Info_r10_specs_2 = { - asn_MAP_nonContiguousUL_RA_WithinCC_Info_r10_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_nonContiguousUL_RA_WithinCC_Info_r10_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_nonContiguousUL_RA_WithinCC_Info_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonContiguousUL_RA_WithinCC_Info_r10_2 = { - "nonContiguousUL-RA-WithinCC-Info-r10", - "nonContiguousUL-RA-WithinCC-Info-r10", - nonContiguousUL_RA_WithinCC_Info_r10_2_free, - nonContiguousUL_RA_WithinCC_Info_r10_2_print, - nonContiguousUL_RA_WithinCC_Info_r10_2_constraint, - nonContiguousUL_RA_WithinCC_Info_r10_2_decode_ber, - nonContiguousUL_RA_WithinCC_Info_r10_2_encode_der, - nonContiguousUL_RA_WithinCC_Info_r10_2_decode_xer, - nonContiguousUL_RA_WithinCC_Info_r10_2_encode_xer, - nonContiguousUL_RA_WithinCC_Info_r10_2_decode_uper, - nonContiguousUL_RA_WithinCC_Info_r10_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonContiguousUL_RA_WithinCC_Info_r10_tags_2, - sizeof(asn_DEF_nonContiguousUL_RA_WithinCC_Info_r10_tags_2) - /sizeof(asn_DEF_nonContiguousUL_RA_WithinCC_Info_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_nonContiguousUL_RA_WithinCC_Info_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_nonContiguousUL_RA_WithinCC_Info_r10_tags_2) - /sizeof(asn_DEF_nonContiguousUL_RA_WithinCC_Info_r10_tags_2[0]), /* 2 */ - &asn_PER_type_nonContiguousUL_RA_WithinCC_Info_r10_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_nonContiguousUL_RA_WithinCC_Info_r10_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_NonContiguousUL_RA_WithinCC_r10_1[] = { - { ATF_POINTER, 1, offsetof(struct NonContiguousUL_RA_WithinCC_r10, nonContiguousUL_RA_WithinCC_Info_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_nonContiguousUL_RA_WithinCC_Info_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonContiguousUL-RA-WithinCC-Info-r10" - }, -}; -static int asn_MAP_NonContiguousUL_RA_WithinCC_r10_oms_1[] = { 0 }; -static ber_tlv_tag_t asn_DEF_NonContiguousUL_RA_WithinCC_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_NonContiguousUL_RA_WithinCC_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* nonContiguousUL-RA-WithinCC-Info-r10 at 3820 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_NonContiguousUL_RA_WithinCC_r10_specs_1 = { - sizeof(struct NonContiguousUL_RA_WithinCC_r10), - offsetof(struct NonContiguousUL_RA_WithinCC_r10, _asn_ctx), - asn_MAP_NonContiguousUL_RA_WithinCC_r10_tag2el_1, - 1, /* Count of tags in the map */ - asn_MAP_NonContiguousUL_RA_WithinCC_r10_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_NonContiguousUL_RA_WithinCC_r10 = { - "NonContiguousUL-RA-WithinCC-r10", - "NonContiguousUL-RA-WithinCC-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_NonContiguousUL_RA_WithinCC_r10_tags_1, - sizeof(asn_DEF_NonContiguousUL_RA_WithinCC_r10_tags_1) - /sizeof(asn_DEF_NonContiguousUL_RA_WithinCC_r10_tags_1[0]), /* 1 */ - asn_DEF_NonContiguousUL_RA_WithinCC_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_NonContiguousUL_RA_WithinCC_r10_tags_1) - /sizeof(asn_DEF_NonContiguousUL_RA_WithinCC_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_NonContiguousUL_RA_WithinCC_r10_1, - 1, /* Elements count */ - &asn_SPC_NonContiguousUL_RA_WithinCC_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/OCTET_STRING.c b/lte/rrc/lib/asn/src/OCTET_STRING.c deleted file mode 100644 index f593adeac..000000000 --- a/lte/rrc/lib/asn/src/OCTET_STRING.c +++ /dev/null @@ -1,1804 +0,0 @@ -/*- - * Copyright (c) 2003, 2004, 2005, 2006 Lev Walkin . - * All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include -#include /* for .bits_unused member */ - -/* - * OCTET STRING basic type description. - */ -static ber_tlv_tag_t asn_DEF_OCTET_STRING_tags[] = { - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) -}; -static asn_OCTET_STRING_specifics_t asn_DEF_OCTET_STRING_specs = { - sizeof(OCTET_STRING_t), - offsetof(OCTET_STRING_t, _asn_ctx), - ASN_OSUBV_STR -}; -static asn_per_constraints_t asn_DEF_OCTET_STRING_constraints = { - { APC_CONSTRAINED, 8, 8, 0, 255 }, - { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 }, - 0, 0 -}; -asn_TYPE_descriptor_t asn_DEF_OCTET_STRING = { - "OCTET STRING", /* Canonical name */ - "OCTET_STRING", /* XML tag name */ - OCTET_STRING_free, - OCTET_STRING_print, /* non-ascii stuff, generally */ - asn_generic_no_constraint, - OCTET_STRING_decode_ber, - OCTET_STRING_encode_der, - OCTET_STRING_decode_xer_hex, - OCTET_STRING_encode_xer, - OCTET_STRING_decode_uper, /* Unaligned PER decoder */ - OCTET_STRING_encode_uper, /* Unaligned PER encoder */ - 0, /* Use generic outmost tag fetcher */ - asn_DEF_OCTET_STRING_tags, - sizeof(asn_DEF_OCTET_STRING_tags) - / sizeof(asn_DEF_OCTET_STRING_tags[0]), - asn_DEF_OCTET_STRING_tags, /* Same as above */ - sizeof(asn_DEF_OCTET_STRING_tags) - / sizeof(asn_DEF_OCTET_STRING_tags[0]), - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_DEF_OCTET_STRING_specs -}; - -#undef _CH_PHASE -#undef NEXT_PHASE -#undef PREV_PHASE -#define _CH_PHASE(ctx, inc) do { \ - if(ctx->phase == 0) \ - ctx->context = 0; \ - ctx->phase += inc; \ - } while(0) -#define NEXT_PHASE(ctx) _CH_PHASE(ctx, +1) -#define PREV_PHASE(ctx) _CH_PHASE(ctx, -1) - -#undef ADVANCE -#define ADVANCE(num_bytes) do { \ - size_t num = (num_bytes); \ - buf_ptr = ((const char *)buf_ptr) + num; \ - size -= num; \ - consumed_myself += num; \ - } while(0) - -#undef RETURN -#define RETURN(_code) do { \ - asn_dec_rval_t tmprval; \ - tmprval.code = _code; \ - tmprval.consumed = consumed_myself; \ - return tmprval; \ - } while(0) - -#undef APPEND -#define APPEND(bufptr, bufsize) do { \ - size_t _bs = (bufsize); /* Append size */ \ - size_t _ns = ctx->context; /* Allocated now */ \ - size_t _es = st->size + _bs; /* Expected size */ \ - /* int is really a typeof(st->size): */ \ - if((int)_es < 0) RETURN(RC_FAIL); \ - if(_ns <= _es) { \ - void *ptr; \ - /* Be nice and round to the memory allocator */ \ - do { _ns = _ns ? _ns << 1 : 16; } \ - while(_ns <= _es); \ - /* int is really a typeof(st->size): */ \ - if((int)_ns < 0) RETURN(RC_FAIL); \ - ptr = REALLOC(st->buf, _ns); \ - if(ptr) { \ - st->buf = (uint8_t *)ptr; \ - ctx->context = _ns; \ - } else { \ - RETURN(RC_FAIL); \ - } \ - ASN_DEBUG("Reallocating into %ld", (long)_ns); \ - } \ - memcpy(st->buf + st->size, bufptr, _bs); \ - /* Convenient nul-termination */ \ - st->buf[_es] = '\0'; \ - st->size = _es; \ - } while(0) - -/* - * The main reason why ASN.1 is still alive is that too much time and effort - * is necessary for learning it more or less adequately, thus creating a gut - * necessity to demonstrate that aquired skill everywhere afterwards. - * No, I am not going to explain what the following stuff is. - */ -struct _stack_el { - ber_tlv_len_t left; /* What's left to read (or -1) */ - ber_tlv_len_t got; /* What was actually processed */ - int cont_level; /* Depth of subcontainment */ - int want_nulls; /* Want null "end of content" octets? */ - int bits_chopped; /* Flag in BIT STRING mode */ - ber_tlv_tag_t tag; /* For debugging purposes */ - struct _stack_el *prev; - struct _stack_el *next; -}; -struct _stack { - struct _stack_el *tail; - struct _stack_el *cur_ptr; -}; - -static struct _stack_el * -OS__add_stack_el(struct _stack *st) { - struct _stack_el *nel; - - /* - * Reuse the old stack frame or allocate a new one. - */ - if(st->cur_ptr && st->cur_ptr->next) { - nel = st->cur_ptr->next; - nel->bits_chopped = 0; - nel->got = 0; - /* Retain the nel->cont_level, it's correct. */ - } else { - nel = (struct _stack_el *)CALLOC(1, sizeof(struct _stack_el)); - if(nel == NULL) - return NULL; - - if(st->tail) { - /* Increase a subcontainment depth */ - nel->cont_level = st->tail->cont_level + 1; - st->tail->next = nel; - } - nel->prev = st->tail; - st->tail = nel; - } - - st->cur_ptr = nel; - - return nel; -} - -static struct _stack * -_new_stack() { - return (struct _stack *)CALLOC(1, sizeof(struct _stack)); -} - -/* - * Decode OCTET STRING type. - */ -asn_dec_rval_t -OCTET_STRING_decode_ber(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *td, - void **sptr, const void *buf_ptr, size_t size, int tag_mode) { - asn_OCTET_STRING_specifics_t *specs = td->specifics - ? (asn_OCTET_STRING_specifics_t *)td->specifics - : &asn_DEF_OCTET_STRING_specs; - BIT_STRING_t *st = (BIT_STRING_t *)*sptr; - asn_dec_rval_t rval; - asn_struct_ctx_t *ctx; - ssize_t consumed_myself = 0; - struct _stack *stck; /* Expectations stack structure */ - struct _stack_el *sel = 0; /* Stack element */ - int tlv_constr; - enum asn_OS_Subvariant type_variant = specs->subvariant; - - ASN_DEBUG("Decoding %s as %s (frame %ld)", - td->name, - (type_variant == ASN_OSUBV_STR) ? - "OCTET STRING" : "OS-SpecialCase", - (long)size); - - /* - * Create the string if does not exist. - */ - if(st == NULL) { - st = (BIT_STRING_t *)(*sptr = CALLOC(1, specs->struct_size)); - if(st == NULL) RETURN(RC_FAIL); - } - - /* Restore parsing context */ - ctx = (asn_struct_ctx_t *)((char *)st + specs->ctx_offset); - - switch(ctx->phase) { - case 0: - /* - * Check tags. - */ - rval = ber_check_tags(opt_codec_ctx, td, ctx, - buf_ptr, size, tag_mode, -1, - &ctx->left, &tlv_constr); - if(rval.code != RC_OK) - return rval; - - if(tlv_constr) { - /* - * Complex operation, requires stack of expectations. - */ - ctx->ptr = _new_stack(); - if(ctx->ptr) { - stck = (struct _stack *)ctx->ptr; - } else { - RETURN(RC_FAIL); - } - } else { - /* - * Jump into stackless primitive decoding. - */ - _CH_PHASE(ctx, 3); - if(type_variant == ASN_OSUBV_ANY && tag_mode != 1) - APPEND(buf_ptr, rval.consumed); - ADVANCE(rval.consumed); - goto phase3; - } - - NEXT_PHASE(ctx); - /* Fall through */ - case 1: - phase1: - /* - * Fill the stack with expectations. - */ - stck = (struct _stack *)ctx->ptr; - sel = stck->cur_ptr; - do { - ber_tlv_tag_t tlv_tag; - ber_tlv_len_t tlv_len; - ber_tlv_tag_t expected_tag; - ssize_t tl, ll, tlvl; - /* This one works even if (sel->left == -1) */ - ssize_t Left = ((!sel||(size_t)sel->left >= size) - ?(ssize_t)size:sel->left); - - - ASN_DEBUG("%p, s->l=%ld, s->wn=%ld, s->g=%ld\n", sel, - (long)(sel?sel->left:0), - (long)(sel?sel->want_nulls:0), - (long)(sel?sel->got:0) - ); - if(sel && sel->left <= 0 && sel->want_nulls == 0) { - if(sel->prev) { - struct _stack_el *prev = sel->prev; - if(prev->left != -1) { - if(prev->left < sel->got) - RETURN(RC_FAIL); - prev->left -= sel->got; - } - prev->got += sel->got; - sel = stck->cur_ptr = prev; - if(!sel) break; - tlv_constr = 1; - continue; - } else { - sel = stck->cur_ptr = 0; - break; /* Nothing to wait */ - } - } - - tl = ber_fetch_tag(buf_ptr, Left, &tlv_tag); - ASN_DEBUG("fetch tag(size=%ld,L=%ld), %sstack, left=%ld, wn=%ld, tl=%ld", - (long)size, (long)Left, sel?"":"!", - (long)(sel?sel->left:0), - (long)(sel?sel->want_nulls:0), - (long)tl); - switch(tl) { - case -1: RETURN(RC_FAIL); - case 0: RETURN(RC_WMORE); - } - - tlv_constr = BER_TLV_CONSTRUCTED(buf_ptr); - - ll = ber_fetch_length(tlv_constr, - (const char *)buf_ptr + tl,Left - tl,&tlv_len); - ASN_DEBUG("Got tag=%s, tc=%d, left=%ld, tl=%ld, len=%ld, ll=%ld", - ber_tlv_tag_string(tlv_tag), tlv_constr, - (long)Left, (long)tl, (long)tlv_len, (long)ll); - switch(ll) { - case -1: RETURN(RC_FAIL); - case 0: RETURN(RC_WMORE); - } - - if(sel && sel->want_nulls - && ((const uint8_t *)buf_ptr)[0] == 0 - && ((const uint8_t *)buf_ptr)[1] == 0) - { - - ASN_DEBUG("Eat EOC; wn=%d--", sel->want_nulls); - - if(type_variant == ASN_OSUBV_ANY - && (tag_mode != 1 || sel->cont_level)) - APPEND("\0\0", 2); - - ADVANCE(2); - sel->got += 2; - if(sel->left != -1) { - sel->left -= 2; /* assert(sel->left >= 2) */ - } - - sel->want_nulls--; - if(sel->want_nulls == 0) { - /* Move to the next expectation */ - sel->left = 0; - tlv_constr = 1; - } - - continue; - } - - /* - * Set up expected tags, - * depending on ASN.1 type being decoded. - */ - switch(type_variant) { - case ASN_OSUBV_BIT: - /* X.690: 8.6.4.1, NOTE 2 */ - /* Fall through */ - case ASN_OSUBV_STR: - default: - if(sel) { - int level = sel->cont_level; - if(level < td->all_tags_count) { - expected_tag = td->all_tags[level]; - break; - } else if(td->all_tags_count) { - expected_tag = td->all_tags - [td->all_tags_count - 1]; - break; - } - /* else, Fall through */ - } - /* Fall through */ - case ASN_OSUBV_ANY: - expected_tag = tlv_tag; - break; - } - - - if(tlv_tag != expected_tag) { - char buf[2][32]; - ber_tlv_tag_snprint(tlv_tag, - buf[0], sizeof(buf[0])); - ber_tlv_tag_snprint(td->tags[td->tags_count-1], - buf[1], sizeof(buf[1])); - ASN_DEBUG("Tag does not match expectation: %s != %s", - buf[0], buf[1]); - RETURN(RC_FAIL); - } - - tlvl = tl + ll; /* Combined length of T and L encoding */ - if((tlv_len + tlvl) < 0) { - /* tlv_len value is too big */ - ASN_DEBUG("TLV encoding + length (%ld) is too big", - (long)tlv_len); - RETURN(RC_FAIL); - } - - /* - * Append a new expectation. - */ - sel = OS__add_stack_el(stck); - if(!sel) RETURN(RC_FAIL); - - sel->tag = tlv_tag; - - sel->want_nulls = (tlv_len==-1); - if(sel->prev && sel->prev->left != -1) { - /* Check that the parent frame is big enough */ - if(sel->prev->left < tlvl + (tlv_len==-1?0:tlv_len)) - RETURN(RC_FAIL); - if(tlv_len == -1) - sel->left = sel->prev->left - tlvl; - else - sel->left = tlv_len; - } else { - sel->left = tlv_len; - } - if(type_variant == ASN_OSUBV_ANY - && (tag_mode != 1 || sel->cont_level)) - APPEND(buf_ptr, tlvl); - sel->got += tlvl; - ADVANCE(tlvl); - - ASN_DEBUG("+EXPECT2 got=%ld left=%ld, wn=%d, clvl=%d", - (long)sel->got, (long)sel->left, - sel->want_nulls, sel->cont_level); - - } while(tlv_constr); - if(sel == NULL) { - /* Finished operation, "phase out" */ - ASN_DEBUG("Phase out"); - _CH_PHASE(ctx, +3); - break; - } - - NEXT_PHASE(ctx); - /* Fall through */ - case 2: - stck = (struct _stack *)ctx->ptr; - sel = stck->cur_ptr; - ASN_DEBUG("Phase 2: Need %ld bytes, size=%ld, alrg=%ld, wn=%d", - (long)sel->left, (long)size, (long)sel->got, - sel->want_nulls); - { - ber_tlv_len_t len; - - assert(sel->left >= 0); - - len = ((ber_tlv_len_t)size < sel->left) - ? (ber_tlv_len_t)size : sel->left; - if(len > 0) { - if(type_variant == ASN_OSUBV_BIT - && sel->bits_chopped == 0) { - /* Put the unused-bits-octet away */ - st->bits_unused = *(const uint8_t *)buf_ptr; - APPEND(((const char *)buf_ptr+1), (len - 1)); - sel->bits_chopped = 1; - } else { - APPEND(buf_ptr, len); - } - ADVANCE(len); - sel->left -= len; - sel->got += len; - } - - if(sel->left) { - ASN_DEBUG("OS left %ld, size = %ld, wn=%d\n", - (long)sel->left, (long)size, sel->want_nulls); - RETURN(RC_WMORE); - } - - PREV_PHASE(ctx); - goto phase1; - } - break; - case 3: - phase3: - /* - * Primitive form, no stack required. - */ - assert(ctx->left >= 0); - - if(size < (size_t)ctx->left) { - if(!size) RETURN(RC_WMORE); - if(type_variant == ASN_OSUBV_BIT && !ctx->context) { - st->bits_unused = *(const uint8_t *)buf_ptr; - ctx->left--; - ADVANCE(1); - } - APPEND(buf_ptr, size); - assert(ctx->context > 0); - ctx->left -= size; - ADVANCE(size); - RETURN(RC_WMORE); - } else { - if(type_variant == ASN_OSUBV_BIT - && !ctx->context && ctx->left) { - st->bits_unused = *(const uint8_t *)buf_ptr; - ctx->left--; - ADVANCE(1); - } - APPEND(buf_ptr, ctx->left); - ADVANCE(ctx->left); - ctx->left = 0; - - NEXT_PHASE(ctx); - } - break; - } - - if(sel) { - ASN_DEBUG("3sel p=%p, wn=%d, l=%ld, g=%ld, size=%ld", - sel->prev, sel->want_nulls, - (long)sel->left, (long)sel->got, (long)size); - if(sel->prev || sel->want_nulls > 1 || sel->left > 0) { - RETURN(RC_WMORE); - } - } - - /* - * BIT STRING-specific processing. - */ - if(type_variant == ASN_OSUBV_BIT && st->size) { - /* Finalize BIT STRING: zero out unused bits. */ - st->buf[st->size-1] &= 0xff << st->bits_unused; - } - - ASN_DEBUG("Took %ld bytes to encode %s: [%s]:%ld", - (long)consumed_myself, td->name, - (type_variant == ASN_OSUBV_STR) ? (char *)st->buf : "", - (long)st->size); - - - RETURN(RC_OK); -} - -/* - * Encode OCTET STRING type using DER. - */ -asn_enc_rval_t -OCTET_STRING_encode_der(asn_TYPE_descriptor_t *td, void *sptr, - int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_enc_rval_t er; - asn_OCTET_STRING_specifics_t *specs = td->specifics - ? (asn_OCTET_STRING_specifics_t *)td->specifics - : &asn_DEF_OCTET_STRING_specs; - BIT_STRING_t *st = (BIT_STRING_t *)sptr; - enum asn_OS_Subvariant type_variant = specs->subvariant; - int fix_last_byte = 0; - - ASN_DEBUG("%s %s as OCTET STRING", - cb?"Estimating":"Encoding", td->name); - - /* - * Write tags. - */ - if(type_variant != ASN_OSUBV_ANY || tag_mode == 1) { - er.encoded = der_write_tags(td, - (type_variant == ASN_OSUBV_BIT) + st->size, - tag_mode, type_variant == ASN_OSUBV_ANY, tag, - cb, app_key); - if(er.encoded == -1) { - er.failed_type = td; - er.structure_ptr = sptr; - return er; - } - } else { - /* Disallow: [] IMPLICIT ANY */ - assert(type_variant != ASN_OSUBV_ANY || tag_mode != -1); - er.encoded = 0; - } - - if(!cb) { - er.encoded += (type_variant == ASN_OSUBV_BIT) + st->size; - _ASN_ENCODED_OK(er); - } - - /* - * Prepare to deal with the last octet of BIT STRING. - */ - if(type_variant == ASN_OSUBV_BIT) { - uint8_t b = st->bits_unused & 0x07; - if(b && st->size) fix_last_byte = 1; - _ASN_CALLBACK(&b, 1); - er.encoded++; - } - - /* Invoke callback for the main part of the buffer */ - _ASN_CALLBACK(st->buf, st->size - fix_last_byte); - - /* The last octet should be stripped off the unused bits */ - if(fix_last_byte) { - uint8_t b = st->buf[st->size-1] & (0xff << st->bits_unused); - _ASN_CALLBACK(&b, 1); - } - - er.encoded += st->size; - _ASN_ENCODED_OK(er); -cb_failed: - _ASN_ENCODE_FAILED; -} - -asn_enc_rval_t -OCTET_STRING_encode_xer(asn_TYPE_descriptor_t *td, void *sptr, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - static const char *h2c = "0123456789ABCDEF"; - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - asn_enc_rval_t er; - char scratch[16 * 3 + 4]; - char *p = scratch; - uint8_t *buf; - uint8_t *end; - size_t i; - - if(!st || (!st->buf && st->size)) - _ASN_ENCODE_FAILED; - - er.encoded = 0; - - /* - * Dump the contents of the buffer in hexadecimal. - */ - buf = st->buf; - end = buf + st->size; - if(flags & XER_F_CANONICAL) { - char *scend = scratch + (sizeof(scratch) - 2); - for(; buf < end; buf++) { - if(p >= scend) { - _ASN_CALLBACK(scratch, p - scratch); - er.encoded += p - scratch; - p = scratch; - } - *p++ = h2c[(*buf >> 4) & 0x0F]; - *p++ = h2c[*buf & 0x0F]; - } - - _ASN_CALLBACK(scratch, p-scratch); /* Dump the rest */ - er.encoded += p - scratch; - } else { - for(i = 0; buf < end; buf++, i++) { - if(!(i % 16) && (i || st->size > 16)) { - _ASN_CALLBACK(scratch, p-scratch); - er.encoded += (p-scratch); - p = scratch; - _i_ASN_TEXT_INDENT(1, ilevel); - } - *p++ = h2c[(*buf >> 4) & 0x0F]; - *p++ = h2c[*buf & 0x0F]; - *p++ = 0x20; - } - if(p - scratch) { - p--; /* Remove the tail space */ - _ASN_CALLBACK(scratch, p-scratch); /* Dump the rest */ - er.encoded += p - scratch; - if(st->size > 16) - _i_ASN_TEXT_INDENT(1, ilevel-1); - } - } - - _ASN_ENCODED_OK(er); -cb_failed: - _ASN_ENCODE_FAILED; -} - -static struct OCTET_STRING__xer_escape_table_s { - char *string; - int size; -} OCTET_STRING__xer_escape_table[] = { -#define OSXET(s) { s, sizeof(s) - 1 } - OSXET("\074\156\165\154\057\076"), /* */ - OSXET("\074\163\157\150\057\076"), /* */ - OSXET("\074\163\164\170\057\076"), /* */ - OSXET("\074\145\164\170\057\076"), /* */ - OSXET("\074\145\157\164\057\076"), /* */ - OSXET("\074\145\156\161\057\076"), /* */ - OSXET("\074\141\143\153\057\076"), /* */ - OSXET("\074\142\145\154\057\076"), /* */ - OSXET("\074\142\163\057\076"), /* */ - OSXET("\011"), /* \t */ - OSXET("\012"), /* \n */ - OSXET("\074\166\164\057\076"), /* */ - OSXET("\074\146\146\057\076"), /* */ - OSXET("\015"), /* \r */ - OSXET("\074\163\157\057\076"), /* */ - OSXET("\074\163\151\057\076"), /* */ - OSXET("\074\144\154\145\057\076"), /* */ - OSXET("\074\144\143\061\057\076"), /* */ - OSXET("\074\144\143\062\057\076"), /* */ - OSXET("\074\144\143\063\057\076"), /* */ - OSXET("\074\144\143\064\057\076"), /* */ - OSXET("\074\156\141\153\057\076"), /* */ - OSXET("\074\163\171\156\057\076"), /* */ - OSXET("\074\145\164\142\057\076"), /* */ - OSXET("\074\143\141\156\057\076"), /* */ - OSXET("\074\145\155\057\076"), /* */ - OSXET("\074\163\165\142\057\076"), /* */ - OSXET("\074\145\163\143\057\076"), /* */ - OSXET("\074\151\163\064\057\076"), /* */ - OSXET("\074\151\163\063\057\076"), /* */ - OSXET("\074\151\163\062\057\076"), /* */ - OSXET("\074\151\163\061\057\076"), /* */ - { 0, 0 }, /* " " */ - { 0, 0 }, /* ! */ - { 0, 0 }, /* \" */ - { 0, 0 }, /* # */ - { 0, 0 }, /* $ */ - { 0, 0 }, /* % */ - OSXET("\046\141\155\160\073"), /* & */ - { 0, 0 }, /* ' */ - {0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0}, /* ()*+,-./ */ - {0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0}, /* 01234567 */ - {0,0},{0,0},{0,0},{0,0}, /* 89:; */ - OSXET("\046\154\164\073"), /* < */ - { 0, 0 }, /* = */ - OSXET("\046\147\164\073"), /* > */ -}; - -static int -OS__check_escaped_control_char(const void *buf, int size) { - size_t i; - /* - * Inefficient algorithm which translates the escape sequences - * defined above into characters. Returns -1 if not found. - * TODO: replace by a faster algorithm (bsearch(), hash or - * nested table lookups). - */ - for(i = 0; i < 32 /* Don't spend time on the bottom half */; i++) { - struct OCTET_STRING__xer_escape_table_s *el; - el = &OCTET_STRING__xer_escape_table[i]; - if(el->size == size && memcmp(buf, el->string, size) == 0) - return i; - } - return -1; -} - -static int -OCTET_STRING__handle_control_chars(void *struct_ptr, const void *chunk_buf, size_t chunk_size) { - /* - * This might be one of the escape sequences - * for control characters. Check it out. - * #11.15.5 - */ - int control_char = OS__check_escaped_control_char(chunk_buf,chunk_size); - if(control_char >= 0) { - OCTET_STRING_t *st = (OCTET_STRING_t *)struct_ptr; - void *p = REALLOC(st->buf, st->size + 2); - if(p) { - st->buf = (uint8_t *)p; - st->buf[st->size++] = control_char; - st->buf[st->size] = '\0'; /* nul-termination */ - return 0; - } - } - - return -1; /* No, it's not */ -} - -asn_enc_rval_t -OCTET_STRING_encode_xer_utf8(asn_TYPE_descriptor_t *td, void *sptr, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - asn_enc_rval_t er; - uint8_t *buf, *end; - uint8_t *ss; /* Sequence start */ - ssize_t encoded_len = 0; - - (void)ilevel; /* Unused argument */ - (void)flags; /* Unused argument */ - - if(!st || (!st->buf && st->size)) - _ASN_ENCODE_FAILED; - - buf = st->buf; - end = buf + st->size; - for(ss = buf; buf < end; buf++) { - unsigned int ch = *buf; - int s_len; /* Special encoding sequence length */ - - /* - * Escape certain characters: X.680/11.15 - */ - if(ch < sizeof(OCTET_STRING__xer_escape_table) - /sizeof(OCTET_STRING__xer_escape_table[0]) - && (s_len = OCTET_STRING__xer_escape_table[ch].size)) { - if(((buf - ss) && cb(ss, buf - ss, app_key) < 0) - || cb(OCTET_STRING__xer_escape_table[ch].string, s_len, - app_key) < 0) - _ASN_ENCODE_FAILED; - encoded_len += (buf - ss) + s_len; - ss = buf + 1; - } - } - - encoded_len += (buf - ss); - if((buf - ss) && cb(ss, buf - ss, app_key) < 0) - _ASN_ENCODE_FAILED; - - er.encoded = encoded_len; - _ASN_ENCODED_OK(er); -} - -/* - * Convert from hexadecimal format (cstring): "AB CD EF" - */ -static ssize_t OCTET_STRING__convert_hexadecimal(void *sptr, const void *chunk_buf, size_t chunk_size, int have_more) { - OCTET_STRING_t *st = (OCTET_STRING_t *)sptr; - const char *chunk_stop = (const char *)chunk_buf; - const char *p = chunk_stop; - const char *pend = p + chunk_size; - unsigned int clv = 0; - int half = 0; /* Half bit */ - uint8_t *buf; - - /* Reallocate buffer according to high cap estimation */ - ssize_t _ns = st->size + (chunk_size + 1) / 2; - void *nptr = REALLOC(st->buf, _ns + 1); - if(!nptr) return -1; - st->buf = (uint8_t *)nptr; - buf = st->buf + st->size; - - /* - * If something like " a b c " appears here, the " a b":3 will be - * converted, and the rest skipped. That is, unless buf_size is greater - * than chunk_size, then it'll be equivalent to "ABC0". - */ - for(; p < pend; p++) { - int ch = *(const unsigned char *)p; - switch(ch) { - case 0x09: case 0x0a: case 0x0c: case 0x0d: - case 0x20: - /* Ignore whitespace */ - continue; - case 0x30: case 0x31: case 0x32: case 0x33: case 0x34: /*01234*/ - case 0x35: case 0x36: case 0x37: case 0x38: case 0x39: /*56789*/ - clv = (clv << 4) + (ch - 0x30); - break; - case 0x41: case 0x42: case 0x43: /* ABC */ - case 0x44: case 0x45: case 0x46: /* DEF */ - clv = (clv << 4) + (ch - 0x41 + 10); - break; - case 0x61: case 0x62: case 0x63: /* abc */ - case 0x64: case 0x65: case 0x66: /* def */ - clv = (clv << 4) + (ch - 0x61 + 10); - break; - default: - *buf = 0; /* JIC */ - return -1; - } - if(half++) { - half = 0; - *buf++ = clv; - chunk_stop = p + 1; - } - } - - /* - * Check partial decoding. - */ - if(half) { - if(have_more) { - /* - * Partial specification is fine, - * because no more more PXER_TEXT data is available. - */ - *buf++ = clv << 4; - chunk_stop = p; - } - } else { - chunk_stop = p; - } - - st->size = buf - st->buf; /* Adjust the buffer size */ - assert(st->size <= _ns); - st->buf[st->size] = 0; /* Courtesy termination */ - - return (chunk_stop - (const char *)chunk_buf); /* Converted size */ -} - -/* - * Convert from binary format: "00101011101" - */ -static ssize_t OCTET_STRING__convert_binary(void *sptr, const void *chunk_buf, size_t chunk_size, int have_more) { - BIT_STRING_t *st = (BIT_STRING_t *)sptr; - const char *p = (const char *)chunk_buf; - const char *pend = p + chunk_size; - int bits_unused = st->bits_unused & 0x7; - uint8_t *buf; - - /* Reallocate buffer according to high cap estimation */ - ssize_t _ns = st->size + (chunk_size + 7) / 8; - void *nptr = REALLOC(st->buf, _ns + 1); - if(!nptr) return -1; - st->buf = (uint8_t *)nptr; - buf = st->buf + st->size; - - (void)have_more; - - if(bits_unused == 0) - bits_unused = 8; - else if(st->size) - buf--; - - /* - * Convert series of 0 and 1 into the octet string. - */ - for(; p < pend; p++) { - int ch = *(const unsigned char *)p; - switch(ch) { - case 0x09: case 0x0a: case 0x0c: case 0x0d: - case 0x20: - /* Ignore whitespace */ - break; - case 0x30: - case 0x31: - if(bits_unused-- <= 0) { - *++buf = 0; /* Clean the cell */ - bits_unused = 7; - } - *buf |= (ch&1) << bits_unused; - break; - default: - st->bits_unused = bits_unused; - return -1; - } - } - - if(bits_unused == 8) { - st->size = buf - st->buf; - st->bits_unused = 0; - } else { - st->size = buf - st->buf + 1; - st->bits_unused = bits_unused; - } - - assert(st->size <= _ns); - st->buf[st->size] = 0; /* Courtesy termination */ - - return chunk_size; /* Converted in full */ -} - -/* - * Something like strtod(), but with stricter rules. - */ -static int -OS__strtoent(int base, const char *buf, const char *end, int32_t *ret_value) { - int32_t val = 0; - const char *p; - - for(p = buf; p < end; p++) { - int ch = *p; - - /* Strange huge value */ - if((val * base + base) < 0) - return -1; - - switch(ch) { - case 0x30: case 0x31: case 0x32: case 0x33: case 0x34: /*01234*/ - case 0x35: case 0x36: case 0x37: case 0x38: case 0x39: /*56789*/ - val = val * base + (ch - 0x30); - break; - case 0x41: case 0x42: case 0x43: /* ABC */ - case 0x44: case 0x45: case 0x46: /* DEF */ - val = val * base + (ch - 0x41 + 10); - break; - case 0x61: case 0x62: case 0x63: /* abc */ - case 0x64: case 0x65: case 0x66: /* def */ - val = val * base + (ch - 0x61 + 10); - break; - case 0x3b: /* ';' */ - *ret_value = val; - return (p - buf) + 1; - default: - return -1; /* Character set error */ - } - } - - *ret_value = -1; - return (p - buf); -} - -/* - * Convert from the plain UTF-8 format, expanding entity references: "2 < 3" - */ -static ssize_t OCTET_STRING__convert_entrefs(void *sptr, const void *chunk_buf, size_t chunk_size, int have_more) { - OCTET_STRING_t *st = (OCTET_STRING_t *)sptr; - const char *p = (const char *)chunk_buf; - const char *pend = p + chunk_size; - uint8_t *buf; - - /* Reallocate buffer */ - ssize_t _ns = st->size + chunk_size; - void *nptr = REALLOC(st->buf, _ns + 1); - if(!nptr) return -1; - st->buf = (uint8_t *)nptr; - buf = st->buf + st->size; - - /* - * Convert series of 0 and 1 into the octet string. - */ - for(; p < pend; p++) { - int ch = *(const unsigned char *)p; - int len; /* Length of the rest of the chunk */ - - if(ch != 0x26 /* '&' */) { - *buf++ = ch; - continue; /* That was easy... */ - } - - /* - * Process entity reference. - */ - len = chunk_size - (p - (const char *)chunk_buf); - if(len == 1 /* "&" */) goto want_more; - if(p[1] == 0x23 /* '#' */) { - const char *pval; /* Pointer to start of digits */ - int32_t val = 0; /* Entity reference value */ - int base; - - if(len == 2 /* "&#" */) goto want_more; - if(p[2] == 0x78 /* 'x' */) - pval = p + 3, base = 16; - else - pval = p + 2, base = 10; - len = OS__strtoent(base, pval, p + len, &val); - if(len == -1) { - /* Invalid charset. Just copy verbatim. */ - *buf++ = ch; - continue; - } - if(!len || pval[len-1] != 0x3b) goto want_more; - assert(val > 0); - p += (pval - p) + len - 1; /* Advance past entref */ - - if(val < 0x80) { - *buf++ = (char)val; - } else if(val < 0x800) { - *buf++ = 0xc0 | ((val >> 6)); - *buf++ = 0x80 | ((val & 0x3f)); - } else if(val < 0x10000) { - *buf++ = 0xe0 | ((val >> 12)); - *buf++ = 0x80 | ((val >> 6) & 0x3f); - *buf++ = 0x80 | ((val & 0x3f)); - } else if(val < 0x200000) { - *buf++ = 0xf0 | ((val >> 18)); - *buf++ = 0x80 | ((val >> 12) & 0x3f); - *buf++ = 0x80 | ((val >> 6) & 0x3f); - *buf++ = 0x80 | ((val & 0x3f)); - } else if(val < 0x4000000) { - *buf++ = 0xf8 | ((val >> 24)); - *buf++ = 0x80 | ((val >> 18) & 0x3f); - *buf++ = 0x80 | ((val >> 12) & 0x3f); - *buf++ = 0x80 | ((val >> 6) & 0x3f); - *buf++ = 0x80 | ((val & 0x3f)); - } else { - *buf++ = 0xfc | ((val >> 30) & 0x1); - *buf++ = 0x80 | ((val >> 24) & 0x3f); - *buf++ = 0x80 | ((val >> 18) & 0x3f); - *buf++ = 0x80 | ((val >> 12) & 0x3f); - *buf++ = 0x80 | ((val >> 6) & 0x3f); - *buf++ = 0x80 | ((val & 0x3f)); - } - } else { - /* - * Ugly, limited parsing of & > < - */ - char *sc = (char *)memchr(p, 0x3b, len > 5 ? 5 : len); - if(!sc) goto want_more; - if((sc - p) == 4 - && p[1] == 0x61 /* 'a' */ - && p[2] == 0x6d /* 'm' */ - && p[3] == 0x70 /* 'p' */) { - *buf++ = 0x26; - p = sc; - continue; - } - if((sc - p) == 3) { - if(p[1] == 0x6c) { - *buf = 0x3c; /* '<' */ - } else if(p[1] == 0x67) { - *buf = 0x3e; /* '>' */ - } else { - /* Unsupported entity reference */ - *buf++ = ch; - continue; - } - if(p[2] != 0x74) { - /* Unsupported entity reference */ - *buf++ = ch; - continue; - } - buf++; - p = sc; - continue; - } - /* Unsupported entity reference */ - *buf++ = ch; - } - - continue; - want_more: - if(have_more) { - /* - * We know that no more data (of the same type) - * is coming. Copy the rest verbatim. - */ - *buf++ = ch; - continue; - } - chunk_size = (p - (const char *)chunk_buf); - /* Processing stalled: need more data */ - break; - } - - st->size = buf - st->buf; - assert(st->size <= _ns); - st->buf[st->size] = 0; /* Courtesy termination */ - - return chunk_size; /* Converted in full */ -} - -/* - * Decode OCTET STRING from the XML element's body. - */ -static asn_dec_rval_t -OCTET_STRING__decode_xer(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *td, void **sptr, - const char *opt_mname, const void *buf_ptr, size_t size, - int (*opt_unexpected_tag_decoder) - (void *struct_ptr, const void *chunk_buf, size_t chunk_size), - ssize_t (*body_receiver) - (void *struct_ptr, const void *chunk_buf, size_t chunk_size, - int have_more) -) { - OCTET_STRING_t *st = (OCTET_STRING_t *)*sptr; - asn_OCTET_STRING_specifics_t *specs = td->specifics - ? (asn_OCTET_STRING_specifics_t *)td->specifics - : &asn_DEF_OCTET_STRING_specs; - const char *xml_tag = opt_mname ? opt_mname : td->xml_tag; - asn_struct_ctx_t *ctx; /* Per-structure parser context */ - asn_dec_rval_t rval; /* Return value from the decoder */ - int st_allocated; - - /* - * Create the string if does not exist. - */ - if(!st) { - st = (OCTET_STRING_t *)CALLOC(1, specs->struct_size); - *sptr = (void *)st; - if(!st) goto sta_failed; - st_allocated = 1; - } else { - st_allocated = 0; - } - if(!st->buf) { - /* This is separate from above section */ - st->buf = (uint8_t *)CALLOC(1, 1); - if(!st->buf) { - if(st_allocated) { - *sptr = 0; - goto stb_failed; - } else { - goto sta_failed; - } - } - } - - /* Restore parsing context */ - ctx = (asn_struct_ctx_t *)(((char *)*sptr) + specs->ctx_offset); - - return xer_decode_general(opt_codec_ctx, ctx, *sptr, xml_tag, - buf_ptr, size, opt_unexpected_tag_decoder, body_receiver); - -stb_failed: - FREEMEM(st); -sta_failed: - rval.code = RC_FAIL; - rval.consumed = 0; - return rval; -} - -/* - * Decode OCTET STRING from the hexadecimal data. - */ -asn_dec_rval_t -OCTET_STRING_decode_xer_hex(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *td, void **sptr, - const char *opt_mname, const void *buf_ptr, size_t size) { - return OCTET_STRING__decode_xer(opt_codec_ctx, td, sptr, opt_mname, - buf_ptr, size, 0, OCTET_STRING__convert_hexadecimal); -} - -/* - * Decode OCTET STRING from the binary (0/1) data. - */ -asn_dec_rval_t -OCTET_STRING_decode_xer_binary(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *td, void **sptr, - const char *opt_mname, const void *buf_ptr, size_t size) { - return OCTET_STRING__decode_xer(opt_codec_ctx, td, sptr, opt_mname, - buf_ptr, size, 0, OCTET_STRING__convert_binary); -} - -/* - * Decode OCTET STRING from the string (ASCII/UTF-8) data. - */ -asn_dec_rval_t -OCTET_STRING_decode_xer_utf8(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *td, void **sptr, - const char *opt_mname, const void *buf_ptr, size_t size) { - return OCTET_STRING__decode_xer(opt_codec_ctx, td, sptr, opt_mname, - buf_ptr, size, - OCTET_STRING__handle_control_chars, - OCTET_STRING__convert_entrefs); -} - -static int -OCTET_STRING_per_get_characters(asn_per_data_t *po, uint8_t *buf, - size_t units, unsigned int bpc, unsigned int unit_bits, - long lb, long ub, asn_per_constraints_t *pc) { - uint8_t *end = buf + units * bpc; - - ASN_DEBUG("Expanding %d characters into (%ld..%ld):%d", - (int)units, lb, ub, unit_bits); - - /* X.691: 27.5.4 */ - if((unsigned long)ub <= ((unsigned long)2 << (unit_bits - 1))) { - /* Decode without translation */ - lb = 0; - } else if(pc && pc->code2value) { - if(unit_bits > 16) - return 1; /* FATAL: can't have constrained - * UniversalString with more than - * 16 million code points */ - for(; buf < end; buf += bpc) { - int value; - int code = per_get_few_bits(po, unit_bits); - if(code < 0) return -1; /* WMORE */ - value = pc->code2value(code); - if(value < 0) { - ASN_DEBUG("Code %d (0x%02x) is" - " not in map (%ld..%ld)", - code, code, lb, ub); - return 1; /* FATAL */ - } - switch(bpc) { - case 1: *buf = value; break; - case 2: buf[0] = value >> 8; buf[1] = value; break; - case 4: buf[0] = value >> 24; buf[1] = value >> 16; - buf[2] = value >> 8; buf[3] = value; break; - } - } - return 0; - } - - /* Shortcut the no-op copying to the aligned structure */ - if(lb == 0 && (unit_bits == 8 * bpc)) { - return per_get_many_bits(po, buf, 0, unit_bits * units); - } - - for(; buf < end; buf += bpc) { - int code = per_get_few_bits(po, unit_bits); - int ch = code + lb; - if(code < 0) return -1; /* WMORE */ - if(ch > ub) { - ASN_DEBUG("Code %d is out of range (%ld..%ld)", - ch, lb, ub); - return 1; /* FATAL */ - } - switch(bpc) { - case 1: *buf = ch; break; - case 2: buf[0] = ch >> 8; buf[1] = ch; break; - case 4: buf[0] = ch >> 24; buf[1] = ch >> 16; - buf[2] = ch >> 8; buf[3] = ch; break; - } - } - - return 0; -} - -static int -OCTET_STRING_per_put_characters(asn_per_outp_t *po, const uint8_t *buf, - size_t units, unsigned int bpc, unsigned int unit_bits, - long lb, long ub, asn_per_constraints_t *pc) { - const uint8_t *end = buf + units * bpc; - - ASN_DEBUG("Squeezing %d characters into (%ld..%ld):%d (%d bpc)", - (int)units, lb, ub, unit_bits, bpc); - - /* X.691: 27.5.4 */ - if((unsigned long)ub <= ((unsigned long)2 << (unit_bits - 1))) { - /* Encode as is */ - lb = 0; - } else if(pc && pc->value2code) { - for(; buf < end; buf += bpc) { - int code; - uint32_t value; - switch(bpc) { - case 1: value = *(const uint8_t *)buf; break; - case 2: value = (buf[0] << 8) | buf[1]; break; - case 4: value = (buf[0] << 24) | (buf[1] << 16) - | (buf[2] << 8) | buf[3]; break; - default: return -1; - } - code = pc->value2code(value); - if(code < 0) { - ASN_DEBUG("Character %d (0x%02x) is" - " not in map (%ld..%ld)", - *buf, *buf, lb, ub); - return -1; - } - if(per_put_few_bits(po, code, unit_bits)) - return -1; - } - } - - /* Shortcut the no-op copying to the aligned structure */ - if(lb == 0 && (unit_bits == 8 * bpc)) { - return per_put_many_bits(po, buf, unit_bits * units); - } - - for(ub -= lb; buf < end; buf += bpc) { - int ch; - uint32_t value; - switch(bpc) { - case 1: value = *(const uint8_t *)buf; break; - case 2: value = (buf[0] << 8) | buf[1]; break; - case 4: value = (buf[0] << 24) | (buf[1] << 16) - | (buf[2] << 8) | buf[3]; break; - default: return -1; - } - ch = value - lb; - if(ch < 0 || ch > ub) { - ASN_DEBUG("Character %d (0x%02x)" - " is out of range (%ld..%ld)", - *buf, *buf, lb, ub + lb); - return -1; - } - if(per_put_few_bits(po, ch, unit_bits)) - return -1; - } - - return 0; -} - -asn_dec_rval_t -OCTET_STRING_decode_uper(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, - void **sptr, asn_per_data_t *pd) { - - asn_OCTET_STRING_specifics_t *specs = td->specifics - ? (asn_OCTET_STRING_specifics_t *)td->specifics - : &asn_DEF_OCTET_STRING_specs; - asn_per_constraints_t *pc = constraints ? constraints - : td->per_constraints; - asn_per_constraint_t *cval; - asn_per_constraint_t *csiz; - asn_dec_rval_t rval = { RC_OK, 0 }; - BIT_STRING_t *st = (BIT_STRING_t *)*sptr; - ssize_t consumed_myself = 0; - int repeat; - enum { - OS__BPC_BIT = 0, - OS__BPC_CHAR = 1, - OS__BPC_U16 = 2, - OS__BPC_U32 = 4 - } bpc; /* Bytes per character */ - unsigned int unit_bits; - unsigned int canonical_unit_bits; - - (void)opt_codec_ctx; - - if(pc) { - cval = &pc->value; - csiz = &pc->size; - } else { - cval = &asn_DEF_OCTET_STRING_constraints.value; - csiz = &asn_DEF_OCTET_STRING_constraints.size; - } - - switch(specs->subvariant) { - default: - case ASN_OSUBV_ANY: - ASN_DEBUG("Unrecognized subvariant %d", specs->subvariant); - RETURN(RC_FAIL); - case ASN_OSUBV_BIT: - canonical_unit_bits = unit_bits = 1; - bpc = OS__BPC_BIT; - break; - case ASN_OSUBV_STR: - canonical_unit_bits = unit_bits = 8; - if(cval->flags & APC_CONSTRAINED) - unit_bits = cval->range_bits; - bpc = OS__BPC_CHAR; - break; - case ASN_OSUBV_U16: - canonical_unit_bits = unit_bits = 16; - if(cval->flags & APC_CONSTRAINED) - unit_bits = cval->range_bits; - bpc = OS__BPC_U16; - break; - case ASN_OSUBV_U32: - canonical_unit_bits = unit_bits = 32; - if(cval->flags & APC_CONSTRAINED) - unit_bits = cval->range_bits; - bpc = OS__BPC_U32; - break; - } - - /* - * Allocate the string. - */ - if(!st) { - st = (BIT_STRING_t *)(*sptr = CALLOC(1, specs->struct_size)); - if(!st) RETURN(RC_FAIL); - } - - ASN_DEBUG("PER Decoding %s size %ld .. %ld bits %d", - csiz->flags & APC_EXTENSIBLE ? "extensible" : "non-extensible", - csiz->lower_bound, csiz->upper_bound, csiz->effective_bits); - - if(csiz->flags & APC_EXTENSIBLE) { - int inext = per_get_few_bits(pd, 1); - if(inext < 0) RETURN(RC_WMORE); - if(inext) { - csiz = &asn_DEF_OCTET_STRING_constraints.size; - cval = &asn_DEF_OCTET_STRING_constraints.value; - unit_bits = canonical_unit_bits; - } - } - - if(csiz->effective_bits >= 0) { - FREEMEM(st->buf); - if(bpc) { - st->size = csiz->upper_bound * bpc; - } else { - st->size = (csiz->upper_bound + 7) >> 3; - } - st->buf = (uint8_t *)MALLOC(st->size + 1); - if(!st->buf) { st->size = 0; RETURN(RC_FAIL); } - } - - /* X.691, #16.5: zero-length encoding */ - /* X.691, #16.6: short fixed length encoding (up to 2 octets) */ - /* X.691, #16.7: long fixed length encoding (up to 64K octets) */ - if(csiz->effective_bits == 0) { - int ret; - if(bpc) { - ASN_DEBUG("Encoding OCTET STRING size %ld", - csiz->upper_bound); - ret = OCTET_STRING_per_get_characters(pd, st->buf, - csiz->upper_bound, bpc, unit_bits, - cval->lower_bound, cval->upper_bound, pc); - if(ret > 0) RETURN(RC_FAIL); - } else { - ASN_DEBUG("Encoding BIT STRING size %ld", - csiz->upper_bound); - ret = per_get_many_bits(pd, st->buf, 0, - unit_bits * csiz->upper_bound); - } - if(ret < 0) RETURN(RC_WMORE); - consumed_myself += unit_bits * csiz->upper_bound; - st->buf[st->size] = 0; - if(bpc == 0) { - int ubs = (csiz->upper_bound & 0x7); - st->bits_unused = ubs ? 8 - ubs : 0; - } - RETURN(RC_OK); - } - - st->size = 0; - do { - ssize_t raw_len; - ssize_t len_bytes; - ssize_t len_bits; - void *p; - int ret; - - /* Get the PER length */ - raw_len = uper_get_length(pd, csiz->effective_bits, &repeat); - if(raw_len < 0) RETURN(RC_WMORE); - raw_len += csiz->lower_bound; - - ASN_DEBUG("Got PER length eb %ld, len %ld, %s (%s)", - (long)csiz->effective_bits, (long)raw_len, - repeat ? "repeat" : "once", td->name); - if(bpc) { - len_bytes = raw_len * bpc; - len_bits = len_bytes * unit_bits; - } else { - len_bits = raw_len; - len_bytes = (len_bits + 7) >> 3; - if(len_bits & 0x7) - st->bits_unused = 8 - (len_bits & 0x7); - /* len_bits be multiple of 16K if repeat is set */ - } - p = REALLOC(st->buf, st->size + len_bytes + 1); - if(!p) RETURN(RC_FAIL); - st->buf = (uint8_t *)p; - - if(bpc) { - ret = OCTET_STRING_per_get_characters(pd, - &st->buf[st->size], raw_len, bpc, unit_bits, - cval->lower_bound, cval->upper_bound, pc); - if(ret > 0) RETURN(RC_FAIL); - } else { - ret = per_get_many_bits(pd, &st->buf[st->size], - 0, len_bits); - } - if(ret < 0) RETURN(RC_WMORE); - st->size += len_bytes; - } while(repeat); - st->buf[st->size] = 0; /* nul-terminate */ - - return rval; -} - -asn_enc_rval_t -OCTET_STRING_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void *sptr, asn_per_outp_t *po) { - - asn_OCTET_STRING_specifics_t *specs = td->specifics - ? (asn_OCTET_STRING_specifics_t *)td->specifics - : &asn_DEF_OCTET_STRING_specs; - asn_per_constraints_t *pc = constraints ? constraints - : td->per_constraints; - asn_per_constraint_t *cval; - asn_per_constraint_t *csiz; - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - asn_enc_rval_t er = { 0, 0, 0 }; - int inext = 0; /* Lies not within extension root */ - unsigned int unit_bits; - unsigned int canonical_unit_bits; - unsigned int sizeinunits; - const uint8_t *buf; - int ret; - enum { - OS__BPC_BIT = 0, - OS__BPC_CHAR = 1, - OS__BPC_U16 = 2, - OS__BPC_U32 = 4 - } bpc; /* Bytes per character */ - int ct_extensible; - - if(!st || (!st->buf && st->size)) - _ASN_ENCODE_FAILED; - - if(pc) { - cval = &pc->value; - csiz = &pc->size; - } else { - cval = &asn_DEF_OCTET_STRING_constraints.value; - csiz = &asn_DEF_OCTET_STRING_constraints.size; - } - ct_extensible = csiz->flags & APC_EXTENSIBLE; - - switch(specs->subvariant) { - default: - case ASN_OSUBV_ANY: - _ASN_ENCODE_FAILED; - case ASN_OSUBV_BIT: - canonical_unit_bits = unit_bits = 1; - bpc = OS__BPC_BIT; - sizeinunits = st->size * 8 - (st->bits_unused & 0x07); - ASN_DEBUG("BIT STRING of %d bytes, %d bits unused", - sizeinunits, st->bits_unused); - break; - case ASN_OSUBV_STR: - canonical_unit_bits = unit_bits = 8; - if(cval->flags & APC_CONSTRAINED) - unit_bits = cval->range_bits; - bpc = OS__BPC_CHAR; - sizeinunits = st->size; - break; - case ASN_OSUBV_U16: - canonical_unit_bits = unit_bits = 16; - if(cval->flags & APC_CONSTRAINED) - unit_bits = cval->range_bits; - bpc = OS__BPC_U16; - sizeinunits = st->size / 2; - break; - case ASN_OSUBV_U32: - canonical_unit_bits = unit_bits = 32; - if(cval->flags & APC_CONSTRAINED) - unit_bits = cval->range_bits; - bpc = OS__BPC_U32; - sizeinunits = st->size / 4; - break; - } - - ASN_DEBUG("Encoding %s into %d units of %d bits" - " (%ld..%ld, effective %d)%s", - td->name, sizeinunits, unit_bits, - csiz->lower_bound, csiz->upper_bound, - csiz->effective_bits, ct_extensible ? " EXT" : ""); - - /* Figure out wheter size lies within PER visible constraint */ - - if(csiz->effective_bits >= 0) { - if((int)sizeinunits < csiz->lower_bound - || (int)sizeinunits > csiz->upper_bound) { - if(ct_extensible) { - cval = &asn_DEF_OCTET_STRING_constraints.value; - csiz = &asn_DEF_OCTET_STRING_constraints.size; - unit_bits = canonical_unit_bits; - inext = 1; - } else - _ASN_ENCODE_FAILED; - } - } else { - inext = 0; - } - - if(ct_extensible) { - /* Declare whether length is [not] within extension root */ - if(per_put_few_bits(po, inext, 1)) - _ASN_ENCODE_FAILED; - } - - /* X.691, #16.5: zero-length encoding */ - /* X.691, #16.6: short fixed length encoding (up to 2 octets) */ - /* X.691, #16.7: long fixed length encoding (up to 64K octets) */ - if(csiz->effective_bits >= 0) { - ASN_DEBUG("Encoding %d bytes (%ld), length in %d bits", - st->size, sizeinunits - csiz->lower_bound, - csiz->effective_bits); - ret = per_put_few_bits(po, sizeinunits - csiz->lower_bound, - csiz->effective_bits); - if(ret) _ASN_ENCODE_FAILED; - if(bpc) { - ret = OCTET_STRING_per_put_characters(po, st->buf, - sizeinunits, bpc, unit_bits, - cval->lower_bound, cval->upper_bound, pc); - } else { - ret = per_put_many_bits(po, st->buf, - sizeinunits * unit_bits); - } - if(ret) _ASN_ENCODE_FAILED; - _ASN_ENCODED_OK(er); - } - - ASN_DEBUG("Encoding %d bytes", st->size); - - if(sizeinunits == 0) { - if(uper_put_length(po, 0)) - _ASN_ENCODE_FAILED; - _ASN_ENCODED_OK(er); - } - - buf = st->buf; - while(sizeinunits) { - ssize_t maySave = uper_put_length(po, sizeinunits); - if(maySave < 0) _ASN_ENCODE_FAILED; - - ASN_DEBUG("Encoding %ld of %ld", - (long)maySave, (long)sizeinunits); - - if(bpc) { - ret = OCTET_STRING_per_put_characters(po, buf, - maySave, bpc, unit_bits, - cval->lower_bound, cval->upper_bound, pc); - } else { - ret = per_put_many_bits(po, buf, maySave * unit_bits); - } - if(ret) _ASN_ENCODE_FAILED; - - if(bpc) - buf += maySave * bpc; - else - buf += maySave >> 3; - sizeinunits -= maySave; - assert(!(maySave & 0x07) || !sizeinunits); - } - - _ASN_ENCODED_OK(er); -} - -int -OCTET_STRING_print(asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, - asn_app_consume_bytes_f *cb, void *app_key) { - static const char *h2c = "0123456789ABCDEF"; - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - char scratch[16 * 3 + 4]; - char *p = scratch; - uint8_t *buf; - uint8_t *end; - size_t i; - - (void)td; /* Unused argument */ - - if(!st || (!st->buf && st->size)) - return (cb("", 8, app_key) < 0) ? -1 : 0; - - /* - * Dump the contents of the buffer in hexadecimal. - */ - buf = st->buf; - end = buf + st->size; - for(i = 0; buf < end; buf++, i++) { - if(!(i % 16) && (i || st->size > 16)) { - if(cb(scratch, p - scratch, app_key) < 0) - return -1; - _i_INDENT(1); - p = scratch; - } - *p++ = h2c[(*buf >> 4) & 0x0F]; - *p++ = h2c[*buf & 0x0F]; - *p++ = 0x20; - } - - if(p > scratch) { - p--; /* Remove the tail space */ - if(cb(scratch, p - scratch, app_key) < 0) - return -1; - } - - return 0; -} - -int -OCTET_STRING_print_utf8(asn_TYPE_descriptor_t *td, const void *sptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - - (void)td; /* Unused argument */ - (void)ilevel; /* Unused argument */ - - if(st && (st->buf || !st->size)) { - return (cb(st->buf, st->size, app_key) < 0) ? -1 : 0; - } else { - return (cb("", 8, app_key) < 0) ? -1 : 0; - } -} - -void -OCTET_STRING_free(asn_TYPE_descriptor_t *td, void *sptr, int contents_only) { - OCTET_STRING_t *st = (OCTET_STRING_t *)sptr; - asn_OCTET_STRING_specifics_t *specs = td->specifics - ? (asn_OCTET_STRING_specifics_t *)td->specifics - : &asn_DEF_OCTET_STRING_specs; - asn_struct_ctx_t *ctx = (asn_struct_ctx_t *) - ((char *)st + specs->ctx_offset); - struct _stack *stck; - - if(!td || !st) - return; - - ASN_DEBUG("Freeing %s as OCTET STRING", td->name); - - if(st->buf) { - FREEMEM(st->buf); - st->buf = 0; - } - - /* - * Remove decode-time stack. - */ - stck = (struct _stack *)ctx->ptr; - if(stck) { - while(stck->tail) { - struct _stack_el *sel = stck->tail; - stck->tail = sel->prev; - FREEMEM(sel); - } - FREEMEM(stck); - } - - if(!contents_only) { - FREEMEM(st); - } -} - -/* - * Conversion routines. - */ -int -OCTET_STRING_fromBuf(OCTET_STRING_t *st, const char *str, int len) { - void *buf; - - if(st == 0 || (str == 0 && len)) { - errno = EINVAL; - return -1; - } - - /* - * Clear the OCTET STRING. - */ - if(str == NULL) { - FREEMEM(st->buf); - st->buf = 0; - st->size = 0; - return 0; - } - - /* Determine the original string size, if not explicitly given */ - if(len < 0) - len = strlen(str); - - /* Allocate and fill the memory */ - buf = MALLOC(len + 1); - if(buf == NULL) - return -1; - - memcpy(buf, str, len); - ((uint8_t *)buf)[len] = '\0'; /* Couldn't use memcpy(len+1)! */ - FREEMEM(st->buf); - st->buf = (uint8_t *)buf; - st->size = len; - - return 0; -} - -OCTET_STRING_t * -OCTET_STRING_new_fromBuf(asn_TYPE_descriptor_t *td, const char *str, int len) { - asn_OCTET_STRING_specifics_t *specs = td->specifics - ? (asn_OCTET_STRING_specifics_t *)td->specifics - : &asn_DEF_OCTET_STRING_specs; - OCTET_STRING_t *st; - - st = (OCTET_STRING_t *)CALLOC(1, specs->struct_size); - if(st && str && OCTET_STRING_fromBuf(st, str, len)) { - FREEMEM(st); - st = NULL; - } - - return st; -} - diff --git a/lte/rrc/lib/asn/src/OtherConfig-r9.c b/lte/rrc/lib/asn/src/OtherConfig-r9.c deleted file mode 100644 index 53c6c54ae..000000000 --- a/lte/rrc/lib/asn/src/OtherConfig-r9.c +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/OtherConfig-r9.h" - -static asn_TYPE_member_t asn_MBR_OtherConfig_r9_1[] = { - { ATF_POINTER, 1, offsetof(struct OtherConfig_r9, reportProximityConfig_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReportProximityConfig_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reportProximityConfig-r9" - }, -}; -static int asn_MAP_OtherConfig_r9_oms_1[] = { 0 }; -static ber_tlv_tag_t asn_DEF_OtherConfig_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_OtherConfig_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* reportProximityConfig-r9 at 3684 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_OtherConfig_r9_specs_1 = { - sizeof(struct OtherConfig_r9), - offsetof(struct OtherConfig_r9, _asn_ctx), - asn_MAP_OtherConfig_r9_tag2el_1, - 1, /* Count of tags in the map */ - asn_MAP_OtherConfig_r9_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - 0, /* Start extensions */ - 2 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_OtherConfig_r9 = { - "OtherConfig-r9", - "OtherConfig-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_OtherConfig_r9_tags_1, - sizeof(asn_DEF_OtherConfig_r9_tags_1) - /sizeof(asn_DEF_OtherConfig_r9_tags_1[0]), /* 1 */ - asn_DEF_OtherConfig_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_OtherConfig_r9_tags_1) - /sizeof(asn_DEF_OtherConfig_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_OtherConfig_r9_1, - 1, /* Elements count */ - &asn_SPC_OtherConfig_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/P-Max.c b/lte/rrc/lib/asn/src/P-Max.c deleted file mode 100644 index 64f220d6a..000000000 --- a/lte/rrc/lib/asn/src/P-Max.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/P-Max.h" - -int -P_Max_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -30 && value <= 33)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -P_Max_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -P_Max_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - P_Max_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -P_Max_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - P_Max_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -P_Max_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - P_Max_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -P_Max_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - P_Max_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -P_Max_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - P_Max_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -P_Max_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - P_Max_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -P_Max_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - P_Max_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -P_Max_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - P_Max_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_P_Max_constr_1 = { - { APC_CONSTRAINED, 6, 6, -30, 33 } /* (-30..33) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_P_Max_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_P_Max = { - "P-Max", - "P-Max", - P_Max_free, - P_Max_print, - P_Max_constraint, - P_Max_decode_ber, - P_Max_encode_der, - P_Max_decode_xer, - P_Max_encode_xer, - P_Max_decode_uper, - P_Max_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_P_Max_tags_1, - sizeof(asn_DEF_P_Max_tags_1) - /sizeof(asn_DEF_P_Max_tags_1[0]), /* 1 */ - asn_DEF_P_Max_tags_1, /* Same as above */ - sizeof(asn_DEF_P_Max_tags_1) - /sizeof(asn_DEF_P_Max_tags_1[0]), /* 1 */ - &asn_PER_type_P_Max_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/PCCH-Config.c b/lte/rrc/lib/asn/src/PCCH-Config.c deleted file mode 100644 index 68c257e30..000000000 --- a/lte/rrc/lib/asn/src/PCCH-Config.c +++ /dev/null @@ -1,364 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PCCH-Config.h" - -static int -defaultPagingCycle_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -defaultPagingCycle_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -defaultPagingCycle_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - defaultPagingCycle_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -defaultPagingCycle_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - defaultPagingCycle_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -defaultPagingCycle_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - defaultPagingCycle_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -defaultPagingCycle_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - defaultPagingCycle_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -defaultPagingCycle_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - defaultPagingCycle_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -defaultPagingCycle_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - defaultPagingCycle_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -defaultPagingCycle_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - defaultPagingCycle_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -defaultPagingCycle_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - defaultPagingCycle_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -nB_7_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -nB_7_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -nB_7_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - nB_7_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -nB_7_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - nB_7_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -nB_7_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - nB_7_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -nB_7_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - nB_7_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -nB_7_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - nB_7_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -nB_7_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - nB_7_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -nB_7_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - nB_7_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -nB_7_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - nB_7_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_defaultPagingCycle_constr_2 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_nB_constr_7 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_defaultPagingCycle_value2enum_2[] = { - { 0, 4, "rf32" }, - { 1, 4, "rf64" }, - { 2, 5, "rf128" }, - { 3, 5, "rf256" } -}; -static unsigned int asn_MAP_defaultPagingCycle_enum2value_2[] = { - 2, /* rf128(2) */ - 3, /* rf256(3) */ - 0, /* rf32(0) */ - 1 /* rf64(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_defaultPagingCycle_specs_2 = { - asn_MAP_defaultPagingCycle_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_defaultPagingCycle_enum2value_2, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_defaultPagingCycle_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_defaultPagingCycle_2 = { - "defaultPagingCycle", - "defaultPagingCycle", - defaultPagingCycle_2_free, - defaultPagingCycle_2_print, - defaultPagingCycle_2_constraint, - defaultPagingCycle_2_decode_ber, - defaultPagingCycle_2_encode_der, - defaultPagingCycle_2_decode_xer, - defaultPagingCycle_2_encode_xer, - defaultPagingCycle_2_decode_uper, - defaultPagingCycle_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_defaultPagingCycle_tags_2, - sizeof(asn_DEF_defaultPagingCycle_tags_2) - /sizeof(asn_DEF_defaultPagingCycle_tags_2[0]) - 1, /* 1 */ - asn_DEF_defaultPagingCycle_tags_2, /* Same as above */ - sizeof(asn_DEF_defaultPagingCycle_tags_2) - /sizeof(asn_DEF_defaultPagingCycle_tags_2[0]), /* 2 */ - &asn_PER_type_defaultPagingCycle_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_defaultPagingCycle_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_nB_value2enum_7[] = { - { 0, 5, "fourT" }, - { 1, 4, "twoT" }, - { 2, 4, "oneT" }, - { 3, 5, "halfT" }, - { 4, 8, "quarterT" }, - { 5, 10, "oneEighthT" }, - { 6, 13, "oneSixteenthT" }, - { 7, 16, "oneThirtySecondT" } -}; -static unsigned int asn_MAP_nB_enum2value_7[] = { - 0, /* fourT(0) */ - 3, /* halfT(3) */ - 5, /* oneEighthT(5) */ - 6, /* oneSixteenthT(6) */ - 2, /* oneT(2) */ - 7, /* oneThirtySecondT(7) */ - 4, /* quarterT(4) */ - 1 /* twoT(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_nB_specs_7 = { - asn_MAP_nB_value2enum_7, /* "tag" => N; sorted by tag */ - asn_MAP_nB_enum2value_7, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_nB_tags_7[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nB_7 = { - "nB", - "nB", - nB_7_free, - nB_7_print, - nB_7_constraint, - nB_7_decode_ber, - nB_7_encode_der, - nB_7_decode_xer, - nB_7_encode_xer, - nB_7_decode_uper, - nB_7_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nB_tags_7, - sizeof(asn_DEF_nB_tags_7) - /sizeof(asn_DEF_nB_tags_7[0]) - 1, /* 1 */ - asn_DEF_nB_tags_7, /* Same as above */ - sizeof(asn_DEF_nB_tags_7) - /sizeof(asn_DEF_nB_tags_7[0]), /* 2 */ - &asn_PER_type_nB_constr_7, - 0, 0, /* Defined elsewhere */ - &asn_SPC_nB_specs_7 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PCCH_Config_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PCCH_Config, defaultPagingCycle), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_defaultPagingCycle_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "defaultPagingCycle" - }, - { ATF_NOFLAGS, 0, offsetof(struct PCCH_Config, nB), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_nB_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nB" - }, -}; -static ber_tlv_tag_t asn_DEF_PCCH_Config_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PCCH_Config_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* defaultPagingCycle at 2433 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nB at 2435 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PCCH_Config_specs_1 = { - sizeof(struct PCCH_Config), - offsetof(struct PCCH_Config, _asn_ctx), - asn_MAP_PCCH_Config_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PCCH_Config = { - "PCCH-Config", - "PCCH-Config", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PCCH_Config_tags_1, - sizeof(asn_DEF_PCCH_Config_tags_1) - /sizeof(asn_DEF_PCCH_Config_tags_1[0]), /* 1 */ - asn_DEF_PCCH_Config_tags_1, /* Same as above */ - sizeof(asn_DEF_PCCH_Config_tags_1) - /sizeof(asn_DEF_PCCH_Config_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PCCH_Config_1, - 2, /* Elements count */ - &asn_SPC_PCCH_Config_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PCCH-Message.c b/lte/rrc/lib/asn/src/PCCH-Message.c deleted file mode 100644 index d02f2cefb..000000000 --- a/lte/rrc/lib/asn/src/PCCH-Message.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PCCH-Message.h" - -static asn_TYPE_member_t asn_MBR_PCCH_Message_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PCCH_Message, message), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_PCCH_MessageType, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "message" - }, -}; -static ber_tlv_tag_t asn_DEF_PCCH_Message_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PCCH_Message_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* message at 45 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PCCH_Message_specs_1 = { - sizeof(struct PCCH_Message), - offsetof(struct PCCH_Message, _asn_ctx), - asn_MAP_PCCH_Message_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PCCH_Message = { - "PCCH-Message", - "PCCH-Message", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PCCH_Message_tags_1, - sizeof(asn_DEF_PCCH_Message_tags_1) - /sizeof(asn_DEF_PCCH_Message_tags_1[0]), /* 1 */ - asn_DEF_PCCH_Message_tags_1, /* Same as above */ - sizeof(asn_DEF_PCCH_Message_tags_1) - /sizeof(asn_DEF_PCCH_Message_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PCCH_Message_1, - 1, /* Elements count */ - &asn_SPC_PCCH_Message_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PCCH-MessageType.c b/lte/rrc/lib/asn/src/PCCH-MessageType.c deleted file mode 100644 index 2c04f49cb..000000000 --- a/lte/rrc/lib/asn/src/PCCH-MessageType.c +++ /dev/null @@ -1,162 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PCCH-MessageType.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_PCCH_MessageType_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct PCCH_MessageType__c1, choice.paging), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Paging, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "paging" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* paging at 50 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_2 = { - sizeof(struct PCCH_MessageType__c1), - offsetof(struct PCCH_MessageType__c1, _asn_ctx), - offsetof(struct PCCH_MessageType__c1, present), - sizeof(((struct PCCH_MessageType__c1 *)0)->present), - asn_MAP_c1_tag2el_2, - 1, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_2 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_2, - asn_MBR_c1_2, - 1, /* Elements count */ - &asn_SPC_c1_specs_2 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_messageClassExtension_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_messageClassExtension_specs_4 = { - sizeof(struct PCCH_MessageType__messageClassExtension), - offsetof(struct PCCH_MessageType__messageClassExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_messageClassExtension_4 = { - "messageClassExtension", - "messageClassExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_messageClassExtension_tags_4, - sizeof(asn_DEF_messageClassExtension_tags_4) - /sizeof(asn_DEF_messageClassExtension_tags_4[0]) - 1, /* 1 */ - asn_DEF_messageClassExtension_tags_4, /* Same as above */ - sizeof(asn_DEF_messageClassExtension_tags_4) - /sizeof(asn_DEF_messageClassExtension_tags_4[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_messageClassExtension_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PCCH_MessageType_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PCCH_MessageType, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct PCCH_MessageType, choice.messageClassExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_messageClassExtension_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "messageClassExtension" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_PCCH_MessageType_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 50 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* messageClassExtension at 51 */ -}; -static asn_CHOICE_specifics_t asn_SPC_PCCH_MessageType_specs_1 = { - sizeof(struct PCCH_MessageType), - offsetof(struct PCCH_MessageType, _asn_ctx), - offsetof(struct PCCH_MessageType, present), - sizeof(((struct PCCH_MessageType *)0)->present), - asn_MAP_PCCH_MessageType_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_PCCH_MessageType = { - "PCCH-MessageType", - "PCCH-MessageType", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_PCCH_MessageType_constr_1, - asn_MBR_PCCH_MessageType_1, - 2, /* Elements count */ - &asn_SPC_PCCH_MessageType_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PDCP-Config.c b/lte/rrc/lib/asn/src/PDCP-Config.c deleted file mode 100644 index b95f08a35..000000000 --- a/lte/rrc/lib/asn/src/PDCP-Config.c +++ /dev/null @@ -1,944 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PDCP-Config.h" - -static int -discardTimer_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -discardTimer_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -discardTimer_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - discardTimer_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -discardTimer_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - discardTimer_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -discardTimer_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - discardTimer_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -discardTimer_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - discardTimer_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -discardTimer_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - discardTimer_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -discardTimer_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - discardTimer_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -discardTimer_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - discardTimer_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -discardTimer_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - discardTimer_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -pdcp_SN_Size_14_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -pdcp_SN_Size_14_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -pdcp_SN_Size_14_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - pdcp_SN_Size_14_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -pdcp_SN_Size_14_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - pdcp_SN_Size_14_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -pdcp_SN_Size_14_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - pdcp_SN_Size_14_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -pdcp_SN_Size_14_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - pdcp_SN_Size_14_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -pdcp_SN_Size_14_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - pdcp_SN_Size_14_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -pdcp_SN_Size_14_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - pdcp_SN_Size_14_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -pdcp_SN_Size_14_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - pdcp_SN_Size_14_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -pdcp_SN_Size_14_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - pdcp_SN_Size_14_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_maxCID_constraint_19(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 16383)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -rn_IntegrityProtection_r10_32_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -rn_IntegrityProtection_r10_32_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -rn_IntegrityProtection_r10_32_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - rn_IntegrityProtection_r10_32_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -rn_IntegrityProtection_r10_32_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - rn_IntegrityProtection_r10_32_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -rn_IntegrityProtection_r10_32_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - rn_IntegrityProtection_r10_32_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -rn_IntegrityProtection_r10_32_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - rn_IntegrityProtection_r10_32_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -rn_IntegrityProtection_r10_32_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - rn_IntegrityProtection_r10_32_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -rn_IntegrityProtection_r10_32_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - rn_IntegrityProtection_r10_32_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -rn_IntegrityProtection_r10_32_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - rn_IntegrityProtection_r10_32_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -rn_IntegrityProtection_r10_32_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - rn_IntegrityProtection_r10_32_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_discardTimer_constr_2 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_pdcp_SN_Size_constr_14 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_maxCID_constr_20 = { - { APC_CONSTRAINED, 14, 14, 1, 16383 } /* (1..16383) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_headerCompression_constr_17 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_rn_IntegrityProtection_r10_constr_32 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_discardTimer_value2enum_2[] = { - { 0, 4, "ms50" }, - { 1, 5, "ms100" }, - { 2, 5, "ms150" }, - { 3, 5, "ms300" }, - { 4, 5, "ms500" }, - { 5, 5, "ms750" }, - { 6, 6, "ms1500" }, - { 7, 8, "infinity" } -}; -static unsigned int asn_MAP_discardTimer_enum2value_2[] = { - 7, /* infinity(7) */ - 1, /* ms100(1) */ - 2, /* ms150(2) */ - 6, /* ms1500(6) */ - 3, /* ms300(3) */ - 0, /* ms50(0) */ - 4, /* ms500(4) */ - 5 /* ms750(5) */ -}; -static asn_INTEGER_specifics_t asn_SPC_discardTimer_specs_2 = { - asn_MAP_discardTimer_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_discardTimer_enum2value_2, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_discardTimer_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_discardTimer_2 = { - "discardTimer", - "discardTimer", - discardTimer_2_free, - discardTimer_2_print, - discardTimer_2_constraint, - discardTimer_2_decode_ber, - discardTimer_2_encode_der, - discardTimer_2_decode_xer, - discardTimer_2_encode_xer, - discardTimer_2_decode_uper, - discardTimer_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_discardTimer_tags_2, - sizeof(asn_DEF_discardTimer_tags_2) - /sizeof(asn_DEF_discardTimer_tags_2[0]) - 1, /* 1 */ - asn_DEF_discardTimer_tags_2, /* Same as above */ - sizeof(asn_DEF_discardTimer_tags_2) - /sizeof(asn_DEF_discardTimer_tags_2[0]), /* 2 */ - &asn_PER_type_discardTimer_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_discardTimer_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_rlc_AM_11[] = { - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Config__rlc_AM, statusReportRequired), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "statusReportRequired" - }, -}; -static ber_tlv_tag_t asn_DEF_rlc_AM_tags_11[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_rlc_AM_tag2el_11[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* statusReportRequired at 2090 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_rlc_AM_specs_11 = { - sizeof(struct PDCP_Config__rlc_AM), - offsetof(struct PDCP_Config__rlc_AM, _asn_ctx), - asn_MAP_rlc_AM_tag2el_11, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_rlc_AM_11 = { - "rlc-AM", - "rlc-AM", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_rlc_AM_tags_11, - sizeof(asn_DEF_rlc_AM_tags_11) - /sizeof(asn_DEF_rlc_AM_tags_11[0]) - 1, /* 1 */ - asn_DEF_rlc_AM_tags_11, /* Same as above */ - sizeof(asn_DEF_rlc_AM_tags_11) - /sizeof(asn_DEF_rlc_AM_tags_11[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_rlc_AM_11, - 1, /* Elements count */ - &asn_SPC_rlc_AM_specs_11 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_pdcp_SN_Size_value2enum_14[] = { - { 0, 8, "len7bits" }, - { 1, 9, "len12bits" } -}; -static unsigned int asn_MAP_pdcp_SN_Size_enum2value_14[] = { - 1, /* len12bits(1) */ - 0 /* len7bits(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_pdcp_SN_Size_specs_14 = { - asn_MAP_pdcp_SN_Size_value2enum_14, /* "tag" => N; sorted by tag */ - asn_MAP_pdcp_SN_Size_enum2value_14, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_pdcp_SN_Size_tags_14[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_pdcp_SN_Size_14 = { - "pdcp-SN-Size", - "pdcp-SN-Size", - pdcp_SN_Size_14_free, - pdcp_SN_Size_14_print, - pdcp_SN_Size_14_constraint, - pdcp_SN_Size_14_decode_ber, - pdcp_SN_Size_14_encode_der, - pdcp_SN_Size_14_decode_xer, - pdcp_SN_Size_14_encode_xer, - pdcp_SN_Size_14_decode_uper, - pdcp_SN_Size_14_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_pdcp_SN_Size_tags_14, - sizeof(asn_DEF_pdcp_SN_Size_tags_14) - /sizeof(asn_DEF_pdcp_SN_Size_tags_14[0]) - 1, /* 1 */ - asn_DEF_pdcp_SN_Size_tags_14, /* Same as above */ - sizeof(asn_DEF_pdcp_SN_Size_tags_14) - /sizeof(asn_DEF_pdcp_SN_Size_tags_14[0]), /* 2 */ - &asn_PER_type_pdcp_SN_Size_constr_14, - 0, 0, /* Defined elsewhere */ - &asn_SPC_pdcp_SN_Size_specs_14 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_rlc_UM_13[] = { - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Config__rlc_UM, pdcp_SN_Size), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_pdcp_SN_Size_14, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pdcp-SN-Size" - }, -}; -static ber_tlv_tag_t asn_DEF_rlc_UM_tags_13[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_rlc_UM_tag2el_13[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* pdcp-SN-Size at 2093 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_rlc_UM_specs_13 = { - sizeof(struct PDCP_Config__rlc_UM), - offsetof(struct PDCP_Config__rlc_UM, _asn_ctx), - asn_MAP_rlc_UM_tag2el_13, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_rlc_UM_13 = { - "rlc-UM", - "rlc-UM", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_rlc_UM_tags_13, - sizeof(asn_DEF_rlc_UM_tags_13) - /sizeof(asn_DEF_rlc_UM_tags_13[0]) - 1, /* 1 */ - asn_DEF_rlc_UM_tags_13, /* Same as above */ - sizeof(asn_DEF_rlc_UM_tags_13) - /sizeof(asn_DEF_rlc_UM_tags_13[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_rlc_UM_13, - 1, /* Elements count */ - &asn_SPC_rlc_UM_specs_13 /* Additional specs */ -}; - -static int asn_DFL_20_set_15(int set_value, void **sptr) { - long *st = *sptr; - - if(!st) { - if(!set_value) return -1; /* Not a default value */ - st = (*sptr = CALLOC(1, sizeof(*st))); - if(!st) return -1; - } - - if(set_value) { - /* Install default value 15 */ - *st = 15; - return 0; - } else { - /* Test default value 15 */ - return (*st == 15); - } -} -static asn_TYPE_member_t asn_MBR_profiles_21[] = { - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Config__headerCompression__rohc__profiles, profile0x0001), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profile0x0001" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Config__headerCompression__rohc__profiles, profile0x0002), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profile0x0002" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Config__headerCompression__rohc__profiles, profile0x0003), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profile0x0003" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Config__headerCompression__rohc__profiles, profile0x0004), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profile0x0004" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Config__headerCompression__rohc__profiles, profile0x0006), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profile0x0006" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Config__headerCompression__rohc__profiles, profile0x0101), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profile0x0101" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Config__headerCompression__rohc__profiles, profile0x0102), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profile0x0102" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Config__headerCompression__rohc__profiles, profile0x0103), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profile0x0103" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Config__headerCompression__rohc__profiles, profile0x0104), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profile0x0104" - }, -}; -static ber_tlv_tag_t asn_DEF_profiles_tags_21[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_profiles_tag2el_21[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* profile0x0001 at 2100 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* profile0x0002 at 2101 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* profile0x0003 at 2102 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* profile0x0004 at 2103 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* profile0x0006 at 2104 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* profile0x0101 at 2105 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* profile0x0102 at 2106 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* profile0x0103 at 2107 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 } /* profile0x0104 at 2108 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_profiles_specs_21 = { - sizeof(struct PDCP_Config__headerCompression__rohc__profiles), - offsetof(struct PDCP_Config__headerCompression__rohc__profiles, _asn_ctx), - asn_MAP_profiles_tag2el_21, - 9, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_profiles_21 = { - "profiles", - "profiles", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_profiles_tags_21, - sizeof(asn_DEF_profiles_tags_21) - /sizeof(asn_DEF_profiles_tags_21[0]) - 1, /* 1 */ - asn_DEF_profiles_tags_21, /* Same as above */ - sizeof(asn_DEF_profiles_tags_21) - /sizeof(asn_DEF_profiles_tags_21[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_profiles_21, - 9, /* Elements count */ - &asn_SPC_profiles_specs_21 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_rohc_19[] = { - { ATF_POINTER, 1, offsetof(struct PDCP_Config__headerCompression__rohc, maxCID), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_maxCID_constraint_19, - &asn_PER_memb_maxCID_constr_20, - asn_DFL_20_set_15, /* DEFAULT 15 */ - "maxCID" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Config__headerCompression__rohc, profiles), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_profiles_21, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profiles" - }, -}; -static int asn_MAP_rohc_oms_19[] = { 0 }; -static ber_tlv_tag_t asn_DEF_rohc_tags_19[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_rohc_tag2el_19[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* maxCID at 2098 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* profiles at 2100 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_rohc_specs_19 = { - sizeof(struct PDCP_Config__headerCompression__rohc), - offsetof(struct PDCP_Config__headerCompression__rohc, _asn_ctx), - asn_MAP_rohc_tag2el_19, - 2, /* Count of tags in the map */ - asn_MAP_rohc_oms_19, /* Optional members */ - 1, 0, /* Root/Additions */ - 1, /* Start extensions */ - 3 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_rohc_19 = { - "rohc", - "rohc", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_rohc_tags_19, - sizeof(asn_DEF_rohc_tags_19) - /sizeof(asn_DEF_rohc_tags_19[0]) - 1, /* 1 */ - asn_DEF_rohc_tags_19, /* Same as above */ - sizeof(asn_DEF_rohc_tags_19) - /sizeof(asn_DEF_rohc_tags_19[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_rohc_19, - 2, /* Elements count */ - &asn_SPC_rohc_specs_19 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_headerCompression_17[] = { - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Config__headerCompression, choice.notUsed), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "notUsed" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Config__headerCompression, choice.rohc), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_rohc_19, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rohc" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_headerCompression_tag2el_17[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* notUsed at 2096 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* rohc at 2098 */ -}; -static asn_CHOICE_specifics_t asn_SPC_headerCompression_specs_17 = { - sizeof(struct PDCP_Config__headerCompression), - offsetof(struct PDCP_Config__headerCompression, _asn_ctx), - offsetof(struct PDCP_Config__headerCompression, present), - sizeof(((struct PDCP_Config__headerCompression *)0)->present), - asn_MAP_headerCompression_tag2el_17, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_headerCompression_17 = { - "headerCompression", - "headerCompression", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_headerCompression_constr_17, - asn_MBR_headerCompression_17, - 2, /* Elements count */ - &asn_SPC_headerCompression_specs_17 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_rn_IntegrityProtection_r10_value2enum_32[] = { - { 0, 7, "enabled" } -}; -static unsigned int asn_MAP_rn_IntegrityProtection_r10_enum2value_32[] = { - 0 /* enabled(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_rn_IntegrityProtection_r10_specs_32 = { - asn_MAP_rn_IntegrityProtection_r10_value2enum_32, /* "tag" => N; sorted by tag */ - asn_MAP_rn_IntegrityProtection_r10_enum2value_32, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_rn_IntegrityProtection_r10_tags_32[] = { - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_rn_IntegrityProtection_r10_32 = { - "rn-IntegrityProtection-r10", - "rn-IntegrityProtection-r10", - rn_IntegrityProtection_r10_32_free, - rn_IntegrityProtection_r10_32_print, - rn_IntegrityProtection_r10_32_constraint, - rn_IntegrityProtection_r10_32_decode_ber, - rn_IntegrityProtection_r10_32_encode_der, - rn_IntegrityProtection_r10_32_decode_xer, - rn_IntegrityProtection_r10_32_encode_xer, - rn_IntegrityProtection_r10_32_decode_uper, - rn_IntegrityProtection_r10_32_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_rn_IntegrityProtection_r10_tags_32, - sizeof(asn_DEF_rn_IntegrityProtection_r10_tags_32) - /sizeof(asn_DEF_rn_IntegrityProtection_r10_tags_32[0]) - 1, /* 1 */ - asn_DEF_rn_IntegrityProtection_r10_tags_32, /* Same as above */ - sizeof(asn_DEF_rn_IntegrityProtection_r10_tags_32) - /sizeof(asn_DEF_rn_IntegrityProtection_r10_tags_32[0]), /* 2 */ - &asn_PER_type_rn_IntegrityProtection_r10_constr_32, - 0, 0, /* Defined elsewhere */ - &asn_SPC_rn_IntegrityProtection_r10_specs_32 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PDCP_Config_1[] = { - { ATF_POINTER, 3, offsetof(struct PDCP_Config, discardTimer), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_discardTimer_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "discardTimer" - }, - { ATF_POINTER, 2, offsetof(struct PDCP_Config, rlc_AM), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_rlc_AM_11, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rlc-AM" - }, - { ATF_POINTER, 1, offsetof(struct PDCP_Config, rlc_UM), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_rlc_UM_13, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rlc-UM" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Config, headerCompression), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_headerCompression_17, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "headerCompression" - }, - { ATF_POINTER, 1, offsetof(struct PDCP_Config, rn_IntegrityProtection_r10), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_rn_IntegrityProtection_r10_32, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rn-IntegrityProtection-r10" - }, -}; -static int asn_MAP_PDCP_Config_oms_1[] = { 0, 1, 2, 4 }; -static ber_tlv_tag_t asn_DEF_PDCP_Config_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PDCP_Config_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* discardTimer at 2086 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rlc-AM at 2091 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* rlc-UM at 2094 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* headerCompression at 2096 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* rn-IntegrityProtection-r10 at 2113 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PDCP_Config_specs_1 = { - sizeof(struct PDCP_Config), - offsetof(struct PDCP_Config, _asn_ctx), - asn_MAP_PDCP_Config_tag2el_1, - 5, /* Count of tags in the map */ - asn_MAP_PDCP_Config_oms_1, /* Optional members */ - 4, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PDCP_Config = { - "PDCP-Config", - "PDCP-Config", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PDCP_Config_tags_1, - sizeof(asn_DEF_PDCP_Config_tags_1) - /sizeof(asn_DEF_PDCP_Config_tags_1[0]), /* 1 */ - asn_DEF_PDCP_Config_tags_1, /* Same as above */ - sizeof(asn_DEF_PDCP_Config_tags_1) - /sizeof(asn_DEF_PDCP_Config_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PDCP_Config_1, - 5, /* Elements count */ - &asn_SPC_PDCP_Config_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PDCP-Parameters.c b/lte/rrc/lib/asn/src/PDCP-Parameters.c deleted file mode 100644 index cdaecbb1e..000000000 --- a/lte/rrc/lib/asn/src/PDCP-Parameters.c +++ /dev/null @@ -1,390 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PDCP-Parameters.h" - -static int -maxNumberROHC_ContextSessions_12_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -maxNumberROHC_ContextSessions_12_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -maxNumberROHC_ContextSessions_12_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - maxNumberROHC_ContextSessions_12_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -maxNumberROHC_ContextSessions_12_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - maxNumberROHC_ContextSessions_12_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -maxNumberROHC_ContextSessions_12_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - maxNumberROHC_ContextSessions_12_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -maxNumberROHC_ContextSessions_12_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - maxNumberROHC_ContextSessions_12_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -maxNumberROHC_ContextSessions_12_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - maxNumberROHC_ContextSessions_12_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -maxNumberROHC_ContextSessions_12_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - maxNumberROHC_ContextSessions_12_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -maxNumberROHC_ContextSessions_12_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - maxNumberROHC_ContextSessions_12_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -maxNumberROHC_ContextSessions_12_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - maxNumberROHC_ContextSessions_12_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_maxNumberROHC_ContextSessions_constr_12 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_supportedROHC_Profiles_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Parameters__supportedROHC_Profiles, profile0x0001), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profile0x0001" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Parameters__supportedROHC_Profiles, profile0x0002), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profile0x0002" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Parameters__supportedROHC_Profiles, profile0x0003), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profile0x0003" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Parameters__supportedROHC_Profiles, profile0x0004), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profile0x0004" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Parameters__supportedROHC_Profiles, profile0x0006), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profile0x0006" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Parameters__supportedROHC_Profiles, profile0x0101), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profile0x0101" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Parameters__supportedROHC_Profiles, profile0x0102), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profile0x0102" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Parameters__supportedROHC_Profiles, profile0x0103), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profile0x0103" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Parameters__supportedROHC_Profiles, profile0x0104), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "profile0x0104" - }, -}; -static ber_tlv_tag_t asn_DEF_supportedROHC_Profiles_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_supportedROHC_Profiles_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* profile0x0001 at 3780 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* profile0x0002 at 3781 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* profile0x0003 at 3782 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* profile0x0004 at 3783 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* profile0x0006 at 3784 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* profile0x0101 at 3785 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* profile0x0102 at 3786 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* profile0x0103 at 3787 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 } /* profile0x0104 at 3788 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_supportedROHC_Profiles_specs_2 = { - sizeof(struct PDCP_Parameters__supportedROHC_Profiles), - offsetof(struct PDCP_Parameters__supportedROHC_Profiles, _asn_ctx), - asn_MAP_supportedROHC_Profiles_tag2el_2, - 9, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_supportedROHC_Profiles_2 = { - "supportedROHC-Profiles", - "supportedROHC-Profiles", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_supportedROHC_Profiles_tags_2, - sizeof(asn_DEF_supportedROHC_Profiles_tags_2) - /sizeof(asn_DEF_supportedROHC_Profiles_tags_2[0]) - 1, /* 1 */ - asn_DEF_supportedROHC_Profiles_tags_2, /* Same as above */ - sizeof(asn_DEF_supportedROHC_Profiles_tags_2) - /sizeof(asn_DEF_supportedROHC_Profiles_tags_2[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_supportedROHC_Profiles_2, - 9, /* Elements count */ - &asn_SPC_supportedROHC_Profiles_specs_2 /* Additional specs */ -}; - -static int asn_DFL_12_set_4(int set_value, void **sptr) { - long *st = *sptr; - - if(!st) { - if(!set_value) return -1; /* Not a default value */ - st = (*sptr = CALLOC(1, sizeof(*st))); - if(!st) return -1; - } - - if(set_value) { - /* Install default value 4 */ - *st = 4; - return 0; - } else { - /* Test default value 4 */ - return (*st == 4); - } -} -static asn_INTEGER_enum_map_t asn_MAP_maxNumberROHC_ContextSessions_value2enum_12[] = { - { 0, 3, "cs2" }, - { 1, 3, "cs4" }, - { 2, 3, "cs8" }, - { 3, 4, "cs12" }, - { 4, 4, "cs16" }, - { 5, 4, "cs24" }, - { 6, 4, "cs32" }, - { 7, 4, "cs48" }, - { 8, 4, "cs64" }, - { 9, 5, "cs128" }, - { 10, 5, "cs256" }, - { 11, 5, "cs512" }, - { 12, 6, "cs1024" }, - { 13, 7, "cs16384" }, - { 14, 6, "spare2" }, - { 15, 6, "spare1" } -}; -static unsigned int asn_MAP_maxNumberROHC_ContextSessions_enum2value_12[] = { - 12, /* cs1024(12) */ - 3, /* cs12(3) */ - 9, /* cs128(9) */ - 4, /* cs16(4) */ - 13, /* cs16384(13) */ - 0, /* cs2(0) */ - 5, /* cs24(5) */ - 10, /* cs256(10) */ - 6, /* cs32(6) */ - 1, /* cs4(1) */ - 7, /* cs48(7) */ - 11, /* cs512(11) */ - 8, /* cs64(8) */ - 2, /* cs8(2) */ - 15, /* spare1(15) */ - 14 /* spare2(14) */ -}; -static asn_INTEGER_specifics_t asn_SPC_maxNumberROHC_ContextSessions_specs_12 = { - asn_MAP_maxNumberROHC_ContextSessions_value2enum_12, /* "tag" => N; sorted by tag */ - asn_MAP_maxNumberROHC_ContextSessions_enum2value_12, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_maxNumberROHC_ContextSessions_tags_12[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_maxNumberROHC_ContextSessions_12 = { - "maxNumberROHC-ContextSessions", - "maxNumberROHC-ContextSessions", - maxNumberROHC_ContextSessions_12_free, - maxNumberROHC_ContextSessions_12_print, - maxNumberROHC_ContextSessions_12_constraint, - maxNumberROHC_ContextSessions_12_decode_ber, - maxNumberROHC_ContextSessions_12_encode_der, - maxNumberROHC_ContextSessions_12_decode_xer, - maxNumberROHC_ContextSessions_12_encode_xer, - maxNumberROHC_ContextSessions_12_decode_uper, - maxNumberROHC_ContextSessions_12_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_maxNumberROHC_ContextSessions_tags_12, - sizeof(asn_DEF_maxNumberROHC_ContextSessions_tags_12) - /sizeof(asn_DEF_maxNumberROHC_ContextSessions_tags_12[0]) - 1, /* 1 */ - asn_DEF_maxNumberROHC_ContextSessions_tags_12, /* Same as above */ - sizeof(asn_DEF_maxNumberROHC_ContextSessions_tags_12) - /sizeof(asn_DEF_maxNumberROHC_ContextSessions_tags_12[0]), /* 2 */ - &asn_PER_type_maxNumberROHC_ContextSessions_constr_12, - 0, 0, /* Defined elsewhere */ - &asn_SPC_maxNumberROHC_ContextSessions_specs_12 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PDCP_Parameters_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PDCP_Parameters, supportedROHC_Profiles), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_supportedROHC_Profiles_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "supportedROHC-Profiles" - }, - { ATF_POINTER, 1, offsetof(struct PDCP_Parameters, maxNumberROHC_ContextSessions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_maxNumberROHC_ContextSessions_12, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - asn_DFL_12_set_4, /* DEFAULT 4 */ - "maxNumberROHC-ContextSessions" - }, -}; -static int asn_MAP_PDCP_Parameters_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_PDCP_Parameters_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PDCP_Parameters_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* supportedROHC-Profiles at 3780 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* maxNumberROHC-ContextSessions at 3791 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PDCP_Parameters_specs_1 = { - sizeof(struct PDCP_Parameters), - offsetof(struct PDCP_Parameters, _asn_ctx), - asn_MAP_PDCP_Parameters_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_PDCP_Parameters_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - 1, /* Start extensions */ - 3 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PDCP_Parameters = { - "PDCP-Parameters", - "PDCP-Parameters", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PDCP_Parameters_tags_1, - sizeof(asn_DEF_PDCP_Parameters_tags_1) - /sizeof(asn_DEF_PDCP_Parameters_tags_1[0]), /* 1 */ - asn_DEF_PDCP_Parameters_tags_1, /* Same as above */ - sizeof(asn_DEF_PDCP_Parameters_tags_1) - /sizeof(asn_DEF_PDCP_Parameters_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PDCP_Parameters_1, - 2, /* Elements count */ - &asn_SPC_PDCP_Parameters_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PDSCH-ConfigCommon.c b/lte/rrc/lib/asn/src/PDSCH-ConfigCommon.c deleted file mode 100644 index aa7235128..000000000 --- a/lte/rrc/lib/asn/src/PDSCH-ConfigCommon.c +++ /dev/null @@ -1,130 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PDSCH-ConfigCommon.h" - -static int -memb_referenceSignalPower_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -60 && value <= 50)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_p_b_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 3)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_referenceSignalPower_constr_2 = { - { APC_CONSTRAINED, 7, 7, -60, 50 } /* (-60..50) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_p_b_constr_3 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_PDSCH_ConfigCommon_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PDSCH_ConfigCommon, referenceSignalPower), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_referenceSignalPower_constraint_1, - &asn_PER_memb_referenceSignalPower_constr_2, - 0, - "referenceSignalPower" - }, - { ATF_NOFLAGS, 0, offsetof(struct PDSCH_ConfigCommon, p_b), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_p_b_constraint_1, - &asn_PER_memb_p_b_constr_3, - 0, - "p-b" - }, -}; -static ber_tlv_tag_t asn_DEF_PDSCH_ConfigCommon_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PDSCH_ConfigCommon_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* referenceSignalPower at 2118 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* p-b at 2119 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PDSCH_ConfigCommon_specs_1 = { - sizeof(struct PDSCH_ConfigCommon), - offsetof(struct PDSCH_ConfigCommon, _asn_ctx), - asn_MAP_PDSCH_ConfigCommon_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PDSCH_ConfigCommon = { - "PDSCH-ConfigCommon", - "PDSCH-ConfigCommon", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PDSCH_ConfigCommon_tags_1, - sizeof(asn_DEF_PDSCH_ConfigCommon_tags_1) - /sizeof(asn_DEF_PDSCH_ConfigCommon_tags_1[0]), /* 1 */ - asn_DEF_PDSCH_ConfigCommon_tags_1, /* Same as above */ - sizeof(asn_DEF_PDSCH_ConfigCommon_tags_1) - /sizeof(asn_DEF_PDSCH_ConfigCommon_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PDSCH_ConfigCommon_1, - 2, /* Elements count */ - &asn_SPC_PDSCH_ConfigCommon_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PDSCH-ConfigDedicated.c b/lte/rrc/lib/asn/src/PDSCH-ConfigDedicated.c deleted file mode 100644 index a62349db9..000000000 --- a/lte/rrc/lib/asn/src/PDSCH-ConfigDedicated.c +++ /dev/null @@ -1,211 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PDSCH-ConfigDedicated.h" - -static int -p_a_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -p_a_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -p_a_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - p_a_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -p_a_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - p_a_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -p_a_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - p_a_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -p_a_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - p_a_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -p_a_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - p_a_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -p_a_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - p_a_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -p_a_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - p_a_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -p_a_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - p_a_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_p_a_constr_2 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_p_a_value2enum_2[] = { - { 0, 4, "dB-6" }, - { 1, 9, "dB-4dot77" }, - { 2, 4, "dB-3" }, - { 3, 9, "dB-1dot77" }, - { 4, 3, "dB0" }, - { 5, 3, "dB1" }, - { 6, 3, "dB2" }, - { 7, 3, "dB3" } -}; -static unsigned int asn_MAP_p_a_enum2value_2[] = { - 3, /* dB-1dot77(3) */ - 2, /* dB-3(2) */ - 1, /* dB-4dot77(1) */ - 0, /* dB-6(0) */ - 4, /* dB0(4) */ - 5, /* dB1(5) */ - 6, /* dB2(6) */ - 7 /* dB3(7) */ -}; -static asn_INTEGER_specifics_t asn_SPC_p_a_specs_2 = { - asn_MAP_p_a_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_p_a_enum2value_2, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_p_a_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_p_a_2 = { - "p-a", - "p-a", - p_a_2_free, - p_a_2_print, - p_a_2_constraint, - p_a_2_decode_ber, - p_a_2_encode_der, - p_a_2_decode_xer, - p_a_2_encode_xer, - p_a_2_decode_uper, - p_a_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_p_a_tags_2, - sizeof(asn_DEF_p_a_tags_2) - /sizeof(asn_DEF_p_a_tags_2[0]) - 1, /* 1 */ - asn_DEF_p_a_tags_2, /* Same as above */ - sizeof(asn_DEF_p_a_tags_2) - /sizeof(asn_DEF_p_a_tags_2[0]), /* 2 */ - &asn_PER_type_p_a_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_p_a_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PDSCH_ConfigDedicated_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PDSCH_ConfigDedicated, p_a), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_p_a_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "p-a" - }, -}; -static ber_tlv_tag_t asn_DEF_PDSCH_ConfigDedicated_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PDSCH_ConfigDedicated_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* p-a at 2124 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PDSCH_ConfigDedicated_specs_1 = { - sizeof(struct PDSCH_ConfigDedicated), - offsetof(struct PDSCH_ConfigDedicated, _asn_ctx), - asn_MAP_PDSCH_ConfigDedicated_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PDSCH_ConfigDedicated = { - "PDSCH-ConfigDedicated", - "PDSCH-ConfigDedicated", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PDSCH_ConfigDedicated_tags_1, - sizeof(asn_DEF_PDSCH_ConfigDedicated_tags_1) - /sizeof(asn_DEF_PDSCH_ConfigDedicated_tags_1[0]), /* 1 */ - asn_DEF_PDSCH_ConfigDedicated_tags_1, /* Same as above */ - sizeof(asn_DEF_PDSCH_ConfigDedicated_tags_1) - /sizeof(asn_DEF_PDSCH_ConfigDedicated_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PDSCH_ConfigDedicated_1, - 1, /* Elements count */ - &asn_SPC_PDSCH_ConfigDedicated_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PHICH-Config.c b/lte/rrc/lib/asn/src/PHICH-Config.c deleted file mode 100644 index 3900714df..000000000 --- a/lte/rrc/lib/asn/src/PHICH-Config.c +++ /dev/null @@ -1,352 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PHICH-Config.h" - -static int -phich_Duration_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -phich_Duration_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -phich_Duration_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - phich_Duration_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -phich_Duration_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - phich_Duration_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -phich_Duration_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - phich_Duration_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -phich_Duration_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - phich_Duration_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -phich_Duration_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - phich_Duration_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -phich_Duration_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - phich_Duration_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -phich_Duration_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - phich_Duration_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -phich_Duration_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - phich_Duration_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -phich_Resource_5_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -phich_Resource_5_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -phich_Resource_5_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - phich_Resource_5_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -phich_Resource_5_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - phich_Resource_5_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -phich_Resource_5_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - phich_Resource_5_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -phich_Resource_5_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - phich_Resource_5_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -phich_Resource_5_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - phich_Resource_5_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -phich_Resource_5_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - phich_Resource_5_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -phich_Resource_5_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - phich_Resource_5_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -phich_Resource_5_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - phich_Resource_5_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_phich_Duration_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_phich_Resource_constr_5 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_phich_Duration_value2enum_2[] = { - { 0, 6, "normal" }, - { 1, 8, "extended" } -}; -static unsigned int asn_MAP_phich_Duration_enum2value_2[] = { - 1, /* extended(1) */ - 0 /* normal(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_phich_Duration_specs_2 = { - asn_MAP_phich_Duration_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_phich_Duration_enum2value_2, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_phich_Duration_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_phich_Duration_2 = { - "phich-Duration", - "phich-Duration", - phich_Duration_2_free, - phich_Duration_2_print, - phich_Duration_2_constraint, - phich_Duration_2_decode_ber, - phich_Duration_2_encode_der, - phich_Duration_2_decode_xer, - phich_Duration_2_encode_xer, - phich_Duration_2_decode_uper, - phich_Duration_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_phich_Duration_tags_2, - sizeof(asn_DEF_phich_Duration_tags_2) - /sizeof(asn_DEF_phich_Duration_tags_2[0]) - 1, /* 1 */ - asn_DEF_phich_Duration_tags_2, /* Same as above */ - sizeof(asn_DEF_phich_Duration_tags_2) - /sizeof(asn_DEF_phich_Duration_tags_2[0]), /* 2 */ - &asn_PER_type_phich_Duration_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_phich_Duration_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_phich_Resource_value2enum_5[] = { - { 0, 8, "oneSixth" }, - { 1, 4, "half" }, - { 2, 3, "one" }, - { 3, 3, "two" } -}; -static unsigned int asn_MAP_phich_Resource_enum2value_5[] = { - 1, /* half(1) */ - 2, /* one(2) */ - 0, /* oneSixth(0) */ - 3 /* two(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_phich_Resource_specs_5 = { - asn_MAP_phich_Resource_value2enum_5, /* "tag" => N; sorted by tag */ - asn_MAP_phich_Resource_enum2value_5, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_phich_Resource_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_phich_Resource_5 = { - "phich-Resource", - "phich-Resource", - phich_Resource_5_free, - phich_Resource_5_print, - phich_Resource_5_constraint, - phich_Resource_5_decode_ber, - phich_Resource_5_encode_der, - phich_Resource_5_decode_xer, - phich_Resource_5_encode_xer, - phich_Resource_5_decode_uper, - phich_Resource_5_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_phich_Resource_tags_5, - sizeof(asn_DEF_phich_Resource_tags_5) - /sizeof(asn_DEF_phich_Resource_tags_5[0]) - 1, /* 1 */ - asn_DEF_phich_Resource_tags_5, /* Same as above */ - sizeof(asn_DEF_phich_Resource_tags_5) - /sizeof(asn_DEF_phich_Resource_tags_5[0]), /* 2 */ - &asn_PER_type_phich_Resource_constr_5, - 0, 0, /* Defined elsewhere */ - &asn_SPC_phich_Resource_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PHICH_Config_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PHICH_Config, phich_Duration), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_phich_Duration_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "phich-Duration" - }, - { ATF_NOFLAGS, 0, offsetof(struct PHICH_Config, phich_Resource), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_phich_Resource_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "phich-Resource" - }, -}; -static ber_tlv_tag_t asn_DEF_PHICH_Config_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PHICH_Config_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* phich-Duration at 2130 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* phich-Resource at 2131 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PHICH_Config_specs_1 = { - sizeof(struct PHICH_Config), - offsetof(struct PHICH_Config, _asn_ctx), - asn_MAP_PHICH_Config_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PHICH_Config = { - "PHICH-Config", - "PHICH-Config", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PHICH_Config_tags_1, - sizeof(asn_DEF_PHICH_Config_tags_1) - /sizeof(asn_DEF_PHICH_Config_tags_1[0]), /* 1 */ - asn_DEF_PHICH_Config_tags_1, /* Same as above */ - sizeof(asn_DEF_PHICH_Config_tags_1) - /sizeof(asn_DEF_PHICH_Config_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PHICH_Config_1, - 2, /* Elements count */ - &asn_SPC_PHICH_Config_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PLMN-Identity.c b/lte/rrc/lib/asn/src/PLMN-Identity.c deleted file mode 100644 index 731ce2c96..000000000 --- a/lte/rrc/lib/asn/src/PLMN-Identity.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PLMN-Identity.h" - -static asn_TYPE_member_t asn_MBR_PLMN_Identity_1[] = { - { ATF_POINTER, 1, offsetof(struct PLMN_Identity, mcc), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MCC, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mcc" - }, - { ATF_NOFLAGS, 0, offsetof(struct PLMN_Identity, mnc), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MNC, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mnc" - }, -}; -static int asn_MAP_PLMN_Identity_oms_1[] = { 0 }; -static ber_tlv_tag_t asn_DEF_PLMN_Identity_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PLMN_Identity_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mcc at 3072 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* mnc at 3074 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PLMN_Identity_specs_1 = { - sizeof(struct PLMN_Identity), - offsetof(struct PLMN_Identity, _asn_ctx), - asn_MAP_PLMN_Identity_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_PLMN_Identity_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PLMN_Identity = { - "PLMN-Identity", - "PLMN-Identity", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PLMN_Identity_tags_1, - sizeof(asn_DEF_PLMN_Identity_tags_1) - /sizeof(asn_DEF_PLMN_Identity_tags_1[0]), /* 1 */ - asn_DEF_PLMN_Identity_tags_1, /* Same as above */ - sizeof(asn_DEF_PLMN_Identity_tags_1) - /sizeof(asn_DEF_PLMN_Identity_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PLMN_Identity_1, - 2, /* Elements count */ - &asn_SPC_PLMN_Identity_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PLMN-IdentityInfo.c b/lte/rrc/lib/asn/src/PLMN-IdentityInfo.c deleted file mode 100644 index c45f95341..000000000 --- a/lte/rrc/lib/asn/src/PLMN-IdentityInfo.c +++ /dev/null @@ -1,209 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PLMN-IdentityInfo.h" - -static int -cellReservedForOperatorUse_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -cellReservedForOperatorUse_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -cellReservedForOperatorUse_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - cellReservedForOperatorUse_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -cellReservedForOperatorUse_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - cellReservedForOperatorUse_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -cellReservedForOperatorUse_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - cellReservedForOperatorUse_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -cellReservedForOperatorUse_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - cellReservedForOperatorUse_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -cellReservedForOperatorUse_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - cellReservedForOperatorUse_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -cellReservedForOperatorUse_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - cellReservedForOperatorUse_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -cellReservedForOperatorUse_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - cellReservedForOperatorUse_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -cellReservedForOperatorUse_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - cellReservedForOperatorUse_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_cellReservedForOperatorUse_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_cellReservedForOperatorUse_value2enum_3[] = { - { 0, 8, "reserved" }, - { 1, 11, "notReserved" } -}; -static unsigned int asn_MAP_cellReservedForOperatorUse_enum2value_3[] = { - 1, /* notReserved(1) */ - 0 /* reserved(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_cellReservedForOperatorUse_specs_3 = { - asn_MAP_cellReservedForOperatorUse_value2enum_3, /* "tag" => N; sorted by tag */ - asn_MAP_cellReservedForOperatorUse_enum2value_3, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_cellReservedForOperatorUse_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cellReservedForOperatorUse_3 = { - "cellReservedForOperatorUse", - "cellReservedForOperatorUse", - cellReservedForOperatorUse_3_free, - cellReservedForOperatorUse_3_print, - cellReservedForOperatorUse_3_constraint, - cellReservedForOperatorUse_3_decode_ber, - cellReservedForOperatorUse_3_encode_der, - cellReservedForOperatorUse_3_decode_xer, - cellReservedForOperatorUse_3_encode_xer, - cellReservedForOperatorUse_3_decode_uper, - cellReservedForOperatorUse_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_cellReservedForOperatorUse_tags_3, - sizeof(asn_DEF_cellReservedForOperatorUse_tags_3) - /sizeof(asn_DEF_cellReservedForOperatorUse_tags_3[0]) - 1, /* 1 */ - asn_DEF_cellReservedForOperatorUse_tags_3, /* Same as above */ - sizeof(asn_DEF_cellReservedForOperatorUse_tags_3) - /sizeof(asn_DEF_cellReservedForOperatorUse_tags_3[0]), /* 2 */ - &asn_PER_type_cellReservedForOperatorUse_constr_3, - 0, 0, /* Defined elsewhere */ - &asn_SPC_cellReservedForOperatorUse_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PLMN_IdentityInfo_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PLMN_IdentityInfo, plmn_Identity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PLMN_Identity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "plmn-Identity" - }, - { ATF_NOFLAGS, 0, offsetof(struct PLMN_IdentityInfo, cellReservedForOperatorUse), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_cellReservedForOperatorUse_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReservedForOperatorUse" - }, -}; -static ber_tlv_tag_t asn_DEF_PLMN_IdentityInfo_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PLMN_IdentityInfo_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* plmn-Identity at 1207 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cellReservedForOperatorUse at 1208 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PLMN_IdentityInfo_specs_1 = { - sizeof(struct PLMN_IdentityInfo), - offsetof(struct PLMN_IdentityInfo, _asn_ctx), - asn_MAP_PLMN_IdentityInfo_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PLMN_IdentityInfo = { - "PLMN-IdentityInfo", - "PLMN-IdentityInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PLMN_IdentityInfo_tags_1, - sizeof(asn_DEF_PLMN_IdentityInfo_tags_1) - /sizeof(asn_DEF_PLMN_IdentityInfo_tags_1[0]), /* 1 */ - asn_DEF_PLMN_IdentityInfo_tags_1, /* Same as above */ - sizeof(asn_DEF_PLMN_IdentityInfo_tags_1) - /sizeof(asn_DEF_PLMN_IdentityInfo_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PLMN_IdentityInfo_1, - 2, /* Elements count */ - &asn_SPC_PLMN_IdentityInfo_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PLMN-IdentityList.c b/lte/rrc/lib/asn/src/PLMN-IdentityList.c deleted file mode 100644 index 8c974b910..000000000 --- a/lte/rrc/lib/asn/src/PLMN-IdentityList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PLMN-IdentityList.h" - -static asn_per_constraints_t asn_PER_type_PLMN_IdentityList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 3, 3, 1, 6 } /* (SIZE(1..6)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_PLMN_IdentityList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_PLMN_IdentityInfo, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_PLMN_IdentityList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_PLMN_IdentityList_specs_1 = { - sizeof(struct PLMN_IdentityList), - offsetof(struct PLMN_IdentityList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_PLMN_IdentityList = { - "PLMN-IdentityList", - "PLMN-IdentityList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PLMN_IdentityList_tags_1, - sizeof(asn_DEF_PLMN_IdentityList_tags_1) - /sizeof(asn_DEF_PLMN_IdentityList_tags_1[0]), /* 1 */ - asn_DEF_PLMN_IdentityList_tags_1, /* Same as above */ - sizeof(asn_DEF_PLMN_IdentityList_tags_1) - /sizeof(asn_DEF_PLMN_IdentityList_tags_1[0]), /* 1 */ - &asn_PER_type_PLMN_IdentityList_constr_1, - asn_MBR_PLMN_IdentityList_1, - 1, /* Single element */ - &asn_SPC_PLMN_IdentityList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PLMN-IdentityList2.c b/lte/rrc/lib/asn/src/PLMN-IdentityList2.c deleted file mode 100644 index b2d0d844c..000000000 --- a/lte/rrc/lib/asn/src/PLMN-IdentityList2.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PLMN-IdentityList2.h" - -static asn_per_constraints_t asn_PER_type_PLMN_IdentityList2_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 3, 3, 1, 5 } /* (SIZE(1..5)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_PLMN_IdentityList2_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_PLMN_Identity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_PLMN_IdentityList2_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_PLMN_IdentityList2_specs_1 = { - sizeof(struct PLMN_IdentityList2), - offsetof(struct PLMN_IdentityList2, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_PLMN_IdentityList2 = { - "PLMN-IdentityList2", - "PLMN-IdentityList2", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PLMN_IdentityList2_tags_1, - sizeof(asn_DEF_PLMN_IdentityList2_tags_1) - /sizeof(asn_DEF_PLMN_IdentityList2_tags_1[0]), /* 1 */ - asn_DEF_PLMN_IdentityList2_tags_1, /* Same as above */ - sizeof(asn_DEF_PLMN_IdentityList2_tags_1) - /sizeof(asn_DEF_PLMN_IdentityList2_tags_1[0]), /* 1 */ - &asn_PER_type_PLMN_IdentityList2_constr_1, - asn_MBR_PLMN_IdentityList2_1, - 1, /* Single element */ - &asn_SPC_PLMN_IdentityList2_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PMCH-Config-r9.c b/lte/rrc/lib/asn/src/PMCH-Config-r9.c deleted file mode 100644 index dee1f77aa..000000000 --- a/lte/rrc/lib/asn/src/PMCH-Config-r9.c +++ /dev/null @@ -1,291 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PMCH-Config-r9.h" - -static int -mch_SchedulingPeriod_r9_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -mch_SchedulingPeriod_r9_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -mch_SchedulingPeriod_r9_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - mch_SchedulingPeriod_r9_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -mch_SchedulingPeriod_r9_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - mch_SchedulingPeriod_r9_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -mch_SchedulingPeriod_r9_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - mch_SchedulingPeriod_r9_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -mch_SchedulingPeriod_r9_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - mch_SchedulingPeriod_r9_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -mch_SchedulingPeriod_r9_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - mch_SchedulingPeriod_r9_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -mch_SchedulingPeriod_r9_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - mch_SchedulingPeriod_r9_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -mch_SchedulingPeriod_r9_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - mch_SchedulingPeriod_r9_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -mch_SchedulingPeriod_r9_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - mch_SchedulingPeriod_r9_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_sf_AllocEnd_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 1535)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_dataMCS_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 28)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_mch_SchedulingPeriod_r9_constr_4 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sf_AllocEnd_r9_constr_2 = { - { APC_CONSTRAINED, 11, 11, 0, 1535 } /* (0..1535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_dataMCS_r9_constr_3 = { - { APC_CONSTRAINED, 5, 5, 0, 28 } /* (0..28) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_mch_SchedulingPeriod_r9_value2enum_4[] = { - { 0, 3, "rf8" }, - { 1, 4, "rf16" }, - { 2, 4, "rf32" }, - { 3, 4, "rf64" }, - { 4, 5, "rf128" }, - { 5, 5, "rf256" }, - { 6, 5, "rf512" }, - { 7, 6, "rf1024" } -}; -static unsigned int asn_MAP_mch_SchedulingPeriod_r9_enum2value_4[] = { - 7, /* rf1024(7) */ - 4, /* rf128(4) */ - 1, /* rf16(1) */ - 5, /* rf256(5) */ - 2, /* rf32(2) */ - 6, /* rf512(6) */ - 3, /* rf64(3) */ - 0 /* rf8(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_mch_SchedulingPeriod_r9_specs_4 = { - asn_MAP_mch_SchedulingPeriod_r9_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_mch_SchedulingPeriod_r9_enum2value_4, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_mch_SchedulingPeriod_r9_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_mch_SchedulingPeriod_r9_4 = { - "mch-SchedulingPeriod-r9", - "mch-SchedulingPeriod-r9", - mch_SchedulingPeriod_r9_4_free, - mch_SchedulingPeriod_r9_4_print, - mch_SchedulingPeriod_r9_4_constraint, - mch_SchedulingPeriod_r9_4_decode_ber, - mch_SchedulingPeriod_r9_4_encode_der, - mch_SchedulingPeriod_r9_4_decode_xer, - mch_SchedulingPeriod_r9_4_encode_xer, - mch_SchedulingPeriod_r9_4_decode_uper, - mch_SchedulingPeriod_r9_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_mch_SchedulingPeriod_r9_tags_4, - sizeof(asn_DEF_mch_SchedulingPeriod_r9_tags_4) - /sizeof(asn_DEF_mch_SchedulingPeriod_r9_tags_4[0]) - 1, /* 1 */ - asn_DEF_mch_SchedulingPeriod_r9_tags_4, /* Same as above */ - sizeof(asn_DEF_mch_SchedulingPeriod_r9_tags_4) - /sizeof(asn_DEF_mch_SchedulingPeriod_r9_tags_4[0]), /* 2 */ - &asn_PER_type_mch_SchedulingPeriod_r9_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_mch_SchedulingPeriod_r9_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PMCH_Config_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PMCH_Config_r9, sf_AllocEnd_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sf_AllocEnd_r9_constraint_1, - &asn_PER_memb_sf_AllocEnd_r9_constr_2, - 0, - "sf-AllocEnd-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct PMCH_Config_r9, dataMCS_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_dataMCS_r9_constraint_1, - &asn_PER_memb_dataMCS_r9_constr_3, - 0, - "dataMCS-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct PMCH_Config_r9, mch_SchedulingPeriod_r9), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_mch_SchedulingPeriod_r9_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mch-SchedulingPeriod-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_PMCH_Config_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PMCH_Config_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sf-AllocEnd-r9 at 4085 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* dataMCS-r9 at 4086 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* mch-SchedulingPeriod-r9 at 4088 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PMCH_Config_r9_specs_1 = { - sizeof(struct PMCH_Config_r9), - offsetof(struct PMCH_Config_r9, _asn_ctx), - asn_MAP_PMCH_Config_r9_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 2, /* Start extensions */ - 4 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PMCH_Config_r9 = { - "PMCH-Config-r9", - "PMCH-Config-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PMCH_Config_r9_tags_1, - sizeof(asn_DEF_PMCH_Config_r9_tags_1) - /sizeof(asn_DEF_PMCH_Config_r9_tags_1[0]), /* 1 */ - asn_DEF_PMCH_Config_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_PMCH_Config_r9_tags_1) - /sizeof(asn_DEF_PMCH_Config_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PMCH_Config_r9_1, - 3, /* Elements count */ - &asn_SPC_PMCH_Config_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PMCH-Info-r9.c b/lte/rrc/lib/asn/src/PMCH-Info-r9.c deleted file mode 100644 index c2ca318ba..000000000 --- a/lte/rrc/lib/asn/src/PMCH-Info-r9.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PMCH-Info-r9.h" - -static asn_TYPE_member_t asn_MBR_PMCH_Info_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PMCH_Info_r9, pmch_Config_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PMCH_Config_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pmch-Config-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct PMCH_Info_r9, mbms_SessionInfoList_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MBMS_SessionInfoList_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mbms-SessionInfoList-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_PMCH_Info_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PMCH_Info_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pmch-Config-r9 at 4070 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* mbms-SessionInfoList-r9 at 4071 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PMCH_Info_r9_specs_1 = { - sizeof(struct PMCH_Info_r9), - offsetof(struct PMCH_Info_r9, _asn_ctx), - asn_MAP_PMCH_Info_r9_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* Start extensions */ - 3 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PMCH_Info_r9 = { - "PMCH-Info-r9", - "PMCH-Info-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PMCH_Info_r9_tags_1, - sizeof(asn_DEF_PMCH_Info_r9_tags_1) - /sizeof(asn_DEF_PMCH_Info_r9_tags_1[0]), /* 1 */ - asn_DEF_PMCH_Info_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_PMCH_Info_r9_tags_1) - /sizeof(asn_DEF_PMCH_Info_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PMCH_Info_r9_1, - 2, /* Elements count */ - &asn_SPC_PMCH_Info_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PMCH-InfoList-r9.c b/lte/rrc/lib/asn/src/PMCH-InfoList-r9.c deleted file mode 100644 index 0cab19711..000000000 --- a/lte/rrc/lib/asn/src/PMCH-InfoList-r9.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PMCH-InfoList-r9.h" - -static asn_per_constraints_t asn_PER_type_PMCH_InfoList_r9_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (SIZE(0..15)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_PMCH_InfoList_r9_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_PMCH_Info_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_PMCH_InfoList_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_PMCH_InfoList_r9_specs_1 = { - sizeof(struct PMCH_InfoList_r9), - offsetof(struct PMCH_InfoList_r9, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_PMCH_InfoList_r9 = { - "PMCH-InfoList-r9", - "PMCH-InfoList-r9", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PMCH_InfoList_r9_tags_1, - sizeof(asn_DEF_PMCH_InfoList_r9_tags_1) - /sizeof(asn_DEF_PMCH_InfoList_r9_tags_1[0]), /* 1 */ - asn_DEF_PMCH_InfoList_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_PMCH_InfoList_r9_tags_1) - /sizeof(asn_DEF_PMCH_InfoList_r9_tags_1[0]), /* 1 */ - &asn_PER_type_PMCH_InfoList_r9_constr_1, - asn_MBR_PMCH_InfoList_r9_1, - 1, /* Single element */ - &asn_SPC_PMCH_InfoList_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PRACH-Config.c b/lte/rrc/lib/asn/src/PRACH-Config.c deleted file mode 100644 index 9a626c293..000000000 --- a/lte/rrc/lib/asn/src/PRACH-Config.c +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PRACH-Config.h" - -static int -memb_rootSequenceIndex_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 837)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_rootSequenceIndex_constr_2 = { - { APC_CONSTRAINED, 10, 10, 0, 837 } /* (0..837) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_PRACH_Config_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PRACH_Config, rootSequenceIndex), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_rootSequenceIndex_constraint_1, - &asn_PER_memb_rootSequenceIndex_constr_2, - 0, - "rootSequenceIndex" - }, - { ATF_POINTER, 1, offsetof(struct PRACH_Config, prach_ConfigInfo), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PRACH_ConfigInfo, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "prach-ConfigInfo" - }, -}; -static int asn_MAP_PRACH_Config_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_PRACH_Config_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PRACH_Config_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rootSequenceIndex at 2210 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* prach-ConfigInfo at 2211 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PRACH_Config_specs_1 = { - sizeof(struct PRACH_Config), - offsetof(struct PRACH_Config, _asn_ctx), - asn_MAP_PRACH_Config_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_PRACH_Config_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PRACH_Config = { - "PRACH-Config", - "PRACH-Config", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PRACH_Config_tags_1, - sizeof(asn_DEF_PRACH_Config_tags_1) - /sizeof(asn_DEF_PRACH_Config_tags_1[0]), /* 1 */ - asn_DEF_PRACH_Config_tags_1, /* Same as above */ - sizeof(asn_DEF_PRACH_Config_tags_1) - /sizeof(asn_DEF_PRACH_Config_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PRACH_Config_1, - 2, /* Elements count */ - &asn_SPC_PRACH_Config_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PRACH-ConfigInfo.c b/lte/rrc/lib/asn/src/PRACH-ConfigInfo.c deleted file mode 100644 index b5a2f7979..000000000 --- a/lte/rrc/lib/asn/src/PRACH-ConfigInfo.c +++ /dev/null @@ -1,180 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PRACH-ConfigInfo.h" - -static int -memb_prach_ConfigIndex_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 63)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_zeroCorrelationZoneConfig_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_prach_FreqOffset_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 94)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_prach_ConfigIndex_constr_2 = { - { APC_CONSTRAINED, 6, 6, 0, 63 } /* (0..63) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_zeroCorrelationZoneConfig_constr_4 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_prach_FreqOffset_constr_5 = { - { APC_CONSTRAINED, 7, 7, 0, 94 } /* (0..94) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_PRACH_ConfigInfo_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PRACH_ConfigInfo, prach_ConfigIndex), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_prach_ConfigIndex_constraint_1, - &asn_PER_memb_prach_ConfigIndex_constr_2, - 0, - "prach-ConfigIndex" - }, - { ATF_NOFLAGS, 0, offsetof(struct PRACH_ConfigInfo, highSpeedFlag), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "highSpeedFlag" - }, - { ATF_NOFLAGS, 0, offsetof(struct PRACH_ConfigInfo, zeroCorrelationZoneConfig), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_zeroCorrelationZoneConfig_constraint_1, - &asn_PER_memb_zeroCorrelationZoneConfig_constr_4, - 0, - "zeroCorrelationZoneConfig" - }, - { ATF_NOFLAGS, 0, offsetof(struct PRACH_ConfigInfo, prach_FreqOffset), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_prach_FreqOffset_constraint_1, - &asn_PER_memb_prach_FreqOffset_constr_5, - 0, - "prach-FreqOffset" - }, -}; -static ber_tlv_tag_t asn_DEF_PRACH_ConfigInfo_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PRACH_ConfigInfo_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* prach-ConfigIndex at 2219 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* highSpeedFlag at 2220 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* zeroCorrelationZoneConfig at 2221 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* prach-FreqOffset at 2222 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PRACH_ConfigInfo_specs_1 = { - sizeof(struct PRACH_ConfigInfo), - offsetof(struct PRACH_ConfigInfo, _asn_ctx), - asn_MAP_PRACH_ConfigInfo_tag2el_1, - 4, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PRACH_ConfigInfo = { - "PRACH-ConfigInfo", - "PRACH-ConfigInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PRACH_ConfigInfo_tags_1, - sizeof(asn_DEF_PRACH_ConfigInfo_tags_1) - /sizeof(asn_DEF_PRACH_ConfigInfo_tags_1[0]), /* 1 */ - asn_DEF_PRACH_ConfigInfo_tags_1, /* Same as above */ - sizeof(asn_DEF_PRACH_ConfigInfo_tags_1) - /sizeof(asn_DEF_PRACH_ConfigInfo_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PRACH_ConfigInfo_1, - 4, /* Elements count */ - &asn_SPC_PRACH_ConfigInfo_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PRACH-ConfigSCell-r10.c b/lte/rrc/lib/asn/src/PRACH-ConfigSCell-r10.c deleted file mode 100644 index bc582a99d..000000000 --- a/lte/rrc/lib/asn/src/PRACH-ConfigSCell-r10.c +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PRACH-ConfigSCell-r10.h" - -static int -memb_prach_ConfigIndex_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 63)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_prach_ConfigIndex_r10_constr_2 = { - { APC_CONSTRAINED, 6, 6, 0, 63 } /* (0..63) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_PRACH_ConfigSCell_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PRACH_ConfigSCell_r10, prach_ConfigIndex_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_prach_ConfigIndex_r10_constraint_1, - &asn_PER_memb_prach_ConfigIndex_r10_constr_2, - 0, - "prach-ConfigIndex-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_PRACH_ConfigSCell_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PRACH_ConfigSCell_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* prach-ConfigIndex-r10 at 2215 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PRACH_ConfigSCell_r10_specs_1 = { - sizeof(struct PRACH_ConfigSCell_r10), - offsetof(struct PRACH_ConfigSCell_r10, _asn_ctx), - asn_MAP_PRACH_ConfigSCell_r10_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PRACH_ConfigSCell_r10 = { - "PRACH-ConfigSCell-r10", - "PRACH-ConfigSCell-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PRACH_ConfigSCell_r10_tags_1, - sizeof(asn_DEF_PRACH_ConfigSCell_r10_tags_1) - /sizeof(asn_DEF_PRACH_ConfigSCell_r10_tags_1[0]), /* 1 */ - asn_DEF_PRACH_ConfigSCell_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_PRACH_ConfigSCell_r10_tags_1) - /sizeof(asn_DEF_PRACH_ConfigSCell_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PRACH_ConfigSCell_r10_1, - 1, /* Elements count */ - &asn_SPC_PRACH_ConfigSCell_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PRACH-ConfigSIB.c b/lte/rrc/lib/asn/src/PRACH-ConfigSIB.c deleted file mode 100644 index ed3e4e195..000000000 --- a/lte/rrc/lib/asn/src/PRACH-ConfigSIB.c +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PRACH-ConfigSIB.h" - -static int -memb_rootSequenceIndex_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 837)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_rootSequenceIndex_constr_2 = { - { APC_CONSTRAINED, 10, 10, 0, 837 } /* (0..837) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_PRACH_ConfigSIB_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PRACH_ConfigSIB, rootSequenceIndex), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_rootSequenceIndex_constraint_1, - &asn_PER_memb_rootSequenceIndex_constr_2, - 0, - "rootSequenceIndex" - }, - { ATF_NOFLAGS, 0, offsetof(struct PRACH_ConfigSIB, prach_ConfigInfo), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PRACH_ConfigInfo, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "prach-ConfigInfo" - }, -}; -static ber_tlv_tag_t asn_DEF_PRACH_ConfigSIB_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PRACH_ConfigSIB_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rootSequenceIndex at 2205 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* prach-ConfigInfo at 2207 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PRACH_ConfigSIB_specs_1 = { - sizeof(struct PRACH_ConfigSIB), - offsetof(struct PRACH_ConfigSIB, _asn_ctx), - asn_MAP_PRACH_ConfigSIB_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PRACH_ConfigSIB = { - "PRACH-ConfigSIB", - "PRACH-ConfigSIB", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PRACH_ConfigSIB_tags_1, - sizeof(asn_DEF_PRACH_ConfigSIB_tags_1) - /sizeof(asn_DEF_PRACH_ConfigSIB_tags_1[0]), /* 1 */ - asn_DEF_PRACH_ConfigSIB_tags_1, /* Same as above */ - sizeof(asn_DEF_PRACH_ConfigSIB_tags_1) - /sizeof(asn_DEF_PRACH_ConfigSIB_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PRACH_ConfigSIB_1, - 2, /* Elements count */ - &asn_SPC_PRACH_ConfigSIB_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PUCCH-ConfigCommon.c b/lte/rrc/lib/asn/src/PUCCH-ConfigCommon.c deleted file mode 100644 index b439ed232..000000000 --- a/lte/rrc/lib/asn/src/PUCCH-ConfigCommon.c +++ /dev/null @@ -1,321 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PUCCH-ConfigCommon.h" - -static int -deltaPUCCH_Shift_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -deltaPUCCH_Shift_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -deltaPUCCH_Shift_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - deltaPUCCH_Shift_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -deltaPUCCH_Shift_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - deltaPUCCH_Shift_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -deltaPUCCH_Shift_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - deltaPUCCH_Shift_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -deltaPUCCH_Shift_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaPUCCH_Shift_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -deltaPUCCH_Shift_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - deltaPUCCH_Shift_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -deltaPUCCH_Shift_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaPUCCH_Shift_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -deltaPUCCH_Shift_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - deltaPUCCH_Shift_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -deltaPUCCH_Shift_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - deltaPUCCH_Shift_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_nRB_CQI_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 98)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_nCS_AN_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_n1PUCCH_AN_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 2047)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_deltaPUCCH_Shift_constr_2 = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_nRB_CQI_constr_6 = { - { APC_CONSTRAINED, 7, 7, 0, 98 } /* (0..98) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_nCS_AN_constr_7 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n1PUCCH_AN_constr_8 = { - { APC_CONSTRAINED, 11, 11, 0, 2047 } /* (0..2047) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_deltaPUCCH_Shift_value2enum_2[] = { - { 0, 3, "ds1" }, - { 1, 3, "ds2" }, - { 2, 3, "ds3" } -}; -static unsigned int asn_MAP_deltaPUCCH_Shift_enum2value_2[] = { - 0, /* ds1(0) */ - 1, /* ds2(1) */ - 2 /* ds3(2) */ -}; -static asn_INTEGER_specifics_t asn_SPC_deltaPUCCH_Shift_specs_2 = { - asn_MAP_deltaPUCCH_Shift_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_deltaPUCCH_Shift_enum2value_2, /* N => "tag"; sorted by N */ - 3, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_deltaPUCCH_Shift_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_deltaPUCCH_Shift_2 = { - "deltaPUCCH-Shift", - "deltaPUCCH-Shift", - deltaPUCCH_Shift_2_free, - deltaPUCCH_Shift_2_print, - deltaPUCCH_Shift_2_constraint, - deltaPUCCH_Shift_2_decode_ber, - deltaPUCCH_Shift_2_encode_der, - deltaPUCCH_Shift_2_decode_xer, - deltaPUCCH_Shift_2_encode_xer, - deltaPUCCH_Shift_2_decode_uper, - deltaPUCCH_Shift_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_deltaPUCCH_Shift_tags_2, - sizeof(asn_DEF_deltaPUCCH_Shift_tags_2) - /sizeof(asn_DEF_deltaPUCCH_Shift_tags_2[0]) - 1, /* 1 */ - asn_DEF_deltaPUCCH_Shift_tags_2, /* Same as above */ - sizeof(asn_DEF_deltaPUCCH_Shift_tags_2) - /sizeof(asn_DEF_deltaPUCCH_Shift_tags_2[0]), /* 2 */ - &asn_PER_type_deltaPUCCH_Shift_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_deltaPUCCH_Shift_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PUCCH_ConfigCommon_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PUCCH_ConfigCommon, deltaPUCCH_Shift), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_deltaPUCCH_Shift_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "deltaPUCCH-Shift" - }, - { ATF_NOFLAGS, 0, offsetof(struct PUCCH_ConfigCommon, nRB_CQI), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_nRB_CQI_constraint_1, - &asn_PER_memb_nRB_CQI_constr_6, - 0, - "nRB-CQI" - }, - { ATF_NOFLAGS, 0, offsetof(struct PUCCH_ConfigCommon, nCS_AN), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_nCS_AN_constraint_1, - &asn_PER_memb_nCS_AN_constr_7, - 0, - "nCS-AN" - }, - { ATF_NOFLAGS, 0, offsetof(struct PUCCH_ConfigCommon, n1PUCCH_AN), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_n1PUCCH_AN_constraint_1, - &asn_PER_memb_n1PUCCH_AN_constr_8, - 0, - "n1PUCCH-AN" - }, -}; -static ber_tlv_tag_t asn_DEF_PUCCH_ConfigCommon_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PUCCH_ConfigCommon_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* deltaPUCCH-Shift at 2230 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nRB-CQI at 2231 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* nCS-AN at 2232 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* n1PUCCH-AN at 2233 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PUCCH_ConfigCommon_specs_1 = { - sizeof(struct PUCCH_ConfigCommon), - offsetof(struct PUCCH_ConfigCommon, _asn_ctx), - asn_MAP_PUCCH_ConfigCommon_tag2el_1, - 4, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PUCCH_ConfigCommon = { - "PUCCH-ConfigCommon", - "PUCCH-ConfigCommon", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PUCCH_ConfigCommon_tags_1, - sizeof(asn_DEF_PUCCH_ConfigCommon_tags_1) - /sizeof(asn_DEF_PUCCH_ConfigCommon_tags_1[0]), /* 1 */ - asn_DEF_PUCCH_ConfigCommon_tags_1, /* Same as above */ - sizeof(asn_DEF_PUCCH_ConfigCommon_tags_1) - /sizeof(asn_DEF_PUCCH_ConfigCommon_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PUCCH_ConfigCommon_1, - 4, /* Elements count */ - &asn_SPC_PUCCH_ConfigCommon_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PUCCH-ConfigDedicated-v1020.c b/lte/rrc/lib/asn/src/PUCCH-ConfigDedicated-v1020.c deleted file mode 100644 index 9f69f6e31..000000000 --- a/lte/rrc/lib/asn/src/PUCCH-ConfigDedicated-v1020.c +++ /dev/null @@ -1,1117 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PUCCH-ConfigDedicated-v1020.h" - -static int -memb_NativeInteger_constraint_4(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 549)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_NativeInteger_constraint_9(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 549)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_n3PUCCH_AN_ListP1_r10_constraint_8(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - /* Determine the number of elements */ - size = _A_CSEQUENCE_FROM_VOID(sptr)->count; - - if((size >= 1 && size <= 4)) { - /* Perform validation of the inner elements */ - return td->check_constraints(td, sptr, ctfailcb, app_key); - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_n3PUCCH_AN_List_r10_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - /* Determine the number of elements */ - size = _A_CSEQUENCE_FROM_VOID(sptr)->count; - - if((size >= 1 && size <= 4)) { - /* Perform validation of the inner elements */ - return td->check_constraints(td, sptr, ctfailcb, app_key); - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_n1PUCCH_AN_CS_List_r10_constraint_14(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - /* Determine the number of elements */ - size = _A_CSEQUENCE_FROM_VOID(sptr)->count; - - if((size >= 1 && size <= 2)) { - /* Perform validation of the inner elements */ - return td->check_constraints(td, sptr, ctfailcb, app_key); - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -simultaneousPUCCH_PUSCH_r10_19_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -simultaneousPUCCH_PUSCH_r10_19_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -simultaneousPUCCH_PUSCH_r10_19_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - simultaneousPUCCH_PUSCH_r10_19_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -simultaneousPUCCH_PUSCH_r10_19_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - simultaneousPUCCH_PUSCH_r10_19_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -simultaneousPUCCH_PUSCH_r10_19_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - simultaneousPUCCH_PUSCH_r10_19_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -simultaneousPUCCH_PUSCH_r10_19_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - simultaneousPUCCH_PUSCH_r10_19_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -simultaneousPUCCH_PUSCH_r10_19_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - simultaneousPUCCH_PUSCH_r10_19_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -simultaneousPUCCH_PUSCH_r10_19_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - simultaneousPUCCH_PUSCH_r10_19_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -simultaneousPUCCH_PUSCH_r10_19_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - simultaneousPUCCH_PUSCH_r10_19_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -simultaneousPUCCH_PUSCH_r10_19_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - simultaneousPUCCH_PUSCH_r10_19_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_n1PUCCH_AN_RepP1_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 2047)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_Member_constr_5 = { - { APC_CONSTRAINED, 10, 10, 0, 549 } /* (0..549) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_n3PUCCH_AN_List_r10_constr_4 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 2, 2, 1, 4 } /* (SIZE(1..4)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_Member_constr_10 = { - { APC_CONSTRAINED, 10, 10, 0, 549 } /* (0..549) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_n3PUCCH_AN_ListP1_r10_constr_9 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 2, 2, 1, 4 } /* (SIZE(1..4)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n3PUCCH_AN_ListP1_r10_constr_9 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 2, 2, 1, 4 } /* (SIZE(1..4)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_twoAntennaPortActivatedPUCCH_Format3_r10_constr_6 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n3PUCCH_AN_List_r10_constr_4 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 2, 2, 1, 4 } /* (SIZE(1..4)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_n1PUCCH_AN_CS_List_r10_constr_15 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 1, 1, 1, 2 } /* (SIZE(1..2)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n1PUCCH_AN_CS_List_r10_constr_15 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 1, 1, 1, 2 } /* (SIZE(1..2)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_n1PUCCH_AN_CS_r10_constr_12 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_pucch_Format_r10_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_twoAntennaPortActivatedPUCCH_Format1a1b_r10_constr_17 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_simultaneousPUCCH_PUSCH_r10_constr_19 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n1PUCCH_AN_RepP1_r10_constr_21 = { - { APC_CONSTRAINED, 11, 11, 0, 2047 } /* (0..2047) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_n3PUCCH_AN_List_r10_4[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_NativeInteger, - memb_NativeInteger_constraint_4, - &asn_PER_memb_Member_constr_5, - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_n3PUCCH_AN_List_r10_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_n3PUCCH_AN_List_r10_specs_4 = { - sizeof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__n3PUCCH_AN_List_r10), - offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__n3PUCCH_AN_List_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_n3PUCCH_AN_List_r10_4 = { - "n3PUCCH-AN-List-r10", - "n3PUCCH-AN-List-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_n3PUCCH_AN_List_r10_tags_4, - sizeof(asn_DEF_n3PUCCH_AN_List_r10_tags_4) - /sizeof(asn_DEF_n3PUCCH_AN_List_r10_tags_4[0]) - 1, /* 1 */ - asn_DEF_n3PUCCH_AN_List_r10_tags_4, /* Same as above */ - sizeof(asn_DEF_n3PUCCH_AN_List_r10_tags_4) - /sizeof(asn_DEF_n3PUCCH_AN_List_r10_tags_4[0]), /* 2 */ - &asn_PER_type_n3PUCCH_AN_List_r10_constr_4, - asn_MBR_n3PUCCH_AN_List_r10_4, - 1, /* Single element */ - &asn_SPC_n3PUCCH_AN_List_r10_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_n3PUCCH_AN_ListP1_r10_9[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_NativeInteger, - memb_NativeInteger_constraint_9, - &asn_PER_memb_Member_constr_10, - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_n3PUCCH_AN_ListP1_r10_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_n3PUCCH_AN_ListP1_r10_specs_9 = { - sizeof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10__setup__n3PUCCH_AN_ListP1_r10), - offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10__setup__n3PUCCH_AN_ListP1_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_n3PUCCH_AN_ListP1_r10_9 = { - "n3PUCCH-AN-ListP1-r10", - "n3PUCCH-AN-ListP1-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_n3PUCCH_AN_ListP1_r10_tags_9, - sizeof(asn_DEF_n3PUCCH_AN_ListP1_r10_tags_9) - /sizeof(asn_DEF_n3PUCCH_AN_ListP1_r10_tags_9[0]) - 1, /* 1 */ - asn_DEF_n3PUCCH_AN_ListP1_r10_tags_9, /* Same as above */ - sizeof(asn_DEF_n3PUCCH_AN_ListP1_r10_tags_9) - /sizeof(asn_DEF_n3PUCCH_AN_ListP1_r10_tags_9[0]), /* 2 */ - &asn_PER_type_n3PUCCH_AN_ListP1_r10_constr_9, - asn_MBR_n3PUCCH_AN_ListP1_r10_9, - 1, /* Single element */ - &asn_SPC_n3PUCCH_AN_ListP1_r10_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_8[] = { - { ATF_NOFLAGS, 0, offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10__setup, n3PUCCH_AN_ListP1_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_n3PUCCH_AN_ListP1_r10_9, - memb_n3PUCCH_AN_ListP1_r10_constraint_8, - &asn_PER_memb_n3PUCCH_AN_ListP1_r10_constr_9, - 0, - "n3PUCCH-AN-ListP1-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_setup_tags_8[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_8[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* n3PUCCH-AN-ListP1-r10 at 2254 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_8 = { - sizeof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10__setup), - offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10__setup, _asn_ctx), - asn_MAP_setup_tag2el_8, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_8 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_8, - sizeof(asn_DEF_setup_tags_8) - /sizeof(asn_DEF_setup_tags_8[0]) - 1, /* 1 */ - asn_DEF_setup_tags_8, /* Same as above */ - sizeof(asn_DEF_setup_tags_8) - /sizeof(asn_DEF_setup_tags_8[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_8, - 1, /* Elements count */ - &asn_SPC_setup_specs_8 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_twoAntennaPortActivatedPUCCH_Format3_r10_6[] = { - { ATF_NOFLAGS, 0, offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_twoAntennaPortActivatedPUCCH_Format3_r10_tag2el_6[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 2252 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 2255 */ -}; -static asn_CHOICE_specifics_t asn_SPC_twoAntennaPortActivatedPUCCH_Format3_r10_specs_6 = { - sizeof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10), - offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10, _asn_ctx), - offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10, present), - sizeof(((struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10__twoAntennaPortActivatedPUCCH_Format3_r10 *)0)->present), - asn_MAP_twoAntennaPortActivatedPUCCH_Format3_r10_tag2el_6, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_twoAntennaPortActivatedPUCCH_Format3_r10_6 = { - "twoAntennaPortActivatedPUCCH-Format3-r10", - "twoAntennaPortActivatedPUCCH-Format3-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_twoAntennaPortActivatedPUCCH_Format3_r10_constr_6, - asn_MBR_twoAntennaPortActivatedPUCCH_Format3_r10_6, - 2, /* Elements count */ - &asn_SPC_twoAntennaPortActivatedPUCCH_Format3_r10_specs_6 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_format3_r10_3[] = { - { ATF_POINTER, 2, offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10, n3PUCCH_AN_List_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_n3PUCCH_AN_List_r10_4, - memb_n3PUCCH_AN_List_r10_constraint_3, - &asn_PER_memb_n3PUCCH_AN_List_r10_constr_4, - 0, - "n3PUCCH-AN-List-r10" - }, - { ATF_POINTER, 1, offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10, twoAntennaPortActivatedPUCCH_Format3_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_twoAntennaPortActivatedPUCCH_Format3_r10_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "twoAntennaPortActivatedPUCCH-Format3-r10" - }, -}; -static int asn_MAP_format3_r10_oms_3[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_format3_r10_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_format3_r10_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* n3PUCCH-AN-List-r10 at 2250 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* twoAntennaPortActivatedPUCCH-Format3-r10 at 2252 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_format3_r10_specs_3 = { - sizeof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10), - offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__format3_r10, _asn_ctx), - asn_MAP_format3_r10_tag2el_3, - 2, /* Count of tags in the map */ - asn_MAP_format3_r10_oms_3, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_format3_r10_3 = { - "format3-r10", - "format3-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_format3_r10_tags_3, - sizeof(asn_DEF_format3_r10_tags_3) - /sizeof(asn_DEF_format3_r10_tags_3[0]) - 1, /* 1 */ - asn_DEF_format3_r10_tags_3, /* Same as above */ - sizeof(asn_DEF_format3_r10_tags_3) - /sizeof(asn_DEF_format3_r10_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_format3_r10_3, - 2, /* Elements count */ - &asn_SPC_format3_r10_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_n1PUCCH_AN_CS_List_r10_15[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_N1PUCCH_AN_CS_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_n1PUCCH_AN_CS_List_r10_tags_15[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_n1PUCCH_AN_CS_List_r10_specs_15 = { - sizeof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10__setup__n1PUCCH_AN_CS_List_r10), - offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10__setup__n1PUCCH_AN_CS_List_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_n1PUCCH_AN_CS_List_r10_15 = { - "n1PUCCH-AN-CS-List-r10", - "n1PUCCH-AN-CS-List-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_n1PUCCH_AN_CS_List_r10_tags_15, - sizeof(asn_DEF_n1PUCCH_AN_CS_List_r10_tags_15) - /sizeof(asn_DEF_n1PUCCH_AN_CS_List_r10_tags_15[0]) - 1, /* 1 */ - asn_DEF_n1PUCCH_AN_CS_List_r10_tags_15, /* Same as above */ - sizeof(asn_DEF_n1PUCCH_AN_CS_List_r10_tags_15) - /sizeof(asn_DEF_n1PUCCH_AN_CS_List_r10_tags_15[0]), /* 2 */ - &asn_PER_type_n1PUCCH_AN_CS_List_r10_constr_15, - asn_MBR_n1PUCCH_AN_CS_List_r10_15, - 1, /* Single element */ - &asn_SPC_n1PUCCH_AN_CS_List_r10_specs_15 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_14[] = { - { ATF_NOFLAGS, 0, offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10__setup, n1PUCCH_AN_CS_List_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_n1PUCCH_AN_CS_List_r10_15, - memb_n1PUCCH_AN_CS_List_r10_constraint_14, - &asn_PER_memb_n1PUCCH_AN_CS_List_r10_constr_15, - 0, - "n1PUCCH-AN-CS-List-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_setup_tags_14[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_14[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* n1PUCCH-AN-CS-List-r10 at 2263 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_14 = { - sizeof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10__setup), - offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10__setup, _asn_ctx), - asn_MAP_setup_tag2el_14, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_14 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_14, - sizeof(asn_DEF_setup_tags_14) - /sizeof(asn_DEF_setup_tags_14[0]) - 1, /* 1 */ - asn_DEF_setup_tags_14, /* Same as above */ - sizeof(asn_DEF_setup_tags_14) - /sizeof(asn_DEF_setup_tags_14[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_14, - 1, /* Elements count */ - &asn_SPC_setup_specs_14 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_n1PUCCH_AN_CS_r10_12[] = { - { ATF_NOFLAGS, 0, offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_14, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_n1PUCCH_AN_CS_r10_tag2el_12[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 2260 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 2263 */ -}; -static asn_CHOICE_specifics_t asn_SPC_n1PUCCH_AN_CS_r10_specs_12 = { - sizeof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10), - offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10, _asn_ctx), - offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10, present), - sizeof(((struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10__n1PUCCH_AN_CS_r10 *)0)->present), - asn_MAP_n1PUCCH_AN_CS_r10_tag2el_12, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_n1PUCCH_AN_CS_r10_12 = { - "n1PUCCH-AN-CS-r10", - "n1PUCCH-AN-CS-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_n1PUCCH_AN_CS_r10_constr_12, - asn_MBR_n1PUCCH_AN_CS_r10_12, - 2, /* Elements count */ - &asn_SPC_n1PUCCH_AN_CS_r10_specs_12 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_channelSelection_r10_11[] = { - { ATF_POINTER, 1, offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10, n1PUCCH_AN_CS_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_n1PUCCH_AN_CS_r10_12, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "n1PUCCH-AN-CS-r10" - }, -}; -static int asn_MAP_channelSelection_r10_oms_11[] = { 0 }; -static ber_tlv_tag_t asn_DEF_channelSelection_r10_tags_11[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_channelSelection_r10_tag2el_11[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* n1PUCCH-AN-CS-r10 at 2260 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_channelSelection_r10_specs_11 = { - sizeof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10), - offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10__channelSelection_r10, _asn_ctx), - asn_MAP_channelSelection_r10_tag2el_11, - 1, /* Count of tags in the map */ - asn_MAP_channelSelection_r10_oms_11, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_channelSelection_r10_11 = { - "channelSelection-r10", - "channelSelection-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_channelSelection_r10_tags_11, - sizeof(asn_DEF_channelSelection_r10_tags_11) - /sizeof(asn_DEF_channelSelection_r10_tags_11[0]) - 1, /* 1 */ - asn_DEF_channelSelection_r10_tags_11, /* Same as above */ - sizeof(asn_DEF_channelSelection_r10_tags_11) - /sizeof(asn_DEF_channelSelection_r10_tags_11[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_channelSelection_r10_11, - 1, /* Elements count */ - &asn_SPC_channelSelection_r10_specs_11 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_pucch_Format_r10_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10, choice.format3_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_format3_r10_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "format3-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10, choice.channelSelection_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_channelSelection_r10_11, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "channelSelection-r10" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_pucch_Format_r10_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* format3-r10 at 2250 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* channelSelection-r10 at 2264 */ -}; -static asn_CHOICE_specifics_t asn_SPC_pucch_Format_r10_specs_2 = { - sizeof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10), - offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10, _asn_ctx), - offsetof(struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10, present), - sizeof(((struct PUCCH_ConfigDedicated_v1020__pucch_Format_r10 *)0)->present), - asn_MAP_pucch_Format_r10_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_pucch_Format_r10_2 = { - "pucch-Format-r10", - "pucch-Format-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_pucch_Format_r10_constr_2, - asn_MBR_pucch_Format_r10_2, - 2, /* Elements count */ - &asn_SPC_pucch_Format_r10_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_twoAntennaPortActivatedPUCCH_Format1a1b_r10_value2enum_17[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_twoAntennaPortActivatedPUCCH_Format1a1b_r10_enum2value_17[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_twoAntennaPortActivatedPUCCH_Format1a1b_r10_specs_17 = { - asn_MAP_twoAntennaPortActivatedPUCCH_Format1a1b_r10_value2enum_17, /* "tag" => N; sorted by tag */ - asn_MAP_twoAntennaPortActivatedPUCCH_Format1a1b_r10_enum2value_17, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_twoAntennaPortActivatedPUCCH_Format1a1b_r10_tags_17[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_twoAntennaPortActivatedPUCCH_Format1a1b_r10_17 = { - "twoAntennaPortActivatedPUCCH-Format1a1b-r10", - "twoAntennaPortActivatedPUCCH-Format1a1b-r10", - twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_free, - twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_print, - twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_constraint, - twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_decode_ber, - twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_encode_der, - twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_decode_xer, - twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_encode_xer, - twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_decode_uper, - twoAntennaPortActivatedPUCCH_Format1a1b_r10_17_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_twoAntennaPortActivatedPUCCH_Format1a1b_r10_tags_17, - sizeof(asn_DEF_twoAntennaPortActivatedPUCCH_Format1a1b_r10_tags_17) - /sizeof(asn_DEF_twoAntennaPortActivatedPUCCH_Format1a1b_r10_tags_17[0]) - 1, /* 1 */ - asn_DEF_twoAntennaPortActivatedPUCCH_Format1a1b_r10_tags_17, /* Same as above */ - sizeof(asn_DEF_twoAntennaPortActivatedPUCCH_Format1a1b_r10_tags_17) - /sizeof(asn_DEF_twoAntennaPortActivatedPUCCH_Format1a1b_r10_tags_17[0]), /* 2 */ - &asn_PER_type_twoAntennaPortActivatedPUCCH_Format1a1b_r10_constr_17, - 0, 0, /* Defined elsewhere */ - &asn_SPC_twoAntennaPortActivatedPUCCH_Format1a1b_r10_specs_17 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_simultaneousPUCCH_PUSCH_r10_value2enum_19[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_simultaneousPUCCH_PUSCH_r10_enum2value_19[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_simultaneousPUCCH_PUSCH_r10_specs_19 = { - asn_MAP_simultaneousPUCCH_PUSCH_r10_value2enum_19, /* "tag" => N; sorted by tag */ - asn_MAP_simultaneousPUCCH_PUSCH_r10_enum2value_19, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_simultaneousPUCCH_PUSCH_r10_tags_19[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_simultaneousPUCCH_PUSCH_r10_19 = { - "simultaneousPUCCH-PUSCH-r10", - "simultaneousPUCCH-PUSCH-r10", - simultaneousPUCCH_PUSCH_r10_19_free, - simultaneousPUCCH_PUSCH_r10_19_print, - simultaneousPUCCH_PUSCH_r10_19_constraint, - simultaneousPUCCH_PUSCH_r10_19_decode_ber, - simultaneousPUCCH_PUSCH_r10_19_encode_der, - simultaneousPUCCH_PUSCH_r10_19_decode_xer, - simultaneousPUCCH_PUSCH_r10_19_encode_xer, - simultaneousPUCCH_PUSCH_r10_19_decode_uper, - simultaneousPUCCH_PUSCH_r10_19_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_simultaneousPUCCH_PUSCH_r10_tags_19, - sizeof(asn_DEF_simultaneousPUCCH_PUSCH_r10_tags_19) - /sizeof(asn_DEF_simultaneousPUCCH_PUSCH_r10_tags_19[0]) - 1, /* 1 */ - asn_DEF_simultaneousPUCCH_PUSCH_r10_tags_19, /* Same as above */ - sizeof(asn_DEF_simultaneousPUCCH_PUSCH_r10_tags_19) - /sizeof(asn_DEF_simultaneousPUCCH_PUSCH_r10_tags_19[0]), /* 2 */ - &asn_PER_type_simultaneousPUCCH_PUSCH_r10_constr_19, - 0, 0, /* Defined elsewhere */ - &asn_SPC_simultaneousPUCCH_PUSCH_r10_specs_19 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PUCCH_ConfigDedicated_v1020_1[] = { - { ATF_POINTER, 4, offsetof(struct PUCCH_ConfigDedicated_v1020, pucch_Format_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_pucch_Format_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pucch-Format-r10" - }, - { ATF_POINTER, 3, offsetof(struct PUCCH_ConfigDedicated_v1020, twoAntennaPortActivatedPUCCH_Format1a1b_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_twoAntennaPortActivatedPUCCH_Format1a1b_r10_17, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "twoAntennaPortActivatedPUCCH-Format1a1b-r10" - }, - { ATF_POINTER, 2, offsetof(struct PUCCH_ConfigDedicated_v1020, simultaneousPUCCH_PUSCH_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_simultaneousPUCCH_PUSCH_r10_19, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "simultaneousPUCCH-PUSCH-r10" - }, - { ATF_POINTER, 1, offsetof(struct PUCCH_ConfigDedicated_v1020, n1PUCCH_AN_RepP1_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_n1PUCCH_AN_RepP1_r10_constraint_1, - &asn_PER_memb_n1PUCCH_AN_RepP1_r10_constr_21, - 0, - "n1PUCCH-AN-RepP1-r10" - }, -}; -static int asn_MAP_PUCCH_ConfigDedicated_v1020_oms_1[] = { 0, 1, 2, 3 }; -static ber_tlv_tag_t asn_DEF_PUCCH_ConfigDedicated_v1020_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PUCCH_ConfigDedicated_v1020_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pucch-Format-r10 at 2257 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* twoAntennaPortActivatedPUCCH-Format1a1b-r10 at 2267 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* simultaneousPUCCH-PUSCH-r10 at 2268 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* n1PUCCH-AN-RepP1-r10 at 2269 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PUCCH_ConfigDedicated_v1020_specs_1 = { - sizeof(struct PUCCH_ConfigDedicated_v1020), - offsetof(struct PUCCH_ConfigDedicated_v1020, _asn_ctx), - asn_MAP_PUCCH_ConfigDedicated_v1020_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_PUCCH_ConfigDedicated_v1020_oms_1, /* Optional members */ - 4, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PUCCH_ConfigDedicated_v1020 = { - "PUCCH-ConfigDedicated-v1020", - "PUCCH-ConfigDedicated-v1020", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PUCCH_ConfigDedicated_v1020_tags_1, - sizeof(asn_DEF_PUCCH_ConfigDedicated_v1020_tags_1) - /sizeof(asn_DEF_PUCCH_ConfigDedicated_v1020_tags_1[0]), /* 1 */ - asn_DEF_PUCCH_ConfigDedicated_v1020_tags_1, /* Same as above */ - sizeof(asn_DEF_PUCCH_ConfigDedicated_v1020_tags_1) - /sizeof(asn_DEF_PUCCH_ConfigDedicated_v1020_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PUCCH_ConfigDedicated_v1020_1, - 4, /* Elements count */ - &asn_SPC_PUCCH_ConfigDedicated_v1020_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PUCCH-ConfigDedicated.c b/lte/rrc/lib/asn/src/PUCCH-ConfigDedicated.c deleted file mode 100644 index 9e196a43c..000000000 --- a/lte/rrc/lib/asn/src/PUCCH-ConfigDedicated.c +++ /dev/null @@ -1,510 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PUCCH-ConfigDedicated.h" - -static int -repetitionFactor_5_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -repetitionFactor_5_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -repetitionFactor_5_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - repetitionFactor_5_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -repetitionFactor_5_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - repetitionFactor_5_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -repetitionFactor_5_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - repetitionFactor_5_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -repetitionFactor_5_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - repetitionFactor_5_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -repetitionFactor_5_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - repetitionFactor_5_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -repetitionFactor_5_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - repetitionFactor_5_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -repetitionFactor_5_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - repetitionFactor_5_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -repetitionFactor_5_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - repetitionFactor_5_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_n1PUCCH_AN_Rep_constraint_4(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 2047)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -tdd_AckNackFeedbackMode_11_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -tdd_AckNackFeedbackMode_11_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -tdd_AckNackFeedbackMode_11_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - tdd_AckNackFeedbackMode_11_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -tdd_AckNackFeedbackMode_11_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - tdd_AckNackFeedbackMode_11_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -tdd_AckNackFeedbackMode_11_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - tdd_AckNackFeedbackMode_11_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -tdd_AckNackFeedbackMode_11_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - tdd_AckNackFeedbackMode_11_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -tdd_AckNackFeedbackMode_11_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - tdd_AckNackFeedbackMode_11_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -tdd_AckNackFeedbackMode_11_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - tdd_AckNackFeedbackMode_11_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -tdd_AckNackFeedbackMode_11_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - tdd_AckNackFeedbackMode_11_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -tdd_AckNackFeedbackMode_11_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - tdd_AckNackFeedbackMode_11_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_repetitionFactor_constr_5 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n1PUCCH_AN_Rep_constr_10 = { - { APC_CONSTRAINED, 11, 11, 0, 2047 } /* (0..2047) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_ackNackRepetition_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_tdd_AckNackFeedbackMode_constr_11 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_repetitionFactor_value2enum_5[] = { - { 0, 2, "n2" }, - { 1, 2, "n4" }, - { 2, 2, "n6" }, - { 3, 6, "spare1" } -}; -static unsigned int asn_MAP_repetitionFactor_enum2value_5[] = { - 0, /* n2(0) */ - 1, /* n4(1) */ - 2, /* n6(2) */ - 3 /* spare1(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_repetitionFactor_specs_5 = { - asn_MAP_repetitionFactor_value2enum_5, /* "tag" => N; sorted by tag */ - asn_MAP_repetitionFactor_enum2value_5, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_repetitionFactor_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_repetitionFactor_5 = { - "repetitionFactor", - "repetitionFactor", - repetitionFactor_5_free, - repetitionFactor_5_print, - repetitionFactor_5_constraint, - repetitionFactor_5_decode_ber, - repetitionFactor_5_encode_der, - repetitionFactor_5_decode_xer, - repetitionFactor_5_encode_xer, - repetitionFactor_5_decode_uper, - repetitionFactor_5_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_repetitionFactor_tags_5, - sizeof(asn_DEF_repetitionFactor_tags_5) - /sizeof(asn_DEF_repetitionFactor_tags_5[0]) - 1, /* 1 */ - asn_DEF_repetitionFactor_tags_5, /* Same as above */ - sizeof(asn_DEF_repetitionFactor_tags_5) - /sizeof(asn_DEF_repetitionFactor_tags_5[0]), /* 2 */ - &asn_PER_type_repetitionFactor_constr_5, - 0, 0, /* Defined elsewhere */ - &asn_SPC_repetitionFactor_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct PUCCH_ConfigDedicated__ackNackRepetition__setup, repetitionFactor), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_repetitionFactor_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "repetitionFactor" - }, - { ATF_NOFLAGS, 0, offsetof(struct PUCCH_ConfigDedicated__ackNackRepetition__setup, n1PUCCH_AN_Rep), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_n1PUCCH_AN_Rep_constraint_4, - &asn_PER_memb_n1PUCCH_AN_Rep_constr_10, - 0, - "n1PUCCH-AN-Rep" - }, -}; -static ber_tlv_tag_t asn_DEF_setup_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* repetitionFactor at 2240 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* n1PUCCH-AN-Rep at 2241 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_4 = { - sizeof(struct PUCCH_ConfigDedicated__ackNackRepetition__setup), - offsetof(struct PUCCH_ConfigDedicated__ackNackRepetition__setup, _asn_ctx), - asn_MAP_setup_tag2el_4, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_4 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_4, - sizeof(asn_DEF_setup_tags_4) - /sizeof(asn_DEF_setup_tags_4[0]) - 1, /* 1 */ - asn_DEF_setup_tags_4, /* Same as above */ - sizeof(asn_DEF_setup_tags_4) - /sizeof(asn_DEF_setup_tags_4[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_4, - 2, /* Elements count */ - &asn_SPC_setup_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ackNackRepetition_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct PUCCH_ConfigDedicated__ackNackRepetition, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct PUCCH_ConfigDedicated__ackNackRepetition, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_ackNackRepetition_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 2238 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 2240 */ -}; -static asn_CHOICE_specifics_t asn_SPC_ackNackRepetition_specs_2 = { - sizeof(struct PUCCH_ConfigDedicated__ackNackRepetition), - offsetof(struct PUCCH_ConfigDedicated__ackNackRepetition, _asn_ctx), - offsetof(struct PUCCH_ConfigDedicated__ackNackRepetition, present), - sizeof(((struct PUCCH_ConfigDedicated__ackNackRepetition *)0)->present), - asn_MAP_ackNackRepetition_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ackNackRepetition_2 = { - "ackNackRepetition", - "ackNackRepetition", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_ackNackRepetition_constr_2, - asn_MBR_ackNackRepetition_2, - 2, /* Elements count */ - &asn_SPC_ackNackRepetition_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_tdd_AckNackFeedbackMode_value2enum_11[] = { - { 0, 8, "bundling" }, - { 1, 12, "multiplexing" } -}; -static unsigned int asn_MAP_tdd_AckNackFeedbackMode_enum2value_11[] = { - 0, /* bundling(0) */ - 1 /* multiplexing(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_tdd_AckNackFeedbackMode_specs_11 = { - asn_MAP_tdd_AckNackFeedbackMode_value2enum_11, /* "tag" => N; sorted by tag */ - asn_MAP_tdd_AckNackFeedbackMode_enum2value_11, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_tdd_AckNackFeedbackMode_tags_11[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_tdd_AckNackFeedbackMode_11 = { - "tdd-AckNackFeedbackMode", - "tdd-AckNackFeedbackMode", - tdd_AckNackFeedbackMode_11_free, - tdd_AckNackFeedbackMode_11_print, - tdd_AckNackFeedbackMode_11_constraint, - tdd_AckNackFeedbackMode_11_decode_ber, - tdd_AckNackFeedbackMode_11_encode_der, - tdd_AckNackFeedbackMode_11_decode_xer, - tdd_AckNackFeedbackMode_11_encode_xer, - tdd_AckNackFeedbackMode_11_decode_uper, - tdd_AckNackFeedbackMode_11_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_tdd_AckNackFeedbackMode_tags_11, - sizeof(asn_DEF_tdd_AckNackFeedbackMode_tags_11) - /sizeof(asn_DEF_tdd_AckNackFeedbackMode_tags_11[0]) - 1, /* 1 */ - asn_DEF_tdd_AckNackFeedbackMode_tags_11, /* Same as above */ - sizeof(asn_DEF_tdd_AckNackFeedbackMode_tags_11) - /sizeof(asn_DEF_tdd_AckNackFeedbackMode_tags_11[0]), /* 2 */ - &asn_PER_type_tdd_AckNackFeedbackMode_constr_11, - 0, 0, /* Defined elsewhere */ - &asn_SPC_tdd_AckNackFeedbackMode_specs_11 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PUCCH_ConfigDedicated_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PUCCH_ConfigDedicated, ackNackRepetition), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_ackNackRepetition_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ackNackRepetition" - }, - { ATF_POINTER, 1, offsetof(struct PUCCH_ConfigDedicated, tdd_AckNackFeedbackMode), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_tdd_AckNackFeedbackMode_11, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "tdd-AckNackFeedbackMode" - }, -}; -static int asn_MAP_PUCCH_ConfigDedicated_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_PUCCH_ConfigDedicated_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PUCCH_ConfigDedicated_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ackNackRepetition at 2238 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* tdd-AckNackFeedbackMode at 2244 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PUCCH_ConfigDedicated_specs_1 = { - sizeof(struct PUCCH_ConfigDedicated), - offsetof(struct PUCCH_ConfigDedicated, _asn_ctx), - asn_MAP_PUCCH_ConfigDedicated_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_PUCCH_ConfigDedicated_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PUCCH_ConfigDedicated = { - "PUCCH-ConfigDedicated", - "PUCCH-ConfigDedicated", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PUCCH_ConfigDedicated_tags_1, - sizeof(asn_DEF_PUCCH_ConfigDedicated_tags_1) - /sizeof(asn_DEF_PUCCH_ConfigDedicated_tags_1[0]), /* 1 */ - asn_DEF_PUCCH_ConfigDedicated_tags_1, /* Same as above */ - sizeof(asn_DEF_PUCCH_ConfigDedicated_tags_1) - /sizeof(asn_DEF_PUCCH_ConfigDedicated_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PUCCH_ConfigDedicated_1, - 2, /* Elements count */ - &asn_SPC_PUCCH_ConfigDedicated_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PUSCH-CAConfigDedicated-vlola.c b/lte/rrc/lib/asn/src/PUSCH-CAConfigDedicated-vlola.c deleted file mode 100644 index fad73937d..000000000 --- a/lte/rrc/lib/asn/src/PUSCH-CAConfigDedicated-vlola.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PUSCH-CAConfigDedicated-vlola.h" - -static asn_TYPE_member_t asn_MBR_PUSCH_CAConfigDedicated_vlola_1[] = { - { ATF_POINTER, 2, offsetof(struct PUSCH_CAConfigDedicated_vlola, betaOffset_CA_Index), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BetaOffset_CA_Index, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "betaOffset-CA-Index" - }, - { ATF_POINTER, 1, offsetof(struct PUSCH_CAConfigDedicated_vlola, cShift), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CShift, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cShift" - }, -}; -static int asn_MAP_PUSCH_CAConfigDedicated_vlola_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_PUSCH_CAConfigDedicated_vlola_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PUSCH_CAConfigDedicated_vlola_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* betaOffset-CA-Index at 2170 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cShift at 2171 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PUSCH_CAConfigDedicated_vlola_specs_1 = { - sizeof(struct PUSCH_CAConfigDedicated_vlola), - offsetof(struct PUSCH_CAConfigDedicated_vlola, _asn_ctx), - asn_MAP_PUSCH_CAConfigDedicated_vlola_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_PUSCH_CAConfigDedicated_vlola_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PUSCH_CAConfigDedicated_vlola = { - "PUSCH-CAConfigDedicated-vlola", - "PUSCH-CAConfigDedicated-vlola", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PUSCH_CAConfigDedicated_vlola_tags_1, - sizeof(asn_DEF_PUSCH_CAConfigDedicated_vlola_tags_1) - /sizeof(asn_DEF_PUSCH_CAConfigDedicated_vlola_tags_1[0]), /* 1 */ - asn_DEF_PUSCH_CAConfigDedicated_vlola_tags_1, /* Same as above */ - sizeof(asn_DEF_PUSCH_CAConfigDedicated_vlola_tags_1) - /sizeof(asn_DEF_PUSCH_CAConfigDedicated_vlola_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PUSCH_CAConfigDedicated_vlola_1, - 2, /* Elements count */ - &asn_SPC_PUSCH_CAConfigDedicated_vlola_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PUSCH-ConfigCommon.c b/lte/rrc/lib/asn/src/PUSCH-ConfigCommon.c deleted file mode 100644 index c661b00e8..000000000 --- a/lte/rrc/lib/asn/src/PUSCH-ConfigCommon.c +++ /dev/null @@ -1,352 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PUSCH-ConfigCommon.h" - -static int -hoppingMode_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -hoppingMode_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -hoppingMode_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - hoppingMode_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -hoppingMode_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - hoppingMode_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -hoppingMode_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - hoppingMode_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -hoppingMode_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - hoppingMode_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -hoppingMode_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - hoppingMode_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -hoppingMode_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - hoppingMode_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -hoppingMode_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - hoppingMode_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -hoppingMode_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - hoppingMode_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_n_SB_constraint_2(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 4)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_pusch_HoppingOffset_constraint_2(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 98)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_hoppingMode_constr_4 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n_SB_constr_3 = { - { APC_CONSTRAINED, 2, 2, 1, 4 } /* (1..4) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_pusch_HoppingOffset_constr_7 = { - { APC_CONSTRAINED, 7, 7, 0, 98 } /* (0..98) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_hoppingMode_value2enum_4[] = { - { 0, 13, "interSubFrame" }, - { 1, 21, "intraAndInterSubFrame" } -}; -static unsigned int asn_MAP_hoppingMode_enum2value_4[] = { - 0, /* interSubFrame(0) */ - 1 /* intraAndInterSubFrame(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_hoppingMode_specs_4 = { - asn_MAP_hoppingMode_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_hoppingMode_enum2value_4, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_hoppingMode_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_hoppingMode_4 = { - "hoppingMode", - "hoppingMode", - hoppingMode_4_free, - hoppingMode_4_print, - hoppingMode_4_constraint, - hoppingMode_4_decode_ber, - hoppingMode_4_encode_der, - hoppingMode_4_decode_xer, - hoppingMode_4_encode_xer, - hoppingMode_4_decode_uper, - hoppingMode_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_hoppingMode_tags_4, - sizeof(asn_DEF_hoppingMode_tags_4) - /sizeof(asn_DEF_hoppingMode_tags_4[0]) - 1, /* 1 */ - asn_DEF_hoppingMode_tags_4, /* Same as above */ - sizeof(asn_DEF_hoppingMode_tags_4) - /sizeof(asn_DEF_hoppingMode_tags_4[0]), /* 2 */ - &asn_PER_type_hoppingMode_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_hoppingMode_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_pusch_ConfigBasic_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct PUSCH_ConfigCommon__pusch_ConfigBasic, n_SB), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_n_SB_constraint_2, - &asn_PER_memb_n_SB_constr_3, - 0, - "n-SB" - }, - { ATF_NOFLAGS, 0, offsetof(struct PUSCH_ConfigCommon__pusch_ConfigBasic, hoppingMode), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_hoppingMode_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "hoppingMode" - }, - { ATF_NOFLAGS, 0, offsetof(struct PUSCH_ConfigCommon__pusch_ConfigBasic, pusch_HoppingOffset), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_pusch_HoppingOffset_constraint_2, - &asn_PER_memb_pusch_HoppingOffset_constr_7, - 0, - "pusch-HoppingOffset" - }, - { ATF_NOFLAGS, 0, offsetof(struct PUSCH_ConfigCommon__pusch_ConfigBasic, enable64QAM), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "enable64QAM" - }, -}; -static ber_tlv_tag_t asn_DEF_pusch_ConfigBasic_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_pusch_ConfigBasic_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* n-SB at 2277 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* hoppingMode at 2278 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pusch-HoppingOffset at 2279 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* enable64QAM at 2280 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_pusch_ConfigBasic_specs_2 = { - sizeof(struct PUSCH_ConfigCommon__pusch_ConfigBasic), - offsetof(struct PUSCH_ConfigCommon__pusch_ConfigBasic, _asn_ctx), - asn_MAP_pusch_ConfigBasic_tag2el_2, - 4, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_pusch_ConfigBasic_2 = { - "pusch-ConfigBasic", - "pusch-ConfigBasic", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_pusch_ConfigBasic_tags_2, - sizeof(asn_DEF_pusch_ConfigBasic_tags_2) - /sizeof(asn_DEF_pusch_ConfigBasic_tags_2[0]) - 1, /* 1 */ - asn_DEF_pusch_ConfigBasic_tags_2, /* Same as above */ - sizeof(asn_DEF_pusch_ConfigBasic_tags_2) - /sizeof(asn_DEF_pusch_ConfigBasic_tags_2[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_pusch_ConfigBasic_2, - 4, /* Elements count */ - &asn_SPC_pusch_ConfigBasic_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PUSCH_ConfigCommon_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PUSCH_ConfigCommon, pusch_ConfigBasic), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_pusch_ConfigBasic_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pusch-ConfigBasic" - }, - { ATF_NOFLAGS, 0, offsetof(struct PUSCH_ConfigCommon, ul_ReferenceSignalsPUSCH), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UL_ReferenceSignalsPUSCH, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ul-ReferenceSignalsPUSCH" - }, -}; -static ber_tlv_tag_t asn_DEF_PUSCH_ConfigCommon_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PUSCH_ConfigCommon_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pusch-ConfigBasic at 2277 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ul-ReferenceSignalsPUSCH at 2283 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PUSCH_ConfigCommon_specs_1 = { - sizeof(struct PUSCH_ConfigCommon), - offsetof(struct PUSCH_ConfigCommon, _asn_ctx), - asn_MAP_PUSCH_ConfigCommon_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PUSCH_ConfigCommon = { - "PUSCH-ConfigCommon", - "PUSCH-ConfigCommon", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PUSCH_ConfigCommon_tags_1, - sizeof(asn_DEF_PUSCH_ConfigCommon_tags_1) - /sizeof(asn_DEF_PUSCH_ConfigCommon_tags_1[0]), /* 1 */ - asn_DEF_PUSCH_ConfigCommon_tags_1, /* Same as above */ - sizeof(asn_DEF_PUSCH_ConfigCommon_tags_1) - /sizeof(asn_DEF_PUSCH_ConfigCommon_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PUSCH_ConfigCommon_1, - 2, /* Elements count */ - &asn_SPC_PUSCH_ConfigCommon_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PUSCH-ConfigDedicated-v1020.c b/lte/rrc/lib/asn/src/PUSCH-ConfigDedicated-v1020.c deleted file mode 100644 index b9ad366e6..000000000 --- a/lte/rrc/lib/asn/src/PUSCH-ConfigDedicated-v1020.c +++ /dev/null @@ -1,519 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PUSCH-ConfigDedicated-v1020.h" - -static int -memb_betaOffset_ACK_Index_MC_r10_constraint_2(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_betaOffset_RI_Index_MC_r10_constraint_2(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_betaOffset_CQI_Index_MC_r10_constraint_2(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -groupHoppingDisabled_r10_6_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -groupHoppingDisabled_r10_6_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -groupHoppingDisabled_r10_6_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - groupHoppingDisabled_r10_6_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -groupHoppingDisabled_r10_6_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - groupHoppingDisabled_r10_6_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -groupHoppingDisabled_r10_6_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - groupHoppingDisabled_r10_6_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -groupHoppingDisabled_r10_6_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - groupHoppingDisabled_r10_6_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -groupHoppingDisabled_r10_6_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - groupHoppingDisabled_r10_6_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -groupHoppingDisabled_r10_6_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - groupHoppingDisabled_r10_6_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -groupHoppingDisabled_r10_6_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - groupHoppingDisabled_r10_6_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -groupHoppingDisabled_r10_6_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - groupHoppingDisabled_r10_6_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -dmrs_WithOCC_Activated_r10_8_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -dmrs_WithOCC_Activated_r10_8_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -dmrs_WithOCC_Activated_r10_8_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - dmrs_WithOCC_Activated_r10_8_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -dmrs_WithOCC_Activated_r10_8_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - dmrs_WithOCC_Activated_r10_8_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -dmrs_WithOCC_Activated_r10_8_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - dmrs_WithOCC_Activated_r10_8_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -dmrs_WithOCC_Activated_r10_8_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - dmrs_WithOCC_Activated_r10_8_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -dmrs_WithOCC_Activated_r10_8_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - dmrs_WithOCC_Activated_r10_8_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -dmrs_WithOCC_Activated_r10_8_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - dmrs_WithOCC_Activated_r10_8_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -dmrs_WithOCC_Activated_r10_8_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - dmrs_WithOCC_Activated_r10_8_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -dmrs_WithOCC_Activated_r10_8_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - dmrs_WithOCC_Activated_r10_8_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_memb_betaOffset_ACK_Index_MC_r10_constr_3 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_betaOffset_RI_Index_MC_r10_constr_4 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_betaOffset_CQI_Index_MC_r10_constr_5 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_groupHoppingDisabled_r10_constr_6 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_dmrs_WithOCC_Activated_r10_constr_8 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_betaOffsetMC_r10_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct PUSCH_ConfigDedicated_v1020__betaOffsetMC_r10, betaOffset_ACK_Index_MC_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_betaOffset_ACK_Index_MC_r10_constraint_2, - &asn_PER_memb_betaOffset_ACK_Index_MC_r10_constr_3, - 0, - "betaOffset-ACK-Index-MC-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct PUSCH_ConfigDedicated_v1020__betaOffsetMC_r10, betaOffset_RI_Index_MC_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_betaOffset_RI_Index_MC_r10_constraint_2, - &asn_PER_memb_betaOffset_RI_Index_MC_r10_constr_4, - 0, - "betaOffset-RI-Index-MC-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct PUSCH_ConfigDedicated_v1020__betaOffsetMC_r10, betaOffset_CQI_Index_MC_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_betaOffset_CQI_Index_MC_r10_constraint_2, - &asn_PER_memb_betaOffset_CQI_Index_MC_r10_constr_5, - 0, - "betaOffset-CQI-Index-MC-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_betaOffsetMC_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_betaOffsetMC_r10_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* betaOffset-ACK-Index-MC-r10 at 2293 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* betaOffset-RI-Index-MC-r10 at 2294 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* betaOffset-CQI-Index-MC-r10 at 2295 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_betaOffsetMC_r10_specs_2 = { - sizeof(struct PUSCH_ConfigDedicated_v1020__betaOffsetMC_r10), - offsetof(struct PUSCH_ConfigDedicated_v1020__betaOffsetMC_r10, _asn_ctx), - asn_MAP_betaOffsetMC_r10_tag2el_2, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_betaOffsetMC_r10_2 = { - "betaOffsetMC-r10", - "betaOffsetMC-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_betaOffsetMC_r10_tags_2, - sizeof(asn_DEF_betaOffsetMC_r10_tags_2) - /sizeof(asn_DEF_betaOffsetMC_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_betaOffsetMC_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_betaOffsetMC_r10_tags_2) - /sizeof(asn_DEF_betaOffsetMC_r10_tags_2[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_betaOffsetMC_r10_2, - 3, /* Elements count */ - &asn_SPC_betaOffsetMC_r10_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_groupHoppingDisabled_r10_value2enum_6[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_groupHoppingDisabled_r10_enum2value_6[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_groupHoppingDisabled_r10_specs_6 = { - asn_MAP_groupHoppingDisabled_r10_value2enum_6, /* "tag" => N; sorted by tag */ - asn_MAP_groupHoppingDisabled_r10_enum2value_6, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_groupHoppingDisabled_r10_tags_6[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_groupHoppingDisabled_r10_6 = { - "groupHoppingDisabled-r10", - "groupHoppingDisabled-r10", - groupHoppingDisabled_r10_6_free, - groupHoppingDisabled_r10_6_print, - groupHoppingDisabled_r10_6_constraint, - groupHoppingDisabled_r10_6_decode_ber, - groupHoppingDisabled_r10_6_encode_der, - groupHoppingDisabled_r10_6_decode_xer, - groupHoppingDisabled_r10_6_encode_xer, - groupHoppingDisabled_r10_6_decode_uper, - groupHoppingDisabled_r10_6_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_groupHoppingDisabled_r10_tags_6, - sizeof(asn_DEF_groupHoppingDisabled_r10_tags_6) - /sizeof(asn_DEF_groupHoppingDisabled_r10_tags_6[0]) - 1, /* 1 */ - asn_DEF_groupHoppingDisabled_r10_tags_6, /* Same as above */ - sizeof(asn_DEF_groupHoppingDisabled_r10_tags_6) - /sizeof(asn_DEF_groupHoppingDisabled_r10_tags_6[0]), /* 2 */ - &asn_PER_type_groupHoppingDisabled_r10_constr_6, - 0, 0, /* Defined elsewhere */ - &asn_SPC_groupHoppingDisabled_r10_specs_6 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_dmrs_WithOCC_Activated_r10_value2enum_8[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_dmrs_WithOCC_Activated_r10_enum2value_8[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_dmrs_WithOCC_Activated_r10_specs_8 = { - asn_MAP_dmrs_WithOCC_Activated_r10_value2enum_8, /* "tag" => N; sorted by tag */ - asn_MAP_dmrs_WithOCC_Activated_r10_enum2value_8, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_dmrs_WithOCC_Activated_r10_tags_8[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_dmrs_WithOCC_Activated_r10_8 = { - "dmrs-WithOCC-Activated-r10", - "dmrs-WithOCC-Activated-r10", - dmrs_WithOCC_Activated_r10_8_free, - dmrs_WithOCC_Activated_r10_8_print, - dmrs_WithOCC_Activated_r10_8_constraint, - dmrs_WithOCC_Activated_r10_8_decode_ber, - dmrs_WithOCC_Activated_r10_8_encode_der, - dmrs_WithOCC_Activated_r10_8_decode_xer, - dmrs_WithOCC_Activated_r10_8_encode_xer, - dmrs_WithOCC_Activated_r10_8_decode_uper, - dmrs_WithOCC_Activated_r10_8_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_dmrs_WithOCC_Activated_r10_tags_8, - sizeof(asn_DEF_dmrs_WithOCC_Activated_r10_tags_8) - /sizeof(asn_DEF_dmrs_WithOCC_Activated_r10_tags_8[0]) - 1, /* 1 */ - asn_DEF_dmrs_WithOCC_Activated_r10_tags_8, /* Same as above */ - sizeof(asn_DEF_dmrs_WithOCC_Activated_r10_tags_8) - /sizeof(asn_DEF_dmrs_WithOCC_Activated_r10_tags_8[0]), /* 2 */ - &asn_PER_type_dmrs_WithOCC_Activated_r10_constr_8, - 0, 0, /* Defined elsewhere */ - &asn_SPC_dmrs_WithOCC_Activated_r10_specs_8 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PUSCH_ConfigDedicated_v1020_1[] = { - { ATF_POINTER, 3, offsetof(struct PUSCH_ConfigDedicated_v1020, betaOffsetMC_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_betaOffsetMC_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "betaOffsetMC-r10" - }, - { ATF_POINTER, 2, offsetof(struct PUSCH_ConfigDedicated_v1020, groupHoppingDisabled_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_groupHoppingDisabled_r10_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "groupHoppingDisabled-r10" - }, - { ATF_POINTER, 1, offsetof(struct PUSCH_ConfigDedicated_v1020, dmrs_WithOCC_Activated_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_dmrs_WithOCC_Activated_r10_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dmrs-WithOCC-Activated-r10" - }, -}; -static int asn_MAP_PUSCH_ConfigDedicated_v1020_oms_1[] = { 0, 1, 2 }; -static ber_tlv_tag_t asn_DEF_PUSCH_ConfigDedicated_v1020_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PUSCH_ConfigDedicated_v1020_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* betaOffsetMC-r10 at 2293 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* groupHoppingDisabled-r10 at 2297 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* dmrs-WithOCC-Activated-r10 at 2298 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PUSCH_ConfigDedicated_v1020_specs_1 = { - sizeof(struct PUSCH_ConfigDedicated_v1020), - offsetof(struct PUSCH_ConfigDedicated_v1020, _asn_ctx), - asn_MAP_PUSCH_ConfigDedicated_v1020_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_PUSCH_ConfigDedicated_v1020_oms_1, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PUSCH_ConfigDedicated_v1020 = { - "PUSCH-ConfigDedicated-v1020", - "PUSCH-ConfigDedicated-v1020", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PUSCH_ConfigDedicated_v1020_tags_1, - sizeof(asn_DEF_PUSCH_ConfigDedicated_v1020_tags_1) - /sizeof(asn_DEF_PUSCH_ConfigDedicated_v1020_tags_1[0]), /* 1 */ - asn_DEF_PUSCH_ConfigDedicated_v1020_tags_1, /* Same as above */ - sizeof(asn_DEF_PUSCH_ConfigDedicated_v1020_tags_1) - /sizeof(asn_DEF_PUSCH_ConfigDedicated_v1020_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PUSCH_ConfigDedicated_v1020_1, - 3, /* Elements count */ - &asn_SPC_PUSCH_ConfigDedicated_v1020_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PUSCH-ConfigDedicated.c b/lte/rrc/lib/asn/src/PUSCH-ConfigDedicated.c deleted file mode 100644 index 1b409327c..000000000 --- a/lte/rrc/lib/asn/src/PUSCH-ConfigDedicated.c +++ /dev/null @@ -1,170 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PUSCH-ConfigDedicated.h" - -static int -memb_betaOffset_ACK_Index_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_betaOffset_RI_Index_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_betaOffset_CQI_Index_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_betaOffset_ACK_Index_constr_2 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_betaOffset_RI_Index_constr_3 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_betaOffset_CQI_Index_constr_4 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_PUSCH_ConfigDedicated_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PUSCH_ConfigDedicated, betaOffset_ACK_Index), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_betaOffset_ACK_Index_constraint_1, - &asn_PER_memb_betaOffset_ACK_Index_constr_2, - 0, - "betaOffset-ACK-Index" - }, - { ATF_NOFLAGS, 0, offsetof(struct PUSCH_ConfigDedicated, betaOffset_RI_Index), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_betaOffset_RI_Index_constraint_1, - &asn_PER_memb_betaOffset_RI_Index_constr_3, - 0, - "betaOffset-RI-Index" - }, - { ATF_NOFLAGS, 0, offsetof(struct PUSCH_ConfigDedicated, betaOffset_CQI_Index), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_betaOffset_CQI_Index_constraint_1, - &asn_PER_memb_betaOffset_CQI_Index_constr_4, - 0, - "betaOffset-CQI-Index" - }, -}; -static ber_tlv_tag_t asn_DEF_PUSCH_ConfigDedicated_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PUSCH_ConfigDedicated_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* betaOffset-ACK-Index at 2286 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* betaOffset-RI-Index at 2287 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* betaOffset-CQI-Index at 2288 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PUSCH_ConfigDedicated_specs_1 = { - sizeof(struct PUSCH_ConfigDedicated), - offsetof(struct PUSCH_ConfigDedicated, _asn_ctx), - asn_MAP_PUSCH_ConfigDedicated_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PUSCH_ConfigDedicated = { - "PUSCH-ConfigDedicated", - "PUSCH-ConfigDedicated", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PUSCH_ConfigDedicated_tags_1, - sizeof(asn_DEF_PUSCH_ConfigDedicated_tags_1) - /sizeof(asn_DEF_PUSCH_ConfigDedicated_tags_1[0]), /* 1 */ - asn_DEF_PUSCH_ConfigDedicated_tags_1, /* Same as above */ - sizeof(asn_DEF_PUSCH_ConfigDedicated_tags_1) - /sizeof(asn_DEF_PUSCH_ConfigDedicated_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PUSCH_ConfigDedicated_1, - 3, /* Elements count */ - &asn_SPC_PUSCH_ConfigDedicated_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PUSCH-ConfigDedicatedSCell-r10.c b/lte/rrc/lib/asn/src/PUSCH-ConfigDedicatedSCell-r10.c deleted file mode 100644 index 293800d98..000000000 --- a/lte/rrc/lib/asn/src/PUSCH-ConfigDedicatedSCell-r10.c +++ /dev/null @@ -1,346 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PUSCH-ConfigDedicatedSCell-r10.h" - -static int -groupHoppingDisabled_r10_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -groupHoppingDisabled_r10_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -groupHoppingDisabled_r10_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - groupHoppingDisabled_r10_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -groupHoppingDisabled_r10_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - groupHoppingDisabled_r10_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -groupHoppingDisabled_r10_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - groupHoppingDisabled_r10_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -groupHoppingDisabled_r10_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - groupHoppingDisabled_r10_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -groupHoppingDisabled_r10_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - groupHoppingDisabled_r10_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -groupHoppingDisabled_r10_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - groupHoppingDisabled_r10_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -groupHoppingDisabled_r10_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - groupHoppingDisabled_r10_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -groupHoppingDisabled_r10_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - groupHoppingDisabled_r10_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -dmrs_WithOCC_Activated_r10_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -dmrs_WithOCC_Activated_r10_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -dmrs_WithOCC_Activated_r10_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - dmrs_WithOCC_Activated_r10_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -dmrs_WithOCC_Activated_r10_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - dmrs_WithOCC_Activated_r10_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -dmrs_WithOCC_Activated_r10_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - dmrs_WithOCC_Activated_r10_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -dmrs_WithOCC_Activated_r10_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - dmrs_WithOCC_Activated_r10_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -dmrs_WithOCC_Activated_r10_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - dmrs_WithOCC_Activated_r10_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -dmrs_WithOCC_Activated_r10_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - dmrs_WithOCC_Activated_r10_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -dmrs_WithOCC_Activated_r10_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - dmrs_WithOCC_Activated_r10_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -dmrs_WithOCC_Activated_r10_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - dmrs_WithOCC_Activated_r10_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_groupHoppingDisabled_r10_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_dmrs_WithOCC_Activated_r10_constr_4 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_groupHoppingDisabled_r10_value2enum_2[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_groupHoppingDisabled_r10_enum2value_2[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_groupHoppingDisabled_r10_specs_2 = { - asn_MAP_groupHoppingDisabled_r10_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_groupHoppingDisabled_r10_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_groupHoppingDisabled_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_groupHoppingDisabled_r10_2 = { - "groupHoppingDisabled-r10", - "groupHoppingDisabled-r10", - groupHoppingDisabled_r10_2_free, - groupHoppingDisabled_r10_2_print, - groupHoppingDisabled_r10_2_constraint, - groupHoppingDisabled_r10_2_decode_ber, - groupHoppingDisabled_r10_2_encode_der, - groupHoppingDisabled_r10_2_decode_xer, - groupHoppingDisabled_r10_2_encode_xer, - groupHoppingDisabled_r10_2_decode_uper, - groupHoppingDisabled_r10_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_groupHoppingDisabled_r10_tags_2, - sizeof(asn_DEF_groupHoppingDisabled_r10_tags_2) - /sizeof(asn_DEF_groupHoppingDisabled_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_groupHoppingDisabled_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_groupHoppingDisabled_r10_tags_2) - /sizeof(asn_DEF_groupHoppingDisabled_r10_tags_2[0]), /* 2 */ - &asn_PER_type_groupHoppingDisabled_r10_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_groupHoppingDisabled_r10_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_dmrs_WithOCC_Activated_r10_value2enum_4[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_dmrs_WithOCC_Activated_r10_enum2value_4[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_dmrs_WithOCC_Activated_r10_specs_4 = { - asn_MAP_dmrs_WithOCC_Activated_r10_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_dmrs_WithOCC_Activated_r10_enum2value_4, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_dmrs_WithOCC_Activated_r10_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_dmrs_WithOCC_Activated_r10_4 = { - "dmrs-WithOCC-Activated-r10", - "dmrs-WithOCC-Activated-r10", - dmrs_WithOCC_Activated_r10_4_free, - dmrs_WithOCC_Activated_r10_4_print, - dmrs_WithOCC_Activated_r10_4_constraint, - dmrs_WithOCC_Activated_r10_4_decode_ber, - dmrs_WithOCC_Activated_r10_4_encode_der, - dmrs_WithOCC_Activated_r10_4_decode_xer, - dmrs_WithOCC_Activated_r10_4_encode_xer, - dmrs_WithOCC_Activated_r10_4_decode_uper, - dmrs_WithOCC_Activated_r10_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_dmrs_WithOCC_Activated_r10_tags_4, - sizeof(asn_DEF_dmrs_WithOCC_Activated_r10_tags_4) - /sizeof(asn_DEF_dmrs_WithOCC_Activated_r10_tags_4[0]) - 1, /* 1 */ - asn_DEF_dmrs_WithOCC_Activated_r10_tags_4, /* Same as above */ - sizeof(asn_DEF_dmrs_WithOCC_Activated_r10_tags_4) - /sizeof(asn_DEF_dmrs_WithOCC_Activated_r10_tags_4[0]), /* 2 */ - &asn_PER_type_dmrs_WithOCC_Activated_r10_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_dmrs_WithOCC_Activated_r10_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PUSCH_ConfigDedicatedSCell_r10_1[] = { - { ATF_POINTER, 2, offsetof(struct PUSCH_ConfigDedicatedSCell_r10, groupHoppingDisabled_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_groupHoppingDisabled_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "groupHoppingDisabled-r10" - }, - { ATF_POINTER, 1, offsetof(struct PUSCH_ConfigDedicatedSCell_r10, dmrs_WithOCC_Activated_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_dmrs_WithOCC_Activated_r10_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dmrs-WithOCC-Activated-r10" - }, -}; -static int asn_MAP_PUSCH_ConfigDedicatedSCell_r10_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_PUSCH_ConfigDedicatedSCell_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PUSCH_ConfigDedicatedSCell_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* groupHoppingDisabled-r10 at 2302 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* dmrs-WithOCC-Activated-r10 at 2303 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PUSCH_ConfigDedicatedSCell_r10_specs_1 = { - sizeof(struct PUSCH_ConfigDedicatedSCell_r10), - offsetof(struct PUSCH_ConfigDedicatedSCell_r10, _asn_ctx), - asn_MAP_PUSCH_ConfigDedicatedSCell_r10_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_PUSCH_ConfigDedicatedSCell_r10_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PUSCH_ConfigDedicatedSCell_r10 = { - "PUSCH-ConfigDedicatedSCell-r10", - "PUSCH-ConfigDedicatedSCell-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PUSCH_ConfigDedicatedSCell_r10_tags_1, - sizeof(asn_DEF_PUSCH_ConfigDedicatedSCell_r10_tags_1) - /sizeof(asn_DEF_PUSCH_ConfigDedicatedSCell_r10_tags_1[0]), /* 1 */ - asn_DEF_PUSCH_ConfigDedicatedSCell_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_PUSCH_ConfigDedicatedSCell_r10_tags_1) - /sizeof(asn_DEF_PUSCH_ConfigDedicatedSCell_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PUSCH_ConfigDedicatedSCell_r10_1, - 2, /* Elements count */ - &asn_SPC_PUSCH_ConfigDedicatedSCell_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/Paging-v890-IEs.c b/lte/rrc/lib/asn/src/Paging-v890-IEs.c deleted file mode 100644 index 877b0a358..000000000 --- a/lte/rrc/lib/asn/src/Paging-v890-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/Paging-v890-IEs.h" - -static asn_TYPE_member_t asn_MBR_Paging_v890_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct Paging_v890_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct Paging_v890_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Paging_v920_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_Paging_v890_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_Paging_v890_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_Paging_v890_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 532 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 533 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_Paging_v890_IEs_specs_1 = { - sizeof(struct Paging_v890_IEs), - offsetof(struct Paging_v890_IEs, _asn_ctx), - asn_MAP_Paging_v890_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_Paging_v890_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_Paging_v890_IEs = { - "Paging-v890-IEs", - "Paging-v890-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_Paging_v890_IEs_tags_1, - sizeof(asn_DEF_Paging_v890_IEs_tags_1) - /sizeof(asn_DEF_Paging_v890_IEs_tags_1[0]), /* 1 */ - asn_DEF_Paging_v890_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_Paging_v890_IEs_tags_1) - /sizeof(asn_DEF_Paging_v890_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_Paging_v890_IEs_1, - 2, /* Elements count */ - &asn_SPC_Paging_v890_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/Paging-v920-IEs.c b/lte/rrc/lib/asn/src/Paging-v920-IEs.c deleted file mode 100644 index 0ee33c803..000000000 --- a/lte/rrc/lib/asn/src/Paging-v920-IEs.c +++ /dev/null @@ -1,247 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/Paging-v920-IEs.h" - -static int -cmas_Indication_r9_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -cmas_Indication_r9_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -cmas_Indication_r9_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - cmas_Indication_r9_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -cmas_Indication_r9_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - cmas_Indication_r9_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -cmas_Indication_r9_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - cmas_Indication_r9_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -cmas_Indication_r9_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - cmas_Indication_r9_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -cmas_Indication_r9_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - cmas_Indication_r9_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -cmas_Indication_r9_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - cmas_Indication_r9_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -cmas_Indication_r9_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - cmas_Indication_r9_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -cmas_Indication_r9_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - cmas_Indication_r9_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_cmas_Indication_r9_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_cmas_Indication_r9_value2enum_2[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_cmas_Indication_r9_enum2value_2[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_cmas_Indication_r9_specs_2 = { - asn_MAP_cmas_Indication_r9_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_cmas_Indication_r9_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_cmas_Indication_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cmas_Indication_r9_2 = { - "cmas-Indication-r9", - "cmas-Indication-r9", - cmas_Indication_r9_2_free, - cmas_Indication_r9_2_print, - cmas_Indication_r9_2_constraint, - cmas_Indication_r9_2_decode_ber, - cmas_Indication_r9_2_encode_der, - cmas_Indication_r9_2_decode_xer, - cmas_Indication_r9_2_encode_xer, - cmas_Indication_r9_2_decode_uper, - cmas_Indication_r9_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_cmas_Indication_r9_tags_2, - sizeof(asn_DEF_cmas_Indication_r9_tags_2) - /sizeof(asn_DEF_cmas_Indication_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_cmas_Indication_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_cmas_Indication_r9_tags_2) - /sizeof(asn_DEF_cmas_Indication_r9_tags_2[0]), /* 2 */ - &asn_PER_type_cmas_Indication_r9_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_cmas_Indication_r9_specs_2 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_4 = { - sizeof(struct Paging_v920_IEs__nonCriticalExtension), - offsetof(struct Paging_v920_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_4 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_4, - sizeof(asn_DEF_nonCriticalExtension_tags_4) - /sizeof(asn_DEF_nonCriticalExtension_tags_4[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_4, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_4) - /sizeof(asn_DEF_nonCriticalExtension_tags_4[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_Paging_v920_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct Paging_v920_IEs, cmas_Indication_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_cmas_Indication_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cmas-Indication-r9" - }, - { ATF_POINTER, 1, offsetof(struct Paging_v920_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_Paging_v920_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_Paging_v920_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_Paging_v920_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cmas-Indication-r9 at 537 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 538 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_Paging_v920_IEs_specs_1 = { - sizeof(struct Paging_v920_IEs), - offsetof(struct Paging_v920_IEs, _asn_ctx), - asn_MAP_Paging_v920_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_Paging_v920_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_Paging_v920_IEs = { - "Paging-v920-IEs", - "Paging-v920-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_Paging_v920_IEs_tags_1, - sizeof(asn_DEF_Paging_v920_IEs_tags_1) - /sizeof(asn_DEF_Paging_v920_IEs_tags_1[0]), /* 1 */ - asn_DEF_Paging_v920_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_Paging_v920_IEs_tags_1) - /sizeof(asn_DEF_Paging_v920_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_Paging_v920_IEs_1, - 2, /* Elements count */ - &asn_SPC_Paging_v920_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/Paging.c b/lte/rrc/lib/asn/src/Paging.c deleted file mode 100644 index f91fb5c6f..000000000 --- a/lte/rrc/lib/asn/src/Paging.c +++ /dev/null @@ -1,366 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/Paging.h" - -static int -systemInfoModification_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -systemInfoModification_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -systemInfoModification_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - systemInfoModification_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -systemInfoModification_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - systemInfoModification_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -systemInfoModification_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - systemInfoModification_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -systemInfoModification_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - systemInfoModification_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -systemInfoModification_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - systemInfoModification_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -systemInfoModification_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - systemInfoModification_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -systemInfoModification_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - systemInfoModification_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -systemInfoModification_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - systemInfoModification_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -etws_Indication_5_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -etws_Indication_5_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -etws_Indication_5_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - etws_Indication_5_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -etws_Indication_5_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - etws_Indication_5_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -etws_Indication_5_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - etws_Indication_5_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -etws_Indication_5_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - etws_Indication_5_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -etws_Indication_5_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - etws_Indication_5_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -etws_Indication_5_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - etws_Indication_5_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -etws_Indication_5_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - etws_Indication_5_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -etws_Indication_5_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - etws_Indication_5_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_systemInfoModification_constr_3 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_etws_Indication_constr_5 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_systemInfoModification_value2enum_3[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_systemInfoModification_enum2value_3[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_systemInfoModification_specs_3 = { - asn_MAP_systemInfoModification_value2enum_3, /* "tag" => N; sorted by tag */ - asn_MAP_systemInfoModification_enum2value_3, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_systemInfoModification_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_systemInfoModification_3 = { - "systemInfoModification", - "systemInfoModification", - systemInfoModification_3_free, - systemInfoModification_3_print, - systemInfoModification_3_constraint, - systemInfoModification_3_decode_ber, - systemInfoModification_3_encode_der, - systemInfoModification_3_decode_xer, - systemInfoModification_3_encode_xer, - systemInfoModification_3_decode_uper, - systemInfoModification_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_systemInfoModification_tags_3, - sizeof(asn_DEF_systemInfoModification_tags_3) - /sizeof(asn_DEF_systemInfoModification_tags_3[0]) - 1, /* 1 */ - asn_DEF_systemInfoModification_tags_3, /* Same as above */ - sizeof(asn_DEF_systemInfoModification_tags_3) - /sizeof(asn_DEF_systemInfoModification_tags_3[0]), /* 2 */ - &asn_PER_type_systemInfoModification_constr_3, - 0, 0, /* Defined elsewhere */ - &asn_SPC_systemInfoModification_specs_3 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_etws_Indication_value2enum_5[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_etws_Indication_enum2value_5[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_etws_Indication_specs_5 = { - asn_MAP_etws_Indication_value2enum_5, /* "tag" => N; sorted by tag */ - asn_MAP_etws_Indication_enum2value_5, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_etws_Indication_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_etws_Indication_5 = { - "etws-Indication", - "etws-Indication", - etws_Indication_5_free, - etws_Indication_5_print, - etws_Indication_5_constraint, - etws_Indication_5_decode_ber, - etws_Indication_5_encode_der, - etws_Indication_5_decode_xer, - etws_Indication_5_encode_xer, - etws_Indication_5_decode_uper, - etws_Indication_5_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_etws_Indication_tags_5, - sizeof(asn_DEF_etws_Indication_tags_5) - /sizeof(asn_DEF_etws_Indication_tags_5[0]) - 1, /* 1 */ - asn_DEF_etws_Indication_tags_5, /* Same as above */ - sizeof(asn_DEF_etws_Indication_tags_5) - /sizeof(asn_DEF_etws_Indication_tags_5[0]), /* 2 */ - &asn_PER_type_etws_Indication_constr_5, - 0, 0, /* Defined elsewhere */ - &asn_SPC_etws_Indication_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_Paging_1[] = { - { ATF_POINTER, 4, offsetof(struct Paging, pagingRecordList), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PagingRecordList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pagingRecordList" - }, - { ATF_POINTER, 3, offsetof(struct Paging, systemInfoModification), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_systemInfoModification_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "systemInfoModification" - }, - { ATF_POINTER, 2, offsetof(struct Paging, etws_Indication), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_etws_Indication_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "etws-Indication" - }, - { ATF_POINTER, 1, offsetof(struct Paging, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Paging_v890_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_Paging_oms_1[] = { 0, 1, 2, 3 }; -static ber_tlv_tag_t asn_DEF_Paging_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_Paging_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pagingRecordList at 525 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* systemInfoModification at 526 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* etws-Indication at 527 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* nonCriticalExtension at 528 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_Paging_specs_1 = { - sizeof(struct Paging), - offsetof(struct Paging, _asn_ctx), - asn_MAP_Paging_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_Paging_oms_1, /* Optional members */ - 4, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_Paging = { - "Paging", - "Paging", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_Paging_tags_1, - sizeof(asn_DEF_Paging_tags_1) - /sizeof(asn_DEF_Paging_tags_1[0]), /* 1 */ - asn_DEF_Paging_tags_1, /* Same as above */ - sizeof(asn_DEF_Paging_tags_1) - /sizeof(asn_DEF_Paging_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_Paging_1, - 4, /* Elements count */ - &asn_SPC_Paging_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PagingRecord.c b/lte/rrc/lib/asn/src/PagingRecord.c deleted file mode 100644 index 3d2456a50..000000000 --- a/lte/rrc/lib/asn/src/PagingRecord.c +++ /dev/null @@ -1,209 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PagingRecord.h" - -static int -cn_Domain_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -cn_Domain_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -cn_Domain_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - cn_Domain_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -cn_Domain_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - cn_Domain_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -cn_Domain_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - cn_Domain_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -cn_Domain_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - cn_Domain_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -cn_Domain_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - cn_Domain_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -cn_Domain_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - cn_Domain_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -cn_Domain_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - cn_Domain_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -cn_Domain_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - cn_Domain_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_cn_Domain_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_cn_Domain_value2enum_3[] = { - { 0, 2, "ps" }, - { 1, 2, "cs" } -}; -static unsigned int asn_MAP_cn_Domain_enum2value_3[] = { - 1, /* cs(1) */ - 0 /* ps(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_cn_Domain_specs_3 = { - asn_MAP_cn_Domain_value2enum_3, /* "tag" => N; sorted by tag */ - asn_MAP_cn_Domain_enum2value_3, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_cn_Domain_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cn_Domain_3 = { - "cn-Domain", - "cn-Domain", - cn_Domain_3_free, - cn_Domain_3_print, - cn_Domain_3_constraint, - cn_Domain_3_decode_ber, - cn_Domain_3_encode_der, - cn_Domain_3_decode_xer, - cn_Domain_3_encode_xer, - cn_Domain_3_decode_uper, - cn_Domain_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_cn_Domain_tags_3, - sizeof(asn_DEF_cn_Domain_tags_3) - /sizeof(asn_DEF_cn_Domain_tags_3[0]) - 1, /* 1 */ - asn_DEF_cn_Domain_tags_3, /* Same as above */ - sizeof(asn_DEF_cn_Domain_tags_3) - /sizeof(asn_DEF_cn_Domain_tags_3[0]), /* 2 */ - &asn_PER_type_cn_Domain_constr_3, - 0, 0, /* Defined elsewhere */ - &asn_SPC_cn_Domain_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PagingRecord_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PagingRecord, ue_Identity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_PagingUE_Identity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ue-Identity" - }, - { ATF_NOFLAGS, 0, offsetof(struct PagingRecord, cn_Domain), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_cn_Domain_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cn-Domain" - }, -}; -static ber_tlv_tag_t asn_DEF_PagingRecord_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PagingRecord_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ue-Identity at 544 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cn-Domain at 545 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PagingRecord_specs_1 = { - sizeof(struct PagingRecord), - offsetof(struct PagingRecord, _asn_ctx), - asn_MAP_PagingRecord_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* Start extensions */ - 3 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PagingRecord = { - "PagingRecord", - "PagingRecord", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PagingRecord_tags_1, - sizeof(asn_DEF_PagingRecord_tags_1) - /sizeof(asn_DEF_PagingRecord_tags_1[0]), /* 1 */ - asn_DEF_PagingRecord_tags_1, /* Same as above */ - sizeof(asn_DEF_PagingRecord_tags_1) - /sizeof(asn_DEF_PagingRecord_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PagingRecord_1, - 2, /* Elements count */ - &asn_SPC_PagingRecord_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PagingRecordList.c b/lte/rrc/lib/asn/src/PagingRecordList.c deleted file mode 100644 index 0421ceb2a..000000000 --- a/lte/rrc/lib/asn/src/PagingRecordList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PagingRecordList.h" - -static asn_per_constraints_t asn_PER_type_PagingRecordList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_PagingRecordList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_PagingRecord, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_PagingRecordList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_PagingRecordList_specs_1 = { - sizeof(struct PagingRecordList), - offsetof(struct PagingRecordList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_PagingRecordList = { - "PagingRecordList", - "PagingRecordList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PagingRecordList_tags_1, - sizeof(asn_DEF_PagingRecordList_tags_1) - /sizeof(asn_DEF_PagingRecordList_tags_1[0]), /* 1 */ - asn_DEF_PagingRecordList_tags_1, /* Same as above */ - sizeof(asn_DEF_PagingRecordList_tags_1) - /sizeof(asn_DEF_PagingRecordList_tags_1[0]), /* 1 */ - &asn_PER_type_PagingRecordList_constr_1, - asn_MBR_PagingRecordList_1, - 1, /* Single element */ - &asn_SPC_PagingRecordList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PagingUE-Identity.c b/lte/rrc/lib/asn/src/PagingUE-Identity.c deleted file mode 100644 index d51d74539..000000000 --- a/lte/rrc/lib/asn/src/PagingUE-Identity.c +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PagingUE-Identity.h" - -static asn_per_constraints_t asn_PER_type_PagingUE_Identity_constr_1 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_PagingUE_Identity_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PagingUE_Identity, choice.s_TMSI), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_S_TMSI, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "s-TMSI" - }, - { ATF_NOFLAGS, 0, offsetof(struct PagingUE_Identity, choice.imsi), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_IMSI, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "imsi" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_PagingUE_Identity_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* s-TMSI at 550 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* imsi at 551 */ -}; -static asn_CHOICE_specifics_t asn_SPC_PagingUE_Identity_specs_1 = { - sizeof(struct PagingUE_Identity), - offsetof(struct PagingUE_Identity, _asn_ctx), - offsetof(struct PagingUE_Identity, present), - sizeof(((struct PagingUE_Identity *)0)->present), - asn_MAP_PagingUE_Identity_tag2el_1, - 2, /* Count of tags in the map */ - 0, - 2 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_PagingUE_Identity = { - "PagingUE-Identity", - "PagingUE-Identity", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_PagingUE_Identity_constr_1, - asn_MBR_PagingUE_Identity_1, - 2, /* Elements count */ - &asn_SPC_PagingUE_Identity_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PhyLayerParameters-v1020.c b/lte/rrc/lib/asn/src/PhyLayerParameters-v1020.c deleted file mode 100644 index 991799ef6..000000000 --- a/lte/rrc/lib/asn/src/PhyLayerParameters-v1020.c +++ /dev/null @@ -1,944 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PhyLayerParameters-v1020.h" - -static int -twoAntennaPortsForPUCCH_r10_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -twoAntennaPortsForPUCCH_r10_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -twoAntennaPortsForPUCCH_r10_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - twoAntennaPortsForPUCCH_r10_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -twoAntennaPortsForPUCCH_r10_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - twoAntennaPortsForPUCCH_r10_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -twoAntennaPortsForPUCCH_r10_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - twoAntennaPortsForPUCCH_r10_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -twoAntennaPortsForPUCCH_r10_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - twoAntennaPortsForPUCCH_r10_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -twoAntennaPortsForPUCCH_r10_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - twoAntennaPortsForPUCCH_r10_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -twoAntennaPortsForPUCCH_r10_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - twoAntennaPortsForPUCCH_r10_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -twoAntennaPortsForPUCCH_r10_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - twoAntennaPortsForPUCCH_r10_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -twoAntennaPortsForPUCCH_r10_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - twoAntennaPortsForPUCCH_r10_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -tm9_With_8Tx_FDD_r10_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -tm9_With_8Tx_FDD_r10_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -tm9_With_8Tx_FDD_r10_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - tm9_With_8Tx_FDD_r10_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -tm9_With_8Tx_FDD_r10_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - tm9_With_8Tx_FDD_r10_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -tm9_With_8Tx_FDD_r10_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - tm9_With_8Tx_FDD_r10_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -tm9_With_8Tx_FDD_r10_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - tm9_With_8Tx_FDD_r10_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -tm9_With_8Tx_FDD_r10_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - tm9_With_8Tx_FDD_r10_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -tm9_With_8Tx_FDD_r10_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - tm9_With_8Tx_FDD_r10_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -tm9_With_8Tx_FDD_r10_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - tm9_With_8Tx_FDD_r10_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -tm9_With_8Tx_FDD_r10_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - tm9_With_8Tx_FDD_r10_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -pmi_Disabling_r10_6_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -pmi_Disabling_r10_6_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -pmi_Disabling_r10_6_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - pmi_Disabling_r10_6_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -pmi_Disabling_r10_6_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - pmi_Disabling_r10_6_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -pmi_Disabling_r10_6_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - pmi_Disabling_r10_6_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -pmi_Disabling_r10_6_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - pmi_Disabling_r10_6_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -pmi_Disabling_r10_6_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - pmi_Disabling_r10_6_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -pmi_Disabling_r10_6_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - pmi_Disabling_r10_6_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -pmi_Disabling_r10_6_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - pmi_Disabling_r10_6_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -pmi_Disabling_r10_6_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - pmi_Disabling_r10_6_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -crossCarrierScheduling_r10_8_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -crossCarrierScheduling_r10_8_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -crossCarrierScheduling_r10_8_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - crossCarrierScheduling_r10_8_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -crossCarrierScheduling_r10_8_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - crossCarrierScheduling_r10_8_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -crossCarrierScheduling_r10_8_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - crossCarrierScheduling_r10_8_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -crossCarrierScheduling_r10_8_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - crossCarrierScheduling_r10_8_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -crossCarrierScheduling_r10_8_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - crossCarrierScheduling_r10_8_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -crossCarrierScheduling_r10_8_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - crossCarrierScheduling_r10_8_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -crossCarrierScheduling_r10_8_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - crossCarrierScheduling_r10_8_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -crossCarrierScheduling_r10_8_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - crossCarrierScheduling_r10_8_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -simultaneousPUCCH_PUSCH_r10_10_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -simultaneousPUCCH_PUSCH_r10_10_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -simultaneousPUCCH_PUSCH_r10_10_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - simultaneousPUCCH_PUSCH_r10_10_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -simultaneousPUCCH_PUSCH_r10_10_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - simultaneousPUCCH_PUSCH_r10_10_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -simultaneousPUCCH_PUSCH_r10_10_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - simultaneousPUCCH_PUSCH_r10_10_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -simultaneousPUCCH_PUSCH_r10_10_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - simultaneousPUCCH_PUSCH_r10_10_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -simultaneousPUCCH_PUSCH_r10_10_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - simultaneousPUCCH_PUSCH_r10_10_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -simultaneousPUCCH_PUSCH_r10_10_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - simultaneousPUCCH_PUSCH_r10_10_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -simultaneousPUCCH_PUSCH_r10_10_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - simultaneousPUCCH_PUSCH_r10_10_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -simultaneousPUCCH_PUSCH_r10_10_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - simultaneousPUCCH_PUSCH_r10_10_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -multiClusterPUSCH_WithinCC_r10_12_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -multiClusterPUSCH_WithinCC_r10_12_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -multiClusterPUSCH_WithinCC_r10_12_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - multiClusterPUSCH_WithinCC_r10_12_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -multiClusterPUSCH_WithinCC_r10_12_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - multiClusterPUSCH_WithinCC_r10_12_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -multiClusterPUSCH_WithinCC_r10_12_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - multiClusterPUSCH_WithinCC_r10_12_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -multiClusterPUSCH_WithinCC_r10_12_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - multiClusterPUSCH_WithinCC_r10_12_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -multiClusterPUSCH_WithinCC_r10_12_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - multiClusterPUSCH_WithinCC_r10_12_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -multiClusterPUSCH_WithinCC_r10_12_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - multiClusterPUSCH_WithinCC_r10_12_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -multiClusterPUSCH_WithinCC_r10_12_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - multiClusterPUSCH_WithinCC_r10_12_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -multiClusterPUSCH_WithinCC_r10_12_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - multiClusterPUSCH_WithinCC_r10_12_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_twoAntennaPortsForPUCCH_r10_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_tm9_With_8Tx_FDD_r10_constr_4 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_pmi_Disabling_r10_constr_6 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_crossCarrierScheduling_r10_constr_8 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_simultaneousPUCCH_PUSCH_r10_constr_10 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_multiClusterPUSCH_WithinCC_r10_constr_12 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_twoAntennaPortsForPUCCH_r10_value2enum_2[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_twoAntennaPortsForPUCCH_r10_enum2value_2[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_twoAntennaPortsForPUCCH_r10_specs_2 = { - asn_MAP_twoAntennaPortsForPUCCH_r10_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_twoAntennaPortsForPUCCH_r10_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_twoAntennaPortsForPUCCH_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_twoAntennaPortsForPUCCH_r10_2 = { - "twoAntennaPortsForPUCCH-r10", - "twoAntennaPortsForPUCCH-r10", - twoAntennaPortsForPUCCH_r10_2_free, - twoAntennaPortsForPUCCH_r10_2_print, - twoAntennaPortsForPUCCH_r10_2_constraint, - twoAntennaPortsForPUCCH_r10_2_decode_ber, - twoAntennaPortsForPUCCH_r10_2_encode_der, - twoAntennaPortsForPUCCH_r10_2_decode_xer, - twoAntennaPortsForPUCCH_r10_2_encode_xer, - twoAntennaPortsForPUCCH_r10_2_decode_uper, - twoAntennaPortsForPUCCH_r10_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_twoAntennaPortsForPUCCH_r10_tags_2, - sizeof(asn_DEF_twoAntennaPortsForPUCCH_r10_tags_2) - /sizeof(asn_DEF_twoAntennaPortsForPUCCH_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_twoAntennaPortsForPUCCH_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_twoAntennaPortsForPUCCH_r10_tags_2) - /sizeof(asn_DEF_twoAntennaPortsForPUCCH_r10_tags_2[0]), /* 2 */ - &asn_PER_type_twoAntennaPortsForPUCCH_r10_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_twoAntennaPortsForPUCCH_r10_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_tm9_With_8Tx_FDD_r10_value2enum_4[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_tm9_With_8Tx_FDD_r10_enum2value_4[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_tm9_With_8Tx_FDD_r10_specs_4 = { - asn_MAP_tm9_With_8Tx_FDD_r10_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_tm9_With_8Tx_FDD_r10_enum2value_4, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_tm9_With_8Tx_FDD_r10_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_tm9_With_8Tx_FDD_r10_4 = { - "tm9-With-8Tx-FDD-r10", - "tm9-With-8Tx-FDD-r10", - tm9_With_8Tx_FDD_r10_4_free, - tm9_With_8Tx_FDD_r10_4_print, - tm9_With_8Tx_FDD_r10_4_constraint, - tm9_With_8Tx_FDD_r10_4_decode_ber, - tm9_With_8Tx_FDD_r10_4_encode_der, - tm9_With_8Tx_FDD_r10_4_decode_xer, - tm9_With_8Tx_FDD_r10_4_encode_xer, - tm9_With_8Tx_FDD_r10_4_decode_uper, - tm9_With_8Tx_FDD_r10_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_tm9_With_8Tx_FDD_r10_tags_4, - sizeof(asn_DEF_tm9_With_8Tx_FDD_r10_tags_4) - /sizeof(asn_DEF_tm9_With_8Tx_FDD_r10_tags_4[0]) - 1, /* 1 */ - asn_DEF_tm9_With_8Tx_FDD_r10_tags_4, /* Same as above */ - sizeof(asn_DEF_tm9_With_8Tx_FDD_r10_tags_4) - /sizeof(asn_DEF_tm9_With_8Tx_FDD_r10_tags_4[0]), /* 2 */ - &asn_PER_type_tm9_With_8Tx_FDD_r10_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_tm9_With_8Tx_FDD_r10_specs_4 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_pmi_Disabling_r10_value2enum_6[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_pmi_Disabling_r10_enum2value_6[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_pmi_Disabling_r10_specs_6 = { - asn_MAP_pmi_Disabling_r10_value2enum_6, /* "tag" => N; sorted by tag */ - asn_MAP_pmi_Disabling_r10_enum2value_6, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_pmi_Disabling_r10_tags_6[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_pmi_Disabling_r10_6 = { - "pmi-Disabling-r10", - "pmi-Disabling-r10", - pmi_Disabling_r10_6_free, - pmi_Disabling_r10_6_print, - pmi_Disabling_r10_6_constraint, - pmi_Disabling_r10_6_decode_ber, - pmi_Disabling_r10_6_encode_der, - pmi_Disabling_r10_6_decode_xer, - pmi_Disabling_r10_6_encode_xer, - pmi_Disabling_r10_6_decode_uper, - pmi_Disabling_r10_6_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_pmi_Disabling_r10_tags_6, - sizeof(asn_DEF_pmi_Disabling_r10_tags_6) - /sizeof(asn_DEF_pmi_Disabling_r10_tags_6[0]) - 1, /* 1 */ - asn_DEF_pmi_Disabling_r10_tags_6, /* Same as above */ - sizeof(asn_DEF_pmi_Disabling_r10_tags_6) - /sizeof(asn_DEF_pmi_Disabling_r10_tags_6[0]), /* 2 */ - &asn_PER_type_pmi_Disabling_r10_constr_6, - 0, 0, /* Defined elsewhere */ - &asn_SPC_pmi_Disabling_r10_specs_6 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_crossCarrierScheduling_r10_value2enum_8[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_crossCarrierScheduling_r10_enum2value_8[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_crossCarrierScheduling_r10_specs_8 = { - asn_MAP_crossCarrierScheduling_r10_value2enum_8, /* "tag" => N; sorted by tag */ - asn_MAP_crossCarrierScheduling_r10_enum2value_8, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_crossCarrierScheduling_r10_tags_8[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_crossCarrierScheduling_r10_8 = { - "crossCarrierScheduling-r10", - "crossCarrierScheduling-r10", - crossCarrierScheduling_r10_8_free, - crossCarrierScheduling_r10_8_print, - crossCarrierScheduling_r10_8_constraint, - crossCarrierScheduling_r10_8_decode_ber, - crossCarrierScheduling_r10_8_encode_der, - crossCarrierScheduling_r10_8_decode_xer, - crossCarrierScheduling_r10_8_encode_xer, - crossCarrierScheduling_r10_8_decode_uper, - crossCarrierScheduling_r10_8_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_crossCarrierScheduling_r10_tags_8, - sizeof(asn_DEF_crossCarrierScheduling_r10_tags_8) - /sizeof(asn_DEF_crossCarrierScheduling_r10_tags_8[0]) - 1, /* 1 */ - asn_DEF_crossCarrierScheduling_r10_tags_8, /* Same as above */ - sizeof(asn_DEF_crossCarrierScheduling_r10_tags_8) - /sizeof(asn_DEF_crossCarrierScheduling_r10_tags_8[0]), /* 2 */ - &asn_PER_type_crossCarrierScheduling_r10_constr_8, - 0, 0, /* Defined elsewhere */ - &asn_SPC_crossCarrierScheduling_r10_specs_8 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_simultaneousPUCCH_PUSCH_r10_value2enum_10[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_simultaneousPUCCH_PUSCH_r10_enum2value_10[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_simultaneousPUCCH_PUSCH_r10_specs_10 = { - asn_MAP_simultaneousPUCCH_PUSCH_r10_value2enum_10, /* "tag" => N; sorted by tag */ - asn_MAP_simultaneousPUCCH_PUSCH_r10_enum2value_10, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_simultaneousPUCCH_PUSCH_r10_tags_10[] = { - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_simultaneousPUCCH_PUSCH_r10_10 = { - "simultaneousPUCCH-PUSCH-r10", - "simultaneousPUCCH-PUSCH-r10", - simultaneousPUCCH_PUSCH_r10_10_free, - simultaneousPUCCH_PUSCH_r10_10_print, - simultaneousPUCCH_PUSCH_r10_10_constraint, - simultaneousPUCCH_PUSCH_r10_10_decode_ber, - simultaneousPUCCH_PUSCH_r10_10_encode_der, - simultaneousPUCCH_PUSCH_r10_10_decode_xer, - simultaneousPUCCH_PUSCH_r10_10_encode_xer, - simultaneousPUCCH_PUSCH_r10_10_decode_uper, - simultaneousPUCCH_PUSCH_r10_10_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_simultaneousPUCCH_PUSCH_r10_tags_10, - sizeof(asn_DEF_simultaneousPUCCH_PUSCH_r10_tags_10) - /sizeof(asn_DEF_simultaneousPUCCH_PUSCH_r10_tags_10[0]) - 1, /* 1 */ - asn_DEF_simultaneousPUCCH_PUSCH_r10_tags_10, /* Same as above */ - sizeof(asn_DEF_simultaneousPUCCH_PUSCH_r10_tags_10) - /sizeof(asn_DEF_simultaneousPUCCH_PUSCH_r10_tags_10[0]), /* 2 */ - &asn_PER_type_simultaneousPUCCH_PUSCH_r10_constr_10, - 0, 0, /* Defined elsewhere */ - &asn_SPC_simultaneousPUCCH_PUSCH_r10_specs_10 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_multiClusterPUSCH_WithinCC_r10_value2enum_12[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_multiClusterPUSCH_WithinCC_r10_enum2value_12[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_multiClusterPUSCH_WithinCC_r10_specs_12 = { - asn_MAP_multiClusterPUSCH_WithinCC_r10_value2enum_12, /* "tag" => N; sorted by tag */ - asn_MAP_multiClusterPUSCH_WithinCC_r10_enum2value_12, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_multiClusterPUSCH_WithinCC_r10_tags_12[] = { - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_multiClusterPUSCH_WithinCC_r10_12 = { - "multiClusterPUSCH-WithinCC-r10", - "multiClusterPUSCH-WithinCC-r10", - multiClusterPUSCH_WithinCC_r10_12_free, - multiClusterPUSCH_WithinCC_r10_12_print, - multiClusterPUSCH_WithinCC_r10_12_constraint, - multiClusterPUSCH_WithinCC_r10_12_decode_ber, - multiClusterPUSCH_WithinCC_r10_12_encode_der, - multiClusterPUSCH_WithinCC_r10_12_decode_xer, - multiClusterPUSCH_WithinCC_r10_12_encode_xer, - multiClusterPUSCH_WithinCC_r10_12_decode_uper, - multiClusterPUSCH_WithinCC_r10_12_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_multiClusterPUSCH_WithinCC_r10_tags_12, - sizeof(asn_DEF_multiClusterPUSCH_WithinCC_r10_tags_12) - /sizeof(asn_DEF_multiClusterPUSCH_WithinCC_r10_tags_12[0]) - 1, /* 1 */ - asn_DEF_multiClusterPUSCH_WithinCC_r10_tags_12, /* Same as above */ - sizeof(asn_DEF_multiClusterPUSCH_WithinCC_r10_tags_12) - /sizeof(asn_DEF_multiClusterPUSCH_WithinCC_r10_tags_12[0]), /* 2 */ - &asn_PER_type_multiClusterPUSCH_WithinCC_r10_constr_12, - 0, 0, /* Defined elsewhere */ - &asn_SPC_multiClusterPUSCH_WithinCC_r10_specs_12 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PhyLayerParameters_v1020_1[] = { - { ATF_POINTER, 7, offsetof(struct PhyLayerParameters_v1020, twoAntennaPortsForPUCCH_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_twoAntennaPortsForPUCCH_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "twoAntennaPortsForPUCCH-r10" - }, - { ATF_POINTER, 6, offsetof(struct PhyLayerParameters_v1020, tm9_With_8Tx_FDD_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_tm9_With_8Tx_FDD_r10_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "tm9-With-8Tx-FDD-r10" - }, - { ATF_POINTER, 5, offsetof(struct PhyLayerParameters_v1020, pmi_Disabling_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_pmi_Disabling_r10_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pmi-Disabling-r10" - }, - { ATF_POINTER, 4, offsetof(struct PhyLayerParameters_v1020, crossCarrierScheduling_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_crossCarrierScheduling_r10_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "crossCarrierScheduling-r10" - }, - { ATF_POINTER, 3, offsetof(struct PhyLayerParameters_v1020, simultaneousPUCCH_PUSCH_r10), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_simultaneousPUCCH_PUSCH_r10_10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "simultaneousPUCCH-PUSCH-r10" - }, - { ATF_POINTER, 2, offsetof(struct PhyLayerParameters_v1020, multiClusterPUSCH_WithinCC_r10), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_multiClusterPUSCH_WithinCC_r10_12, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "multiClusterPUSCH-WithinCC-r10" - }, - { ATF_POINTER, 1, offsetof(struct PhyLayerParameters_v1020, nonContiguousUL_RA_WithinCC_List_r10), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NonContiguousUL_RA_WithinCC_List_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonContiguousUL-RA-WithinCC-List-r10" - }, -}; -static int asn_MAP_PhyLayerParameters_v1020_oms_1[] = { 0, 1, 2, 3, 4, 5, 6 }; -static ber_tlv_tag_t asn_DEF_PhyLayerParameters_v1020_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PhyLayerParameters_v1020_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* twoAntennaPortsForPUCCH-r10 at 3808 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* tm9-With-8Tx-FDD-r10 at 3809 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pmi-Disabling-r10 at 3810 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* crossCarrierScheduling-r10 at 3811 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* simultaneousPUCCH-PUSCH-r10 at 3812 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* multiClusterPUSCH-WithinCC-r10 at 3813 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* nonContiguousUL-RA-WithinCC-List-r10 at 3814 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PhyLayerParameters_v1020_specs_1 = { - sizeof(struct PhyLayerParameters_v1020), - offsetof(struct PhyLayerParameters_v1020, _asn_ctx), - asn_MAP_PhyLayerParameters_v1020_tag2el_1, - 7, /* Count of tags in the map */ - asn_MAP_PhyLayerParameters_v1020_oms_1, /* Optional members */ - 7, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PhyLayerParameters_v1020 = { - "PhyLayerParameters-v1020", - "PhyLayerParameters-v1020", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PhyLayerParameters_v1020_tags_1, - sizeof(asn_DEF_PhyLayerParameters_v1020_tags_1) - /sizeof(asn_DEF_PhyLayerParameters_v1020_tags_1[0]), /* 1 */ - asn_DEF_PhyLayerParameters_v1020_tags_1, /* Same as above */ - sizeof(asn_DEF_PhyLayerParameters_v1020_tags_1) - /sizeof(asn_DEF_PhyLayerParameters_v1020_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PhyLayerParameters_v1020_1, - 7, /* Elements count */ - &asn_SPC_PhyLayerParameters_v1020_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PhyLayerParameters-v920.c b/lte/rrc/lib/asn/src/PhyLayerParameters-v920.c deleted file mode 100644 index 95d011e98..000000000 --- a/lte/rrc/lib/asn/src/PhyLayerParameters-v920.c +++ /dev/null @@ -1,346 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PhyLayerParameters-v920.h" - -static int -enhancedDualLayerFDD_r9_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -enhancedDualLayerFDD_r9_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -enhancedDualLayerFDD_r9_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - enhancedDualLayerFDD_r9_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -enhancedDualLayerFDD_r9_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - enhancedDualLayerFDD_r9_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -enhancedDualLayerFDD_r9_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - enhancedDualLayerFDD_r9_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -enhancedDualLayerFDD_r9_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - enhancedDualLayerFDD_r9_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -enhancedDualLayerFDD_r9_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - enhancedDualLayerFDD_r9_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -enhancedDualLayerFDD_r9_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - enhancedDualLayerFDD_r9_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -enhancedDualLayerFDD_r9_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - enhancedDualLayerFDD_r9_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -enhancedDualLayerFDD_r9_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - enhancedDualLayerFDD_r9_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -enhancedDualLayerTDD_r9_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -enhancedDualLayerTDD_r9_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -enhancedDualLayerTDD_r9_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - enhancedDualLayerTDD_r9_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -enhancedDualLayerTDD_r9_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - enhancedDualLayerTDD_r9_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -enhancedDualLayerTDD_r9_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - enhancedDualLayerTDD_r9_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -enhancedDualLayerTDD_r9_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - enhancedDualLayerTDD_r9_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -enhancedDualLayerTDD_r9_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - enhancedDualLayerTDD_r9_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -enhancedDualLayerTDD_r9_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - enhancedDualLayerTDD_r9_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -enhancedDualLayerTDD_r9_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - enhancedDualLayerTDD_r9_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -enhancedDualLayerTDD_r9_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - enhancedDualLayerTDD_r9_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_enhancedDualLayerFDD_r9_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_enhancedDualLayerTDD_r9_constr_4 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_enhancedDualLayerFDD_r9_value2enum_2[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_enhancedDualLayerFDD_r9_enum2value_2[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_enhancedDualLayerFDD_r9_specs_2 = { - asn_MAP_enhancedDualLayerFDD_r9_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_enhancedDualLayerFDD_r9_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_enhancedDualLayerFDD_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_enhancedDualLayerFDD_r9_2 = { - "enhancedDualLayerFDD-r9", - "enhancedDualLayerFDD-r9", - enhancedDualLayerFDD_r9_2_free, - enhancedDualLayerFDD_r9_2_print, - enhancedDualLayerFDD_r9_2_constraint, - enhancedDualLayerFDD_r9_2_decode_ber, - enhancedDualLayerFDD_r9_2_encode_der, - enhancedDualLayerFDD_r9_2_decode_xer, - enhancedDualLayerFDD_r9_2_encode_xer, - enhancedDualLayerFDD_r9_2_decode_uper, - enhancedDualLayerFDD_r9_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_enhancedDualLayerFDD_r9_tags_2, - sizeof(asn_DEF_enhancedDualLayerFDD_r9_tags_2) - /sizeof(asn_DEF_enhancedDualLayerFDD_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_enhancedDualLayerFDD_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_enhancedDualLayerFDD_r9_tags_2) - /sizeof(asn_DEF_enhancedDualLayerFDD_r9_tags_2[0]), /* 2 */ - &asn_PER_type_enhancedDualLayerFDD_r9_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_enhancedDualLayerFDD_r9_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_enhancedDualLayerTDD_r9_value2enum_4[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_enhancedDualLayerTDD_r9_enum2value_4[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_enhancedDualLayerTDD_r9_specs_4 = { - asn_MAP_enhancedDualLayerTDD_r9_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_enhancedDualLayerTDD_r9_enum2value_4, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_enhancedDualLayerTDD_r9_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_enhancedDualLayerTDD_r9_4 = { - "enhancedDualLayerTDD-r9", - "enhancedDualLayerTDD-r9", - enhancedDualLayerTDD_r9_4_free, - enhancedDualLayerTDD_r9_4_print, - enhancedDualLayerTDD_r9_4_constraint, - enhancedDualLayerTDD_r9_4_decode_ber, - enhancedDualLayerTDD_r9_4_encode_der, - enhancedDualLayerTDD_r9_4_decode_xer, - enhancedDualLayerTDD_r9_4_encode_xer, - enhancedDualLayerTDD_r9_4_decode_uper, - enhancedDualLayerTDD_r9_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_enhancedDualLayerTDD_r9_tags_4, - sizeof(asn_DEF_enhancedDualLayerTDD_r9_tags_4) - /sizeof(asn_DEF_enhancedDualLayerTDD_r9_tags_4[0]) - 1, /* 1 */ - asn_DEF_enhancedDualLayerTDD_r9_tags_4, /* Same as above */ - sizeof(asn_DEF_enhancedDualLayerTDD_r9_tags_4) - /sizeof(asn_DEF_enhancedDualLayerTDD_r9_tags_4[0]), /* 2 */ - &asn_PER_type_enhancedDualLayerTDD_r9_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_enhancedDualLayerTDD_r9_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PhyLayerParameters_v920_1[] = { - { ATF_POINTER, 2, offsetof(struct PhyLayerParameters_v920, enhancedDualLayerFDD_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_enhancedDualLayerFDD_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "enhancedDualLayerFDD-r9" - }, - { ATF_POINTER, 1, offsetof(struct PhyLayerParameters_v920, enhancedDualLayerTDD_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_enhancedDualLayerTDD_r9_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "enhancedDualLayerTDD-r9" - }, -}; -static int asn_MAP_PhyLayerParameters_v920_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_PhyLayerParameters_v920_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PhyLayerParameters_v920_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* enhancedDualLayerFDD-r9 at 3803 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* enhancedDualLayerTDD-r9 at 3804 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PhyLayerParameters_v920_specs_1 = { - sizeof(struct PhyLayerParameters_v920), - offsetof(struct PhyLayerParameters_v920, _asn_ctx), - asn_MAP_PhyLayerParameters_v920_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_PhyLayerParameters_v920_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PhyLayerParameters_v920 = { - "PhyLayerParameters-v920", - "PhyLayerParameters-v920", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PhyLayerParameters_v920_tags_1, - sizeof(asn_DEF_PhyLayerParameters_v920_tags_1) - /sizeof(asn_DEF_PhyLayerParameters_v920_tags_1[0]), /* 1 */ - asn_DEF_PhyLayerParameters_v920_tags_1, /* Same as above */ - sizeof(asn_DEF_PhyLayerParameters_v920_tags_1) - /sizeof(asn_DEF_PhyLayerParameters_v920_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PhyLayerParameters_v920_1, - 2, /* Elements count */ - &asn_SPC_PhyLayerParameters_v920_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PhyLayerParameters.c b/lte/rrc/lib/asn/src/PhyLayerParameters.c deleted file mode 100644 index 39218ea16..000000000 --- a/lte/rrc/lib/asn/src/PhyLayerParameters.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PhyLayerParameters.h" - -static asn_TYPE_member_t asn_MBR_PhyLayerParameters_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PhyLayerParameters, ue_TxAntennaSelectionSupported), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ue-TxAntennaSelectionSupported" - }, - { ATF_NOFLAGS, 0, offsetof(struct PhyLayerParameters, ue_SpecificRefSigsSupported), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ue-SpecificRefSigsSupported" - }, -}; -static ber_tlv_tag_t asn_DEF_PhyLayerParameters_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PhyLayerParameters_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ue-TxAntennaSelectionSupported at 3798 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ue-SpecificRefSigsSupported at 3799 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PhyLayerParameters_specs_1 = { - sizeof(struct PhyLayerParameters), - offsetof(struct PhyLayerParameters, _asn_ctx), - asn_MAP_PhyLayerParameters_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PhyLayerParameters = { - "PhyLayerParameters", - "PhyLayerParameters", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PhyLayerParameters_tags_1, - sizeof(asn_DEF_PhyLayerParameters_tags_1) - /sizeof(asn_DEF_PhyLayerParameters_tags_1[0]), /* 1 */ - asn_DEF_PhyLayerParameters_tags_1, /* Same as above */ - sizeof(asn_DEF_PhyLayerParameters_tags_1) - /sizeof(asn_DEF_PhyLayerParameters_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PhyLayerParameters_1, - 2, /* Elements count */ - &asn_SPC_PhyLayerParameters_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PhysCellId.c b/lte/rrc/lib/asn/src/PhysCellId.c deleted file mode 100644 index aff04acb3..000000000 --- a/lte/rrc/lib/asn/src/PhysCellId.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PhysCellId.h" - -int -PhysCellId_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 503)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -PhysCellId_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -PhysCellId_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - PhysCellId_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -PhysCellId_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - PhysCellId_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -PhysCellId_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - PhysCellId_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -PhysCellId_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - PhysCellId_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -PhysCellId_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - PhysCellId_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -PhysCellId_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - PhysCellId_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -PhysCellId_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - PhysCellId_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -PhysCellId_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - PhysCellId_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_PhysCellId_constr_1 = { - { APC_CONSTRAINED, 9, 9, 0, 503 } /* (0..503) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_PhysCellId_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_PhysCellId = { - "PhysCellId", - "PhysCellId", - PhysCellId_free, - PhysCellId_print, - PhysCellId_constraint, - PhysCellId_decode_ber, - PhysCellId_encode_der, - PhysCellId_decode_xer, - PhysCellId_encode_xer, - PhysCellId_decode_uper, - PhysCellId_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PhysCellId_tags_1, - sizeof(asn_DEF_PhysCellId_tags_1) - /sizeof(asn_DEF_PhysCellId_tags_1[0]), /* 1 */ - asn_DEF_PhysCellId_tags_1, /* Same as above */ - sizeof(asn_DEF_PhysCellId_tags_1) - /sizeof(asn_DEF_PhysCellId_tags_1[0]), /* 1 */ - &asn_PER_type_PhysCellId_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/PhysCellIdCDMA2000.c b/lte/rrc/lib/asn/src/PhysCellIdCDMA2000.c deleted file mode 100644 index ff389b506..000000000 --- a/lte/rrc/lib/asn/src/PhysCellIdCDMA2000.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PhysCellIdCDMA2000.h" - -int -PhysCellIdCDMA2000_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 511)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -PhysCellIdCDMA2000_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -PhysCellIdCDMA2000_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - PhysCellIdCDMA2000_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -PhysCellIdCDMA2000_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - PhysCellIdCDMA2000_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -PhysCellIdCDMA2000_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - PhysCellIdCDMA2000_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -PhysCellIdCDMA2000_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - PhysCellIdCDMA2000_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -PhysCellIdCDMA2000_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - PhysCellIdCDMA2000_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -PhysCellIdCDMA2000_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - PhysCellIdCDMA2000_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -PhysCellIdCDMA2000_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - PhysCellIdCDMA2000_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -PhysCellIdCDMA2000_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - PhysCellIdCDMA2000_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_PhysCellIdCDMA2000_constr_1 = { - { APC_CONSTRAINED, 9, 9, 0, 511 } /* (0..511) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_PhysCellIdCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_PhysCellIdCDMA2000 = { - "PhysCellIdCDMA2000", - "PhysCellIdCDMA2000", - PhysCellIdCDMA2000_free, - PhysCellIdCDMA2000_print, - PhysCellIdCDMA2000_constraint, - PhysCellIdCDMA2000_decode_ber, - PhysCellIdCDMA2000_encode_der, - PhysCellIdCDMA2000_decode_xer, - PhysCellIdCDMA2000_encode_xer, - PhysCellIdCDMA2000_decode_uper, - PhysCellIdCDMA2000_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PhysCellIdCDMA2000_tags_1, - sizeof(asn_DEF_PhysCellIdCDMA2000_tags_1) - /sizeof(asn_DEF_PhysCellIdCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_PhysCellIdCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_PhysCellIdCDMA2000_tags_1) - /sizeof(asn_DEF_PhysCellIdCDMA2000_tags_1[0]), /* 1 */ - &asn_PER_type_PhysCellIdCDMA2000_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/PhysCellIdGERAN.c b/lte/rrc/lib/asn/src/PhysCellIdGERAN.c deleted file mode 100644 index f02df7c8d..000000000 --- a/lte/rrc/lib/asn/src/PhysCellIdGERAN.c +++ /dev/null @@ -1,142 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PhysCellIdGERAN.h" - -static int -memb_networkColourCode_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 3)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_baseStationColourCode_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 3)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_networkColourCode_constr_2 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 3, 3 } /* (SIZE(3..3)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_baseStationColourCode_constr_3 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 3, 3 } /* (SIZE(3..3)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_PhysCellIdGERAN_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PhysCellIdGERAN, networkColourCode), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_networkColourCode_constraint_1, - &asn_PER_memb_networkColourCode_constr_2, - 0, - "networkColourCode" - }, - { ATF_NOFLAGS, 0, offsetof(struct PhysCellIdGERAN, baseStationColourCode), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_baseStationColourCode_constraint_1, - &asn_PER_memb_baseStationColourCode_constr_3, - 0, - "baseStationColourCode" - }, -}; -static ber_tlv_tag_t asn_DEF_PhysCellIdGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PhysCellIdGERAN_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* networkColourCode at 3060 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* baseStationColourCode at 3061 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PhysCellIdGERAN_specs_1 = { - sizeof(struct PhysCellIdGERAN), - offsetof(struct PhysCellIdGERAN, _asn_ctx), - asn_MAP_PhysCellIdGERAN_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PhysCellIdGERAN = { - "PhysCellIdGERAN", - "PhysCellIdGERAN", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PhysCellIdGERAN_tags_1, - sizeof(asn_DEF_PhysCellIdGERAN_tags_1) - /sizeof(asn_DEF_PhysCellIdGERAN_tags_1[0]), /* 1 */ - asn_DEF_PhysCellIdGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_PhysCellIdGERAN_tags_1) - /sizeof(asn_DEF_PhysCellIdGERAN_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PhysCellIdGERAN_1, - 2, /* Elements count */ - &asn_SPC_PhysCellIdGERAN_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PhysCellIdListCDMA2000-v920.c b/lte/rrc/lib/asn/src/PhysCellIdListCDMA2000-v920.c deleted file mode 100644 index c6bec72ad..000000000 --- a/lte/rrc/lib/asn/src/PhysCellIdListCDMA2000-v920.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PhysCellIdListCDMA2000-v920.h" - -static asn_per_constraints_t asn_PER_type_PhysCellIdListCDMA2000_v920_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 0, 24 } /* (SIZE(0..24)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_PhysCellIdListCDMA2000_v920_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_PhysCellIdCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_PhysCellIdListCDMA2000_v920_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_PhysCellIdListCDMA2000_v920_specs_1 = { - sizeof(struct PhysCellIdListCDMA2000_v920), - offsetof(struct PhysCellIdListCDMA2000_v920, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_PhysCellIdListCDMA2000_v920 = { - "PhysCellIdListCDMA2000-v920", - "PhysCellIdListCDMA2000-v920", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PhysCellIdListCDMA2000_v920_tags_1, - sizeof(asn_DEF_PhysCellIdListCDMA2000_v920_tags_1) - /sizeof(asn_DEF_PhysCellIdListCDMA2000_v920_tags_1[0]), /* 1 */ - asn_DEF_PhysCellIdListCDMA2000_v920_tags_1, /* Same as above */ - sizeof(asn_DEF_PhysCellIdListCDMA2000_v920_tags_1) - /sizeof(asn_DEF_PhysCellIdListCDMA2000_v920_tags_1[0]), /* 1 */ - &asn_PER_type_PhysCellIdListCDMA2000_v920_constr_1, - asn_MBR_PhysCellIdListCDMA2000_v920_1, - 1, /* Single element */ - &asn_SPC_PhysCellIdListCDMA2000_v920_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PhysCellIdListCDMA2000.c b/lte/rrc/lib/asn/src/PhysCellIdListCDMA2000.c deleted file mode 100644 index 95a56245f..000000000 --- a/lte/rrc/lib/asn/src/PhysCellIdListCDMA2000.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PhysCellIdListCDMA2000.h" - -static asn_per_constraints_t asn_PER_type_PhysCellIdListCDMA2000_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_PhysCellIdListCDMA2000_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_PhysCellIdCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_PhysCellIdListCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_PhysCellIdListCDMA2000_specs_1 = { - sizeof(struct PhysCellIdListCDMA2000), - offsetof(struct PhysCellIdListCDMA2000, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_PhysCellIdListCDMA2000 = { - "PhysCellIdListCDMA2000", - "PhysCellIdListCDMA2000", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PhysCellIdListCDMA2000_tags_1, - sizeof(asn_DEF_PhysCellIdListCDMA2000_tags_1) - /sizeof(asn_DEF_PhysCellIdListCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_PhysCellIdListCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_PhysCellIdListCDMA2000_tags_1) - /sizeof(asn_DEF_PhysCellIdListCDMA2000_tags_1[0]), /* 1 */ - &asn_PER_type_PhysCellIdListCDMA2000_constr_1, - asn_MBR_PhysCellIdListCDMA2000_1, - 1, /* Single element */ - &asn_SPC_PhysCellIdListCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PhysCellIdRange.c b/lte/rrc/lib/asn/src/PhysCellIdRange.c deleted file mode 100644 index fbc0c58d9..000000000 --- a/lte/rrc/lib/asn/src/PhysCellIdRange.c +++ /dev/null @@ -1,239 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PhysCellIdRange.h" - -static int -range_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -range_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -range_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - range_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -range_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - range_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -range_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - range_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -range_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - range_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -range_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - range_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -range_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - range_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -range_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - range_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -range_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - range_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_range_constr_3 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_range_value2enum_3[] = { - { 0, 2, "n4" }, - { 1, 2, "n8" }, - { 2, 3, "n12" }, - { 3, 3, "n16" }, - { 4, 3, "n24" }, - { 5, 3, "n32" }, - { 6, 3, "n48" }, - { 7, 3, "n64" }, - { 8, 3, "n84" }, - { 9, 3, "n96" }, - { 10, 4, "n128" }, - { 11, 4, "n168" }, - { 12, 4, "n252" }, - { 13, 4, "n504" }, - { 14, 6, "spare2" }, - { 15, 6, "spare1" } -}; -static unsigned int asn_MAP_range_enum2value_3[] = { - 2, /* n12(2) */ - 10, /* n128(10) */ - 3, /* n16(3) */ - 11, /* n168(11) */ - 4, /* n24(4) */ - 12, /* n252(12) */ - 5, /* n32(5) */ - 0, /* n4(0) */ - 6, /* n48(6) */ - 13, /* n504(13) */ - 7, /* n64(7) */ - 1, /* n8(1) */ - 8, /* n84(8) */ - 9, /* n96(9) */ - 15, /* spare1(15) */ - 14 /* spare2(14) */ -}; -static asn_INTEGER_specifics_t asn_SPC_range_specs_3 = { - asn_MAP_range_value2enum_3, /* "tag" => N; sorted by tag */ - asn_MAP_range_enum2value_3, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_range_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_range_3 = { - "range", - "range", - range_3_free, - range_3_print, - range_3_constraint, - range_3_decode_ber, - range_3_encode_der, - range_3_decode_xer, - range_3_encode_xer, - range_3_decode_uper, - range_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_range_tags_3, - sizeof(asn_DEF_range_tags_3) - /sizeof(asn_DEF_range_tags_3[0]) - 1, /* 1 */ - asn_DEF_range_tags_3, /* Same as above */ - sizeof(asn_DEF_range_tags_3) - /sizeof(asn_DEF_range_tags_3[0]), /* 2 */ - &asn_PER_type_range_constr_3, - 0, 0, /* Defined elsewhere */ - &asn_SPC_range_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PhysCellIdRange_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PhysCellIdRange, start), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "start" - }, - { ATF_POINTER, 1, offsetof(struct PhysCellIdRange, range), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_range_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "range" - }, -}; -static int asn_MAP_PhysCellIdRange_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_PhysCellIdRange_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PhysCellIdRange_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* start at 3040 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* range at 3042 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PhysCellIdRange_specs_1 = { - sizeof(struct PhysCellIdRange), - offsetof(struct PhysCellIdRange, _asn_ctx), - asn_MAP_PhysCellIdRange_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_PhysCellIdRange_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PhysCellIdRange = { - "PhysCellIdRange", - "PhysCellIdRange", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PhysCellIdRange_tags_1, - sizeof(asn_DEF_PhysCellIdRange_tags_1) - /sizeof(asn_DEF_PhysCellIdRange_tags_1[0]), /* 1 */ - asn_DEF_PhysCellIdRange_tags_1, /* Same as above */ - sizeof(asn_DEF_PhysCellIdRange_tags_1) - /sizeof(asn_DEF_PhysCellIdRange_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PhysCellIdRange_1, - 2, /* Elements count */ - &asn_SPC_PhysCellIdRange_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PhysCellIdRangeUTRA-FDD-r9.c b/lte/rrc/lib/asn/src/PhysCellIdRangeUTRA-FDD-r9.c deleted file mode 100644 index 4cf5c7962..000000000 --- a/lte/rrc/lib/asn/src/PhysCellIdRangeUTRA-FDD-r9.c +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PhysCellIdRangeUTRA-FDD-r9.h" - -static int -memb_range_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 2 && value <= 512)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_range_r9_constr_3 = { - { APC_CONSTRAINED, 9, 9, 2, 512 } /* (2..512) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_PhysCellIdRangeUTRA_FDD_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PhysCellIdRangeUTRA_FDD_r9, start_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdUTRA_FDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "start-r9" - }, - { ATF_POINTER, 1, offsetof(struct PhysCellIdRangeUTRA_FDD_r9, range_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_range_r9_constraint_1, - &asn_PER_memb_range_r9_constr_3, - 0, - "range-r9" - }, -}; -static int asn_MAP_PhysCellIdRangeUTRA_FDD_r9_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_PhysCellIdRangeUTRA_FDD_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PhysCellIdRangeUTRA_FDD_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* start-r9 at 3051 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* range-r9 at 3052 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PhysCellIdRangeUTRA_FDD_r9_specs_1 = { - sizeof(struct PhysCellIdRangeUTRA_FDD_r9), - offsetof(struct PhysCellIdRangeUTRA_FDD_r9, _asn_ctx), - asn_MAP_PhysCellIdRangeUTRA_FDD_r9_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_PhysCellIdRangeUTRA_FDD_r9_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PhysCellIdRangeUTRA_FDD_r9 = { - "PhysCellIdRangeUTRA-FDD-r9", - "PhysCellIdRangeUTRA-FDD-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PhysCellIdRangeUTRA_FDD_r9_tags_1, - sizeof(asn_DEF_PhysCellIdRangeUTRA_FDD_r9_tags_1) - /sizeof(asn_DEF_PhysCellIdRangeUTRA_FDD_r9_tags_1[0]), /* 1 */ - asn_DEF_PhysCellIdRangeUTRA_FDD_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_PhysCellIdRangeUTRA_FDD_r9_tags_1) - /sizeof(asn_DEF_PhysCellIdRangeUTRA_FDD_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PhysCellIdRangeUTRA_FDD_r9_1, - 2, /* Elements count */ - &asn_SPC_PhysCellIdRangeUTRA_FDD_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PhysCellIdRangeUTRA-FDDList-r9.c b/lte/rrc/lib/asn/src/PhysCellIdRangeUTRA-FDDList-r9.c deleted file mode 100644 index a759b5472..000000000 --- a/lte/rrc/lib/asn/src/PhysCellIdRangeUTRA-FDDList-r9.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PhysCellIdRangeUTRA-FDDList-r9.h" - -static asn_per_constraints_t asn_PER_type_PhysCellIdRangeUTRA_FDDList_r9_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 2, 2, 1, 4 } /* (SIZE(1..4)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_PhysCellIdRangeUTRA_FDDList_r9_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_PhysCellIdRangeUTRA_FDD_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_PhysCellIdRangeUTRA_FDDList_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_PhysCellIdRangeUTRA_FDDList_r9_specs_1 = { - sizeof(struct PhysCellIdRangeUTRA_FDDList_r9), - offsetof(struct PhysCellIdRangeUTRA_FDDList_r9, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_PhysCellIdRangeUTRA_FDDList_r9 = { - "PhysCellIdRangeUTRA-FDDList-r9", - "PhysCellIdRangeUTRA-FDDList-r9", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PhysCellIdRangeUTRA_FDDList_r9_tags_1, - sizeof(asn_DEF_PhysCellIdRangeUTRA_FDDList_r9_tags_1) - /sizeof(asn_DEF_PhysCellIdRangeUTRA_FDDList_r9_tags_1[0]), /* 1 */ - asn_DEF_PhysCellIdRangeUTRA_FDDList_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_PhysCellIdRangeUTRA_FDDList_r9_tags_1) - /sizeof(asn_DEF_PhysCellIdRangeUTRA_FDDList_r9_tags_1[0]), /* 1 */ - &asn_PER_type_PhysCellIdRangeUTRA_FDDList_r9_constr_1, - asn_MBR_PhysCellIdRangeUTRA_FDDList_r9_1, - 1, /* Single element */ - &asn_SPC_PhysCellIdRangeUTRA_FDDList_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PhysCellIdUTRA-FDD.c b/lte/rrc/lib/asn/src/PhysCellIdUTRA-FDD.c deleted file mode 100644 index 56499e767..000000000 --- a/lte/rrc/lib/asn/src/PhysCellIdUTRA-FDD.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PhysCellIdUTRA-FDD.h" - -int -PhysCellIdUTRA_FDD_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 511)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -PhysCellIdUTRA_FDD_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -PhysCellIdUTRA_FDD_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - PhysCellIdUTRA_FDD_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -PhysCellIdUTRA_FDD_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - PhysCellIdUTRA_FDD_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -PhysCellIdUTRA_FDD_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - PhysCellIdUTRA_FDD_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -PhysCellIdUTRA_FDD_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - PhysCellIdUTRA_FDD_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -PhysCellIdUTRA_FDD_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - PhysCellIdUTRA_FDD_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -PhysCellIdUTRA_FDD_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - PhysCellIdUTRA_FDD_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -PhysCellIdUTRA_FDD_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - PhysCellIdUTRA_FDD_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -PhysCellIdUTRA_FDD_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - PhysCellIdUTRA_FDD_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_PhysCellIdUTRA_FDD_constr_1 = { - { APC_CONSTRAINED, 9, 9, 0, 511 } /* (0..511) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_PhysCellIdUTRA_FDD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_PhysCellIdUTRA_FDD = { - "PhysCellIdUTRA-FDD", - "PhysCellIdUTRA-FDD", - PhysCellIdUTRA_FDD_free, - PhysCellIdUTRA_FDD_print, - PhysCellIdUTRA_FDD_constraint, - PhysCellIdUTRA_FDD_decode_ber, - PhysCellIdUTRA_FDD_encode_der, - PhysCellIdUTRA_FDD_decode_xer, - PhysCellIdUTRA_FDD_encode_xer, - PhysCellIdUTRA_FDD_decode_uper, - PhysCellIdUTRA_FDD_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PhysCellIdUTRA_FDD_tags_1, - sizeof(asn_DEF_PhysCellIdUTRA_FDD_tags_1) - /sizeof(asn_DEF_PhysCellIdUTRA_FDD_tags_1[0]), /* 1 */ - asn_DEF_PhysCellIdUTRA_FDD_tags_1, /* Same as above */ - sizeof(asn_DEF_PhysCellIdUTRA_FDD_tags_1) - /sizeof(asn_DEF_PhysCellIdUTRA_FDD_tags_1[0]), /* 1 */ - &asn_PER_type_PhysCellIdUTRA_FDD_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/PhysCellIdUTRA-TDD.c b/lte/rrc/lib/asn/src/PhysCellIdUTRA-TDD.c deleted file mode 100644 index daa709426..000000000 --- a/lte/rrc/lib/asn/src/PhysCellIdUTRA-TDD.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PhysCellIdUTRA-TDD.h" - -int -PhysCellIdUTRA_TDD_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 127)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -PhysCellIdUTRA_TDD_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -PhysCellIdUTRA_TDD_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - PhysCellIdUTRA_TDD_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -PhysCellIdUTRA_TDD_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - PhysCellIdUTRA_TDD_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -PhysCellIdUTRA_TDD_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - PhysCellIdUTRA_TDD_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -PhysCellIdUTRA_TDD_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - PhysCellIdUTRA_TDD_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -PhysCellIdUTRA_TDD_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - PhysCellIdUTRA_TDD_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -PhysCellIdUTRA_TDD_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - PhysCellIdUTRA_TDD_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -PhysCellIdUTRA_TDD_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - PhysCellIdUTRA_TDD_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -PhysCellIdUTRA_TDD_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - PhysCellIdUTRA_TDD_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_PhysCellIdUTRA_TDD_constr_1 = { - { APC_CONSTRAINED, 7, 7, 0, 127 } /* (0..127) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_PhysCellIdUTRA_TDD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_PhysCellIdUTRA_TDD = { - "PhysCellIdUTRA-TDD", - "PhysCellIdUTRA-TDD", - PhysCellIdUTRA_TDD_free, - PhysCellIdUTRA_TDD_print, - PhysCellIdUTRA_TDD_constraint, - PhysCellIdUTRA_TDD_decode_ber, - PhysCellIdUTRA_TDD_encode_der, - PhysCellIdUTRA_TDD_decode_xer, - PhysCellIdUTRA_TDD_encode_xer, - PhysCellIdUTRA_TDD_decode_uper, - PhysCellIdUTRA_TDD_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PhysCellIdUTRA_TDD_tags_1, - sizeof(asn_DEF_PhysCellIdUTRA_TDD_tags_1) - /sizeof(asn_DEF_PhysCellIdUTRA_TDD_tags_1[0]), /* 1 */ - asn_DEF_PhysCellIdUTRA_TDD_tags_1, /* Same as above */ - sizeof(asn_DEF_PhysCellIdUTRA_TDD_tags_1) - /sizeof(asn_DEF_PhysCellIdUTRA_TDD_tags_1[0]), /* 1 */ - &asn_PER_type_PhysCellIdUTRA_TDD_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/PhysicalConfigDedicated.c b/lte/rrc/lib/asn/src/PhysicalConfigDedicated.c deleted file mode 100644 index 2ef3375b3..000000000 --- a/lte/rrc/lib/asn/src/PhysicalConfigDedicated.c +++ /dev/null @@ -1,418 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PhysicalConfigDedicated.h" - -static asn_per_constraints_t asn_PER_type_antennaInfo_constr_10 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_antennaInfo_r10_constr_16 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_antennaInfo_10[] = { - { ATF_NOFLAGS, 0, offsetof(struct PhysicalConfigDedicated__antennaInfo, choice.explicitValue), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AntennaInfoDedicated, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "explicitValue" - }, - { ATF_NOFLAGS, 0, offsetof(struct PhysicalConfigDedicated__antennaInfo, choice.defaultValue), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "defaultValue" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_antennaInfo_tag2el_10[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* explicitValue at 2145 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* defaultValue at 2146 */ -}; -static asn_CHOICE_specifics_t asn_SPC_antennaInfo_specs_10 = { - sizeof(struct PhysicalConfigDedicated__antennaInfo), - offsetof(struct PhysicalConfigDedicated__antennaInfo, _asn_ctx), - offsetof(struct PhysicalConfigDedicated__antennaInfo, present), - sizeof(((struct PhysicalConfigDedicated__antennaInfo *)0)->present), - asn_MAP_antennaInfo_tag2el_10, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_antennaInfo_10 = { - "antennaInfo", - "antennaInfo", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_antennaInfo_constr_10, - asn_MBR_antennaInfo_10, - 2, /* Elements count */ - &asn_SPC_antennaInfo_specs_10 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_antennaInfo_r10_16[] = { - { ATF_NOFLAGS, 0, offsetof(struct PhysicalConfigDedicated__antennaInfo_r10, choice.explicitValue_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AntennaInfoDedicated_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "explicitValue-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct PhysicalConfigDedicated__antennaInfo_r10, choice.defaultValue), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "defaultValue" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_antennaInfo_r10_tag2el_16[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* explicitValue-r10 at 2152 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* defaultValue at 2153 */ -}; -static asn_CHOICE_specifics_t asn_SPC_antennaInfo_r10_specs_16 = { - sizeof(struct PhysicalConfigDedicated__antennaInfo_r10), - offsetof(struct PhysicalConfigDedicated__antennaInfo_r10, _asn_ctx), - offsetof(struct PhysicalConfigDedicated__antennaInfo_r10, present), - sizeof(((struct PhysicalConfigDedicated__antennaInfo_r10 *)0)->present), - asn_MAP_antennaInfo_r10_tag2el_16, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_antennaInfo_r10_16 = { - "antennaInfo-r10", - "antennaInfo-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_antennaInfo_r10_constr_16, - asn_MBR_antennaInfo_r10_16, - 2, /* Elements count */ - &asn_SPC_antennaInfo_r10_specs_16 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PhysicalConfigDedicated_1[] = { - { ATF_POINTER, 24, offsetof(struct PhysicalConfigDedicated, pdsch_ConfigDedicated), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PDSCH_ConfigDedicated, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pdsch-ConfigDedicated" - }, - { ATF_POINTER, 23, offsetof(struct PhysicalConfigDedicated, pucch_ConfigDedicated), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PUCCH_ConfigDedicated, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pucch-ConfigDedicated" - }, - { ATF_POINTER, 22, offsetof(struct PhysicalConfigDedicated, pusch_ConfigDedicated), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PUSCH_ConfigDedicated, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pusch-ConfigDedicated" - }, - { ATF_POINTER, 21, offsetof(struct PhysicalConfigDedicated, uplinkPowerControlDedicated), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UplinkPowerControlDedicated, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "uplinkPowerControlDedicated" - }, - { ATF_POINTER, 20, offsetof(struct PhysicalConfigDedicated, tpc_PDCCH_ConfigPUCCH), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_TPC_PDCCH_Config, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "tpc-PDCCH-ConfigPUCCH" - }, - { ATF_POINTER, 19, offsetof(struct PhysicalConfigDedicated, tpc_PDCCH_ConfigPUSCH), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_TPC_PDCCH_Config, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "tpc-PDCCH-ConfigPUSCH" - }, - { ATF_POINTER, 18, offsetof(struct PhysicalConfigDedicated, cqi_ReportConfig), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CQI_ReportConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cqi-ReportConfig" - }, - { ATF_POINTER, 17, offsetof(struct PhysicalConfigDedicated, soundingRS_UL_ConfigDedicated), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_SoundingRS_UL_ConfigDedicated, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "soundingRS-UL-ConfigDedicated" - }, - { ATF_POINTER, 16, offsetof(struct PhysicalConfigDedicated, antennaInfo), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_antennaInfo_10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "antennaInfo" - }, - { ATF_POINTER, 15, offsetof(struct PhysicalConfigDedicated, schedulingRequestConfig), - (ASN_TAG_CLASS_CONTEXT | (9 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_SchedulingRequestConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "schedulingRequestConfig" - }, - { ATF_POINTER, 14, offsetof(struct PhysicalConfigDedicated, cqi_ReportConfig_v920), - (ASN_TAG_CLASS_CONTEXT | (10 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CQI_ReportConfig_v920, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cqi-ReportConfig-v920" - }, - { ATF_POINTER, 13, offsetof(struct PhysicalConfigDedicated, antennaInfo_v920), - (ASN_TAG_CLASS_CONTEXT | (11 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AntennaInfoDedicated_v920, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "antennaInfo-v920" - }, - { ATF_POINTER, 12, offsetof(struct PhysicalConfigDedicated, antennaInfo_r10), - (ASN_TAG_CLASS_CONTEXT | (12 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_antennaInfo_r10_16, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "antennaInfo-r10" - }, - { ATF_POINTER, 11, offsetof(struct PhysicalConfigDedicated, antennaInfoUL_r10), - (ASN_TAG_CLASS_CONTEXT | (13 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AntennaInfoUL_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "antennaInfoUL-r10" - }, - { ATF_POINTER, 10, offsetof(struct PhysicalConfigDedicated, cif_Presence_r10), - (ASN_TAG_CLASS_CONTEXT | (14 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cif-Presence-r10" - }, - { ATF_POINTER, 9, offsetof(struct PhysicalConfigDedicated, cqi_ReportConfig_r10), - (ASN_TAG_CLASS_CONTEXT | (15 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CQI_ReportConfig_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cqi-ReportConfig-r10" - }, - { ATF_POINTER, 8, offsetof(struct PhysicalConfigDedicated, csi_RS_Config_r10), - (ASN_TAG_CLASS_CONTEXT | (16 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CSI_RS_Config_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csi-RS-Config-r10" - }, - { ATF_POINTER, 7, offsetof(struct PhysicalConfigDedicated, pucch_ConfigDedicated_v1020), - (ASN_TAG_CLASS_CONTEXT | (17 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PUCCH_ConfigDedicated_v1020, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pucch-ConfigDedicated-v1020" - }, - { ATF_POINTER, 6, offsetof(struct PhysicalConfigDedicated, pusch_ConfigDedicated_v1020), - (ASN_TAG_CLASS_CONTEXT | (18 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PUSCH_ConfigDedicated_v1020, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pusch-ConfigDedicated-v1020" - }, - { ATF_POINTER, 5, offsetof(struct PhysicalConfigDedicated, schedulingRequestConfig_v1020), - (ASN_TAG_CLASS_CONTEXT | (19 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SchedulingRequestConfig_v1020, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "schedulingRequestConfig-v1020" - }, - { ATF_POINTER, 4, offsetof(struct PhysicalConfigDedicated, soundingRS_UL_ConfigDedicated_v1020), - (ASN_TAG_CLASS_CONTEXT | (20 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SoundingRS_UL_ConfigDedicated_v1020, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "soundingRS-UL-ConfigDedicated-v1020" - }, - { ATF_POINTER, 3, offsetof(struct PhysicalConfigDedicated, soundingRS_UL_ConfigDedicatedAperiodic_r10), - (ASN_TAG_CLASS_CONTEXT | (21 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_SoundingRS_UL_ConfigDedicatedAperiodic_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "soundingRS-UL-ConfigDedicatedAperiodic-r10" - }, - { ATF_POINTER, 2, offsetof(struct PhysicalConfigDedicated, uplinkPowerControlDedicated_v1020), - (ASN_TAG_CLASS_CONTEXT | (22 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UplinkPowerControlDedicated_v1020, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "uplinkPowerControlDedicated-v1020" - }, - { ATF_POINTER, 1, offsetof(struct PhysicalConfigDedicated, pusch_CAConfigDedicated_vlola), - (ASN_TAG_CLASS_CONTEXT | (23 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PUSCH_CAConfigDedicated_vlola, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pusch-CAConfigDedicated-vlola" - }, -}; -static int asn_MAP_PhysicalConfigDedicated_oms_1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23 }; -static ber_tlv_tag_t asn_DEF_PhysicalConfigDedicated_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PhysicalConfigDedicated_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pdsch-ConfigDedicated at 2136 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* pucch-ConfigDedicated at 2137 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pusch-ConfigDedicated at 2138 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* uplinkPowerControlDedicated at 2139 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* tpc-PDCCH-ConfigPUCCH at 2140 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* tpc-PDCCH-ConfigPUSCH at 2141 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* cqi-ReportConfig at 2142 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* soundingRS-UL-ConfigDedicated at 2143 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* antennaInfo at 2145 */ - { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* schedulingRequestConfig at 2148 */ - { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* cqi-ReportConfig-v920 at 2149 */ - { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 }, /* antennaInfo-v920 at 2150 */ - { (ASN_TAG_CLASS_CONTEXT | (12 << 2)), 12, 0, 0 }, /* antennaInfo-r10 at 2152 */ - { (ASN_TAG_CLASS_CONTEXT | (13 << 2)), 13, 0, 0 }, /* antennaInfoUL-r10 at 2155 */ - { (ASN_TAG_CLASS_CONTEXT | (14 << 2)), 14, 0, 0 }, /* cif-Presence-r10 at 2156 */ - { (ASN_TAG_CLASS_CONTEXT | (15 << 2)), 15, 0, 0 }, /* cqi-ReportConfig-r10 at 2157 */ - { (ASN_TAG_CLASS_CONTEXT | (16 << 2)), 16, 0, 0 }, /* csi-RS-Config-r10 at 2158 */ - { (ASN_TAG_CLASS_CONTEXT | (17 << 2)), 17, 0, 0 }, /* pucch-ConfigDedicated-v1020 at 2159 */ - { (ASN_TAG_CLASS_CONTEXT | (18 << 2)), 18, 0, 0 }, /* pusch-ConfigDedicated-v1020 at 2160 */ - { (ASN_TAG_CLASS_CONTEXT | (19 << 2)), 19, 0, 0 }, /* schedulingRequestConfig-v1020 at 2161 */ - { (ASN_TAG_CLASS_CONTEXT | (20 << 2)), 20, 0, 0 }, /* soundingRS-UL-ConfigDedicated-v1020 at 2163 */ - { (ASN_TAG_CLASS_CONTEXT | (21 << 2)), 21, 0, 0 }, /* soundingRS-UL-ConfigDedicatedAperiodic-r10 at 2165 */ - { (ASN_TAG_CLASS_CONTEXT | (22 << 2)), 22, 0, 0 }, /* uplinkPowerControlDedicated-v1020 at 2166 */ - { (ASN_TAG_CLASS_CONTEXT | (23 << 2)), 23, 0, 0 } /* pusch-CAConfigDedicated-vlola at 2167 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PhysicalConfigDedicated_specs_1 = { - sizeof(struct PhysicalConfigDedicated), - offsetof(struct PhysicalConfigDedicated, _asn_ctx), - asn_MAP_PhysicalConfigDedicated_tag2el_1, - 24, /* Count of tags in the map */ - asn_MAP_PhysicalConfigDedicated_oms_1, /* Optional members */ - 24, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PhysicalConfigDedicated = { - "PhysicalConfigDedicated", - "PhysicalConfigDedicated", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PhysicalConfigDedicated_tags_1, - sizeof(asn_DEF_PhysicalConfigDedicated_tags_1) - /sizeof(asn_DEF_PhysicalConfigDedicated_tags_1[0]), /* 1 */ - asn_DEF_PhysicalConfigDedicated_tags_1, /* Same as above */ - sizeof(asn_DEF_PhysicalConfigDedicated_tags_1) - /sizeof(asn_DEF_PhysicalConfigDedicated_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PhysicalConfigDedicated_1, - 24, /* Elements count */ - &asn_SPC_PhysicalConfigDedicated_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PhysicalConfigDedicatedSCell-r10.c b/lte/rrc/lib/asn/src/PhysicalConfigDedicatedSCell-r10.c deleted file mode 100644 index 2f628f41a..000000000 --- a/lte/rrc/lib/asn/src/PhysicalConfigDedicatedSCell-r10.c +++ /dev/null @@ -1,272 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PhysicalConfigDedicatedSCell-r10.h" - -static asn_TYPE_member_t asn_MBR_nonUL_Configuration_r10_2[] = { - { ATF_POINTER, 4, offsetof(struct PhysicalConfigDedicatedSCell_r10__nonUL_Configuration_r10, antennaInfo_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AntennaInfoDedicated_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "antennaInfo-r10" - }, - { ATF_POINTER, 3, offsetof(struct PhysicalConfigDedicatedSCell_r10__nonUL_Configuration_r10, crossCarrierSchedulingConfig_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CrossCarrierSchedulingConfig_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "crossCarrierSchedulingConfig-r10" - }, - { ATF_POINTER, 2, offsetof(struct PhysicalConfigDedicatedSCell_r10__nonUL_Configuration_r10, csi_RS_Config_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CSI_RS_Config_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csi-RS-Config-r10" - }, - { ATF_POINTER, 1, offsetof(struct PhysicalConfigDedicatedSCell_r10__nonUL_Configuration_r10, pdsch_ConfigDedicated_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PDSCH_ConfigDedicated, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pdsch-ConfigDedicated-r10" - }, -}; -static int asn_MAP_nonUL_Configuration_r10_oms_2[] = { 0, 1, 2, 3 }; -static ber_tlv_tag_t asn_DEF_nonUL_Configuration_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_nonUL_Configuration_r10_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* antennaInfo-r10 at 2180 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* crossCarrierSchedulingConfig-r10 at 2181 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* csi-RS-Config-r10 at 2182 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* pdsch-ConfigDedicated-r10 at 2183 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonUL_Configuration_r10_specs_2 = { - sizeof(struct PhysicalConfigDedicatedSCell_r10__nonUL_Configuration_r10), - offsetof(struct PhysicalConfigDedicatedSCell_r10__nonUL_Configuration_r10, _asn_ctx), - asn_MAP_nonUL_Configuration_r10_tag2el_2, - 4, /* Count of tags in the map */ - asn_MAP_nonUL_Configuration_r10_oms_2, /* Optional members */ - 4, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonUL_Configuration_r10_2 = { - "nonUL-Configuration-r10", - "nonUL-Configuration-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonUL_Configuration_r10_tags_2, - sizeof(asn_DEF_nonUL_Configuration_r10_tags_2) - /sizeof(asn_DEF_nonUL_Configuration_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_nonUL_Configuration_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_nonUL_Configuration_r10_tags_2) - /sizeof(asn_DEF_nonUL_Configuration_r10_tags_2[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_nonUL_Configuration_r10_2, - 4, /* Elements count */ - &asn_SPC_nonUL_Configuration_r10_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ul_Configuration_r10_7[] = { - { ATF_POINTER, 7, offsetof(struct PhysicalConfigDedicatedSCell_r10__ul_Configuration_r10, antennaInfoUL_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AntennaInfoUL_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "antennaInfoUL-r10" - }, - { ATF_POINTER, 6, offsetof(struct PhysicalConfigDedicatedSCell_r10__ul_Configuration_r10, pusch_ConfigDedicatedSCell_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PUSCH_ConfigDedicatedSCell_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pusch-ConfigDedicatedSCell-r10" - }, - { ATF_POINTER, 5, offsetof(struct PhysicalConfigDedicatedSCell_r10__ul_Configuration_r10, uplinkPowerControlDedicatedSCell_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UplinkPowerControlDedicatedSCell_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "uplinkPowerControlDedicatedSCell-r10" - }, - { ATF_POINTER, 4, offsetof(struct PhysicalConfigDedicatedSCell_r10__ul_Configuration_r10, cqi_ReportConfigSCell_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CQI_ReportConfigSCell_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cqi-ReportConfigSCell-r10" - }, - { ATF_POINTER, 3, offsetof(struct PhysicalConfigDedicatedSCell_r10__ul_Configuration_r10, soundingRS_UL_ConfigDedicated_r10), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_SoundingRS_UL_ConfigDedicated, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "soundingRS-UL-ConfigDedicated-r10" - }, - { ATF_POINTER, 2, offsetof(struct PhysicalConfigDedicatedSCell_r10__ul_Configuration_r10, soundingRS_UL_ConfigDedicated_v1020), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SoundingRS_UL_ConfigDedicated_v1020, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "soundingRS-UL-ConfigDedicated-v1020" - }, - { ATF_POINTER, 1, offsetof(struct PhysicalConfigDedicatedSCell_r10__ul_Configuration_r10, soundingRS_UL_ConfigDedicatedAperiodic_r10), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_SoundingRS_UL_ConfigDedicatedAperiodic_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "soundingRS-UL-ConfigDedicatedAperiodic-r10" - }, -}; -static int asn_MAP_ul_Configuration_r10_oms_7[] = { 0, 1, 2, 3, 4, 5, 6 }; -static ber_tlv_tag_t asn_DEF_ul_Configuration_r10_tags_7[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ul_Configuration_r10_tag2el_7[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* antennaInfoUL-r10 at 2187 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* pusch-ConfigDedicatedSCell-r10 at 2188 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* uplinkPowerControlDedicatedSCell-r10 at 2189 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* cqi-ReportConfigSCell-r10 at 2190 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* soundingRS-UL-ConfigDedicated-r10 at 2191 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* soundingRS-UL-ConfigDedicated-v1020 at 2193 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* soundingRS-UL-ConfigDedicatedAperiodic-r10 at 2195 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ul_Configuration_r10_specs_7 = { - sizeof(struct PhysicalConfigDedicatedSCell_r10__ul_Configuration_r10), - offsetof(struct PhysicalConfigDedicatedSCell_r10__ul_Configuration_r10, _asn_ctx), - asn_MAP_ul_Configuration_r10_tag2el_7, - 7, /* Count of tags in the map */ - asn_MAP_ul_Configuration_r10_oms_7, /* Optional members */ - 7, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ul_Configuration_r10_7 = { - "ul-Configuration-r10", - "ul-Configuration-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ul_Configuration_r10_tags_7, - sizeof(asn_DEF_ul_Configuration_r10_tags_7) - /sizeof(asn_DEF_ul_Configuration_r10_tags_7[0]) - 1, /* 1 */ - asn_DEF_ul_Configuration_r10_tags_7, /* Same as above */ - sizeof(asn_DEF_ul_Configuration_r10_tags_7) - /sizeof(asn_DEF_ul_Configuration_r10_tags_7[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_ul_Configuration_r10_7, - 7, /* Elements count */ - &asn_SPC_ul_Configuration_r10_specs_7 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_PhysicalConfigDedicatedSCell_r10_1[] = { - { ATF_POINTER, 2, offsetof(struct PhysicalConfigDedicatedSCell_r10, nonUL_Configuration_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_nonUL_Configuration_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonUL-Configuration-r10" - }, - { ATF_POINTER, 1, offsetof(struct PhysicalConfigDedicatedSCell_r10, ul_Configuration_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_ul_Configuration_r10_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ul-Configuration-r10" - }, -}; -static int asn_MAP_PhysicalConfigDedicatedSCell_r10_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_PhysicalConfigDedicatedSCell_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PhysicalConfigDedicatedSCell_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nonUL-Configuration-r10 at 2180 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ul-Configuration-r10 at 2187 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PhysicalConfigDedicatedSCell_r10_specs_1 = { - sizeof(struct PhysicalConfigDedicatedSCell_r10), - offsetof(struct PhysicalConfigDedicatedSCell_r10, _asn_ctx), - asn_MAP_PhysicalConfigDedicatedSCell_r10_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_PhysicalConfigDedicatedSCell_r10_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - 1, /* Start extensions */ - 3 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PhysicalConfigDedicatedSCell_r10 = { - "PhysicalConfigDedicatedSCell-r10", - "PhysicalConfigDedicatedSCell-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PhysicalConfigDedicatedSCell_r10_tags_1, - sizeof(asn_DEF_PhysicalConfigDedicatedSCell_r10_tags_1) - /sizeof(asn_DEF_PhysicalConfigDedicatedSCell_r10_tags_1[0]), /* 1 */ - asn_DEF_PhysicalConfigDedicatedSCell_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_PhysicalConfigDedicatedSCell_r10_tags_1) - /sizeof(asn_DEF_PhysicalConfigDedicatedSCell_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PhysicalConfigDedicatedSCell_r10_1, - 2, /* Elements count */ - &asn_SPC_PhysicalConfigDedicatedSCell_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PollByte.c b/lte/rrc/lib/asn/src/PollByte.c deleted file mode 100644 index 36f63233c..000000000 --- a/lte/rrc/lib/asn/src/PollByte.c +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PollByte.h" - -int -PollByte_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -PollByte_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -PollByte_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - PollByte_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -PollByte_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - PollByte_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -PollByte_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - PollByte_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -PollByte_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - PollByte_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -PollByte_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - PollByte_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -PollByte_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - PollByte_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -PollByte_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - PollByte_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -PollByte_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - PollByte_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_PollByte_constr_1 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_PollByte_value2enum_1[] = { - { 0, 4, "kB25" }, - { 1, 4, "kB50" }, - { 2, 4, "kB75" }, - { 3, 5, "kB100" }, - { 4, 5, "kB125" }, - { 5, 5, "kB250" }, - { 6, 5, "kB375" }, - { 7, 5, "kB500" }, - { 8, 5, "kB750" }, - { 9, 6, "kB1000" }, - { 10, 6, "kB1250" }, - { 11, 6, "kB1500" }, - { 12, 6, "kB2000" }, - { 13, 6, "kB3000" }, - { 14, 10, "kBinfinity" }, - { 15, 6, "spare1" } -}; -static unsigned int asn_MAP_PollByte_enum2value_1[] = { - 3, /* kB100(3) */ - 9, /* kB1000(9) */ - 4, /* kB125(4) */ - 10, /* kB1250(10) */ - 11, /* kB1500(11) */ - 12, /* kB2000(12) */ - 0, /* kB25(0) */ - 5, /* kB250(5) */ - 13, /* kB3000(13) */ - 6, /* kB375(6) */ - 1, /* kB50(1) */ - 7, /* kB500(7) */ - 2, /* kB75(2) */ - 8, /* kB750(8) */ - 14, /* kBinfinity(14) */ - 15 /* spare1(15) */ -}; -static asn_INTEGER_specifics_t asn_SPC_PollByte_specs_1 = { - asn_MAP_PollByte_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_PollByte_enum2value_1, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_PollByte_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_PollByte = { - "PollByte", - "PollByte", - PollByte_free, - PollByte_print, - PollByte_constraint, - PollByte_decode_ber, - PollByte_encode_der, - PollByte_decode_xer, - PollByte_encode_xer, - PollByte_decode_uper, - PollByte_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PollByte_tags_1, - sizeof(asn_DEF_PollByte_tags_1) - /sizeof(asn_DEF_PollByte_tags_1[0]), /* 1 */ - asn_DEF_PollByte_tags_1, /* Same as above */ - sizeof(asn_DEF_PollByte_tags_1) - /sizeof(asn_DEF_PollByte_tags_1[0]), /* 1 */ - &asn_PER_type_PollByte_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_PollByte_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PollPDU.c b/lte/rrc/lib/asn/src/PollPDU.c deleted file mode 100644 index 2fc746577..000000000 --- a/lte/rrc/lib/asn/src/PollPDU.c +++ /dev/null @@ -1,158 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PollPDU.h" - -int -PollPDU_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -PollPDU_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -PollPDU_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - PollPDU_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -PollPDU_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - PollPDU_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -PollPDU_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - PollPDU_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -PollPDU_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - PollPDU_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -PollPDU_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - PollPDU_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -PollPDU_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - PollPDU_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -PollPDU_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - PollPDU_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -PollPDU_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - PollPDU_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_PollPDU_constr_1 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_PollPDU_value2enum_1[] = { - { 0, 2, "p4" }, - { 1, 2, "p8" }, - { 2, 3, "p16" }, - { 3, 3, "p32" }, - { 4, 3, "p64" }, - { 5, 4, "p128" }, - { 6, 4, "p256" }, - { 7, 9, "pInfinity" } -}; -static unsigned int asn_MAP_PollPDU_enum2value_1[] = { - 5, /* p128(5) */ - 2, /* p16(2) */ - 6, /* p256(6) */ - 3, /* p32(3) */ - 0, /* p4(0) */ - 4, /* p64(4) */ - 1, /* p8(1) */ - 7 /* pInfinity(7) */ -}; -static asn_INTEGER_specifics_t asn_SPC_PollPDU_specs_1 = { - asn_MAP_PollPDU_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_PollPDU_enum2value_1, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_PollPDU_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_PollPDU = { - "PollPDU", - "PollPDU", - PollPDU_free, - PollPDU_print, - PollPDU_constraint, - PollPDU_decode_ber, - PollPDU_encode_der, - PollPDU_decode_xer, - PollPDU_encode_xer, - PollPDU_decode_uper, - PollPDU_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PollPDU_tags_1, - sizeof(asn_DEF_PollPDU_tags_1) - /sizeof(asn_DEF_PollPDU_tags_1[0]), /* 1 */ - asn_DEF_PollPDU_tags_1, /* Same as above */ - sizeof(asn_DEF_PollPDU_tags_1) - /sizeof(asn_DEF_PollPDU_tags_1[0]), /* 1 */ - &asn_PER_type_PollPDU_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_PollPDU_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PreRegistrationInfoHRPD.c b/lte/rrc/lib/asn/src/PreRegistrationInfoHRPD.c deleted file mode 100644 index 23ac15b45..000000000 --- a/lte/rrc/lib/asn/src/PreRegistrationInfoHRPD.c +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PreRegistrationInfoHRPD.h" - -static asn_TYPE_member_t asn_MBR_PreRegistrationInfoHRPD_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PreRegistrationInfoHRPD, preRegistrationAllowed), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "preRegistrationAllowed" - }, - { ATF_POINTER, 2, offsetof(struct PreRegistrationInfoHRPD, preRegistrationZoneId), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PreRegistrationZoneIdHRPD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "preRegistrationZoneId" - }, - { ATF_POINTER, 1, offsetof(struct PreRegistrationInfoHRPD, secondaryPreRegistrationZoneIdList), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SecondaryPreRegistrationZoneIdListHRPD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "secondaryPreRegistrationZoneIdList" - }, -}; -static int asn_MAP_PreRegistrationInfoHRPD_oms_1[] = { 1, 2 }; -static ber_tlv_tag_t asn_DEF_PreRegistrationInfoHRPD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_PreRegistrationInfoHRPD_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* preRegistrationAllowed at 3087 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* preRegistrationZoneId at 3088 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* secondaryPreRegistrationZoneIdList at 3089 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_PreRegistrationInfoHRPD_specs_1 = { - sizeof(struct PreRegistrationInfoHRPD), - offsetof(struct PreRegistrationInfoHRPD, _asn_ctx), - asn_MAP_PreRegistrationInfoHRPD_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_PreRegistrationInfoHRPD_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_PreRegistrationInfoHRPD = { - "PreRegistrationInfoHRPD", - "PreRegistrationInfoHRPD", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PreRegistrationInfoHRPD_tags_1, - sizeof(asn_DEF_PreRegistrationInfoHRPD_tags_1) - /sizeof(asn_DEF_PreRegistrationInfoHRPD_tags_1[0]), /* 1 */ - asn_DEF_PreRegistrationInfoHRPD_tags_1, /* Same as above */ - sizeof(asn_DEF_PreRegistrationInfoHRPD_tags_1) - /sizeof(asn_DEF_PreRegistrationInfoHRPD_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_PreRegistrationInfoHRPD_1, - 3, /* Elements count */ - &asn_SPC_PreRegistrationInfoHRPD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/PreRegistrationZoneIdHRPD.c b/lte/rrc/lib/asn/src/PreRegistrationZoneIdHRPD.c deleted file mode 100644 index 6e33ba687..000000000 --- a/lte/rrc/lib/asn/src/PreRegistrationZoneIdHRPD.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PreRegistrationZoneIdHRPD.h" - -int -PreRegistrationZoneIdHRPD_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 255)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -PreRegistrationZoneIdHRPD_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -PreRegistrationZoneIdHRPD_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - PreRegistrationZoneIdHRPD_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -PreRegistrationZoneIdHRPD_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - PreRegistrationZoneIdHRPD_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -PreRegistrationZoneIdHRPD_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - PreRegistrationZoneIdHRPD_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -PreRegistrationZoneIdHRPD_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - PreRegistrationZoneIdHRPD_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -PreRegistrationZoneIdHRPD_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - PreRegistrationZoneIdHRPD_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -PreRegistrationZoneIdHRPD_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - PreRegistrationZoneIdHRPD_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -PreRegistrationZoneIdHRPD_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - PreRegistrationZoneIdHRPD_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -PreRegistrationZoneIdHRPD_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - PreRegistrationZoneIdHRPD_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_PreRegistrationZoneIdHRPD_constr_1 = { - { APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_PreRegistrationZoneIdHRPD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_PreRegistrationZoneIdHRPD = { - "PreRegistrationZoneIdHRPD", - "PreRegistrationZoneIdHRPD", - PreRegistrationZoneIdHRPD_free, - PreRegistrationZoneIdHRPD_print, - PreRegistrationZoneIdHRPD_constraint, - PreRegistrationZoneIdHRPD_decode_ber, - PreRegistrationZoneIdHRPD_encode_der, - PreRegistrationZoneIdHRPD_decode_xer, - PreRegistrationZoneIdHRPD_encode_xer, - PreRegistrationZoneIdHRPD_decode_uper, - PreRegistrationZoneIdHRPD_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PreRegistrationZoneIdHRPD_tags_1, - sizeof(asn_DEF_PreRegistrationZoneIdHRPD_tags_1) - /sizeof(asn_DEF_PreRegistrationZoneIdHRPD_tags_1[0]), /* 1 */ - asn_DEF_PreRegistrationZoneIdHRPD_tags_1, /* Same as above */ - sizeof(asn_DEF_PreRegistrationZoneIdHRPD_tags_1) - /sizeof(asn_DEF_PreRegistrationZoneIdHRPD_tags_1[0]), /* 1 */ - &asn_PER_type_PreRegistrationZoneIdHRPD_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/PresenceAntennaPort1.c b/lte/rrc/lib/asn/src/PresenceAntennaPort1.c deleted file mode 100644 index 5ae27b564..000000000 --- a/lte/rrc/lib/asn/src/PresenceAntennaPort1.c +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/PresenceAntennaPort1.h" - -int -PresenceAntennaPort1_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_BOOLEAN.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using BOOLEAN, - * so here we adjust the DEF accordingly. - */ -static void -PresenceAntennaPort1_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_BOOLEAN.free_struct; - td->print_struct = asn_DEF_BOOLEAN.print_struct; - td->ber_decoder = asn_DEF_BOOLEAN.ber_decoder; - td->der_encoder = asn_DEF_BOOLEAN.der_encoder; - td->xer_decoder = asn_DEF_BOOLEAN.xer_decoder; - td->xer_encoder = asn_DEF_BOOLEAN.xer_encoder; - td->uper_decoder = asn_DEF_BOOLEAN.uper_decoder; - td->uper_encoder = asn_DEF_BOOLEAN.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_BOOLEAN.per_constraints; - td->elements = asn_DEF_BOOLEAN.elements; - td->elements_count = asn_DEF_BOOLEAN.elements_count; - td->specifics = asn_DEF_BOOLEAN.specifics; -} - -void -PresenceAntennaPort1_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - PresenceAntennaPort1_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -PresenceAntennaPort1_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - PresenceAntennaPort1_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -PresenceAntennaPort1_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - PresenceAntennaPort1_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -PresenceAntennaPort1_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - PresenceAntennaPort1_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -PresenceAntennaPort1_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - PresenceAntennaPort1_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -PresenceAntennaPort1_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - PresenceAntennaPort1_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -PresenceAntennaPort1_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - PresenceAntennaPort1_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -PresenceAntennaPort1_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - PresenceAntennaPort1_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static ber_tlv_tag_t asn_DEF_PresenceAntennaPort1_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_PresenceAntennaPort1 = { - "PresenceAntennaPort1", - "PresenceAntennaPort1", - PresenceAntennaPort1_free, - PresenceAntennaPort1_print, - PresenceAntennaPort1_constraint, - PresenceAntennaPort1_decode_ber, - PresenceAntennaPort1_encode_der, - PresenceAntennaPort1_decode_xer, - PresenceAntennaPort1_encode_xer, - PresenceAntennaPort1_decode_uper, - PresenceAntennaPort1_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_PresenceAntennaPort1_tags_1, - sizeof(asn_DEF_PresenceAntennaPort1_tags_1) - /sizeof(asn_DEF_PresenceAntennaPort1_tags_1[0]), /* 1 */ - asn_DEF_PresenceAntennaPort1_tags_1, /* Same as above */ - sizeof(asn_DEF_PresenceAntennaPort1_tags_1) - /sizeof(asn_DEF_PresenceAntennaPort1_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/ProximityIndication-r9-IEs.c b/lte/rrc/lib/asn/src/ProximityIndication-r9-IEs.c deleted file mode 100644 index 2446ab949..000000000 --- a/lte/rrc/lib/asn/src/ProximityIndication-r9-IEs.c +++ /dev/null @@ -1,284 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ProximityIndication-r9-IEs.h" - -static int -type_r9_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -type_r9_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -type_r9_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - type_r9_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -type_r9_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - type_r9_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -type_r9_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - type_r9_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -type_r9_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - type_r9_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -type_r9_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - type_r9_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -type_r9_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - type_r9_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -type_r9_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - type_r9_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -type_r9_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - type_r9_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_type_r9_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_carrierFreq_r9_constr_5 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_type_r9_value2enum_2[] = { - { 0, 8, "entering" }, - { 1, 7, "leaving" } -}; -static unsigned int asn_MAP_type_r9_enum2value_2[] = { - 0, /* entering(0) */ - 1 /* leaving(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_type_r9_specs_2 = { - asn_MAP_type_r9_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_type_r9_enum2value_2, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_type_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_type_r9_2 = { - "type-r9", - "type-r9", - type_r9_2_free, - type_r9_2_print, - type_r9_2_constraint, - type_r9_2_decode_ber, - type_r9_2_encode_der, - type_r9_2_decode_xer, - type_r9_2_encode_xer, - type_r9_2_decode_uper, - type_r9_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_type_r9_tags_2, - sizeof(asn_DEF_type_r9_tags_2) - /sizeof(asn_DEF_type_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_type_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_type_r9_tags_2) - /sizeof(asn_DEF_type_r9_tags_2[0]), /* 2 */ - &asn_PER_type_type_r9_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_type_r9_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_carrierFreq_r9_5[] = { - { ATF_NOFLAGS, 0, offsetof(struct ProximityIndication_r9_IEs__carrierFreq_r9, choice.eutra_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "eutra-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct ProximityIndication_r9_IEs__carrierFreq_r9, choice.utra_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "utra-r9" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_carrierFreq_r9_tag2el_5[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eutra-r9 at 573 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* utra-r9 at 574 */ -}; -static asn_CHOICE_specifics_t asn_SPC_carrierFreq_r9_specs_5 = { - sizeof(struct ProximityIndication_r9_IEs__carrierFreq_r9), - offsetof(struct ProximityIndication_r9_IEs__carrierFreq_r9, _asn_ctx), - offsetof(struct ProximityIndication_r9_IEs__carrierFreq_r9, present), - sizeof(((struct ProximityIndication_r9_IEs__carrierFreq_r9 *)0)->present), - asn_MAP_carrierFreq_r9_tag2el_5, - 2, /* Count of tags in the map */ - 0, - 2 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_carrierFreq_r9_5 = { - "carrierFreq-r9", - "carrierFreq-r9", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_carrierFreq_r9_constr_5, - asn_MBR_carrierFreq_r9_5, - 2, /* Elements count */ - &asn_SPC_carrierFreq_r9_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ProximityIndication_r9_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ProximityIndication_r9_IEs, type_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_type_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "type-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct ProximityIndication_r9_IEs, carrierFreq_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_carrierFreq_r9_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq-r9" - }, - { ATF_POINTER, 1, offsetof(struct ProximityIndication_r9_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProximityIndication_v930_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_ProximityIndication_r9_IEs_oms_1[] = { 2 }; -static ber_tlv_tag_t asn_DEF_ProximityIndication_r9_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ProximityIndication_r9_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* type-r9 at 571 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* carrierFreq-r9 at 573 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* nonCriticalExtension at 577 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ProximityIndication_r9_IEs_specs_1 = { - sizeof(struct ProximityIndication_r9_IEs), - offsetof(struct ProximityIndication_r9_IEs, _asn_ctx), - asn_MAP_ProximityIndication_r9_IEs_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_ProximityIndication_r9_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_ProximityIndication_r9_IEs = { - "ProximityIndication-r9-IEs", - "ProximityIndication-r9-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ProximityIndication_r9_IEs_tags_1, - sizeof(asn_DEF_ProximityIndication_r9_IEs_tags_1) - /sizeof(asn_DEF_ProximityIndication_r9_IEs_tags_1[0]), /* 1 */ - asn_DEF_ProximityIndication_r9_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_ProximityIndication_r9_IEs_tags_1) - /sizeof(asn_DEF_ProximityIndication_r9_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_ProximityIndication_r9_IEs_1, - 3, /* Elements count */ - &asn_SPC_ProximityIndication_r9_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ProximityIndication-r9.c b/lte/rrc/lib/asn/src/ProximityIndication-r9.c deleted file mode 100644 index 71e13ae9e..000000000 --- a/lte/rrc/lib/asn/src/ProximityIndication-r9.c +++ /dev/null @@ -1,244 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ProximityIndication-r9.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_3 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct ProximityIndication_r9__criticalExtensions__c1, choice.proximityIndication_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProximityIndication_r9_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "proximityIndication-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct ProximityIndication_r9__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct ProximityIndication_r9__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct ProximityIndication_r9__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* proximityIndication-r9 at 563 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 at 564 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 564 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 564 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_3 = { - sizeof(struct ProximityIndication_r9__criticalExtensions__c1), - offsetof(struct ProximityIndication_r9__criticalExtensions__c1, _asn_ctx), - offsetof(struct ProximityIndication_r9__criticalExtensions__c1, present), - sizeof(((struct ProximityIndication_r9__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_3, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_3 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_3, - asn_MBR_c1_3, - 4, /* Elements count */ - &asn_SPC_c1_specs_3 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_8[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_8 = { - sizeof(struct ProximityIndication_r9__criticalExtensions__criticalExtensionsFuture), - offsetof(struct ProximityIndication_r9__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_8 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_8, - sizeof(asn_DEF_criticalExtensionsFuture_tags_8) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_8[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_8, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_8) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_8[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_8 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct ProximityIndication_r9__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct ProximityIndication_r9__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 563 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 566 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = { - sizeof(struct ProximityIndication_r9__criticalExtensions), - offsetof(struct ProximityIndication_r9__criticalExtensions, _asn_ctx), - offsetof(struct ProximityIndication_r9__criticalExtensions, present), - sizeof(((struct ProximityIndication_r9__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_2, - asn_MBR_criticalExtensions_2, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ProximityIndication_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ProximityIndication_r9, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_ProximityIndication_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ProximityIndication_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions at 565 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ProximityIndication_r9_specs_1 = { - sizeof(struct ProximityIndication_r9), - offsetof(struct ProximityIndication_r9, _asn_ctx), - asn_MAP_ProximityIndication_r9_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_ProximityIndication_r9 = { - "ProximityIndication-r9", - "ProximityIndication-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ProximityIndication_r9_tags_1, - sizeof(asn_DEF_ProximityIndication_r9_tags_1) - /sizeof(asn_DEF_ProximityIndication_r9_tags_1[0]), /* 1 */ - asn_DEF_ProximityIndication_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_ProximityIndication_r9_tags_1) - /sizeof(asn_DEF_ProximityIndication_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_ProximityIndication_r9_1, - 1, /* Elements count */ - &asn_SPC_ProximityIndication_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ProximityIndication-v930-IEs.c b/lte/rrc/lib/asn/src/ProximityIndication-v930-IEs.c deleted file mode 100644 index 4e8309b3f..000000000 --- a/lte/rrc/lib/asn/src/ProximityIndication-v930-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ProximityIndication-v930-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct ProximityIndication_v930_IEs__nonCriticalExtension), - offsetof(struct ProximityIndication_v930_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ProximityIndication_v930_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct ProximityIndication_v930_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct ProximityIndication_v930_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_ProximityIndication_v930_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_ProximityIndication_v930_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ProximityIndication_v930_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 581 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 582 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ProximityIndication_v930_IEs_specs_1 = { - sizeof(struct ProximityIndication_v930_IEs), - offsetof(struct ProximityIndication_v930_IEs, _asn_ctx), - asn_MAP_ProximityIndication_v930_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_ProximityIndication_v930_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_ProximityIndication_v930_IEs = { - "ProximityIndication-v930-IEs", - "ProximityIndication-v930-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ProximityIndication_v930_IEs_tags_1, - sizeof(asn_DEF_ProximityIndication_v930_IEs_tags_1) - /sizeof(asn_DEF_ProximityIndication_v930_IEs_tags_1[0]), /* 1 */ - asn_DEF_ProximityIndication_v930_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_ProximityIndication_v930_IEs_tags_1) - /sizeof(asn_DEF_ProximityIndication_v930_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_ProximityIndication_v930_IEs_1, - 2, /* Elements count */ - &asn_SPC_ProximityIndication_v930_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/Q-OffsetRange.c b/lte/rrc/lib/asn/src/Q-OffsetRange.c deleted file mode 100644 index c1ff0b41f..000000000 --- a/lte/rrc/lib/asn/src/Q-OffsetRange.c +++ /dev/null @@ -1,204 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/Q-OffsetRange.h" - -int -Q_OffsetRange_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -Q_OffsetRange_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -Q_OffsetRange_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - Q_OffsetRange_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -Q_OffsetRange_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - Q_OffsetRange_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -Q_OffsetRange_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - Q_OffsetRange_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -Q_OffsetRange_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - Q_OffsetRange_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -Q_OffsetRange_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - Q_OffsetRange_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -Q_OffsetRange_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - Q_OffsetRange_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -Q_OffsetRange_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - Q_OffsetRange_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -Q_OffsetRange_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - Q_OffsetRange_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_Q_OffsetRange_constr_1 = { - { APC_CONSTRAINED, 5, 5, 0, 30 } /* (0..30) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_Q_OffsetRange_value2enum_1[] = { - { 0, 5, "dB-24" }, - { 1, 5, "dB-22" }, - { 2, 5, "dB-20" }, - { 3, 5, "dB-18" }, - { 4, 5, "dB-16" }, - { 5, 5, "dB-14" }, - { 6, 5, "dB-12" }, - { 7, 5, "dB-10" }, - { 8, 4, "dB-8" }, - { 9, 4, "dB-6" }, - { 10, 4, "dB-5" }, - { 11, 4, "dB-4" }, - { 12, 4, "dB-3" }, - { 13, 4, "dB-2" }, - { 14, 4, "dB-1" }, - { 15, 3, "dB0" }, - { 16, 3, "dB1" }, - { 17, 3, "dB2" }, - { 18, 3, "dB3" }, - { 19, 3, "dB4" }, - { 20, 3, "dB5" }, - { 21, 3, "dB6" }, - { 22, 3, "dB8" }, - { 23, 4, "dB10" }, - { 24, 4, "dB12" }, - { 25, 4, "dB14" }, - { 26, 4, "dB16" }, - { 27, 4, "dB18" }, - { 28, 4, "dB20" }, - { 29, 4, "dB22" }, - { 30, 4, "dB24" } -}; -static unsigned int asn_MAP_Q_OffsetRange_enum2value_1[] = { - 14, /* dB-1(14) */ - 7, /* dB-10(7) */ - 6, /* dB-12(6) */ - 5, /* dB-14(5) */ - 4, /* dB-16(4) */ - 3, /* dB-18(3) */ - 13, /* dB-2(13) */ - 2, /* dB-20(2) */ - 1, /* dB-22(1) */ - 0, /* dB-24(0) */ - 12, /* dB-3(12) */ - 11, /* dB-4(11) */ - 10, /* dB-5(10) */ - 9, /* dB-6(9) */ - 8, /* dB-8(8) */ - 15, /* dB0(15) */ - 16, /* dB1(16) */ - 23, /* dB10(23) */ - 24, /* dB12(24) */ - 25, /* dB14(25) */ - 26, /* dB16(26) */ - 27, /* dB18(27) */ - 17, /* dB2(17) */ - 28, /* dB20(28) */ - 29, /* dB22(29) */ - 30, /* dB24(30) */ - 18, /* dB3(18) */ - 19, /* dB4(19) */ - 20, /* dB5(20) */ - 21, /* dB6(21) */ - 22 /* dB8(22) */ -}; -static asn_INTEGER_specifics_t asn_SPC_Q_OffsetRange_specs_1 = { - asn_MAP_Q_OffsetRange_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_Q_OffsetRange_enum2value_1, /* N => "tag"; sorted by N */ - 31, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_Q_OffsetRange_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_Q_OffsetRange = { - "Q-OffsetRange", - "Q-OffsetRange", - Q_OffsetRange_free, - Q_OffsetRange_print, - Q_OffsetRange_constraint, - Q_OffsetRange_decode_ber, - Q_OffsetRange_encode_der, - Q_OffsetRange_decode_xer, - Q_OffsetRange_encode_xer, - Q_OffsetRange_decode_uper, - Q_OffsetRange_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_Q_OffsetRange_tags_1, - sizeof(asn_DEF_Q_OffsetRange_tags_1) - /sizeof(asn_DEF_Q_OffsetRange_tags_1[0]), /* 1 */ - asn_DEF_Q_OffsetRange_tags_1, /* Same as above */ - sizeof(asn_DEF_Q_OffsetRange_tags_1) - /sizeof(asn_DEF_Q_OffsetRange_tags_1[0]), /* 1 */ - &asn_PER_type_Q_OffsetRange_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_Q_OffsetRange_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/Q-OffsetRangeInterRAT.c b/lte/rrc/lib/asn/src/Q-OffsetRangeInterRAT.c deleted file mode 100644 index ea6cbc7c7..000000000 --- a/lte/rrc/lib/asn/src/Q-OffsetRangeInterRAT.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/Q-OffsetRangeInterRAT.h" - -int -Q_OffsetRangeInterRAT_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -15 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -Q_OffsetRangeInterRAT_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -Q_OffsetRangeInterRAT_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - Q_OffsetRangeInterRAT_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -Q_OffsetRangeInterRAT_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - Q_OffsetRangeInterRAT_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -Q_OffsetRangeInterRAT_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - Q_OffsetRangeInterRAT_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -Q_OffsetRangeInterRAT_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - Q_OffsetRangeInterRAT_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -Q_OffsetRangeInterRAT_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - Q_OffsetRangeInterRAT_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -Q_OffsetRangeInterRAT_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - Q_OffsetRangeInterRAT_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -Q_OffsetRangeInterRAT_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - Q_OffsetRangeInterRAT_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -Q_OffsetRangeInterRAT_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - Q_OffsetRangeInterRAT_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_Q_OffsetRangeInterRAT_constr_1 = { - { APC_CONSTRAINED, 5, 5, -15, 15 } /* (-15..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_Q_OffsetRangeInterRAT_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_Q_OffsetRangeInterRAT = { - "Q-OffsetRangeInterRAT", - "Q-OffsetRangeInterRAT", - Q_OffsetRangeInterRAT_free, - Q_OffsetRangeInterRAT_print, - Q_OffsetRangeInterRAT_constraint, - Q_OffsetRangeInterRAT_decode_ber, - Q_OffsetRangeInterRAT_encode_der, - Q_OffsetRangeInterRAT_decode_xer, - Q_OffsetRangeInterRAT_encode_xer, - Q_OffsetRangeInterRAT_decode_uper, - Q_OffsetRangeInterRAT_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_Q_OffsetRangeInterRAT_tags_1, - sizeof(asn_DEF_Q_OffsetRangeInterRAT_tags_1) - /sizeof(asn_DEF_Q_OffsetRangeInterRAT_tags_1[0]), /* 1 */ - asn_DEF_Q_OffsetRangeInterRAT_tags_1, /* Same as above */ - sizeof(asn_DEF_Q_OffsetRangeInterRAT_tags_1) - /sizeof(asn_DEF_Q_OffsetRangeInterRAT_tags_1[0]), /* 1 */ - &asn_PER_type_Q_OffsetRangeInterRAT_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/Q-QualMin-r9.c b/lte/rrc/lib/asn/src/Q-QualMin-r9.c deleted file mode 100644 index bc7a74b25..000000000 --- a/lte/rrc/lib/asn/src/Q-QualMin-r9.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/Q-QualMin-r9.h" - -int -Q_QualMin_r9_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -34 && value <= -3)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -Q_QualMin_r9_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -Q_QualMin_r9_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - Q_QualMin_r9_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -Q_QualMin_r9_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - Q_QualMin_r9_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -Q_QualMin_r9_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - Q_QualMin_r9_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -Q_QualMin_r9_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - Q_QualMin_r9_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -Q_QualMin_r9_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - Q_QualMin_r9_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -Q_QualMin_r9_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - Q_QualMin_r9_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -Q_QualMin_r9_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - Q_QualMin_r9_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -Q_QualMin_r9_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - Q_QualMin_r9_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_Q_QualMin_r9_constr_1 = { - { APC_CONSTRAINED, 5, 5, -34, -3 } /* (-34..-3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_Q_QualMin_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_Q_QualMin_r9 = { - "Q-QualMin-r9", - "Q-QualMin-r9", - Q_QualMin_r9_free, - Q_QualMin_r9_print, - Q_QualMin_r9_constraint, - Q_QualMin_r9_decode_ber, - Q_QualMin_r9_encode_der, - Q_QualMin_r9_decode_xer, - Q_QualMin_r9_encode_xer, - Q_QualMin_r9_decode_uper, - Q_QualMin_r9_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_Q_QualMin_r9_tags_1, - sizeof(asn_DEF_Q_QualMin_r9_tags_1) - /sizeof(asn_DEF_Q_QualMin_r9_tags_1[0]), /* 1 */ - asn_DEF_Q_QualMin_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_Q_QualMin_r9_tags_1) - /sizeof(asn_DEF_Q_QualMin_r9_tags_1[0]), /* 1 */ - &asn_PER_type_Q_QualMin_r9_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/Q-RxLevMin.c b/lte/rrc/lib/asn/src/Q-RxLevMin.c deleted file mode 100644 index a92e61438..000000000 --- a/lte/rrc/lib/asn/src/Q-RxLevMin.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/Q-RxLevMin.h" - -int -Q_RxLevMin_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -70 && value <= -22)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -Q_RxLevMin_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -Q_RxLevMin_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - Q_RxLevMin_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -Q_RxLevMin_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - Q_RxLevMin_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -Q_RxLevMin_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - Q_RxLevMin_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -Q_RxLevMin_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - Q_RxLevMin_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -Q_RxLevMin_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - Q_RxLevMin_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -Q_RxLevMin_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - Q_RxLevMin_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -Q_RxLevMin_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - Q_RxLevMin_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -Q_RxLevMin_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - Q_RxLevMin_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_Q_RxLevMin_constr_1 = { - { APC_CONSTRAINED, 6, 6, -70, -22 } /* (-70..-22) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_Q_RxLevMin_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_Q_RxLevMin = { - "Q-RxLevMin", - "Q-RxLevMin", - Q_RxLevMin_free, - Q_RxLevMin_print, - Q_RxLevMin_constraint, - Q_RxLevMin_decode_ber, - Q_RxLevMin_encode_der, - Q_RxLevMin_decode_xer, - Q_RxLevMin_encode_xer, - Q_RxLevMin_decode_uper, - Q_RxLevMin_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_Q_RxLevMin_tags_1, - sizeof(asn_DEF_Q_RxLevMin_tags_1) - /sizeof(asn_DEF_Q_RxLevMin_tags_1[0]), /* 1 */ - asn_DEF_Q_RxLevMin_tags_1, /* Same as above */ - sizeof(asn_DEF_Q_RxLevMin_tags_1) - /sizeof(asn_DEF_Q_RxLevMin_tags_1[0]), /* 1 */ - &asn_PER_type_Q_RxLevMin_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/QuantityConfig.c b/lte/rrc/lib/asn/src/QuantityConfig.c deleted file mode 100644 index 5b1df81fc..000000000 --- a/lte/rrc/lib/asn/src/QuantityConfig.c +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/QuantityConfig.h" - -static asn_TYPE_member_t asn_MBR_QuantityConfig_1[] = { - { ATF_POINTER, 5, offsetof(struct QuantityConfig, quantityConfigEUTRA), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_QuantityConfigEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "quantityConfigEUTRA" - }, - { ATF_POINTER, 4, offsetof(struct QuantityConfig, quantityConfigUTRA), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_QuantityConfigUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "quantityConfigUTRA" - }, - { ATF_POINTER, 3, offsetof(struct QuantityConfig, quantityConfigGERAN), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_QuantityConfigGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "quantityConfigGERAN" - }, - { ATF_POINTER, 2, offsetof(struct QuantityConfig, quantityConfigCDMA2000), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_QuantityConfigCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "quantityConfigCDMA2000" - }, - { ATF_POINTER, 1, offsetof(struct QuantityConfig, quantityConfigUTRA_v1020), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_QuantityConfigUTRA_v1020, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "quantityConfigUTRA-v1020" - }, -}; -static int asn_MAP_QuantityConfig_oms_1[] = { 0, 1, 2, 3, 4 }; -static ber_tlv_tag_t asn_DEF_QuantityConfig_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_QuantityConfig_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* quantityConfigEUTRA at 3464 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* quantityConfigUTRA at 3465 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* quantityConfigGERAN at 3466 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* quantityConfigCDMA2000 at 3467 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* quantityConfigUTRA-v1020 at 3468 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_QuantityConfig_specs_1 = { - sizeof(struct QuantityConfig), - offsetof(struct QuantityConfig, _asn_ctx), - asn_MAP_QuantityConfig_tag2el_1, - 5, /* Count of tags in the map */ - asn_MAP_QuantityConfig_oms_1, /* Optional members */ - 5, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_QuantityConfig = { - "QuantityConfig", - "QuantityConfig", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_QuantityConfig_tags_1, - sizeof(asn_DEF_QuantityConfig_tags_1) - /sizeof(asn_DEF_QuantityConfig_tags_1[0]), /* 1 */ - asn_DEF_QuantityConfig_tags_1, /* Same as above */ - sizeof(asn_DEF_QuantityConfig_tags_1) - /sizeof(asn_DEF_QuantityConfig_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_QuantityConfig_1, - 5, /* Elements count */ - &asn_SPC_QuantityConfig_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/QuantityConfigCDMA2000.c b/lte/rrc/lib/asn/src/QuantityConfigCDMA2000.c deleted file mode 100644 index f59673509..000000000 --- a/lte/rrc/lib/asn/src/QuantityConfigCDMA2000.c +++ /dev/null @@ -1,199 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/QuantityConfigCDMA2000.h" - -static int -measQuantityCDMA2000_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -measQuantityCDMA2000_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -measQuantityCDMA2000_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - measQuantityCDMA2000_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -measQuantityCDMA2000_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - measQuantityCDMA2000_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -measQuantityCDMA2000_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - measQuantityCDMA2000_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -measQuantityCDMA2000_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - measQuantityCDMA2000_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -measQuantityCDMA2000_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - measQuantityCDMA2000_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -measQuantityCDMA2000_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - measQuantityCDMA2000_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -measQuantityCDMA2000_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - measQuantityCDMA2000_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -measQuantityCDMA2000_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - measQuantityCDMA2000_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_measQuantityCDMA2000_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_measQuantityCDMA2000_value2enum_2[] = { - { 0, 13, "pilotStrength" }, - { 1, 28, "pilotPnPhaseAndPilotStrength" } -}; -static unsigned int asn_MAP_measQuantityCDMA2000_enum2value_2[] = { - 1, /* pilotPnPhaseAndPilotStrength(1) */ - 0 /* pilotStrength(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_measQuantityCDMA2000_specs_2 = { - asn_MAP_measQuantityCDMA2000_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_measQuantityCDMA2000_enum2value_2, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_measQuantityCDMA2000_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_measQuantityCDMA2000_2 = { - "measQuantityCDMA2000", - "measQuantityCDMA2000", - measQuantityCDMA2000_2_free, - measQuantityCDMA2000_2_print, - measQuantityCDMA2000_2_constraint, - measQuantityCDMA2000_2_decode_ber, - measQuantityCDMA2000_2_encode_der, - measQuantityCDMA2000_2_decode_xer, - measQuantityCDMA2000_2_encode_xer, - measQuantityCDMA2000_2_decode_uper, - measQuantityCDMA2000_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_measQuantityCDMA2000_tags_2, - sizeof(asn_DEF_measQuantityCDMA2000_tags_2) - /sizeof(asn_DEF_measQuantityCDMA2000_tags_2[0]) - 1, /* 1 */ - asn_DEF_measQuantityCDMA2000_tags_2, /* Same as above */ - sizeof(asn_DEF_measQuantityCDMA2000_tags_2) - /sizeof(asn_DEF_measQuantityCDMA2000_tags_2[0]), /* 2 */ - &asn_PER_type_measQuantityCDMA2000_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_measQuantityCDMA2000_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_QuantityConfigCDMA2000_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct QuantityConfigCDMA2000, measQuantityCDMA2000), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_measQuantityCDMA2000_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measQuantityCDMA2000" - }, -}; -static ber_tlv_tag_t asn_DEF_QuantityConfigCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_QuantityConfigCDMA2000_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* measQuantityCDMA2000 at 3492 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_QuantityConfigCDMA2000_specs_1 = { - sizeof(struct QuantityConfigCDMA2000), - offsetof(struct QuantityConfigCDMA2000, _asn_ctx), - asn_MAP_QuantityConfigCDMA2000_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_QuantityConfigCDMA2000 = { - "QuantityConfigCDMA2000", - "QuantityConfigCDMA2000", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_QuantityConfigCDMA2000_tags_1, - sizeof(asn_DEF_QuantityConfigCDMA2000_tags_1) - /sizeof(asn_DEF_QuantityConfigCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_QuantityConfigCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_QuantityConfigCDMA2000_tags_1) - /sizeof(asn_DEF_QuantityConfigCDMA2000_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_QuantityConfigCDMA2000_1, - 1, /* Elements count */ - &asn_SPC_QuantityConfigCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/QuantityConfigEUTRA.c b/lte/rrc/lib/asn/src/QuantityConfigEUTRA.c deleted file mode 100644 index bdaa446c3..000000000 --- a/lte/rrc/lib/asn/src/QuantityConfigEUTRA.c +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/QuantityConfigEUTRA.h" - -static int asn_DFL_2_set_4(int set_value, void **sptr) { - FilterCoefficient_t *st = *sptr; - - if(!st) { - if(!set_value) return -1; /* Not a default value */ - st = (*sptr = CALLOC(1, sizeof(*st))); - if(!st) return -1; - } - - if(set_value) { - /* Install default value 4 */ - *st = 4; - return 0; - } else { - /* Test default value 4 */ - return (*st == 4); - } -} -static int asn_DFL_3_set_4(int set_value, void **sptr) { - FilterCoefficient_t *st = *sptr; - - if(!st) { - if(!set_value) return -1; /* Not a default value */ - st = (*sptr = CALLOC(1, sizeof(*st))); - if(!st) return -1; - } - - if(set_value) { - /* Install default value 4 */ - *st = 4; - return 0; - } else { - /* Test default value 4 */ - return (*st == 4); - } -} -static asn_TYPE_member_t asn_MBR_QuantityConfigEUTRA_1[] = { - { ATF_POINTER, 2, offsetof(struct QuantityConfigEUTRA, filterCoefficientRSRP), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_FilterCoefficient, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - asn_DFL_2_set_4, /* DEFAULT 4 */ - "filterCoefficientRSRP" - }, - { ATF_POINTER, 1, offsetof(struct QuantityConfigEUTRA, filterCoefficientRSRQ), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_FilterCoefficient, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - asn_DFL_3_set_4, /* DEFAULT 4 */ - "filterCoefficientRSRQ" - }, -}; -static int asn_MAP_QuantityConfigEUTRA_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_QuantityConfigEUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_QuantityConfigEUTRA_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* filterCoefficientRSRP at 3472 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* filterCoefficientRSRQ at 3473 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_QuantityConfigEUTRA_specs_1 = { - sizeof(struct QuantityConfigEUTRA), - offsetof(struct QuantityConfigEUTRA, _asn_ctx), - asn_MAP_QuantityConfigEUTRA_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_QuantityConfigEUTRA_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_QuantityConfigEUTRA = { - "QuantityConfigEUTRA", - "QuantityConfigEUTRA", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_QuantityConfigEUTRA_tags_1, - sizeof(asn_DEF_QuantityConfigEUTRA_tags_1) - /sizeof(asn_DEF_QuantityConfigEUTRA_tags_1[0]), /* 1 */ - asn_DEF_QuantityConfigEUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_QuantityConfigEUTRA_tags_1) - /sizeof(asn_DEF_QuantityConfigEUTRA_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_QuantityConfigEUTRA_1, - 2, /* Elements count */ - &asn_SPC_QuantityConfigEUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/QuantityConfigGERAN.c b/lte/rrc/lib/asn/src/QuantityConfigGERAN.c deleted file mode 100644 index 386b56b07..000000000 --- a/lte/rrc/lib/asn/src/QuantityConfigGERAN.c +++ /dev/null @@ -1,227 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/QuantityConfigGERAN.h" - -static int -measQuantityGERAN_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -measQuantityGERAN_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -measQuantityGERAN_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - measQuantityGERAN_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -measQuantityGERAN_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - measQuantityGERAN_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -measQuantityGERAN_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - measQuantityGERAN_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -measQuantityGERAN_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - measQuantityGERAN_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -measQuantityGERAN_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - measQuantityGERAN_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -measQuantityGERAN_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - measQuantityGERAN_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -measQuantityGERAN_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - measQuantityGERAN_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -measQuantityGERAN_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - measQuantityGERAN_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_measQuantityGERAN_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_measQuantityGERAN_value2enum_2[] = { - { 0, 4, "rssi" } -}; -static unsigned int asn_MAP_measQuantityGERAN_enum2value_2[] = { - 0 /* rssi(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_measQuantityGERAN_specs_2 = { - asn_MAP_measQuantityGERAN_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_measQuantityGERAN_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_measQuantityGERAN_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_measQuantityGERAN_2 = { - "measQuantityGERAN", - "measQuantityGERAN", - measQuantityGERAN_2_free, - measQuantityGERAN_2_print, - measQuantityGERAN_2_constraint, - measQuantityGERAN_2_decode_ber, - measQuantityGERAN_2_encode_der, - measQuantityGERAN_2_decode_xer, - measQuantityGERAN_2_encode_xer, - measQuantityGERAN_2_decode_uper, - measQuantityGERAN_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_measQuantityGERAN_tags_2, - sizeof(asn_DEF_measQuantityGERAN_tags_2) - /sizeof(asn_DEF_measQuantityGERAN_tags_2[0]) - 1, /* 1 */ - asn_DEF_measQuantityGERAN_tags_2, /* Same as above */ - sizeof(asn_DEF_measQuantityGERAN_tags_2) - /sizeof(asn_DEF_measQuantityGERAN_tags_2[0]), /* 2 */ - &asn_PER_type_measQuantityGERAN_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_measQuantityGERAN_specs_2 /* Additional specs */ -}; - -static int asn_DFL_4_set_2(int set_value, void **sptr) { - FilterCoefficient_t *st = *sptr; - - if(!st) { - if(!set_value) return -1; /* Not a default value */ - st = (*sptr = CALLOC(1, sizeof(*st))); - if(!st) return -1; - } - - if(set_value) { - /* Install default value 2 */ - *st = 2; - return 0; - } else { - /* Test default value 2 */ - return (*st == 2); - } -} -static asn_TYPE_member_t asn_MBR_QuantityConfigGERAN_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct QuantityConfigGERAN, measQuantityGERAN), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_measQuantityGERAN_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measQuantityGERAN" - }, - { ATF_POINTER, 1, offsetof(struct QuantityConfigGERAN, filterCoefficient), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_FilterCoefficient, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - asn_DFL_4_set_2, /* DEFAULT 2 */ - "filterCoefficient" - }, -}; -static int asn_MAP_QuantityConfigGERAN_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_QuantityConfigGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_QuantityConfigGERAN_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measQuantityGERAN at 3487 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* filterCoefficient at 3488 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_QuantityConfigGERAN_specs_1 = { - sizeof(struct QuantityConfigGERAN), - offsetof(struct QuantityConfigGERAN, _asn_ctx), - asn_MAP_QuantityConfigGERAN_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_QuantityConfigGERAN_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_QuantityConfigGERAN = { - "QuantityConfigGERAN", - "QuantityConfigGERAN", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_QuantityConfigGERAN_tags_1, - sizeof(asn_DEF_QuantityConfigGERAN_tags_1) - /sizeof(asn_DEF_QuantityConfigGERAN_tags_1[0]), /* 1 */ - asn_DEF_QuantityConfigGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_QuantityConfigGERAN_tags_1) - /sizeof(asn_DEF_QuantityConfigGERAN_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_QuantityConfigGERAN_1, - 2, /* Elements count */ - &asn_SPC_QuantityConfigGERAN_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/QuantityConfigUTRA-v1020.c b/lte/rrc/lib/asn/src/QuantityConfigUTRA-v1020.c deleted file mode 100644 index 3f234e14f..000000000 --- a/lte/rrc/lib/asn/src/QuantityConfigUTRA-v1020.c +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/QuantityConfigUTRA-v1020.h" - -static int asn_DFL_2_set_4(int set_value, void **sptr) { - FilterCoefficient_t *st = *sptr; - - if(!st) { - if(!set_value) return -1; /* Not a default value */ - st = (*sptr = CALLOC(1, sizeof(*st))); - if(!st) return -1; - } - - if(set_value) { - /* Install default value 4 */ - *st = 4; - return 0; - } else { - /* Test default value 4 */ - return (*st == 4); - } -} -static asn_TYPE_member_t asn_MBR_QuantityConfigUTRA_v1020_1[] = { - { ATF_POINTER, 1, offsetof(struct QuantityConfigUTRA_v1020, filterCoefficient2_FDD_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_FilterCoefficient, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - asn_DFL_2_set_4, /* DEFAULT 4 */ - "filterCoefficient2-FDD-r10" - }, -}; -static int asn_MAP_QuantityConfigUTRA_v1020_oms_1[] = { 0 }; -static ber_tlv_tag_t asn_DEF_QuantityConfigUTRA_v1020_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_QuantityConfigUTRA_v1020_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* filterCoefficient2-FDD-r10 at 3483 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_QuantityConfigUTRA_v1020_specs_1 = { - sizeof(struct QuantityConfigUTRA_v1020), - offsetof(struct QuantityConfigUTRA_v1020, _asn_ctx), - asn_MAP_QuantityConfigUTRA_v1020_tag2el_1, - 1, /* Count of tags in the map */ - asn_MAP_QuantityConfigUTRA_v1020_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_QuantityConfigUTRA_v1020 = { - "QuantityConfigUTRA-v1020", - "QuantityConfigUTRA-v1020", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_QuantityConfigUTRA_v1020_tags_1, - sizeof(asn_DEF_QuantityConfigUTRA_v1020_tags_1) - /sizeof(asn_DEF_QuantityConfigUTRA_v1020_tags_1[0]), /* 1 */ - asn_DEF_QuantityConfigUTRA_v1020_tags_1, /* Same as above */ - sizeof(asn_DEF_QuantityConfigUTRA_v1020_tags_1) - /sizeof(asn_DEF_QuantityConfigUTRA_v1020_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_QuantityConfigUTRA_v1020_1, - 1, /* Elements count */ - &asn_SPC_QuantityConfigUTRA_v1020_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/QuantityConfigUTRA.c b/lte/rrc/lib/asn/src/QuantityConfigUTRA.c deleted file mode 100644 index ca96990c4..000000000 --- a/lte/rrc/lib/asn/src/QuantityConfigUTRA.c +++ /dev/null @@ -1,376 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/QuantityConfigUTRA.h" - -static int -measQuantityUTRA_FDD_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -measQuantityUTRA_FDD_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -measQuantityUTRA_FDD_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - measQuantityUTRA_FDD_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -measQuantityUTRA_FDD_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - measQuantityUTRA_FDD_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -measQuantityUTRA_FDD_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - measQuantityUTRA_FDD_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -measQuantityUTRA_FDD_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - measQuantityUTRA_FDD_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -measQuantityUTRA_FDD_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - measQuantityUTRA_FDD_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -measQuantityUTRA_FDD_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - measQuantityUTRA_FDD_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -measQuantityUTRA_FDD_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - measQuantityUTRA_FDD_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -measQuantityUTRA_FDD_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - measQuantityUTRA_FDD_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -measQuantityUTRA_TDD_5_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -measQuantityUTRA_TDD_5_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -measQuantityUTRA_TDD_5_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - measQuantityUTRA_TDD_5_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -measQuantityUTRA_TDD_5_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - measQuantityUTRA_TDD_5_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -measQuantityUTRA_TDD_5_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - measQuantityUTRA_TDD_5_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -measQuantityUTRA_TDD_5_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - measQuantityUTRA_TDD_5_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -measQuantityUTRA_TDD_5_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - measQuantityUTRA_TDD_5_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -measQuantityUTRA_TDD_5_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - measQuantityUTRA_TDD_5_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -measQuantityUTRA_TDD_5_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - measQuantityUTRA_TDD_5_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -measQuantityUTRA_TDD_5_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - measQuantityUTRA_TDD_5_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_measQuantityUTRA_FDD_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_measQuantityUTRA_TDD_constr_5 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_measQuantityUTRA_FDD_value2enum_2[] = { - { 0, 10, "cpich-RSCP" }, - { 1, 10, "cpich-EcN0" } -}; -static unsigned int asn_MAP_measQuantityUTRA_FDD_enum2value_2[] = { - 1, /* cpich-EcN0(1) */ - 0 /* cpich-RSCP(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_measQuantityUTRA_FDD_specs_2 = { - asn_MAP_measQuantityUTRA_FDD_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_measQuantityUTRA_FDD_enum2value_2, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_measQuantityUTRA_FDD_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_measQuantityUTRA_FDD_2 = { - "measQuantityUTRA-FDD", - "measQuantityUTRA-FDD", - measQuantityUTRA_FDD_2_free, - measQuantityUTRA_FDD_2_print, - measQuantityUTRA_FDD_2_constraint, - measQuantityUTRA_FDD_2_decode_ber, - measQuantityUTRA_FDD_2_encode_der, - measQuantityUTRA_FDD_2_decode_xer, - measQuantityUTRA_FDD_2_encode_xer, - measQuantityUTRA_FDD_2_decode_uper, - measQuantityUTRA_FDD_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_measQuantityUTRA_FDD_tags_2, - sizeof(asn_DEF_measQuantityUTRA_FDD_tags_2) - /sizeof(asn_DEF_measQuantityUTRA_FDD_tags_2[0]) - 1, /* 1 */ - asn_DEF_measQuantityUTRA_FDD_tags_2, /* Same as above */ - sizeof(asn_DEF_measQuantityUTRA_FDD_tags_2) - /sizeof(asn_DEF_measQuantityUTRA_FDD_tags_2[0]), /* 2 */ - &asn_PER_type_measQuantityUTRA_FDD_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_measQuantityUTRA_FDD_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_measQuantityUTRA_TDD_value2enum_5[] = { - { 0, 11, "pccpch-RSCP" } -}; -static unsigned int asn_MAP_measQuantityUTRA_TDD_enum2value_5[] = { - 0 /* pccpch-RSCP(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_measQuantityUTRA_TDD_specs_5 = { - asn_MAP_measQuantityUTRA_TDD_value2enum_5, /* "tag" => N; sorted by tag */ - asn_MAP_measQuantityUTRA_TDD_enum2value_5, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_measQuantityUTRA_TDD_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_measQuantityUTRA_TDD_5 = { - "measQuantityUTRA-TDD", - "measQuantityUTRA-TDD", - measQuantityUTRA_TDD_5_free, - measQuantityUTRA_TDD_5_print, - measQuantityUTRA_TDD_5_constraint, - measQuantityUTRA_TDD_5_decode_ber, - measQuantityUTRA_TDD_5_encode_der, - measQuantityUTRA_TDD_5_decode_xer, - measQuantityUTRA_TDD_5_encode_xer, - measQuantityUTRA_TDD_5_decode_uper, - measQuantityUTRA_TDD_5_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_measQuantityUTRA_TDD_tags_5, - sizeof(asn_DEF_measQuantityUTRA_TDD_tags_5) - /sizeof(asn_DEF_measQuantityUTRA_TDD_tags_5[0]) - 1, /* 1 */ - asn_DEF_measQuantityUTRA_TDD_tags_5, /* Same as above */ - sizeof(asn_DEF_measQuantityUTRA_TDD_tags_5) - /sizeof(asn_DEF_measQuantityUTRA_TDD_tags_5[0]), /* 2 */ - &asn_PER_type_measQuantityUTRA_TDD_constr_5, - 0, 0, /* Defined elsewhere */ - &asn_SPC_measQuantityUTRA_TDD_specs_5 /* Additional specs */ -}; - -static int asn_DFL_7_set_4(int set_value, void **sptr) { - FilterCoefficient_t *st = *sptr; - - if(!st) { - if(!set_value) return -1; /* Not a default value */ - st = (*sptr = CALLOC(1, sizeof(*st))); - if(!st) return -1; - } - - if(set_value) { - /* Install default value 4 */ - *st = 4; - return 0; - } else { - /* Test default value 4 */ - return (*st == 4); - } -} -static asn_TYPE_member_t asn_MBR_QuantityConfigUTRA_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct QuantityConfigUTRA, measQuantityUTRA_FDD), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_measQuantityUTRA_FDD_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measQuantityUTRA-FDD" - }, - { ATF_NOFLAGS, 0, offsetof(struct QuantityConfigUTRA, measQuantityUTRA_TDD), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_measQuantityUTRA_TDD_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measQuantityUTRA-TDD" - }, - { ATF_POINTER, 1, offsetof(struct QuantityConfigUTRA, filterCoefficient), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_FilterCoefficient, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - asn_DFL_7_set_4, /* DEFAULT 4 */ - "filterCoefficient" - }, -}; -static int asn_MAP_QuantityConfigUTRA_oms_1[] = { 2 }; -static ber_tlv_tag_t asn_DEF_QuantityConfigUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_QuantityConfigUTRA_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measQuantityUTRA-FDD at 3477 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measQuantityUTRA-TDD at 3478 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* filterCoefficient at 3479 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_QuantityConfigUTRA_specs_1 = { - sizeof(struct QuantityConfigUTRA), - offsetof(struct QuantityConfigUTRA, _asn_ctx), - asn_MAP_QuantityConfigUTRA_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_QuantityConfigUTRA_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_QuantityConfigUTRA = { - "QuantityConfigUTRA", - "QuantityConfigUTRA", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_QuantityConfigUTRA_tags_1, - sizeof(asn_DEF_QuantityConfigUTRA_tags_1) - /sizeof(asn_DEF_QuantityConfigUTRA_tags_1[0]), /* 1 */ - asn_DEF_QuantityConfigUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_QuantityConfigUTRA_tags_1) - /sizeof(asn_DEF_QuantityConfigUTRA_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_QuantityConfigUTRA_1, - 3, /* Elements count */ - &asn_SPC_QuantityConfigUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RACH-ConfigCommon.c b/lte/rrc/lib/asn/src/RACH-ConfigCommon.c deleted file mode 100644 index a2b33b56f..000000000 --- a/lte/rrc/lib/asn/src/RACH-ConfigCommon.c +++ /dev/null @@ -1,1789 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RACH-ConfigCommon.h" - -static int -numberOfRA_Preambles_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -numberOfRA_Preambles_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -numberOfRA_Preambles_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - numberOfRA_Preambles_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -numberOfRA_Preambles_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - numberOfRA_Preambles_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -numberOfRA_Preambles_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - numberOfRA_Preambles_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -numberOfRA_Preambles_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - numberOfRA_Preambles_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -numberOfRA_Preambles_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - numberOfRA_Preambles_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -numberOfRA_Preambles_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - numberOfRA_Preambles_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -numberOfRA_Preambles_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - numberOfRA_Preambles_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -numberOfRA_Preambles_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - numberOfRA_Preambles_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -sizeOfRA_PreamblesGroupA_21_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -sizeOfRA_PreamblesGroupA_21_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -sizeOfRA_PreamblesGroupA_21_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - sizeOfRA_PreamblesGroupA_21_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -sizeOfRA_PreamblesGroupA_21_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - sizeOfRA_PreamblesGroupA_21_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -sizeOfRA_PreamblesGroupA_21_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - sizeOfRA_PreamblesGroupA_21_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -sizeOfRA_PreamblesGroupA_21_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - sizeOfRA_PreamblesGroupA_21_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -sizeOfRA_PreamblesGroupA_21_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - sizeOfRA_PreamblesGroupA_21_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -sizeOfRA_PreamblesGroupA_21_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - sizeOfRA_PreamblesGroupA_21_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -sizeOfRA_PreamblesGroupA_21_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - sizeOfRA_PreamblesGroupA_21_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -sizeOfRA_PreamblesGroupA_21_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - sizeOfRA_PreamblesGroupA_21_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -messageSizeGroupA_37_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -messageSizeGroupA_37_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -messageSizeGroupA_37_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - messageSizeGroupA_37_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -messageSizeGroupA_37_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - messageSizeGroupA_37_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -messageSizeGroupA_37_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - messageSizeGroupA_37_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -messageSizeGroupA_37_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - messageSizeGroupA_37_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -messageSizeGroupA_37_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - messageSizeGroupA_37_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -messageSizeGroupA_37_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - messageSizeGroupA_37_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -messageSizeGroupA_37_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - messageSizeGroupA_37_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -messageSizeGroupA_37_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - messageSizeGroupA_37_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -messagePowerOffsetGroupB_42_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -messagePowerOffsetGroupB_42_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -messagePowerOffsetGroupB_42_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - messagePowerOffsetGroupB_42_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -messagePowerOffsetGroupB_42_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - messagePowerOffsetGroupB_42_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -messagePowerOffsetGroupB_42_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - messagePowerOffsetGroupB_42_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -messagePowerOffsetGroupB_42_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - messagePowerOffsetGroupB_42_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -messagePowerOffsetGroupB_42_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - messagePowerOffsetGroupB_42_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -messagePowerOffsetGroupB_42_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - messagePowerOffsetGroupB_42_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -messagePowerOffsetGroupB_42_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - messagePowerOffsetGroupB_42_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -messagePowerOffsetGroupB_42_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - messagePowerOffsetGroupB_42_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -powerRampingStep_53_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -powerRampingStep_53_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -powerRampingStep_53_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - powerRampingStep_53_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -powerRampingStep_53_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - powerRampingStep_53_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -powerRampingStep_53_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - powerRampingStep_53_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -powerRampingStep_53_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - powerRampingStep_53_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -powerRampingStep_53_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - powerRampingStep_53_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -powerRampingStep_53_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - powerRampingStep_53_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -powerRampingStep_53_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - powerRampingStep_53_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -powerRampingStep_53_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - powerRampingStep_53_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -preambleInitialReceivedTargetPower_58_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -preambleInitialReceivedTargetPower_58_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -preambleInitialReceivedTargetPower_58_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - preambleInitialReceivedTargetPower_58_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -preambleInitialReceivedTargetPower_58_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - preambleInitialReceivedTargetPower_58_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -preambleInitialReceivedTargetPower_58_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - preambleInitialReceivedTargetPower_58_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -preambleInitialReceivedTargetPower_58_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - preambleInitialReceivedTargetPower_58_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -preambleInitialReceivedTargetPower_58_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - preambleInitialReceivedTargetPower_58_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -preambleInitialReceivedTargetPower_58_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - preambleInitialReceivedTargetPower_58_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -preambleInitialReceivedTargetPower_58_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - preambleInitialReceivedTargetPower_58_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -preambleInitialReceivedTargetPower_58_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - preambleInitialReceivedTargetPower_58_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -preambleTransMax_76_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -preambleTransMax_76_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -preambleTransMax_76_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - preambleTransMax_76_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -preambleTransMax_76_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - preambleTransMax_76_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -preambleTransMax_76_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - preambleTransMax_76_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -preambleTransMax_76_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - preambleTransMax_76_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -preambleTransMax_76_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - preambleTransMax_76_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -preambleTransMax_76_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - preambleTransMax_76_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -preambleTransMax_76_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - preambleTransMax_76_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -preambleTransMax_76_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - preambleTransMax_76_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -ra_ResponseWindowSize_88_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -ra_ResponseWindowSize_88_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -ra_ResponseWindowSize_88_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ra_ResponseWindowSize_88_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -ra_ResponseWindowSize_88_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ra_ResponseWindowSize_88_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -ra_ResponseWindowSize_88_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ra_ResponseWindowSize_88_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -ra_ResponseWindowSize_88_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ra_ResponseWindowSize_88_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -ra_ResponseWindowSize_88_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ra_ResponseWindowSize_88_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -ra_ResponseWindowSize_88_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ra_ResponseWindowSize_88_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -ra_ResponseWindowSize_88_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ra_ResponseWindowSize_88_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -ra_ResponseWindowSize_88_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ra_ResponseWindowSize_88_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -mac_ContentionResolutionTimer_97_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -mac_ContentionResolutionTimer_97_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -mac_ContentionResolutionTimer_97_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - mac_ContentionResolutionTimer_97_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -mac_ContentionResolutionTimer_97_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - mac_ContentionResolutionTimer_97_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -mac_ContentionResolutionTimer_97_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - mac_ContentionResolutionTimer_97_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -mac_ContentionResolutionTimer_97_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - mac_ContentionResolutionTimer_97_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -mac_ContentionResolutionTimer_97_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - mac_ContentionResolutionTimer_97_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -mac_ContentionResolutionTimer_97_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - mac_ContentionResolutionTimer_97_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -mac_ContentionResolutionTimer_97_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - mac_ContentionResolutionTimer_97_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -mac_ContentionResolutionTimer_97_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - mac_ContentionResolutionTimer_97_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_maxHARQ_Msg3Tx_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 8)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_numberOfRA_Preambles_constr_3 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_sizeOfRA_PreamblesGroupA_constr_21 = { - { APC_CONSTRAINED, 4, 4, 0, 14 } /* (0..14) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_messageSizeGroupA_constr_37 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_messagePowerOffsetGroupB_constr_42 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_powerRampingStep_constr_53 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_preambleInitialReceivedTargetPower_constr_58 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_preambleTransMax_constr_76 = { - { APC_CONSTRAINED, 4, 4, 0, 10 } /* (0..10) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_ra_ResponseWindowSize_constr_88 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_mac_ContentionResolutionTimer_constr_97 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_maxHARQ_Msg3Tx_constr_106 = { - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (1..8) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_numberOfRA_Preambles_value2enum_3[] = { - { 0, 2, "n4" }, - { 1, 2, "n8" }, - { 2, 3, "n12" }, - { 3, 3, "n16" }, - { 4, 3, "n20" }, - { 5, 3, "n24" }, - { 6, 3, "n28" }, - { 7, 3, "n32" }, - { 8, 3, "n36" }, - { 9, 3, "n40" }, - { 10, 3, "n44" }, - { 11, 3, "n48" }, - { 12, 3, "n52" }, - { 13, 3, "n56" }, - { 14, 3, "n60" }, - { 15, 3, "n64" } -}; -static unsigned int asn_MAP_numberOfRA_Preambles_enum2value_3[] = { - 2, /* n12(2) */ - 3, /* n16(3) */ - 4, /* n20(4) */ - 5, /* n24(5) */ - 6, /* n28(6) */ - 7, /* n32(7) */ - 8, /* n36(8) */ - 0, /* n4(0) */ - 9, /* n40(9) */ - 10, /* n44(10) */ - 11, /* n48(11) */ - 12, /* n52(12) */ - 13, /* n56(13) */ - 14, /* n60(14) */ - 15, /* n64(15) */ - 1 /* n8(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_numberOfRA_Preambles_specs_3 = { - asn_MAP_numberOfRA_Preambles_value2enum_3, /* "tag" => N; sorted by tag */ - asn_MAP_numberOfRA_Preambles_enum2value_3, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_numberOfRA_Preambles_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_numberOfRA_Preambles_3 = { - "numberOfRA-Preambles", - "numberOfRA-Preambles", - numberOfRA_Preambles_3_free, - numberOfRA_Preambles_3_print, - numberOfRA_Preambles_3_constraint, - numberOfRA_Preambles_3_decode_ber, - numberOfRA_Preambles_3_encode_der, - numberOfRA_Preambles_3_decode_xer, - numberOfRA_Preambles_3_encode_xer, - numberOfRA_Preambles_3_decode_uper, - numberOfRA_Preambles_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_numberOfRA_Preambles_tags_3, - sizeof(asn_DEF_numberOfRA_Preambles_tags_3) - /sizeof(asn_DEF_numberOfRA_Preambles_tags_3[0]) - 1, /* 1 */ - asn_DEF_numberOfRA_Preambles_tags_3, /* Same as above */ - sizeof(asn_DEF_numberOfRA_Preambles_tags_3) - /sizeof(asn_DEF_numberOfRA_Preambles_tags_3[0]), /* 2 */ - &asn_PER_type_numberOfRA_Preambles_constr_3, - 0, 0, /* Defined elsewhere */ - &asn_SPC_numberOfRA_Preambles_specs_3 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_sizeOfRA_PreamblesGroupA_value2enum_21[] = { - { 0, 2, "n4" }, - { 1, 2, "n8" }, - { 2, 3, "n12" }, - { 3, 3, "n16" }, - { 4, 3, "n20" }, - { 5, 3, "n24" }, - { 6, 3, "n28" }, - { 7, 3, "n32" }, - { 8, 3, "n36" }, - { 9, 3, "n40" }, - { 10, 3, "n44" }, - { 11, 3, "n48" }, - { 12, 3, "n52" }, - { 13, 3, "n56" }, - { 14, 3, "n60" } -}; -static unsigned int asn_MAP_sizeOfRA_PreamblesGroupA_enum2value_21[] = { - 2, /* n12(2) */ - 3, /* n16(3) */ - 4, /* n20(4) */ - 5, /* n24(5) */ - 6, /* n28(6) */ - 7, /* n32(7) */ - 8, /* n36(8) */ - 0, /* n4(0) */ - 9, /* n40(9) */ - 10, /* n44(10) */ - 11, /* n48(11) */ - 12, /* n52(12) */ - 13, /* n56(13) */ - 14, /* n60(14) */ - 1 /* n8(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_sizeOfRA_PreamblesGroupA_specs_21 = { - asn_MAP_sizeOfRA_PreamblesGroupA_value2enum_21, /* "tag" => N; sorted by tag */ - asn_MAP_sizeOfRA_PreamblesGroupA_enum2value_21, /* N => "tag"; sorted by N */ - 15, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_sizeOfRA_PreamblesGroupA_tags_21[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_sizeOfRA_PreamblesGroupA_21 = { - "sizeOfRA-PreamblesGroupA", - "sizeOfRA-PreamblesGroupA", - sizeOfRA_PreamblesGroupA_21_free, - sizeOfRA_PreamblesGroupA_21_print, - sizeOfRA_PreamblesGroupA_21_constraint, - sizeOfRA_PreamblesGroupA_21_decode_ber, - sizeOfRA_PreamblesGroupA_21_encode_der, - sizeOfRA_PreamblesGroupA_21_decode_xer, - sizeOfRA_PreamblesGroupA_21_encode_xer, - sizeOfRA_PreamblesGroupA_21_decode_uper, - sizeOfRA_PreamblesGroupA_21_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_sizeOfRA_PreamblesGroupA_tags_21, - sizeof(asn_DEF_sizeOfRA_PreamblesGroupA_tags_21) - /sizeof(asn_DEF_sizeOfRA_PreamblesGroupA_tags_21[0]) - 1, /* 1 */ - asn_DEF_sizeOfRA_PreamblesGroupA_tags_21, /* Same as above */ - sizeof(asn_DEF_sizeOfRA_PreamblesGroupA_tags_21) - /sizeof(asn_DEF_sizeOfRA_PreamblesGroupA_tags_21[0]), /* 2 */ - &asn_PER_type_sizeOfRA_PreamblesGroupA_constr_21, - 0, 0, /* Defined elsewhere */ - &asn_SPC_sizeOfRA_PreamblesGroupA_specs_21 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_messageSizeGroupA_value2enum_37[] = { - { 0, 3, "b56" }, - { 1, 4, "b144" }, - { 2, 4, "b208" }, - { 3, 4, "b256" } -}; -static unsigned int asn_MAP_messageSizeGroupA_enum2value_37[] = { - 1, /* b144(1) */ - 2, /* b208(2) */ - 3, /* b256(3) */ - 0 /* b56(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_messageSizeGroupA_specs_37 = { - asn_MAP_messageSizeGroupA_value2enum_37, /* "tag" => N; sorted by tag */ - asn_MAP_messageSizeGroupA_enum2value_37, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_messageSizeGroupA_tags_37[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_messageSizeGroupA_37 = { - "messageSizeGroupA", - "messageSizeGroupA", - messageSizeGroupA_37_free, - messageSizeGroupA_37_print, - messageSizeGroupA_37_constraint, - messageSizeGroupA_37_decode_ber, - messageSizeGroupA_37_encode_der, - messageSizeGroupA_37_decode_xer, - messageSizeGroupA_37_encode_xer, - messageSizeGroupA_37_decode_uper, - messageSizeGroupA_37_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_messageSizeGroupA_tags_37, - sizeof(asn_DEF_messageSizeGroupA_tags_37) - /sizeof(asn_DEF_messageSizeGroupA_tags_37[0]) - 1, /* 1 */ - asn_DEF_messageSizeGroupA_tags_37, /* Same as above */ - sizeof(asn_DEF_messageSizeGroupA_tags_37) - /sizeof(asn_DEF_messageSizeGroupA_tags_37[0]), /* 2 */ - &asn_PER_type_messageSizeGroupA_constr_37, - 0, 0, /* Defined elsewhere */ - &asn_SPC_messageSizeGroupA_specs_37 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_messagePowerOffsetGroupB_value2enum_42[] = { - { 0, 13, "minusinfinity" }, - { 1, 3, "dB0" }, - { 2, 3, "dB5" }, - { 3, 3, "dB8" }, - { 4, 4, "dB10" }, - { 5, 4, "dB12" }, - { 6, 4, "dB15" }, - { 7, 4, "dB18" } -}; -static unsigned int asn_MAP_messagePowerOffsetGroupB_enum2value_42[] = { - 1, /* dB0(1) */ - 4, /* dB10(4) */ - 5, /* dB12(5) */ - 6, /* dB15(6) */ - 7, /* dB18(7) */ - 2, /* dB5(2) */ - 3, /* dB8(3) */ - 0 /* minusinfinity(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_messagePowerOffsetGroupB_specs_42 = { - asn_MAP_messagePowerOffsetGroupB_value2enum_42, /* "tag" => N; sorted by tag */ - asn_MAP_messagePowerOffsetGroupB_enum2value_42, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_messagePowerOffsetGroupB_tags_42[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_messagePowerOffsetGroupB_42 = { - "messagePowerOffsetGroupB", - "messagePowerOffsetGroupB", - messagePowerOffsetGroupB_42_free, - messagePowerOffsetGroupB_42_print, - messagePowerOffsetGroupB_42_constraint, - messagePowerOffsetGroupB_42_decode_ber, - messagePowerOffsetGroupB_42_encode_der, - messagePowerOffsetGroupB_42_decode_xer, - messagePowerOffsetGroupB_42_encode_xer, - messagePowerOffsetGroupB_42_decode_uper, - messagePowerOffsetGroupB_42_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_messagePowerOffsetGroupB_tags_42, - sizeof(asn_DEF_messagePowerOffsetGroupB_tags_42) - /sizeof(asn_DEF_messagePowerOffsetGroupB_tags_42[0]) - 1, /* 1 */ - asn_DEF_messagePowerOffsetGroupB_tags_42, /* Same as above */ - sizeof(asn_DEF_messagePowerOffsetGroupB_tags_42) - /sizeof(asn_DEF_messagePowerOffsetGroupB_tags_42[0]), /* 2 */ - &asn_PER_type_messagePowerOffsetGroupB_constr_42, - 0, 0, /* Defined elsewhere */ - &asn_SPC_messagePowerOffsetGroupB_specs_42 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_preamblesGroupAConfig_20[] = { - { ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig, sizeOfRA_PreamblesGroupA), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_sizeOfRA_PreamblesGroupA_21, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sizeOfRA-PreamblesGroupA" - }, - { ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig, messageSizeGroupA), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_messageSizeGroupA_37, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "messageSizeGroupA" - }, - { ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig, messagePowerOffsetGroupB), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_messagePowerOffsetGroupB_42, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "messagePowerOffsetGroupB" - }, -}; -static ber_tlv_tag_t asn_DEF_preamblesGroupAConfig_tags_20[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_preamblesGroupAConfig_tag2el_20[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sizeOfRA-PreamblesGroupA at 2322 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* messageSizeGroupA at 2325 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* messagePowerOffsetGroupB at 2327 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_preamblesGroupAConfig_specs_20 = { - sizeof(struct RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig), - offsetof(struct RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig, _asn_ctx), - asn_MAP_preamblesGroupAConfig_tag2el_20, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 2, /* Start extensions */ - 4 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_preamblesGroupAConfig_20 = { - "preamblesGroupAConfig", - "preamblesGroupAConfig", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_preamblesGroupAConfig_tags_20, - sizeof(asn_DEF_preamblesGroupAConfig_tags_20) - /sizeof(asn_DEF_preamblesGroupAConfig_tags_20[0]) - 1, /* 1 */ - asn_DEF_preamblesGroupAConfig_tags_20, /* Same as above */ - sizeof(asn_DEF_preamblesGroupAConfig_tags_20) - /sizeof(asn_DEF_preamblesGroupAConfig_tags_20[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_preamblesGroupAConfig_20, - 3, /* Elements count */ - &asn_SPC_preamblesGroupAConfig_specs_20 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_preambleInfo_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon__preambleInfo, numberOfRA_Preambles), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_numberOfRA_Preambles_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "numberOfRA-Preambles" - }, - { ATF_POINTER, 1, offsetof(struct RACH_ConfigCommon__preambleInfo, preamblesGroupAConfig), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_preamblesGroupAConfig_20, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "preamblesGroupAConfig" - }, -}; -static int asn_MAP_preambleInfo_oms_2[] = { 1 }; -static ber_tlv_tag_t asn_DEF_preambleInfo_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_preambleInfo_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* numberOfRA-Preambles at 2317 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* preamblesGroupAConfig at 2324 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_preambleInfo_specs_2 = { - sizeof(struct RACH_ConfigCommon__preambleInfo), - offsetof(struct RACH_ConfigCommon__preambleInfo, _asn_ctx), - asn_MAP_preambleInfo_tag2el_2, - 2, /* Count of tags in the map */ - asn_MAP_preambleInfo_oms_2, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_preambleInfo_2 = { - "preambleInfo", - "preambleInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_preambleInfo_tags_2, - sizeof(asn_DEF_preambleInfo_tags_2) - /sizeof(asn_DEF_preambleInfo_tags_2[0]) - 1, /* 1 */ - asn_DEF_preambleInfo_tags_2, /* Same as above */ - sizeof(asn_DEF_preambleInfo_tags_2) - /sizeof(asn_DEF_preambleInfo_tags_2[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_preambleInfo_2, - 2, /* Elements count */ - &asn_SPC_preambleInfo_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_powerRampingStep_value2enum_53[] = { - { 0, 3, "dB0" }, - { 1, 3, "dB2" }, - { 2, 3, "dB4" }, - { 3, 3, "dB6" } -}; -static unsigned int asn_MAP_powerRampingStep_enum2value_53[] = { - 0, /* dB0(0) */ - 1, /* dB2(1) */ - 2, /* dB4(2) */ - 3 /* dB6(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_powerRampingStep_specs_53 = { - asn_MAP_powerRampingStep_value2enum_53, /* "tag" => N; sorted by tag */ - asn_MAP_powerRampingStep_enum2value_53, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_powerRampingStep_tags_53[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_powerRampingStep_53 = { - "powerRampingStep", - "powerRampingStep", - powerRampingStep_53_free, - powerRampingStep_53_print, - powerRampingStep_53_constraint, - powerRampingStep_53_decode_ber, - powerRampingStep_53_encode_der, - powerRampingStep_53_decode_xer, - powerRampingStep_53_encode_xer, - powerRampingStep_53_decode_uper, - powerRampingStep_53_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_powerRampingStep_tags_53, - sizeof(asn_DEF_powerRampingStep_tags_53) - /sizeof(asn_DEF_powerRampingStep_tags_53[0]) - 1, /* 1 */ - asn_DEF_powerRampingStep_tags_53, /* Same as above */ - sizeof(asn_DEF_powerRampingStep_tags_53) - /sizeof(asn_DEF_powerRampingStep_tags_53[0]), /* 2 */ - &asn_PER_type_powerRampingStep_constr_53, - 0, 0, /* Defined elsewhere */ - &asn_SPC_powerRampingStep_specs_53 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_preambleInitialReceivedTargetPower_value2enum_58[] = { - { 0, 7, "dBm-120" }, - { 1, 7, "dBm-118" }, - { 2, 7, "dBm-116" }, - { 3, 7, "dBm-114" }, - { 4, 7, "dBm-112" }, - { 5, 7, "dBm-110" }, - { 6, 7, "dBm-108" }, - { 7, 7, "dBm-106" }, - { 8, 7, "dBm-104" }, - { 9, 7, "dBm-102" }, - { 10, 7, "dBm-100" }, - { 11, 6, "dBm-98" }, - { 12, 6, "dBm-96" }, - { 13, 6, "dBm-94" }, - { 14, 6, "dBm-92" }, - { 15, 6, "dBm-90" } -}; -static unsigned int asn_MAP_preambleInitialReceivedTargetPower_enum2value_58[] = { - 10, /* dBm-100(10) */ - 9, /* dBm-102(9) */ - 8, /* dBm-104(8) */ - 7, /* dBm-106(7) */ - 6, /* dBm-108(6) */ - 5, /* dBm-110(5) */ - 4, /* dBm-112(4) */ - 3, /* dBm-114(3) */ - 2, /* dBm-116(2) */ - 1, /* dBm-118(1) */ - 0, /* dBm-120(0) */ - 15, /* dBm-90(15) */ - 14, /* dBm-92(14) */ - 13, /* dBm-94(13) */ - 12, /* dBm-96(12) */ - 11 /* dBm-98(11) */ -}; -static asn_INTEGER_specifics_t asn_SPC_preambleInitialReceivedTargetPower_specs_58 = { - asn_MAP_preambleInitialReceivedTargetPower_value2enum_58, /* "tag" => N; sorted by tag */ - asn_MAP_preambleInitialReceivedTargetPower_enum2value_58, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_preambleInitialReceivedTargetPower_tags_58[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_preambleInitialReceivedTargetPower_58 = { - "preambleInitialReceivedTargetPower", - "preambleInitialReceivedTargetPower", - preambleInitialReceivedTargetPower_58_free, - preambleInitialReceivedTargetPower_58_print, - preambleInitialReceivedTargetPower_58_constraint, - preambleInitialReceivedTargetPower_58_decode_ber, - preambleInitialReceivedTargetPower_58_encode_der, - preambleInitialReceivedTargetPower_58_decode_xer, - preambleInitialReceivedTargetPower_58_encode_xer, - preambleInitialReceivedTargetPower_58_decode_uper, - preambleInitialReceivedTargetPower_58_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_preambleInitialReceivedTargetPower_tags_58, - sizeof(asn_DEF_preambleInitialReceivedTargetPower_tags_58) - /sizeof(asn_DEF_preambleInitialReceivedTargetPower_tags_58[0]) - 1, /* 1 */ - asn_DEF_preambleInitialReceivedTargetPower_tags_58, /* Same as above */ - sizeof(asn_DEF_preambleInitialReceivedTargetPower_tags_58) - /sizeof(asn_DEF_preambleInitialReceivedTargetPower_tags_58[0]), /* 2 */ - &asn_PER_type_preambleInitialReceivedTargetPower_constr_58, - 0, 0, /* Defined elsewhere */ - &asn_SPC_preambleInitialReceivedTargetPower_specs_58 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_powerRampingParameters_52[] = { - { ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon__powerRampingParameters, powerRampingStep), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_powerRampingStep_53, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "powerRampingStep" - }, - { ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon__powerRampingParameters, preambleInitialReceivedTargetPower), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_preambleInitialReceivedTargetPower_58, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "preambleInitialReceivedTargetPower" - }, -}; -static ber_tlv_tag_t asn_DEF_powerRampingParameters_tags_52[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_powerRampingParameters_tag2el_52[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* powerRampingStep at 2333 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* preambleInitialReceivedTargetPower at 2335 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_powerRampingParameters_specs_52 = { - sizeof(struct RACH_ConfigCommon__powerRampingParameters), - offsetof(struct RACH_ConfigCommon__powerRampingParameters, _asn_ctx), - asn_MAP_powerRampingParameters_tag2el_52, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_powerRampingParameters_52 = { - "powerRampingParameters", - "powerRampingParameters", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_powerRampingParameters_tags_52, - sizeof(asn_DEF_powerRampingParameters_tags_52) - /sizeof(asn_DEF_powerRampingParameters_tags_52[0]) - 1, /* 1 */ - asn_DEF_powerRampingParameters_tags_52, /* Same as above */ - sizeof(asn_DEF_powerRampingParameters_tags_52) - /sizeof(asn_DEF_powerRampingParameters_tags_52[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_powerRampingParameters_52, - 2, /* Elements count */ - &asn_SPC_powerRampingParameters_specs_52 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_preambleTransMax_value2enum_76[] = { - { 0, 2, "n3" }, - { 1, 2, "n4" }, - { 2, 2, "n5" }, - { 3, 2, "n6" }, - { 4, 2, "n7" }, - { 5, 2, "n8" }, - { 6, 3, "n10" }, - { 7, 3, "n20" }, - { 8, 3, "n50" }, - { 9, 4, "n100" }, - { 10, 4, "n200" } -}; -static unsigned int asn_MAP_preambleTransMax_enum2value_76[] = { - 6, /* n10(6) */ - 9, /* n100(9) */ - 7, /* n20(7) */ - 10, /* n200(10) */ - 0, /* n3(0) */ - 1, /* n4(1) */ - 2, /* n5(2) */ - 8, /* n50(8) */ - 3, /* n6(3) */ - 4, /* n7(4) */ - 5 /* n8(5) */ -}; -static asn_INTEGER_specifics_t asn_SPC_preambleTransMax_specs_76 = { - asn_MAP_preambleTransMax_value2enum_76, /* "tag" => N; sorted by tag */ - asn_MAP_preambleTransMax_enum2value_76, /* N => "tag"; sorted by N */ - 11, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_preambleTransMax_tags_76[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_preambleTransMax_76 = { - "preambleTransMax", - "preambleTransMax", - preambleTransMax_76_free, - preambleTransMax_76_print, - preambleTransMax_76_constraint, - preambleTransMax_76_decode_ber, - preambleTransMax_76_encode_der, - preambleTransMax_76_decode_xer, - preambleTransMax_76_encode_xer, - preambleTransMax_76_decode_uper, - preambleTransMax_76_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_preambleTransMax_tags_76, - sizeof(asn_DEF_preambleTransMax_tags_76) - /sizeof(asn_DEF_preambleTransMax_tags_76[0]) - 1, /* 1 */ - asn_DEF_preambleTransMax_tags_76, /* Same as above */ - sizeof(asn_DEF_preambleTransMax_tags_76) - /sizeof(asn_DEF_preambleTransMax_tags_76[0]), /* 2 */ - &asn_PER_type_preambleTransMax_constr_76, - 0, 0, /* Defined elsewhere */ - &asn_SPC_preambleTransMax_specs_76 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_ra_ResponseWindowSize_value2enum_88[] = { - { 0, 3, "sf2" }, - { 1, 3, "sf3" }, - { 2, 3, "sf4" }, - { 3, 3, "sf5" }, - { 4, 3, "sf6" }, - { 5, 3, "sf7" }, - { 6, 3, "sf8" }, - { 7, 4, "sf10" } -}; -static unsigned int asn_MAP_ra_ResponseWindowSize_enum2value_88[] = { - 7, /* sf10(7) */ - 0, /* sf2(0) */ - 1, /* sf3(1) */ - 2, /* sf4(2) */ - 3, /* sf5(3) */ - 4, /* sf6(4) */ - 5, /* sf7(5) */ - 6 /* sf8(6) */ -}; -static asn_INTEGER_specifics_t asn_SPC_ra_ResponseWindowSize_specs_88 = { - asn_MAP_ra_ResponseWindowSize_value2enum_88, /* "tag" => N; sorted by tag */ - asn_MAP_ra_ResponseWindowSize_enum2value_88, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_ra_ResponseWindowSize_tags_88[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ra_ResponseWindowSize_88 = { - "ra-ResponseWindowSize", - "ra-ResponseWindowSize", - ra_ResponseWindowSize_88_free, - ra_ResponseWindowSize_88_print, - ra_ResponseWindowSize_88_constraint, - ra_ResponseWindowSize_88_decode_ber, - ra_ResponseWindowSize_88_encode_der, - ra_ResponseWindowSize_88_decode_xer, - ra_ResponseWindowSize_88_encode_xer, - ra_ResponseWindowSize_88_decode_uper, - ra_ResponseWindowSize_88_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ra_ResponseWindowSize_tags_88, - sizeof(asn_DEF_ra_ResponseWindowSize_tags_88) - /sizeof(asn_DEF_ra_ResponseWindowSize_tags_88[0]) - 1, /* 1 */ - asn_DEF_ra_ResponseWindowSize_tags_88, /* Same as above */ - sizeof(asn_DEF_ra_ResponseWindowSize_tags_88) - /sizeof(asn_DEF_ra_ResponseWindowSize_tags_88[0]), /* 2 */ - &asn_PER_type_ra_ResponseWindowSize_constr_88, - 0, 0, /* Defined elsewhere */ - &asn_SPC_ra_ResponseWindowSize_specs_88 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_mac_ContentionResolutionTimer_value2enum_97[] = { - { 0, 3, "sf8" }, - { 1, 4, "sf16" }, - { 2, 4, "sf24" }, - { 3, 4, "sf32" }, - { 4, 4, "sf40" }, - { 5, 4, "sf48" }, - { 6, 4, "sf56" }, - { 7, 4, "sf64" } -}; -static unsigned int asn_MAP_mac_ContentionResolutionTimer_enum2value_97[] = { - 1, /* sf16(1) */ - 2, /* sf24(2) */ - 3, /* sf32(3) */ - 4, /* sf40(4) */ - 5, /* sf48(5) */ - 6, /* sf56(6) */ - 7, /* sf64(7) */ - 0 /* sf8(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_mac_ContentionResolutionTimer_specs_97 = { - asn_MAP_mac_ContentionResolutionTimer_value2enum_97, /* "tag" => N; sorted by tag */ - asn_MAP_mac_ContentionResolutionTimer_enum2value_97, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_mac_ContentionResolutionTimer_tags_97[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_mac_ContentionResolutionTimer_97 = { - "mac-ContentionResolutionTimer", - "mac-ContentionResolutionTimer", - mac_ContentionResolutionTimer_97_free, - mac_ContentionResolutionTimer_97_print, - mac_ContentionResolutionTimer_97_constraint, - mac_ContentionResolutionTimer_97_decode_ber, - mac_ContentionResolutionTimer_97_encode_der, - mac_ContentionResolutionTimer_97_decode_xer, - mac_ContentionResolutionTimer_97_encode_xer, - mac_ContentionResolutionTimer_97_decode_uper, - mac_ContentionResolutionTimer_97_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_mac_ContentionResolutionTimer_tags_97, - sizeof(asn_DEF_mac_ContentionResolutionTimer_tags_97) - /sizeof(asn_DEF_mac_ContentionResolutionTimer_tags_97[0]) - 1, /* 1 */ - asn_DEF_mac_ContentionResolutionTimer_tags_97, /* Same as above */ - sizeof(asn_DEF_mac_ContentionResolutionTimer_tags_97) - /sizeof(asn_DEF_mac_ContentionResolutionTimer_tags_97[0]), /* 2 */ - &asn_PER_type_mac_ContentionResolutionTimer_constr_97, - 0, 0, /* Defined elsewhere */ - &asn_SPC_mac_ContentionResolutionTimer_specs_97 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ra_SupervisionInfo_75[] = { - { ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon__ra_SupervisionInfo, preambleTransMax), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_preambleTransMax_76, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "preambleTransMax" - }, - { ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon__ra_SupervisionInfo, ra_ResponseWindowSize), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ra_ResponseWindowSize_88, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ra-ResponseWindowSize" - }, - { ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon__ra_SupervisionInfo, mac_ContentionResolutionTimer), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_mac_ContentionResolutionTimer_97, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mac-ContentionResolutionTimer" - }, -}; -static ber_tlv_tag_t asn_DEF_ra_SupervisionInfo_tags_75[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ra_SupervisionInfo_tag2el_75[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* preambleTransMax at 2342 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ra-ResponseWindowSize at 2345 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* mac-ContentionResolutionTimer at 2348 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ra_SupervisionInfo_specs_75 = { - sizeof(struct RACH_ConfigCommon__ra_SupervisionInfo), - offsetof(struct RACH_ConfigCommon__ra_SupervisionInfo, _asn_ctx), - asn_MAP_ra_SupervisionInfo_tag2el_75, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ra_SupervisionInfo_75 = { - "ra-SupervisionInfo", - "ra-SupervisionInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ra_SupervisionInfo_tags_75, - sizeof(asn_DEF_ra_SupervisionInfo_tags_75) - /sizeof(asn_DEF_ra_SupervisionInfo_tags_75[0]) - 1, /* 1 */ - asn_DEF_ra_SupervisionInfo_tags_75, /* Same as above */ - sizeof(asn_DEF_ra_SupervisionInfo_tags_75) - /sizeof(asn_DEF_ra_SupervisionInfo_tags_75[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_ra_SupervisionInfo_75, - 3, /* Elements count */ - &asn_SPC_ra_SupervisionInfo_specs_75 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RACH_ConfigCommon_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon, preambleInfo), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_preambleInfo_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "preambleInfo" - }, - { ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon, powerRampingParameters), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_powerRampingParameters_52, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "powerRampingParameters" - }, - { ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon, ra_SupervisionInfo), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_ra_SupervisionInfo_75, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ra-SupervisionInfo" - }, - { ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon, maxHARQ_Msg3Tx), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_maxHARQ_Msg3Tx_constraint_1, - &asn_PER_memb_maxHARQ_Msg3Tx_constr_106, - 0, - "maxHARQ-Msg3Tx" - }, -}; -static ber_tlv_tag_t asn_DEF_RACH_ConfigCommon_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RACH_ConfigCommon_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* preambleInfo at 2319 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* powerRampingParameters at 2333 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ra-SupervisionInfo at 2343 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* maxHARQ-Msg3Tx at 2351 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RACH_ConfigCommon_specs_1 = { - sizeof(struct RACH_ConfigCommon), - offsetof(struct RACH_ConfigCommon, _asn_ctx), - asn_MAP_RACH_ConfigCommon_tag2el_1, - 4, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 3, /* Start extensions */ - 5 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RACH_ConfigCommon = { - "RACH-ConfigCommon", - "RACH-ConfigCommon", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RACH_ConfigCommon_tags_1, - sizeof(asn_DEF_RACH_ConfigCommon_tags_1) - /sizeof(asn_DEF_RACH_ConfigCommon_tags_1[0]), /* 1 */ - asn_DEF_RACH_ConfigCommon_tags_1, /* Same as above */ - sizeof(asn_DEF_RACH_ConfigCommon_tags_1) - /sizeof(asn_DEF_RACH_ConfigCommon_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RACH_ConfigCommon_1, - 4, /* Elements count */ - &asn_SPC_RACH_ConfigCommon_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RACH-ConfigDedicated.c b/lte/rrc/lib/asn/src/RACH-ConfigDedicated.c deleted file mode 100644 index d2aeeb11e..000000000 --- a/lte/rrc/lib/asn/src/RACH-ConfigDedicated.c +++ /dev/null @@ -1,130 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RACH-ConfigDedicated.h" - -static int -memb_ra_PreambleIndex_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 63)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_ra_PRACH_MaskIndex_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_ra_PreambleIndex_constr_2 = { - { APC_CONSTRAINED, 6, 6, 0, 63 } /* (0..63) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_ra_PRACH_MaskIndex_constr_3 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_RACH_ConfigDedicated_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigDedicated, ra_PreambleIndex), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_ra_PreambleIndex_constraint_1, - &asn_PER_memb_ra_PreambleIndex_constr_2, - 0, - "ra-PreambleIndex" - }, - { ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigDedicated, ra_PRACH_MaskIndex), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_ra_PRACH_MaskIndex_constraint_1, - &asn_PER_memb_ra_PRACH_MaskIndex_constr_3, - 0, - "ra-PRACH-MaskIndex" - }, -}; -static ber_tlv_tag_t asn_DEF_RACH_ConfigDedicated_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RACH_ConfigDedicated_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ra-PreambleIndex at 2357 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ra-PRACH-MaskIndex at 2358 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RACH_ConfigDedicated_specs_1 = { - sizeof(struct RACH_ConfigDedicated), - offsetof(struct RACH_ConfigDedicated, _asn_ctx), - asn_MAP_RACH_ConfigDedicated_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RACH_ConfigDedicated = { - "RACH-ConfigDedicated", - "RACH-ConfigDedicated", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RACH_ConfigDedicated_tags_1, - sizeof(asn_DEF_RACH_ConfigDedicated_tags_1) - /sizeof(asn_DEF_RACH_ConfigDedicated_tags_1[0]), /* 1 */ - asn_DEF_RACH_ConfigDedicated_tags_1, /* Same as above */ - sizeof(asn_DEF_RACH_ConfigDedicated_tags_1) - /sizeof(asn_DEF_RACH_ConfigDedicated_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RACH_ConfigDedicated_1, - 2, /* Elements count */ - &asn_SPC_RACH_ConfigDedicated_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RAND-CDMA2000.c b/lte/rrc/lib/asn/src/RAND-CDMA2000.c deleted file mode 100644 index 5f863776f..000000000 --- a/lte/rrc/lib/asn/src/RAND-CDMA2000.c +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RAND-CDMA2000.h" - -int -RAND_CDMA2000_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 32)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using BIT_STRING, - * so here we adjust the DEF accordingly. - */ -static void -RAND_CDMA2000_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_BIT_STRING.free_struct; - td->print_struct = asn_DEF_BIT_STRING.print_struct; - td->ber_decoder = asn_DEF_BIT_STRING.ber_decoder; - td->der_encoder = asn_DEF_BIT_STRING.der_encoder; - td->xer_decoder = asn_DEF_BIT_STRING.xer_decoder; - td->xer_encoder = asn_DEF_BIT_STRING.xer_encoder; - td->uper_decoder = asn_DEF_BIT_STRING.uper_decoder; - td->uper_encoder = asn_DEF_BIT_STRING.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_BIT_STRING.per_constraints; - td->elements = asn_DEF_BIT_STRING.elements; - td->elements_count = asn_DEF_BIT_STRING.elements_count; - td->specifics = asn_DEF_BIT_STRING.specifics; -} - -void -RAND_CDMA2000_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - RAND_CDMA2000_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -RAND_CDMA2000_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - RAND_CDMA2000_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -RAND_CDMA2000_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - RAND_CDMA2000_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -RAND_CDMA2000_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - RAND_CDMA2000_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -RAND_CDMA2000_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - RAND_CDMA2000_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -RAND_CDMA2000_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - RAND_CDMA2000_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -RAND_CDMA2000_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - RAND_CDMA2000_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -RAND_CDMA2000_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - RAND_CDMA2000_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_RAND_CDMA2000_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 32, 32 } /* (SIZE(32..32)) */, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_RAND_CDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RAND_CDMA2000 = { - "RAND-CDMA2000", - "RAND-CDMA2000", - RAND_CDMA2000_free, - RAND_CDMA2000_print, - RAND_CDMA2000_constraint, - RAND_CDMA2000_decode_ber, - RAND_CDMA2000_encode_der, - RAND_CDMA2000_decode_xer, - RAND_CDMA2000_encode_xer, - RAND_CDMA2000_decode_uper, - RAND_CDMA2000_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RAND_CDMA2000_tags_1, - sizeof(asn_DEF_RAND_CDMA2000_tags_1) - /sizeof(asn_DEF_RAND_CDMA2000_tags_1[0]), /* 1 */ - asn_DEF_RAND_CDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_RAND_CDMA2000_tags_1) - /sizeof(asn_DEF_RAND_CDMA2000_tags_1[0]), /* 1 */ - &asn_PER_type_RAND_CDMA2000_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/RAT-Type.c b/lte/rrc/lib/asn/src/RAT-Type.c deleted file mode 100644 index 9160ce3f5..000000000 --- a/lte/rrc/lib/asn/src/RAT-Type.c +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RAT-Type.h" - -int -RAT_Type_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -RAT_Type_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -RAT_Type_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - RAT_Type_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -RAT_Type_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - RAT_Type_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -RAT_Type_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - RAT_Type_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -RAT_Type_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - RAT_Type_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -RAT_Type_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - RAT_Type_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -RAT_Type_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - RAT_Type_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -RAT_Type_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - RAT_Type_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -RAT_Type_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - RAT_Type_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_RAT_Type_constr_1 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 7 } /* (0..7,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_RAT_Type_value2enum_1[] = { - { 0, 5, "eutra" }, - { 1, 4, "utra" }, - { 2, 8, "geran-cs" }, - { 3, 8, "geran-ps" }, - { 4, 14, "cdma2000-1XRTT" }, - { 5, 6, "spare3" }, - { 6, 6, "spare2" }, - { 7, 6, "spare1" } - /* This list is extensible */ -}; -static unsigned int asn_MAP_RAT_Type_enum2value_1[] = { - 4, /* cdma2000-1XRTT(4) */ - 0, /* eutra(0) */ - 2, /* geran-cs(2) */ - 3, /* geran-ps(3) */ - 7, /* spare1(7) */ - 6, /* spare2(6) */ - 5, /* spare3(5) */ - 1 /* utra(1) */ - /* This list is extensible */ -}; -static asn_INTEGER_specifics_t asn_SPC_RAT_Type_specs_1 = { - asn_MAP_RAT_Type_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_RAT_Type_enum2value_1, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 9, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_RAT_Type_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RAT_Type = { - "RAT-Type", - "RAT-Type", - RAT_Type_free, - RAT_Type_print, - RAT_Type_constraint, - RAT_Type_decode_ber, - RAT_Type_encode_der, - RAT_Type_decode_xer, - RAT_Type_encode_xer, - RAT_Type_decode_uper, - RAT_Type_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RAT_Type_tags_1, - sizeof(asn_DEF_RAT_Type_tags_1) - /sizeof(asn_DEF_RAT_Type_tags_1[0]), /* 1 */ - asn_DEF_RAT_Type_tags_1, /* Same as above */ - sizeof(asn_DEF_RAT_Type_tags_1) - /sizeof(asn_DEF_RAT_Type_tags_1[0]), /* 1 */ - &asn_PER_type_RAT_Type_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_RAT_Type_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RF-Parameters-v1020.c b/lte/rrc/lib/asn/src/RF-Parameters-v1020.c deleted file mode 100644 index f0347e0ef..000000000 --- a/lte/rrc/lib/asn/src/RF-Parameters-v1020.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RF-Parameters-v1020.h" - -static asn_TYPE_member_t asn_MBR_RF_Parameters_v1020_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RF_Parameters_v1020, supportedBandCombination_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SupportedBandCombination_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "supportedBandCombination-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_RF_Parameters_v1020_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RF_Parameters_v1020_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* supportedBandCombination-r10 at 3829 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RF_Parameters_v1020_specs_1 = { - sizeof(struct RF_Parameters_v1020), - offsetof(struct RF_Parameters_v1020, _asn_ctx), - asn_MAP_RF_Parameters_v1020_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RF_Parameters_v1020 = { - "RF-Parameters-v1020", - "RF-Parameters-v1020", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RF_Parameters_v1020_tags_1, - sizeof(asn_DEF_RF_Parameters_v1020_tags_1) - /sizeof(asn_DEF_RF_Parameters_v1020_tags_1[0]), /* 1 */ - asn_DEF_RF_Parameters_v1020_tags_1, /* Same as above */ - sizeof(asn_DEF_RF_Parameters_v1020_tags_1) - /sizeof(asn_DEF_RF_Parameters_v1020_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RF_Parameters_v1020_1, - 1, /* Elements count */ - &asn_SPC_RF_Parameters_v1020_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RF-Parameters.c b/lte/rrc/lib/asn/src/RF-Parameters.c deleted file mode 100644 index 428447fe9..000000000 --- a/lte/rrc/lib/asn/src/RF-Parameters.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RF-Parameters.h" - -static asn_TYPE_member_t asn_MBR_RF_Parameters_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RF_Parameters, supportedBandListEUTRA), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SupportedBandListEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "supportedBandListEUTRA" - }, -}; -static ber_tlv_tag_t asn_DEF_RF_Parameters_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RF_Parameters_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* supportedBandListEUTRA at 3825 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RF_Parameters_specs_1 = { - sizeof(struct RF_Parameters), - offsetof(struct RF_Parameters, _asn_ctx), - asn_MAP_RF_Parameters_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RF_Parameters = { - "RF-Parameters", - "RF-Parameters", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RF_Parameters_tags_1, - sizeof(asn_DEF_RF_Parameters_tags_1) - /sizeof(asn_DEF_RF_Parameters_tags_1[0]), /* 1 */ - asn_DEF_RF_Parameters_tags_1, /* Same as above */ - sizeof(asn_DEF_RF_Parameters_tags_1) - /sizeof(asn_DEF_RF_Parameters_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RF_Parameters_1, - 1, /* Elements count */ - &asn_SPC_RF_Parameters_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RLC-Config.c b/lte/rrc/lib/asn/src/RLC-Config.c deleted file mode 100644 index 302d4205a..000000000 --- a/lte/rrc/lib/asn/src/RLC-Config.c +++ /dev/null @@ -1,323 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RLC-Config.h" - -static asn_per_constraints_t asn_PER_type_RLC_Config_constr_1 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 3 } /* (0..3,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_am_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct RLC_Config__am, ul_AM_RLC), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UL_AM_RLC, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ul-AM-RLC" - }, - { ATF_NOFLAGS, 0, offsetof(struct RLC_Config__am, dl_AM_RLC), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DL_AM_RLC, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dl-AM-RLC" - }, -}; -static ber_tlv_tag_t asn_DEF_am_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_am_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ul-AM-RLC at 2513 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* dl-AM-RLC at 2515 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_am_specs_2 = { - sizeof(struct RLC_Config__am), - offsetof(struct RLC_Config__am, _asn_ctx), - asn_MAP_am_tag2el_2, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_am_2 = { - "am", - "am", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_am_tags_2, - sizeof(asn_DEF_am_tags_2) - /sizeof(asn_DEF_am_tags_2[0]) - 1, /* 1 */ - asn_DEF_am_tags_2, /* Same as above */ - sizeof(asn_DEF_am_tags_2) - /sizeof(asn_DEF_am_tags_2[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_am_2, - 2, /* Elements count */ - &asn_SPC_am_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_um_Bi_Directional_5[] = { - { ATF_NOFLAGS, 0, offsetof(struct RLC_Config__um_Bi_Directional, ul_UM_RLC), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UL_UM_RLC, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ul-UM-RLC" - }, - { ATF_NOFLAGS, 0, offsetof(struct RLC_Config__um_Bi_Directional, dl_UM_RLC), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DL_UM_RLC, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dl-UM-RLC" - }, -}; -static ber_tlv_tag_t asn_DEF_um_Bi_Directional_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_um_Bi_Directional_tag2el_5[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ul-UM-RLC at 2517 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* dl-UM-RLC at 2519 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_um_Bi_Directional_specs_5 = { - sizeof(struct RLC_Config__um_Bi_Directional), - offsetof(struct RLC_Config__um_Bi_Directional, _asn_ctx), - asn_MAP_um_Bi_Directional_tag2el_5, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_um_Bi_Directional_5 = { - "um-Bi-Directional", - "um-Bi-Directional", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_um_Bi_Directional_tags_5, - sizeof(asn_DEF_um_Bi_Directional_tags_5) - /sizeof(asn_DEF_um_Bi_Directional_tags_5[0]) - 1, /* 1 */ - asn_DEF_um_Bi_Directional_tags_5, /* Same as above */ - sizeof(asn_DEF_um_Bi_Directional_tags_5) - /sizeof(asn_DEF_um_Bi_Directional_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_um_Bi_Directional_5, - 2, /* Elements count */ - &asn_SPC_um_Bi_Directional_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_um_Uni_Directional_UL_8[] = { - { ATF_NOFLAGS, 0, offsetof(struct RLC_Config__um_Uni_Directional_UL, ul_UM_RLC), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UL_UM_RLC, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ul-UM-RLC" - }, -}; -static ber_tlv_tag_t asn_DEF_um_Uni_Directional_UL_tags_8[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_um_Uni_Directional_UL_tag2el_8[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* ul-UM-RLC at 2522 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_um_Uni_Directional_UL_specs_8 = { - sizeof(struct RLC_Config__um_Uni_Directional_UL), - offsetof(struct RLC_Config__um_Uni_Directional_UL, _asn_ctx), - asn_MAP_um_Uni_Directional_UL_tag2el_8, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_um_Uni_Directional_UL_8 = { - "um-Uni-Directional-UL", - "um-Uni-Directional-UL", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_um_Uni_Directional_UL_tags_8, - sizeof(asn_DEF_um_Uni_Directional_UL_tags_8) - /sizeof(asn_DEF_um_Uni_Directional_UL_tags_8[0]) - 1, /* 1 */ - asn_DEF_um_Uni_Directional_UL_tags_8, /* Same as above */ - sizeof(asn_DEF_um_Uni_Directional_UL_tags_8) - /sizeof(asn_DEF_um_Uni_Directional_UL_tags_8[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_um_Uni_Directional_UL_8, - 1, /* Elements count */ - &asn_SPC_um_Uni_Directional_UL_specs_8 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_um_Uni_Directional_DL_10[] = { - { ATF_NOFLAGS, 0, offsetof(struct RLC_Config__um_Uni_Directional_DL, dl_UM_RLC), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DL_UM_RLC, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dl-UM-RLC" - }, -}; -static ber_tlv_tag_t asn_DEF_um_Uni_Directional_DL_tags_10[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_um_Uni_Directional_DL_tag2el_10[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* dl-UM-RLC at 2525 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_um_Uni_Directional_DL_specs_10 = { - sizeof(struct RLC_Config__um_Uni_Directional_DL), - offsetof(struct RLC_Config__um_Uni_Directional_DL, _asn_ctx), - asn_MAP_um_Uni_Directional_DL_tag2el_10, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_um_Uni_Directional_DL_10 = { - "um-Uni-Directional-DL", - "um-Uni-Directional-DL", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_um_Uni_Directional_DL_tags_10, - sizeof(asn_DEF_um_Uni_Directional_DL_tags_10) - /sizeof(asn_DEF_um_Uni_Directional_DL_tags_10[0]) - 1, /* 1 */ - asn_DEF_um_Uni_Directional_DL_tags_10, /* Same as above */ - sizeof(asn_DEF_um_Uni_Directional_DL_tags_10) - /sizeof(asn_DEF_um_Uni_Directional_DL_tags_10[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_um_Uni_Directional_DL_10, - 1, /* Elements count */ - &asn_SPC_um_Uni_Directional_DL_specs_10 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RLC_Config_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RLC_Config, choice.am), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_am_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "am" - }, - { ATF_NOFLAGS, 0, offsetof(struct RLC_Config, choice.um_Bi_Directional), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_um_Bi_Directional_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "um-Bi-Directional" - }, - { ATF_NOFLAGS, 0, offsetof(struct RLC_Config, choice.um_Uni_Directional_UL), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_um_Uni_Directional_UL_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "um-Uni-Directional-UL" - }, - { ATF_NOFLAGS, 0, offsetof(struct RLC_Config, choice.um_Uni_Directional_DL), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - 0, - &asn_DEF_um_Uni_Directional_DL_10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "um-Uni-Directional-DL" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_RLC_Config_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* am at 2513 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* um-Bi-Directional at 2517 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* um-Uni-Directional-UL at 2522 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* um-Uni-Directional-DL at 2525 */ -}; -static asn_CHOICE_specifics_t asn_SPC_RLC_Config_specs_1 = { - sizeof(struct RLC_Config), - offsetof(struct RLC_Config, _asn_ctx), - offsetof(struct RLC_Config, present), - sizeof(((struct RLC_Config *)0)->present), - asn_MAP_RLC_Config_tag2el_1, - 4, /* Count of tags in the map */ - 0, - 4 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_RLC_Config = { - "RLC-Config", - "RLC-Config", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_RLC_Config_constr_1, - asn_MBR_RLC_Config_1, - 4, /* Elements count */ - &asn_SPC_RLC_Config_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RLF-Report-r9.c b/lte/rrc/lib/asn/src/RLF-Report-r9.c deleted file mode 100644 index b97fba3a1..000000000 --- a/lte/rrc/lib/asn/src/RLF-Report-r9.c +++ /dev/null @@ -1,577 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RLF-Report-r9.h" - -static int -connectionFailureType_r10_18_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -connectionFailureType_r10_18_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -connectionFailureType_r10_18_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - connectionFailureType_r10_18_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -connectionFailureType_r10_18_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - connectionFailureType_r10_18_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -connectionFailureType_r10_18_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - connectionFailureType_r10_18_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -connectionFailureType_r10_18_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - connectionFailureType_r10_18_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -connectionFailureType_r10_18_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - connectionFailureType_r10_18_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -connectionFailureType_r10_18_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - connectionFailureType_r10_18_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -connectionFailureType_r10_18_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - connectionFailureType_r10_18_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -connectionFailureType_r10_18_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - connectionFailureType_r10_18_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_timeConnFailure_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 1023)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_failedPCellId_r10_constr_11 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_connectionFailureType_r10_constr_18 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_timeConnFailure_r10_constr_17 = { - { APC_CONSTRAINED, 10, 10, 0, 1023 } /* (0..1023) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_measResultLastServCell_r9_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct RLF_Report_r9__measResultLastServCell_r9, rsrpResult_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RSRP_Range, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rsrpResult-r9" - }, - { ATF_POINTER, 1, offsetof(struct RLF_Report_r9__measResultLastServCell_r9, rsrqResult_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RSRQ_Range, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rsrqResult-r9" - }, -}; -static int asn_MAP_measResultLastServCell_r9_oms_2[] = { 1 }; -static ber_tlv_tag_t asn_DEF_measResultLastServCell_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_measResultLastServCell_r9_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rsrpResult-r9 at 1341 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* rsrqResult-r9 at 1342 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_measResultLastServCell_r9_specs_2 = { - sizeof(struct RLF_Report_r9__measResultLastServCell_r9), - offsetof(struct RLF_Report_r9__measResultLastServCell_r9, _asn_ctx), - asn_MAP_measResultLastServCell_r9_tag2el_2, - 2, /* Count of tags in the map */ - asn_MAP_measResultLastServCell_r9_oms_2, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_measResultLastServCell_r9_2 = { - "measResultLastServCell-r9", - "measResultLastServCell-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_measResultLastServCell_r9_tags_2, - sizeof(asn_DEF_measResultLastServCell_r9_tags_2) - /sizeof(asn_DEF_measResultLastServCell_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_measResultLastServCell_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_measResultLastServCell_r9_tags_2) - /sizeof(asn_DEF_measResultLastServCell_r9_tags_2[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_measResultLastServCell_r9_2, - 2, /* Elements count */ - &asn_SPC_measResultLastServCell_r9_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_measResultNeighCells_r9_5[] = { - { ATF_POINTER, 4, offsetof(struct RLF_Report_r9__measResultNeighCells_r9, measResultListEUTRA_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResultList2EUTRA_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultListEUTRA-r9" - }, - { ATF_POINTER, 3, offsetof(struct RLF_Report_r9__measResultNeighCells_r9, measResultListUTRA_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResultList2UTRA_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultListUTRA-r9" - }, - { ATF_POINTER, 2, offsetof(struct RLF_Report_r9__measResultNeighCells_r9, measResultListGERAN_r9), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResultListGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultListGERAN-r9" - }, - { ATF_POINTER, 1, offsetof(struct RLF_Report_r9__measResultNeighCells_r9, measResultsCDMA2000_r9), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasResultList2CDMA2000_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultsCDMA2000-r9" - }, -}; -static int asn_MAP_measResultNeighCells_r9_oms_5[] = { 0, 1, 2, 3 }; -static ber_tlv_tag_t asn_DEF_measResultNeighCells_r9_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_measResultNeighCells_r9_tag2el_5[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measResultListEUTRA-r9 at 1345 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measResultListUTRA-r9 at 1346 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* measResultListGERAN-r9 at 1347 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* measResultsCDMA2000-r9 at 1348 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_measResultNeighCells_r9_specs_5 = { - sizeof(struct RLF_Report_r9__measResultNeighCells_r9), - offsetof(struct RLF_Report_r9__measResultNeighCells_r9, _asn_ctx), - asn_MAP_measResultNeighCells_r9_tag2el_5, - 4, /* Count of tags in the map */ - asn_MAP_measResultNeighCells_r9_oms_5, /* Optional members */ - 4, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_measResultNeighCells_r9_5 = { - "measResultNeighCells-r9", - "measResultNeighCells-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_measResultNeighCells_r9_tags_5, - sizeof(asn_DEF_measResultNeighCells_r9_tags_5) - /sizeof(asn_DEF_measResultNeighCells_r9_tags_5[0]) - 1, /* 1 */ - asn_DEF_measResultNeighCells_r9_tags_5, /* Same as above */ - sizeof(asn_DEF_measResultNeighCells_r9_tags_5) - /sizeof(asn_DEF_measResultNeighCells_r9_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_measResultNeighCells_r9_5, - 4, /* Elements count */ - &asn_SPC_measResultNeighCells_r9_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_pci_arfcn_r10_13[] = { - { ATF_NOFLAGS, 0, offsetof(struct RLF_Report_r9__failedPCellId_r10__pci_arfcn_r10, physCellId_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RLF_Report_r9__failedPCellId_r10__pci_arfcn_r10, carrierFreq_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_pci_arfcn_r10_tags_13[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_pci_arfcn_r10_tag2el_13[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* physCellId-r10 at 1354 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* carrierFreq-r10 at 1356 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_pci_arfcn_r10_specs_13 = { - sizeof(struct RLF_Report_r9__failedPCellId_r10__pci_arfcn_r10), - offsetof(struct RLF_Report_r9__failedPCellId_r10__pci_arfcn_r10, _asn_ctx), - asn_MAP_pci_arfcn_r10_tag2el_13, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_pci_arfcn_r10_13 = { - "pci-arfcn-r10", - "pci-arfcn-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_pci_arfcn_r10_tags_13, - sizeof(asn_DEF_pci_arfcn_r10_tags_13) - /sizeof(asn_DEF_pci_arfcn_r10_tags_13[0]) - 1, /* 1 */ - asn_DEF_pci_arfcn_r10_tags_13, /* Same as above */ - sizeof(asn_DEF_pci_arfcn_r10_tags_13) - /sizeof(asn_DEF_pci_arfcn_r10_tags_13[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_pci_arfcn_r10_13, - 2, /* Elements count */ - &asn_SPC_pci_arfcn_r10_specs_13 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_failedPCellId_r10_11[] = { - { ATF_NOFLAGS, 0, offsetof(struct RLF_Report_r9__failedPCellId_r10, choice.cellGlobalId_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellGlobalIdEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellGlobalId-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RLF_Report_r9__failedPCellId_r10, choice.pci_arfcn_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_pci_arfcn_r10_13, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pci-arfcn-r10" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_failedPCellId_r10_tag2el_11[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellGlobalId-r10 at 1352 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* pci-arfcn-r10 at 1354 */ -}; -static asn_CHOICE_specifics_t asn_SPC_failedPCellId_r10_specs_11 = { - sizeof(struct RLF_Report_r9__failedPCellId_r10), - offsetof(struct RLF_Report_r9__failedPCellId_r10, _asn_ctx), - offsetof(struct RLF_Report_r9__failedPCellId_r10, present), - sizeof(((struct RLF_Report_r9__failedPCellId_r10 *)0)->present), - asn_MAP_failedPCellId_r10_tag2el_11, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_failedPCellId_r10_11 = { - "failedPCellId-r10", - "failedPCellId-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_failedPCellId_r10_constr_11, - asn_MBR_failedPCellId_r10_11, - 2, /* Elements count */ - &asn_SPC_failedPCellId_r10_specs_11 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_connectionFailureType_r10_value2enum_18[] = { - { 0, 3, "rlf" }, - { 1, 3, "hof" } -}; -static unsigned int asn_MAP_connectionFailureType_r10_enum2value_18[] = { - 1, /* hof(1) */ - 0 /* rlf(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_connectionFailureType_r10_specs_18 = { - asn_MAP_connectionFailureType_r10_value2enum_18, /* "tag" => N; sorted by tag */ - asn_MAP_connectionFailureType_r10_enum2value_18, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_connectionFailureType_r10_tags_18[] = { - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_connectionFailureType_r10_18 = { - "connectionFailureType-r10", - "connectionFailureType-r10", - connectionFailureType_r10_18_free, - connectionFailureType_r10_18_print, - connectionFailureType_r10_18_constraint, - connectionFailureType_r10_18_decode_ber, - connectionFailureType_r10_18_encode_der, - connectionFailureType_r10_18_decode_xer, - connectionFailureType_r10_18_encode_xer, - connectionFailureType_r10_18_decode_uper, - connectionFailureType_r10_18_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_connectionFailureType_r10_tags_18, - sizeof(asn_DEF_connectionFailureType_r10_tags_18) - /sizeof(asn_DEF_connectionFailureType_r10_tags_18[0]) - 1, /* 1 */ - asn_DEF_connectionFailureType_r10_tags_18, /* Same as above */ - sizeof(asn_DEF_connectionFailureType_r10_tags_18) - /sizeof(asn_DEF_connectionFailureType_r10_tags_18[0]), /* 2 */ - &asn_PER_type_connectionFailureType_r10_constr_18, - 0, 0, /* Defined elsewhere */ - &asn_SPC_connectionFailureType_r10_specs_18 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RLF_Report_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RLF_Report_r9, measResultLastServCell_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_measResultLastServCell_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultLastServCell-r9" - }, - { ATF_POINTER, 7, offsetof(struct RLF_Report_r9, measResultNeighCells_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_measResultNeighCells_r9_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measResultNeighCells-r9" - }, - { ATF_POINTER, 6, offsetof(struct RLF_Report_r9, locationInfo_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_LocationInfo_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "locationInfo-r10" - }, - { ATF_POINTER, 5, offsetof(struct RLF_Report_r9, failedPCellId_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_failedPCellId_r10_11, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "failedPCellId-r10" - }, - { ATF_POINTER, 4, offsetof(struct RLF_Report_r9, reestablishmentCellId_r10), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellGlobalIdEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reestablishmentCellId-r10" - }, - { ATF_POINTER, 3, offsetof(struct RLF_Report_r9, timeConnFailure_r10), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_timeConnFailure_r10_constraint_1, - &asn_PER_memb_timeConnFailure_r10_constr_17, - 0, - "timeConnFailure-r10" - }, - { ATF_POINTER, 2, offsetof(struct RLF_Report_r9, connectionFailureType_r10), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_connectionFailureType_r10_18, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "connectionFailureType-r10" - }, - { ATF_POINTER, 1, offsetof(struct RLF_Report_r9, previousPCellId_r10), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellGlobalIdEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "previousPCellId-r10" - }, -}; -static int asn_MAP_RLF_Report_r9_oms_1[] = { 1, 2, 3, 4, 5, 6, 7 }; -static ber_tlv_tag_t asn_DEF_RLF_Report_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RLF_Report_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measResultLastServCell-r9 at 1341 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measResultNeighCells-r9 at 1345 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* locationInfo-r10 at 1350 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* failedPCellId-r10 at 1352 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* reestablishmentCellId-r10 at 1358 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* timeConnFailure-r10 at 1359 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* connectionFailureType-r10 at 1360 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* previousPCellId-r10 at 1361 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RLF_Report_r9_specs_1 = { - sizeof(struct RLF_Report_r9), - offsetof(struct RLF_Report_r9, _asn_ctx), - asn_MAP_RLF_Report_r9_tag2el_1, - 8, /* Count of tags in the map */ - asn_MAP_RLF_Report_r9_oms_1, /* Optional members */ - 7, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RLF_Report_r9 = { - "RLF-Report-r9", - "RLF-Report-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RLF_Report_r9_tags_1, - sizeof(asn_DEF_RLF_Report_r9_tags_1) - /sizeof(asn_DEF_RLF_Report_r9_tags_1[0]), /* 1 */ - asn_DEF_RLF_Report_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_RLF_Report_r9_tags_1) - /sizeof(asn_DEF_RLF_Report_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RLF_Report_r9_1, - 8, /* Elements count */ - &asn_SPC_RLF_Report_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RLF-TimersAndConstants-r9.c b/lte/rrc/lib/asn/src/RLF-TimersAndConstants-r9.c deleted file mode 100644 index 8022b30e7..000000000 --- a/lte/rrc/lib/asn/src/RLF-TimersAndConstants-r9.c +++ /dev/null @@ -1,915 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RLF-TimersAndConstants-r9.h" - -static int -t301_r9_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -t301_r9_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -t301_r9_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - t301_r9_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -t301_r9_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - t301_r9_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -t301_r9_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - t301_r9_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -t301_r9_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - t301_r9_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -t301_r9_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - t301_r9_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -t301_r9_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - t301_r9_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -t301_r9_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - t301_r9_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -t301_r9_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - t301_r9_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -t310_r9_13_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -t310_r9_13_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -t310_r9_13_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - t310_r9_13_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -t310_r9_13_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - t310_r9_13_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -t310_r9_13_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - t310_r9_13_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -t310_r9_13_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - t310_r9_13_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -t310_r9_13_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - t310_r9_13_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -t310_r9_13_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - t310_r9_13_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -t310_r9_13_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - t310_r9_13_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -t310_r9_13_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - t310_r9_13_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -n310_r9_21_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -n310_r9_21_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -n310_r9_21_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - n310_r9_21_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -n310_r9_21_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - n310_r9_21_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -n310_r9_21_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - n310_r9_21_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -n310_r9_21_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - n310_r9_21_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -n310_r9_21_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - n310_r9_21_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -n310_r9_21_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - n310_r9_21_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -n310_r9_21_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - n310_r9_21_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -n310_r9_21_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - n310_r9_21_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -t311_r9_30_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -t311_r9_30_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -t311_r9_30_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - t311_r9_30_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -t311_r9_30_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - t311_r9_30_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -t311_r9_30_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - t311_r9_30_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -t311_r9_30_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - t311_r9_30_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -t311_r9_30_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - t311_r9_30_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -t311_r9_30_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - t311_r9_30_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -t311_r9_30_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - t311_r9_30_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -t311_r9_30_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - t311_r9_30_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -n311_r9_38_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -n311_r9_38_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -n311_r9_38_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - n311_r9_38_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -n311_r9_38_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - n311_r9_38_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -n311_r9_38_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - n311_r9_38_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -n311_r9_38_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - n311_r9_38_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -n311_r9_38_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - n311_r9_38_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -n311_r9_38_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - n311_r9_38_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -n311_r9_38_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - n311_r9_38_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -n311_r9_38_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - n311_r9_38_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_t301_r9_constr_4 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_t310_r9_constr_13 = { - { APC_CONSTRAINED, 3, 3, 0, 6 } /* (0..6) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_n310_r9_constr_21 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_t311_r9_constr_30 = { - { APC_CONSTRAINED, 3, 3, 0, 6 } /* (0..6) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_n311_r9_constr_38 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_RLF_TimersAndConstants_r9_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_t301_r9_value2enum_4[] = { - { 0, 5, "ms100" }, - { 1, 5, "ms200" }, - { 2, 5, "ms300" }, - { 3, 5, "ms400" }, - { 4, 5, "ms600" }, - { 5, 6, "ms1000" }, - { 6, 6, "ms1500" }, - { 7, 6, "ms2000" } -}; -static unsigned int asn_MAP_t301_r9_enum2value_4[] = { - 0, /* ms100(0) */ - 5, /* ms1000(5) */ - 6, /* ms1500(6) */ - 1, /* ms200(1) */ - 7, /* ms2000(7) */ - 2, /* ms300(2) */ - 3, /* ms400(3) */ - 4 /* ms600(4) */ -}; -static asn_INTEGER_specifics_t asn_SPC_t301_r9_specs_4 = { - asn_MAP_t301_r9_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_t301_r9_enum2value_4, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_t301_r9_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_t301_r9_4 = { - "t301-r9", - "t301-r9", - t301_r9_4_free, - t301_r9_4_print, - t301_r9_4_constraint, - t301_r9_4_decode_ber, - t301_r9_4_encode_der, - t301_r9_4_decode_xer, - t301_r9_4_encode_xer, - t301_r9_4_decode_uper, - t301_r9_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_t301_r9_tags_4, - sizeof(asn_DEF_t301_r9_tags_4) - /sizeof(asn_DEF_t301_r9_tags_4[0]) - 1, /* 1 */ - asn_DEF_t301_r9_tags_4, /* Same as above */ - sizeof(asn_DEF_t301_r9_tags_4) - /sizeof(asn_DEF_t301_r9_tags_4[0]), /* 2 */ - &asn_PER_type_t301_r9_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_t301_r9_specs_4 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_t310_r9_value2enum_13[] = { - { 0, 3, "ms0" }, - { 1, 4, "ms50" }, - { 2, 5, "ms100" }, - { 3, 5, "ms200" }, - { 4, 5, "ms500" }, - { 5, 6, "ms1000" }, - { 6, 6, "ms2000" } -}; -static unsigned int asn_MAP_t310_r9_enum2value_13[] = { - 0, /* ms0(0) */ - 2, /* ms100(2) */ - 5, /* ms1000(5) */ - 3, /* ms200(3) */ - 6, /* ms2000(6) */ - 1, /* ms50(1) */ - 4 /* ms500(4) */ -}; -static asn_INTEGER_specifics_t asn_SPC_t310_r9_specs_13 = { - asn_MAP_t310_r9_value2enum_13, /* "tag" => N; sorted by tag */ - asn_MAP_t310_r9_enum2value_13, /* N => "tag"; sorted by N */ - 7, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_t310_r9_tags_13[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_t310_r9_13 = { - "t310-r9", - "t310-r9", - t310_r9_13_free, - t310_r9_13_print, - t310_r9_13_constraint, - t310_r9_13_decode_ber, - t310_r9_13_encode_der, - t310_r9_13_decode_xer, - t310_r9_13_encode_xer, - t310_r9_13_decode_uper, - t310_r9_13_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_t310_r9_tags_13, - sizeof(asn_DEF_t310_r9_tags_13) - /sizeof(asn_DEF_t310_r9_tags_13[0]) - 1, /* 1 */ - asn_DEF_t310_r9_tags_13, /* Same as above */ - sizeof(asn_DEF_t310_r9_tags_13) - /sizeof(asn_DEF_t310_r9_tags_13[0]), /* 2 */ - &asn_PER_type_t310_r9_constr_13, - 0, 0, /* Defined elsewhere */ - &asn_SPC_t310_r9_specs_13 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_n310_r9_value2enum_21[] = { - { 0, 2, "n1" }, - { 1, 2, "n2" }, - { 2, 2, "n3" }, - { 3, 2, "n4" }, - { 4, 2, "n6" }, - { 5, 2, "n8" }, - { 6, 3, "n10" }, - { 7, 3, "n20" } -}; -static unsigned int asn_MAP_n310_r9_enum2value_21[] = { - 0, /* n1(0) */ - 6, /* n10(6) */ - 1, /* n2(1) */ - 7, /* n20(7) */ - 2, /* n3(2) */ - 3, /* n4(3) */ - 4, /* n6(4) */ - 5 /* n8(5) */ -}; -static asn_INTEGER_specifics_t asn_SPC_n310_r9_specs_21 = { - asn_MAP_n310_r9_value2enum_21, /* "tag" => N; sorted by tag */ - asn_MAP_n310_r9_enum2value_21, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_n310_r9_tags_21[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_n310_r9_21 = { - "n310-r9", - "n310-r9", - n310_r9_21_free, - n310_r9_21_print, - n310_r9_21_constraint, - n310_r9_21_decode_ber, - n310_r9_21_encode_der, - n310_r9_21_decode_xer, - n310_r9_21_encode_xer, - n310_r9_21_decode_uper, - n310_r9_21_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_n310_r9_tags_21, - sizeof(asn_DEF_n310_r9_tags_21) - /sizeof(asn_DEF_n310_r9_tags_21[0]) - 1, /* 1 */ - asn_DEF_n310_r9_tags_21, /* Same as above */ - sizeof(asn_DEF_n310_r9_tags_21) - /sizeof(asn_DEF_n310_r9_tags_21[0]), /* 2 */ - &asn_PER_type_n310_r9_constr_21, - 0, 0, /* Defined elsewhere */ - &asn_SPC_n310_r9_specs_21 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_t311_r9_value2enum_30[] = { - { 0, 6, "ms1000" }, - { 1, 6, "ms3000" }, - { 2, 6, "ms5000" }, - { 3, 7, "ms10000" }, - { 4, 7, "ms15000" }, - { 5, 7, "ms20000" }, - { 6, 7, "ms30000" } -}; -static unsigned int asn_MAP_t311_r9_enum2value_30[] = { - 0, /* ms1000(0) */ - 3, /* ms10000(3) */ - 4, /* ms15000(4) */ - 5, /* ms20000(5) */ - 1, /* ms3000(1) */ - 6, /* ms30000(6) */ - 2 /* ms5000(2) */ -}; -static asn_INTEGER_specifics_t asn_SPC_t311_r9_specs_30 = { - asn_MAP_t311_r9_value2enum_30, /* "tag" => N; sorted by tag */ - asn_MAP_t311_r9_enum2value_30, /* N => "tag"; sorted by N */ - 7, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_t311_r9_tags_30[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_t311_r9_30 = { - "t311-r9", - "t311-r9", - t311_r9_30_free, - t311_r9_30_print, - t311_r9_30_constraint, - t311_r9_30_decode_ber, - t311_r9_30_encode_der, - t311_r9_30_decode_xer, - t311_r9_30_encode_xer, - t311_r9_30_decode_uper, - t311_r9_30_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_t311_r9_tags_30, - sizeof(asn_DEF_t311_r9_tags_30) - /sizeof(asn_DEF_t311_r9_tags_30[0]) - 1, /* 1 */ - asn_DEF_t311_r9_tags_30, /* Same as above */ - sizeof(asn_DEF_t311_r9_tags_30) - /sizeof(asn_DEF_t311_r9_tags_30[0]), /* 2 */ - &asn_PER_type_t311_r9_constr_30, - 0, 0, /* Defined elsewhere */ - &asn_SPC_t311_r9_specs_30 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_n311_r9_value2enum_38[] = { - { 0, 2, "n1" }, - { 1, 2, "n2" }, - { 2, 2, "n3" }, - { 3, 2, "n4" }, - { 4, 2, "n5" }, - { 5, 2, "n6" }, - { 6, 2, "n8" }, - { 7, 3, "n10" } -}; -static unsigned int asn_MAP_n311_r9_enum2value_38[] = { - 0, /* n1(0) */ - 7, /* n10(7) */ - 1, /* n2(1) */ - 2, /* n3(2) */ - 3, /* n4(3) */ - 4, /* n5(4) */ - 5, /* n6(5) */ - 6 /* n8(6) */ -}; -static asn_INTEGER_specifics_t asn_SPC_n311_r9_specs_38 = { - asn_MAP_n311_r9_value2enum_38, /* "tag" => N; sorted by tag */ - asn_MAP_n311_r9_enum2value_38, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_n311_r9_tags_38[] = { - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_n311_r9_38 = { - "n311-r9", - "n311-r9", - n311_r9_38_free, - n311_r9_38_print, - n311_r9_38_constraint, - n311_r9_38_decode_ber, - n311_r9_38_encode_der, - n311_r9_38_decode_xer, - n311_r9_38_encode_xer, - n311_r9_38_decode_uper, - n311_r9_38_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_n311_r9_tags_38, - sizeof(asn_DEF_n311_r9_tags_38) - /sizeof(asn_DEF_n311_r9_tags_38[0]) - 1, /* 1 */ - asn_DEF_n311_r9_tags_38, /* Same as above */ - sizeof(asn_DEF_n311_r9_tags_38) - /sizeof(asn_DEF_n311_r9_tags_38[0]), /* 2 */ - &asn_PER_type_n311_r9_constr_38, - 0, 0, /* Defined elsewhere */ - &asn_SPC_n311_r9_specs_38 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct RLF_TimersAndConstants_r9__setup, t301_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_t301_r9_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t301-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct RLF_TimersAndConstants_r9__setup, t310_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_t310_r9_13, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t310-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct RLF_TimersAndConstants_r9__setup, n310_r9), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_n310_r9_21, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "n310-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct RLF_TimersAndConstants_r9__setup, t311_r9), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_t311_r9_30, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t311-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct RLF_TimersAndConstants_r9__setup, n311_r9), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_n311_r9_38, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "n311-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_setup_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* t301-r9 at 2599 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* t310-r9 at 2602 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* n310-r9 at 2604 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* t311-r9 at 2606 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* n311-r9 at 2609 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_3 = { - sizeof(struct RLF_TimersAndConstants_r9__setup), - offsetof(struct RLF_TimersAndConstants_r9__setup, _asn_ctx), - asn_MAP_setup_tag2el_3, - 5, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 4, /* Start extensions */ - 6 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_3 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_3, - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]) - 1, /* 1 */ - asn_DEF_setup_tags_3, /* Same as above */ - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_3, - 5, /* Elements count */ - &asn_SPC_setup_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RLF_TimersAndConstants_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RLF_TimersAndConstants_r9, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct RLF_TimersAndConstants_r9, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_RLF_TimersAndConstants_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 2596 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 2600 */ -}; -static asn_CHOICE_specifics_t asn_SPC_RLF_TimersAndConstants_r9_specs_1 = { - sizeof(struct RLF_TimersAndConstants_r9), - offsetof(struct RLF_TimersAndConstants_r9, _asn_ctx), - offsetof(struct RLF_TimersAndConstants_r9, present), - sizeof(((struct RLF_TimersAndConstants_r9 *)0)->present), - asn_MAP_RLF_TimersAndConstants_r9_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_RLF_TimersAndConstants_r9 = { - "RLF-TimersAndConstants-r9", - "RLF-TimersAndConstants-r9", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_RLF_TimersAndConstants_r9_constr_1, - asn_MBR_RLF_TimersAndConstants_r9_1, - 2, /* Elements count */ - &asn_SPC_RLF_TimersAndConstants_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RN-SubframeConfig-r10.c b/lte/rrc/lib/asn/src/RN-SubframeConfig-r10.c deleted file mode 100644 index 29bf0e63c..000000000 --- a/lte/rrc/lib/asn/src/RN-SubframeConfig-r10.c +++ /dev/null @@ -1,1638 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RN-SubframeConfig-r10.h" - -static int -memb_subframeConfigPatternFDD_r10_constraint_2(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 8)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_subframeConfigPatternTDD_r10_constraint_2(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 31)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -resourceAllocationType_r10_6_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -resourceAllocationType_r10_6_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -resourceAllocationType_r10_6_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - resourceAllocationType_r10_6_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -resourceAllocationType_r10_6_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - resourceAllocationType_r10_6_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -resourceAllocationType_r10_6_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - resourceAllocationType_r10_6_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -resourceAllocationType_r10_6_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - resourceAllocationType_r10_6_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -resourceAllocationType_r10_6_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - resourceAllocationType_r10_6_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -resourceAllocationType_r10_6_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - resourceAllocationType_r10_6_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -resourceAllocationType_r10_6_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - resourceAllocationType_r10_6_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -resourceAllocationType_r10_6_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - resourceAllocationType_r10_6_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_nrb6_r10_constraint_16(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 6)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_nrb15_r10_constraint_16(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 8)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_nrb25_r10_constraint_16(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 13)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_nrb50_r10_constraint_16(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 17)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_nrb75_r10_constraint_16(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 19)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_nrb100_r10_constraint_16(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 25)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_nrb6_r10_constraint_23(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 5)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_nrb15_r10_constraint_23(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_nrb25_r10_constraint_23(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 9)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_nrb50_r10_constraint_23(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 11)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_nrb75_r10_constraint_23(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 12)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_nrb100_r10_constraint_23(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 13)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -interleaving_r10_32_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -interleaving_r10_32_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -interleaving_r10_32_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - interleaving_r10_32_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -interleaving_r10_32_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - interleaving_r10_32_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -interleaving_r10_32_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - interleaving_r10_32_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -interleaving_r10_32_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - interleaving_r10_32_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -interleaving_r10_32_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - interleaving_r10_32_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -interleaving_r10_32_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - interleaving_r10_32_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -interleaving_r10_32_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - interleaving_r10_32_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -interleaving_r10_32_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - interleaving_r10_32_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -noInterleaving_r10_34_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -noInterleaving_r10_34_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -noInterleaving_r10_34_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - noInterleaving_r10_34_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -noInterleaving_r10_34_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - noInterleaving_r10_34_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -noInterleaving_r10_34_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - noInterleaving_r10_34_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -noInterleaving_r10_34_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - noInterleaving_r10_34_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -noInterleaving_r10_34_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - noInterleaving_r10_34_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -noInterleaving_r10_34_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - noInterleaving_r10_34_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -noInterleaving_r10_34_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - noInterleaving_r10_34_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -noInterleaving_r10_34_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - noInterleaving_r10_34_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_n1PUCCH_AN_P0_r10_constraint_38(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 2047)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_n1PUCCH_AN_P1_r10_constraint_38(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 2047)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_pdsch_Start_r10_constraint_5(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 3)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_subframeConfigPatternFDD_r10_constr_3 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 8, 8 } /* (SIZE(8..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_subframeConfigPatternTDD_r10_constr_4 = { - { APC_CONSTRAINED, 5, 5, 0, 31 } /* (0..31) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_subframeConfigPattern_r10_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_resourceAllocationType_r10_constr_6 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_nrb6_r10_constr_17 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 6, 6 } /* (SIZE(6..6)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_nrb15_r10_constr_18 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 8, 8 } /* (SIZE(8..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_nrb25_r10_constr_19 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 13, 13 } /* (SIZE(13..13)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_nrb50_r10_constr_20 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 17, 17 } /* (SIZE(17..17)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_nrb75_r10_constr_21 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 19, 19 } /* (SIZE(19..19)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_nrb100_r10_constr_22 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 25, 25 } /* (SIZE(25..25)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_type01_r10_constr_16 = { - { APC_CONSTRAINED, 3, 3, 0, 5 } /* (0..5) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_nrb6_r10_constr_24 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 5, 5 } /* (SIZE(5..5)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_nrb15_r10_constr_25 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 7, 7 } /* (SIZE(7..7)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_nrb25_r10_constr_26 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 9, 9 } /* (SIZE(9..9)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_nrb50_r10_constr_27 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 11, 11 } /* (SIZE(11..11)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_nrb75_r10_constr_28 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 12, 12 } /* (SIZE(12..12)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_nrb100_r10_constr_29 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 13, 13 } /* (SIZE(13..13)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_type2_r10_constr_23 = { - { APC_CONSTRAINED, 3, 3, 0, 5 } /* (0..5) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_resourceBlockAssignment_r10_constr_15 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_interleaving_r10_constr_32 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_noInterleaving_r10_constr_34 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_demodulationRS_r10_constr_31 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n1PUCCH_AN_P0_r10_constr_39 = { - { APC_CONSTRAINED, 11, 11, 0, 2047 } /* (0..2047) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_n1PUCCH_AN_P1_r10_constr_40 = { - { APC_CONSTRAINED, 11, 11, 0, 2047 } /* (0..2047) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_pdsch_Start_r10_constr_37 = { - { APC_CONSTRAINED, 2, 2, 1, 3 } /* (1..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_subframeConfigPattern_r10_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__subframeConfigPattern_r10, choice.subframeConfigPatternFDD_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_subframeConfigPatternFDD_r10_constraint_2, - &asn_PER_memb_subframeConfigPatternFDD_r10_constr_3, - 0, - "subframeConfigPatternFDD-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__subframeConfigPattern_r10, choice.subframeConfigPatternTDD_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_subframeConfigPatternTDD_r10_constraint_2, - &asn_PER_memb_subframeConfigPatternTDD_r10_constr_4, - 0, - "subframeConfigPatternTDD-r10" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_subframeConfigPattern_r10_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* subframeConfigPatternFDD-r10 at 2617 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* subframeConfigPatternTDD-r10 at 2618 */ -}; -static asn_CHOICE_specifics_t asn_SPC_subframeConfigPattern_r10_specs_2 = { - sizeof(struct RN_SubframeConfig_r10__subframeConfigPattern_r10), - offsetof(struct RN_SubframeConfig_r10__subframeConfigPattern_r10, _asn_ctx), - offsetof(struct RN_SubframeConfig_r10__subframeConfigPattern_r10, present), - sizeof(((struct RN_SubframeConfig_r10__subframeConfigPattern_r10 *)0)->present), - asn_MAP_subframeConfigPattern_r10_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_subframeConfigPattern_r10_2 = { - "subframeConfigPattern-r10", - "subframeConfigPattern-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_subframeConfigPattern_r10_constr_2, - asn_MBR_subframeConfigPattern_r10_2, - 2, /* Elements count */ - &asn_SPC_subframeConfigPattern_r10_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_resourceAllocationType_r10_value2enum_6[] = { - { 0, 5, "type0" }, - { 1, 5, "type1" }, - { 2, 14, "type2Localized" }, - { 3, 16, "type2Distributed" }, - { 4, 6, "spare4" }, - { 5, 6, "spare3" }, - { 6, 6, "spare2" }, - { 7, 6, "spare1" } -}; -static unsigned int asn_MAP_resourceAllocationType_r10_enum2value_6[] = { - 7, /* spare1(7) */ - 6, /* spare2(6) */ - 5, /* spare3(5) */ - 4, /* spare4(4) */ - 0, /* type0(0) */ - 1, /* type1(1) */ - 3, /* type2Distributed(3) */ - 2 /* type2Localized(2) */ -}; -static asn_INTEGER_specifics_t asn_SPC_resourceAllocationType_r10_specs_6 = { - asn_MAP_resourceAllocationType_r10_value2enum_6, /* "tag" => N; sorted by tag */ - asn_MAP_resourceAllocationType_r10_enum2value_6, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_resourceAllocationType_r10_tags_6[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_resourceAllocationType_r10_6 = { - "resourceAllocationType-r10", - "resourceAllocationType-r10", - resourceAllocationType_r10_6_free, - resourceAllocationType_r10_6_print, - resourceAllocationType_r10_6_constraint, - resourceAllocationType_r10_6_decode_ber, - resourceAllocationType_r10_6_encode_der, - resourceAllocationType_r10_6_decode_xer, - resourceAllocationType_r10_6_encode_xer, - resourceAllocationType_r10_6_decode_uper, - resourceAllocationType_r10_6_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_resourceAllocationType_r10_tags_6, - sizeof(asn_DEF_resourceAllocationType_r10_tags_6) - /sizeof(asn_DEF_resourceAllocationType_r10_tags_6[0]) - 1, /* 1 */ - asn_DEF_resourceAllocationType_r10_tags_6, /* Same as above */ - sizeof(asn_DEF_resourceAllocationType_r10_tags_6) - /sizeof(asn_DEF_resourceAllocationType_r10_tags_6[0]), /* 2 */ - &asn_PER_type_resourceAllocationType_r10_constr_6, - 0, 0, /* Defined elsewhere */ - &asn_SPC_resourceAllocationType_r10_specs_6 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_type01_r10_16[] = { - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10, choice.nrb6_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_nrb6_r10_constraint_16, - &asn_PER_memb_nrb6_r10_constr_17, - 0, - "nrb6-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10, choice.nrb15_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_nrb15_r10_constraint_16, - &asn_PER_memb_nrb15_r10_constr_18, - 0, - "nrb15-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10, choice.nrb25_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_nrb25_r10_constraint_16, - &asn_PER_memb_nrb25_r10_constr_19, - 0, - "nrb25-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10, choice.nrb50_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_nrb50_r10_constraint_16, - &asn_PER_memb_nrb50_r10_constr_20, - 0, - "nrb50-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10, choice.nrb75_r10), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_nrb75_r10_constraint_16, - &asn_PER_memb_nrb75_r10_constr_21, - 0, - "nrb75-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10, choice.nrb100_r10), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_nrb100_r10_constraint_16, - &asn_PER_memb_nrb100_r10_constr_22, - 0, - "nrb100-r10" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_type01_r10_tag2el_16[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nrb6-r10 at 2625 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nrb15-r10 at 2626 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* nrb25-r10 at 2627 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* nrb50-r10 at 2628 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* nrb75-r10 at 2629 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* nrb100-r10 at 2630 */ -}; -static asn_CHOICE_specifics_t asn_SPC_type01_r10_specs_16 = { - sizeof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10), - offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10, _asn_ctx), - offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10, present), - sizeof(((struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10 *)0)->present), - asn_MAP_type01_r10_tag2el_16, - 6, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_type01_r10_16 = { - "type01-r10", - "type01-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_type01_r10_constr_16, - asn_MBR_type01_r10_16, - 6, /* Elements count */ - &asn_SPC_type01_r10_specs_16 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_type2_r10_23[] = { - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10, choice.nrb6_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_nrb6_r10_constraint_23, - &asn_PER_memb_nrb6_r10_constr_24, - 0, - "nrb6-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10, choice.nrb15_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_nrb15_r10_constraint_23, - &asn_PER_memb_nrb15_r10_constr_25, - 0, - "nrb15-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10, choice.nrb25_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_nrb25_r10_constraint_23, - &asn_PER_memb_nrb25_r10_constr_26, - 0, - "nrb25-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10, choice.nrb50_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_nrb50_r10_constraint_23, - &asn_PER_memb_nrb50_r10_constr_27, - 0, - "nrb50-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10, choice.nrb75_r10), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_nrb75_r10_constraint_23, - &asn_PER_memb_nrb75_r10_constr_28, - 0, - "nrb75-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10, choice.nrb100_r10), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_nrb100_r10_constraint_23, - &asn_PER_memb_nrb100_r10_constr_29, - 0, - "nrb100-r10" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_type2_r10_tag2el_23[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nrb6-r10 at 2633 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nrb15-r10 at 2634 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* nrb25-r10 at 2635 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* nrb50-r10 at 2636 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* nrb75-r10 at 2637 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* nrb100-r10 at 2638 */ -}; -static asn_CHOICE_specifics_t asn_SPC_type2_r10_specs_23 = { - sizeof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10), - offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10, _asn_ctx), - offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10, present), - sizeof(((struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10 *)0)->present), - asn_MAP_type2_r10_tag2el_23, - 6, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_type2_r10_23 = { - "type2-r10", - "type2-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_type2_r10_constr_23, - asn_MBR_type2_r10_23, - 6, /* Elements count */ - &asn_SPC_type2_r10_specs_23 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_resourceBlockAssignment_r10_15[] = { - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10, choice.type01_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_type01_r10_16, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "type01-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10, choice.type2_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_type2_r10_23, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "type2-r10" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_resourceBlockAssignment_r10_tag2el_15[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* type01-r10 at 2625 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* type2-r10 at 2633 */ -}; -static asn_CHOICE_specifics_t asn_SPC_resourceBlockAssignment_r10_specs_15 = { - sizeof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10), - offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10, _asn_ctx), - offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10, present), - sizeof(((struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10 *)0)->present), - asn_MAP_resourceBlockAssignment_r10_tag2el_15, - 2, /* Count of tags in the map */ - 0, - 2 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_resourceBlockAssignment_r10_15 = { - "resourceBlockAssignment-r10", - "resourceBlockAssignment-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_resourceBlockAssignment_r10_constr_15, - asn_MBR_resourceBlockAssignment_r10_15, - 2, /* Elements count */ - &asn_SPC_resourceBlockAssignment_r10_specs_15 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_interleaving_r10_value2enum_32[] = { - { 0, 3, "crs" } -}; -static unsigned int asn_MAP_interleaving_r10_enum2value_32[] = { - 0 /* crs(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_interleaving_r10_specs_32 = { - asn_MAP_interleaving_r10_value2enum_32, /* "tag" => N; sorted by tag */ - asn_MAP_interleaving_r10_enum2value_32, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_interleaving_r10_tags_32[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_interleaving_r10_32 = { - "interleaving-r10", - "interleaving-r10", - interleaving_r10_32_free, - interleaving_r10_32_print, - interleaving_r10_32_constraint, - interleaving_r10_32_decode_ber, - interleaving_r10_32_encode_der, - interleaving_r10_32_decode_xer, - interleaving_r10_32_encode_xer, - interleaving_r10_32_decode_uper, - interleaving_r10_32_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_interleaving_r10_tags_32, - sizeof(asn_DEF_interleaving_r10_tags_32) - /sizeof(asn_DEF_interleaving_r10_tags_32[0]) - 1, /* 1 */ - asn_DEF_interleaving_r10_tags_32, /* Same as above */ - sizeof(asn_DEF_interleaving_r10_tags_32) - /sizeof(asn_DEF_interleaving_r10_tags_32[0]), /* 2 */ - &asn_PER_type_interleaving_r10_constr_32, - 0, 0, /* Defined elsewhere */ - &asn_SPC_interleaving_r10_specs_32 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_noInterleaving_r10_value2enum_34[] = { - { 0, 3, "crs" }, - { 1, 4, "dmrs" } -}; -static unsigned int asn_MAP_noInterleaving_r10_enum2value_34[] = { - 0, /* crs(0) */ - 1 /* dmrs(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_noInterleaving_r10_specs_34 = { - asn_MAP_noInterleaving_r10_value2enum_34, /* "tag" => N; sorted by tag */ - asn_MAP_noInterleaving_r10_enum2value_34, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_noInterleaving_r10_tags_34[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_noInterleaving_r10_34 = { - "noInterleaving-r10", - "noInterleaving-r10", - noInterleaving_r10_34_free, - noInterleaving_r10_34_print, - noInterleaving_r10_34_constraint, - noInterleaving_r10_34_decode_ber, - noInterleaving_r10_34_encode_der, - noInterleaving_r10_34_decode_xer, - noInterleaving_r10_34_encode_xer, - noInterleaving_r10_34_decode_uper, - noInterleaving_r10_34_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_noInterleaving_r10_tags_34, - sizeof(asn_DEF_noInterleaving_r10_tags_34) - /sizeof(asn_DEF_noInterleaving_r10_tags_34[0]) - 1, /* 1 */ - asn_DEF_noInterleaving_r10_tags_34, /* Same as above */ - sizeof(asn_DEF_noInterleaving_r10_tags_34) - /sizeof(asn_DEF_noInterleaving_r10_tags_34[0]), /* 2 */ - &asn_PER_type_noInterleaving_r10_constr_34, - 0, 0, /* Defined elsewhere */ - &asn_SPC_noInterleaving_r10_specs_34 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_demodulationRS_r10_31[] = { - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10, choice.interleaving_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_interleaving_r10_32, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interleaving-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10, choice.noInterleaving_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_noInterleaving_r10_34, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "noInterleaving-r10" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_demodulationRS_r10_tag2el_31[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* interleaving-r10 at 2643 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* noInterleaving-r10 at 2644 */ -}; -static asn_CHOICE_specifics_t asn_SPC_demodulationRS_r10_specs_31 = { - sizeof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10), - offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10, _asn_ctx), - offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10, present), - sizeof(((struct RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10 *)0)->present), - asn_MAP_demodulationRS_r10_tag2el_31, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_demodulationRS_r10_31 = { - "demodulationRS-r10", - "demodulationRS-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_demodulationRS_r10_constr_31, - asn_MBR_demodulationRS_r10_31, - 2, /* Elements count */ - &asn_SPC_demodulationRS_r10_specs_31 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_pucch_Config_r10_38[] = { - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__pucch_Config_r10, n1PUCCH_AN_P0_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_n1PUCCH_AN_P0_r10_constraint_38, - &asn_PER_memb_n1PUCCH_AN_P0_r10_constr_39, - 0, - "n1PUCCH-AN-P0-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__pucch_Config_r10, n1PUCCH_AN_P1_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_n1PUCCH_AN_P1_r10_constraint_38, - &asn_PER_memb_n1PUCCH_AN_P1_r10_constr_40, - 0, - "n1PUCCH-AN-P1-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_pucch_Config_r10_tags_38[] = { - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_pucch_Config_r10_tag2el_38[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* n1PUCCH-AN-P0-r10 at 2648 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* n1PUCCH-AN-P1-r10 at 2649 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_pucch_Config_r10_specs_38 = { - sizeof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__pucch_Config_r10), - offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__pucch_Config_r10, _asn_ctx), - asn_MAP_pucch_Config_r10_tag2el_38, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_pucch_Config_r10_38 = { - "pucch-Config-r10", - "pucch-Config-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_pucch_Config_r10_tags_38, - sizeof(asn_DEF_pucch_Config_r10_tags_38) - /sizeof(asn_DEF_pucch_Config_r10_tags_38[0]) - 1, /* 1 */ - asn_DEF_pucch_Config_r10_tags_38, /* Same as above */ - sizeof(asn_DEF_pucch_Config_r10_tags_38) - /sizeof(asn_DEF_pucch_Config_r10_tags_38[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_pucch_Config_r10_38, - 2, /* Elements count */ - &asn_SPC_pucch_Config_r10_specs_38 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_rpdcch_Config_r10_5[] = { - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10, resourceAllocationType_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_resourceAllocationType_r10_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "resourceAllocationType-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10, resourceBlockAssignment_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_resourceBlockAssignment_r10_15, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "resourceBlockAssignment-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10, demodulationRS_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_demodulationRS_r10_31, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "demodulationRS-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10, pdsch_Start_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_pdsch_Start_r10_constraint_5, - &asn_PER_memb_pdsch_Start_r10_constr_37, - 0, - "pdsch-Start-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10, pucch_Config_r10), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - 0, - &asn_DEF_pucch_Config_r10_38, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pucch-Config-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_rpdcch_Config_r10_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_rpdcch_Config_r10_tag2el_5[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* resourceAllocationType-r10 at 2621 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* resourceBlockAssignment-r10 at 2631 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* demodulationRS-r10 at 2643 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* pdsch-Start-r10 at 2646 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* pucch-Config-r10 at 2648 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_rpdcch_Config_r10_specs_5 = { - sizeof(struct RN_SubframeConfig_r10__rpdcch_Config_r10), - offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10, _asn_ctx), - asn_MAP_rpdcch_Config_r10_tag2el_5, - 5, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 4, /* Start extensions */ - 6 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_rpdcch_Config_r10_5 = { - "rpdcch-Config-r10", - "rpdcch-Config-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_rpdcch_Config_r10_tags_5, - sizeof(asn_DEF_rpdcch_Config_r10_tags_5) - /sizeof(asn_DEF_rpdcch_Config_r10_tags_5[0]) - 1, /* 1 */ - asn_DEF_rpdcch_Config_r10_tags_5, /* Same as above */ - sizeof(asn_DEF_rpdcch_Config_r10_tags_5) - /sizeof(asn_DEF_rpdcch_Config_r10_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_rpdcch_Config_r10_5, - 5, /* Elements count */ - &asn_SPC_rpdcch_Config_r10_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RN_SubframeConfig_r10_1[] = { - { ATF_POINTER, 2, offsetof(struct RN_SubframeConfig_r10, subframeConfigPattern_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_subframeConfigPattern_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "subframeConfigPattern-r10" - }, - { ATF_POINTER, 1, offsetof(struct RN_SubframeConfig_r10, rpdcch_Config_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_rpdcch_Config_r10_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rpdcch-Config-r10" - }, -}; -static int asn_MAP_RN_SubframeConfig_r10_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_RN_SubframeConfig_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RN_SubframeConfig_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* subframeConfigPattern-r10 at 2617 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* rpdcch-Config-r10 at 2622 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RN_SubframeConfig_r10_specs_1 = { - sizeof(struct RN_SubframeConfig_r10), - offsetof(struct RN_SubframeConfig_r10, _asn_ctx), - asn_MAP_RN_SubframeConfig_r10_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RN_SubframeConfig_r10_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - 1, /* Start extensions */ - 3 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RN_SubframeConfig_r10 = { - "RN-SubframeConfig-r10", - "RN-SubframeConfig-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RN_SubframeConfig_r10_tags_1, - sizeof(asn_DEF_RN_SubframeConfig_r10_tags_1) - /sizeof(asn_DEF_RN_SubframeConfig_r10_tags_1[0]), /* 1 */ - asn_DEF_RN_SubframeConfig_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_RN_SubframeConfig_r10_tags_1) - /sizeof(asn_DEF_RN_SubframeConfig_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RN_SubframeConfig_r10_1, - 2, /* Elements count */ - &asn_SPC_RN_SubframeConfig_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RN-SystemInfo-r10.c b/lte/rrc/lib/asn/src/RN-SystemInfo-r10.c deleted file mode 100644 index def0ee41d..000000000 --- a/lte/rrc/lib/asn/src/RN-SystemInfo-r10.c +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RN-SystemInfo-r10.h" - -static int -memb_systemInformationBlockType1_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_per_constraints_t asn_PER_memb_systemInformationBlockType1_r10_constr_2 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_RN_SystemInfo_r10_1[] = { - { ATF_POINTER, 2, offsetof(struct RN_SystemInfo_r10, systemInformationBlockType1_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_systemInformationBlockType1_r10_constraint_1, - &asn_PER_memb_systemInformationBlockType1_r10_constr_2, - 0, - "systemInformationBlockType1-r10" - }, - { ATF_POINTER, 1, offsetof(struct RN_SystemInfo_r10, systemInformationBlockType2_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformationBlockType2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "systemInformationBlockType2-r10" - }, -}; -static int asn_MAP_RN_SystemInfo_r10_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_RN_SystemInfo_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RN_SystemInfo_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* systemInformationBlockType1-r10 at 605 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* systemInformationBlockType2-r10 at 606 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RN_SystemInfo_r10_specs_1 = { - sizeof(struct RN_SystemInfo_r10), - offsetof(struct RN_SystemInfo_r10, _asn_ctx), - asn_MAP_RN_SystemInfo_r10_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RN_SystemInfo_r10_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - 1, /* Start extensions */ - 3 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RN_SystemInfo_r10 = { - "RN-SystemInfo-r10", - "RN-SystemInfo-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RN_SystemInfo_r10_tags_1, - sizeof(asn_DEF_RN_SystemInfo_r10_tags_1) - /sizeof(asn_DEF_RN_SystemInfo_r10_tags_1[0]), /* 1 */ - asn_DEF_RN_SystemInfo_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_RN_SystemInfo_r10_tags_1) - /sizeof(asn_DEF_RN_SystemInfo_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RN_SystemInfo_r10_1, - 2, /* Elements count */ - &asn_SPC_RN_SystemInfo_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RNReconfiguration-r10-IEs.c b/lte/rrc/lib/asn/src/RNReconfiguration-r10-IEs.c deleted file mode 100644 index 274bcbaa8..000000000 --- a/lte/rrc/lib/asn/src/RNReconfiguration-r10-IEs.c +++ /dev/null @@ -1,130 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RNReconfiguration-r10-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_5 = { - sizeof(struct RNReconfiguration_r10_IEs__nonCriticalExtension), - offsetof(struct RNReconfiguration_r10_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_5 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_5, - sizeof(asn_DEF_nonCriticalExtension_tags_5) - /sizeof(asn_DEF_nonCriticalExtension_tags_5[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_5, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_5) - /sizeof(asn_DEF_nonCriticalExtension_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RNReconfiguration_r10_IEs_1[] = { - { ATF_POINTER, 4, offsetof(struct RNReconfiguration_r10_IEs, rn_SystemInfo_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RN_SystemInfo_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rn-SystemInfo-r10" - }, - { ATF_POINTER, 3, offsetof(struct RNReconfiguration_r10_IEs, rn_SubframeConfig_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RN_SubframeConfig_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rn-SubframeConfig-r10" - }, - { ATF_POINTER, 2, offsetof(struct RNReconfiguration_r10_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct RNReconfiguration_r10_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - 0, - &asn_DEF_nonCriticalExtension_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RNReconfiguration_r10_IEs_oms_1[] = { 0, 1, 2, 3 }; -static ber_tlv_tag_t asn_DEF_RNReconfiguration_r10_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RNReconfiguration_r10_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rn-SystemInfo-r10 at 598 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rn-SubframeConfig-r10 at 599 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* lateNonCriticalExtension at 600 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* nonCriticalExtension at 601 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RNReconfiguration_r10_IEs_specs_1 = { - sizeof(struct RNReconfiguration_r10_IEs), - offsetof(struct RNReconfiguration_r10_IEs, _asn_ctx), - asn_MAP_RNReconfiguration_r10_IEs_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_RNReconfiguration_r10_IEs_oms_1, /* Optional members */ - 4, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RNReconfiguration_r10_IEs = { - "RNReconfiguration-r10-IEs", - "RNReconfiguration-r10-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RNReconfiguration_r10_IEs_tags_1, - sizeof(asn_DEF_RNReconfiguration_r10_IEs_tags_1) - /sizeof(asn_DEF_RNReconfiguration_r10_IEs_tags_1[0]), /* 1 */ - asn_DEF_RNReconfiguration_r10_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RNReconfiguration_r10_IEs_tags_1) - /sizeof(asn_DEF_RNReconfiguration_r10_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RNReconfiguration_r10_IEs_1, - 4, /* Elements count */ - &asn_SPC_RNReconfiguration_r10_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RNReconfiguration-r10.c b/lte/rrc/lib/asn/src/RNReconfiguration-r10.c deleted file mode 100644 index fb93b7639..000000000 --- a/lte/rrc/lib/asn/src/RNReconfiguration-r10.c +++ /dev/null @@ -1,254 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RNReconfiguration-r10.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_4 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct RNReconfiguration_r10__criticalExtensions__c1, choice.rnReconfiguration_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RNReconfiguration_r10_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rnReconfiguration-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RNReconfiguration_r10__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct RNReconfiguration_r10__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct RNReconfiguration_r10__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rnReconfiguration-r10 at 590 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 at 591 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 591 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 591 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_4 = { - sizeof(struct RNReconfiguration_r10__criticalExtensions__c1), - offsetof(struct RNReconfiguration_r10__criticalExtensions__c1, _asn_ctx), - offsetof(struct RNReconfiguration_r10__criticalExtensions__c1, present), - sizeof(((struct RNReconfiguration_r10__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_4, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_4 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_4, - asn_MBR_c1_4, - 4, /* Elements count */ - &asn_SPC_c1_specs_4 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_9 = { - sizeof(struct RNReconfiguration_r10__criticalExtensions__criticalExtensionsFuture), - offsetof(struct RNReconfiguration_r10__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_9 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_9, - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_9, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct RNReconfiguration_r10__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct RNReconfiguration_r10__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 590 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 593 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct RNReconfiguration_r10__criticalExtensions), - offsetof(struct RNReconfiguration_r10__criticalExtensions, _asn_ctx), - offsetof(struct RNReconfiguration_r10__criticalExtensions, present), - sizeof(((struct RNReconfiguration_r10__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RNReconfiguration_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RNReconfiguration_r10, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct RNReconfiguration_r10, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_RNReconfiguration_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RNReconfiguration_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 587 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 592 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RNReconfiguration_r10_specs_1 = { - sizeof(struct RNReconfiguration_r10), - offsetof(struct RNReconfiguration_r10, _asn_ctx), - asn_MAP_RNReconfiguration_r10_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RNReconfiguration_r10 = { - "RNReconfiguration-r10", - "RNReconfiguration-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RNReconfiguration_r10_tags_1, - sizeof(asn_DEF_RNReconfiguration_r10_tags_1) - /sizeof(asn_DEF_RNReconfiguration_r10_tags_1[0]), /* 1 */ - asn_DEF_RNReconfiguration_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_RNReconfiguration_r10_tags_1) - /sizeof(asn_DEF_RNReconfiguration_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RNReconfiguration_r10_1, - 2, /* Elements count */ - &asn_SPC_RNReconfiguration_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RNReconfigurationComplete-r10-IEs.c b/lte/rrc/lib/asn/src/RNReconfigurationComplete-r10-IEs.c deleted file mode 100644 index f7f9564ef..000000000 --- a/lte/rrc/lib/asn/src/RNReconfigurationComplete-r10-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RNReconfigurationComplete-r10-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct RNReconfigurationComplete_r10_IEs__nonCriticalExtension), - offsetof(struct RNReconfigurationComplete_r10_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RNReconfigurationComplete_r10_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct RNReconfigurationComplete_r10_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct RNReconfigurationComplete_r10_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RNReconfigurationComplete_r10_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_RNReconfigurationComplete_r10_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RNReconfigurationComplete_r10_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 623 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 624 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RNReconfigurationComplete_r10_IEs_specs_1 = { - sizeof(struct RNReconfigurationComplete_r10_IEs), - offsetof(struct RNReconfigurationComplete_r10_IEs, _asn_ctx), - asn_MAP_RNReconfigurationComplete_r10_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RNReconfigurationComplete_r10_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RNReconfigurationComplete_r10_IEs = { - "RNReconfigurationComplete-r10-IEs", - "RNReconfigurationComplete-r10-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RNReconfigurationComplete_r10_IEs_tags_1, - sizeof(asn_DEF_RNReconfigurationComplete_r10_IEs_tags_1) - /sizeof(asn_DEF_RNReconfigurationComplete_r10_IEs_tags_1[0]), /* 1 */ - asn_DEF_RNReconfigurationComplete_r10_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RNReconfigurationComplete_r10_IEs_tags_1) - /sizeof(asn_DEF_RNReconfigurationComplete_r10_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RNReconfigurationComplete_r10_IEs_1, - 2, /* Elements count */ - &asn_SPC_RNReconfigurationComplete_r10_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RNReconfigurationComplete-r10.c b/lte/rrc/lib/asn/src/RNReconfigurationComplete-r10.c deleted file mode 100644 index 55eaa61b6..000000000 --- a/lte/rrc/lib/asn/src/RNReconfigurationComplete-r10.c +++ /dev/null @@ -1,254 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RNReconfigurationComplete-r10.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_4 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct RNReconfigurationComplete_r10__criticalExtensions__c1, choice.rnReconfigurationComplete_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RNReconfigurationComplete_r10_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rnReconfigurationComplete-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RNReconfigurationComplete_r10__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct RNReconfigurationComplete_r10__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct RNReconfigurationComplete_r10__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rnReconfigurationComplete-r10 at 615 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 at 616 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 616 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 616 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_4 = { - sizeof(struct RNReconfigurationComplete_r10__criticalExtensions__c1), - offsetof(struct RNReconfigurationComplete_r10__criticalExtensions__c1, _asn_ctx), - offsetof(struct RNReconfigurationComplete_r10__criticalExtensions__c1, present), - sizeof(((struct RNReconfigurationComplete_r10__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_4, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_4 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_4, - asn_MBR_c1_4, - 4, /* Elements count */ - &asn_SPC_c1_specs_4 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_9 = { - sizeof(struct RNReconfigurationComplete_r10__criticalExtensions__criticalExtensionsFuture), - offsetof(struct RNReconfigurationComplete_r10__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_9 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_9, - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_9, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct RNReconfigurationComplete_r10__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct RNReconfigurationComplete_r10__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 615 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 618 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct RNReconfigurationComplete_r10__criticalExtensions), - offsetof(struct RNReconfigurationComplete_r10__criticalExtensions, _asn_ctx), - offsetof(struct RNReconfigurationComplete_r10__criticalExtensions, present), - sizeof(((struct RNReconfigurationComplete_r10__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RNReconfigurationComplete_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RNReconfigurationComplete_r10, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct RNReconfigurationComplete_r10, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_RNReconfigurationComplete_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RNReconfigurationComplete_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 612 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 617 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RNReconfigurationComplete_r10_specs_1 = { - sizeof(struct RNReconfigurationComplete_r10), - offsetof(struct RNReconfigurationComplete_r10, _asn_ctx), - asn_MAP_RNReconfigurationComplete_r10_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RNReconfigurationComplete_r10 = { - "RNReconfigurationComplete-r10", - "RNReconfigurationComplete-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RNReconfigurationComplete_r10_tags_1, - sizeof(asn_DEF_RNReconfigurationComplete_r10_tags_1) - /sizeof(asn_DEF_RNReconfigurationComplete_r10_tags_1[0]), /* 1 */ - asn_DEF_RNReconfigurationComplete_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_RNReconfigurationComplete_r10_tags_1) - /sizeof(asn_DEF_RNReconfigurationComplete_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RNReconfigurationComplete_r10_1, - 2, /* Elements count */ - &asn_SPC_RNReconfigurationComplete_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRC-TransactionIdentifier.c b/lte/rrc/lib/asn/src/RRC-TransactionIdentifier.c deleted file mode 100644 index aad7251f5..000000000 --- a/lte/rrc/lib/asn/src/RRC-TransactionIdentifier.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRC-TransactionIdentifier.h" - -int -RRC_TransactionIdentifier_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 3)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -RRC_TransactionIdentifier_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -RRC_TransactionIdentifier_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - RRC_TransactionIdentifier_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -RRC_TransactionIdentifier_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - RRC_TransactionIdentifier_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -RRC_TransactionIdentifier_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - RRC_TransactionIdentifier_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -RRC_TransactionIdentifier_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - RRC_TransactionIdentifier_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -RRC_TransactionIdentifier_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - RRC_TransactionIdentifier_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -RRC_TransactionIdentifier_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - RRC_TransactionIdentifier_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -RRC_TransactionIdentifier_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - RRC_TransactionIdentifier_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -RRC_TransactionIdentifier_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - RRC_TransactionIdentifier_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_RRC_TransactionIdentifier_constr_1 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_RRC_TransactionIdentifier_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RRC_TransactionIdentifier = { - "RRC-TransactionIdentifier", - "RRC-TransactionIdentifier", - RRC_TransactionIdentifier_free, - RRC_TransactionIdentifier_print, - RRC_TransactionIdentifier_constraint, - RRC_TransactionIdentifier_decode_ber, - RRC_TransactionIdentifier_encode_der, - RRC_TransactionIdentifier_decode_xer, - RRC_TransactionIdentifier_encode_xer, - RRC_TransactionIdentifier_decode_uper, - RRC_TransactionIdentifier_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRC_TransactionIdentifier_tags_1, - sizeof(asn_DEF_RRC_TransactionIdentifier_tags_1) - /sizeof(asn_DEF_RRC_TransactionIdentifier_tags_1[0]), /* 1 */ - asn_DEF_RRC_TransactionIdentifier_tags_1, /* Same as above */ - sizeof(asn_DEF_RRC_TransactionIdentifier_tags_1) - /sizeof(asn_DEF_RRC_TransactionIdentifier_tags_1[0]), /* 1 */ - &asn_PER_type_RRC_TransactionIdentifier_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReconfiguration-r8-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReconfiguration-r8-IEs.c deleted file mode 100644 index d1f573b6a..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReconfiguration-r8-IEs.c +++ /dev/null @@ -1,194 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReconfiguration-r8-IEs.h" - -static int -memb_dedicatedInfoNASList_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - /* Determine the number of elements */ - size = _A_CSEQUENCE_FROM_VOID(sptr)->count; - - if((size >= 1 && size <= 11)) { - /* Perform validation of the inner elements */ - return td->check_constraints(td, sptr, ctfailcb, app_key); - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_dedicatedInfoNASList_constr_4 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 11 } /* (SIZE(1..11)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_dedicatedInfoNASList_constr_4 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 11 } /* (SIZE(1..11)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_dedicatedInfoNASList_4[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), - 0, - &asn_DEF_DedicatedInfoNAS, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_dedicatedInfoNASList_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_dedicatedInfoNASList_specs_4 = { - sizeof(struct RRCConnectionReconfiguration_r8_IEs__dedicatedInfoNASList), - offsetof(struct RRCConnectionReconfiguration_r8_IEs__dedicatedInfoNASList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_dedicatedInfoNASList_4 = { - "dedicatedInfoNASList", - "dedicatedInfoNASList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_dedicatedInfoNASList_tags_4, - sizeof(asn_DEF_dedicatedInfoNASList_tags_4) - /sizeof(asn_DEF_dedicatedInfoNASList_tags_4[0]) - 1, /* 1 */ - asn_DEF_dedicatedInfoNASList_tags_4, /* Same as above */ - sizeof(asn_DEF_dedicatedInfoNASList_tags_4) - /sizeof(asn_DEF_dedicatedInfoNASList_tags_4[0]), /* 2 */ - &asn_PER_type_dedicatedInfoNASList_constr_4, - asn_MBR_dedicatedInfoNASList_4, - 1, /* Single element */ - &asn_SPC_dedicatedInfoNASList_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionReconfiguration_r8_IEs_1[] = { - { ATF_POINTER, 6, offsetof(struct RRCConnectionReconfiguration_r8_IEs, measConfig), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measConfig" - }, - { ATF_POINTER, 5, offsetof(struct RRCConnectionReconfiguration_r8_IEs, mobilityControlInfo), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MobilityControlInfo, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mobilityControlInfo" - }, - { ATF_POINTER, 4, offsetof(struct RRCConnectionReconfiguration_r8_IEs, dedicatedInfoNASList), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_dedicatedInfoNASList_4, - memb_dedicatedInfoNASList_constraint_1, - &asn_PER_memb_dedicatedInfoNASList_constr_4, - 0, - "dedicatedInfoNASList" - }, - { ATF_POINTER, 3, offsetof(struct RRCConnectionReconfiguration_r8_IEs, radioResourceConfigDedicated), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RadioResourceConfigDedicated, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "radioResourceConfigDedicated" - }, - { ATF_POINTER, 2, offsetof(struct RRCConnectionReconfiguration_r8_IEs, securityConfigHO), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SecurityConfigHO, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "securityConfigHO" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionReconfiguration_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReconfiguration_v890_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionReconfiguration_r8_IEs_oms_1[] = { 0, 1, 2, 3, 4, 5 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionReconfiguration_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReconfiguration_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measConfig at 642 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* mobilityControlInfo at 643 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* dedicatedInfoNASList at 645 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* radioResourceConfigDedicated at 646 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* securityConfigHO at 647 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* nonCriticalExtension at 648 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReconfiguration_r8_IEs_specs_1 = { - sizeof(struct RRCConnectionReconfiguration_r8_IEs), - offsetof(struct RRCConnectionReconfiguration_r8_IEs, _asn_ctx), - asn_MAP_RRCConnectionReconfiguration_r8_IEs_tag2el_1, - 6, /* Count of tags in the map */ - asn_MAP_RRCConnectionReconfiguration_r8_IEs_oms_1, /* Optional members */ - 6, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfiguration_r8_IEs = { - "RRCConnectionReconfiguration-r8-IEs", - "RRCConnectionReconfiguration-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReconfiguration_r8_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReconfiguration_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReconfiguration_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReconfiguration_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReconfiguration_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReconfiguration_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReconfiguration_r8_IEs_1, - 6, /* Elements count */ - &asn_SPC_RRCConnectionReconfiguration_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReconfiguration-v1020-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReconfiguration-v1020-IEs.c deleted file mode 100644 index dc2aaa879..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReconfiguration-v1020-IEs.c +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReconfiguration-v1020-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_4 = { - sizeof(struct RRCConnectionReconfiguration_v1020_IEs__nonCriticalExtension), - offsetof(struct RRCConnectionReconfiguration_v1020_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_4 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_4, - sizeof(asn_DEF_nonCriticalExtension_tags_4) - /sizeof(asn_DEF_nonCriticalExtension_tags_4[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_4, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_4) - /sizeof(asn_DEF_nonCriticalExtension_tags_4[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionReconfiguration_v1020_IEs_1[] = { - { ATF_POINTER, 3, offsetof(struct RRCConnectionReconfiguration_v1020_IEs, sCellToReleaseList_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SCellToReleaseList_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sCellToReleaseList-r10" - }, - { ATF_POINTER, 2, offsetof(struct RRCConnectionReconfiguration_v1020_IEs, sCellToAddModList_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SCellToAddModList_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sCellToAddModList-r10" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionReconfiguration_v1020_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_nonCriticalExtension_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionReconfiguration_v1020_IEs_oms_1[] = { 0, 1, 2 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionReconfiguration_v1020_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReconfiguration_v1020_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sCellToReleaseList-r10 at 663 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* sCellToAddModList-r10 at 664 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* nonCriticalExtension at 665 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReconfiguration_v1020_IEs_specs_1 = { - sizeof(struct RRCConnectionReconfiguration_v1020_IEs), - offsetof(struct RRCConnectionReconfiguration_v1020_IEs, _asn_ctx), - asn_MAP_RRCConnectionReconfiguration_v1020_IEs_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_RRCConnectionReconfiguration_v1020_IEs_oms_1, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfiguration_v1020_IEs = { - "RRCConnectionReconfiguration-v1020-IEs", - "RRCConnectionReconfiguration-v1020-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReconfiguration_v1020_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReconfiguration_v1020_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReconfiguration_v1020_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReconfiguration_v1020_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReconfiguration_v1020_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReconfiguration_v1020_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReconfiguration_v1020_IEs_1, - 3, /* Elements count */ - &asn_SPC_RRCConnectionReconfiguration_v1020_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReconfiguration-v890-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReconfiguration-v890-IEs.c deleted file mode 100644 index e6f35e008..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReconfiguration-v890-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReconfiguration-v890-IEs.h" - -static asn_TYPE_member_t asn_MBR_RRCConnectionReconfiguration_v890_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct RRCConnectionReconfiguration_v890_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionReconfiguration_v890_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReconfiguration_v920_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionReconfiguration_v890_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionReconfiguration_v890_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReconfiguration_v890_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 652 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 653 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReconfiguration_v890_IEs_specs_1 = { - sizeof(struct RRCConnectionReconfiguration_v890_IEs), - offsetof(struct RRCConnectionReconfiguration_v890_IEs, _asn_ctx), - asn_MAP_RRCConnectionReconfiguration_v890_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RRCConnectionReconfiguration_v890_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfiguration_v890_IEs = { - "RRCConnectionReconfiguration-v890-IEs", - "RRCConnectionReconfiguration-v890-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReconfiguration_v890_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReconfiguration_v890_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReconfiguration_v890_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReconfiguration_v890_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReconfiguration_v890_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReconfiguration_v890_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReconfiguration_v890_IEs_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionReconfiguration_v890_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReconfiguration-v920-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReconfiguration-v920-IEs.c deleted file mode 100644 index 5abae44eb..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReconfiguration-v920-IEs.c +++ /dev/null @@ -1,219 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReconfiguration-v920-IEs.h" - -static int -fullConfig_r9_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -fullConfig_r9_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -fullConfig_r9_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - fullConfig_r9_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -fullConfig_r9_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - fullConfig_r9_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -fullConfig_r9_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - fullConfig_r9_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -fullConfig_r9_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - fullConfig_r9_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -fullConfig_r9_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - fullConfig_r9_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -fullConfig_r9_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - fullConfig_r9_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -fullConfig_r9_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - fullConfig_r9_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -fullConfig_r9_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - fullConfig_r9_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_fullConfig_r9_constr_3 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_fullConfig_r9_value2enum_3[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_fullConfig_r9_enum2value_3[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_fullConfig_r9_specs_3 = { - asn_MAP_fullConfig_r9_value2enum_3, /* "tag" => N; sorted by tag */ - asn_MAP_fullConfig_r9_enum2value_3, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_fullConfig_r9_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_fullConfig_r9_3 = { - "fullConfig-r9", - "fullConfig-r9", - fullConfig_r9_3_free, - fullConfig_r9_3_print, - fullConfig_r9_3_constraint, - fullConfig_r9_3_decode_ber, - fullConfig_r9_3_encode_der, - fullConfig_r9_3_decode_xer, - fullConfig_r9_3_encode_xer, - fullConfig_r9_3_decode_uper, - fullConfig_r9_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_fullConfig_r9_tags_3, - sizeof(asn_DEF_fullConfig_r9_tags_3) - /sizeof(asn_DEF_fullConfig_r9_tags_3[0]) - 1, /* 1 */ - asn_DEF_fullConfig_r9_tags_3, /* Same as above */ - sizeof(asn_DEF_fullConfig_r9_tags_3) - /sizeof(asn_DEF_fullConfig_r9_tags_3[0]), /* 2 */ - &asn_PER_type_fullConfig_r9_constr_3, - 0, 0, /* Defined elsewhere */ - &asn_SPC_fullConfig_r9_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionReconfiguration_v920_IEs_1[] = { - { ATF_POINTER, 3, offsetof(struct RRCConnectionReconfiguration_v920_IEs, otherConfig_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OtherConfig_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "otherConfig-r9" - }, - { ATF_POINTER, 2, offsetof(struct RRCConnectionReconfiguration_v920_IEs, fullConfig_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_fullConfig_r9_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "fullConfig-r9" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionReconfiguration_v920_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReconfiguration_v1020_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionReconfiguration_v920_IEs_oms_1[] = { 0, 1, 2 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionReconfiguration_v920_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReconfiguration_v920_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* otherConfig-r9 at 657 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* fullConfig-r9 at 658 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* nonCriticalExtension at 659 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReconfiguration_v920_IEs_specs_1 = { - sizeof(struct RRCConnectionReconfiguration_v920_IEs), - offsetof(struct RRCConnectionReconfiguration_v920_IEs, _asn_ctx), - asn_MAP_RRCConnectionReconfiguration_v920_IEs_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_RRCConnectionReconfiguration_v920_IEs_oms_1, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfiguration_v920_IEs = { - "RRCConnectionReconfiguration-v920-IEs", - "RRCConnectionReconfiguration-v920-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReconfiguration_v920_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReconfiguration_v920_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReconfiguration_v920_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReconfiguration_v920_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReconfiguration_v920_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReconfiguration_v920_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReconfiguration_v920_IEs_1, - 3, /* Elements count */ - &asn_SPC_RRCConnectionReconfiguration_v920_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReconfiguration.c b/lte/rrc/lib/asn/src/RRCConnectionReconfiguration.c deleted file mode 100644 index b24bf9a21..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReconfiguration.c +++ /dev/null @@ -1,294 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReconfiguration.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_4 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReconfiguration__criticalExtensions__c1, choice.rrcConnectionReconfiguration_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReconfiguration_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionReconfiguration-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReconfiguration__criticalExtensions__c1, choice.spare7), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare7" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReconfiguration__criticalExtensions__c1, choice.spare6), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare6" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReconfiguration__criticalExtensions__c1, choice.spare5), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare5" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReconfiguration__criticalExtensions__c1, choice.spare4), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare4" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReconfiguration__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReconfiguration__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReconfiguration__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrcConnectionReconfiguration-r8 at 632 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare7 at 633 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare6 at 634 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* spare5 at 634 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* spare4 at 634 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* spare3 at 635 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* spare2 at 635 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* spare1 at 635 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_4 = { - sizeof(struct RRCConnectionReconfiguration__criticalExtensions__c1), - offsetof(struct RRCConnectionReconfiguration__criticalExtensions__c1, _asn_ctx), - offsetof(struct RRCConnectionReconfiguration__criticalExtensions__c1, present), - sizeof(((struct RRCConnectionReconfiguration__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_4, - 8, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_4 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_4, - asn_MBR_c1_4, - 8, /* Elements count */ - &asn_SPC_c1_specs_4 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_13[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_13 = { - sizeof(struct RRCConnectionReconfiguration__criticalExtensions__criticalExtensionsFuture), - offsetof(struct RRCConnectionReconfiguration__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_13 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_13, - sizeof(asn_DEF_criticalExtensionsFuture_tags_13) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_13[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_13, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_13) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_13[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_13 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReconfiguration__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReconfiguration__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_13, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 632 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 637 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct RRCConnectionReconfiguration__criticalExtensions), - offsetof(struct RRCConnectionReconfiguration__criticalExtensions, _asn_ctx), - offsetof(struct RRCConnectionReconfiguration__criticalExtensions, present), - sizeof(((struct RRCConnectionReconfiguration__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionReconfiguration_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReconfiguration, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReconfiguration, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_RRCConnectionReconfiguration_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReconfiguration_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 629 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 636 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReconfiguration_specs_1 = { - sizeof(struct RRCConnectionReconfiguration), - offsetof(struct RRCConnectionReconfiguration, _asn_ctx), - asn_MAP_RRCConnectionReconfiguration_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfiguration = { - "RRCConnectionReconfiguration", - "RRCConnectionReconfiguration", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReconfiguration_tags_1, - sizeof(asn_DEF_RRCConnectionReconfiguration_tags_1) - /sizeof(asn_DEF_RRCConnectionReconfiguration_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReconfiguration_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReconfiguration_tags_1) - /sizeof(asn_DEF_RRCConnectionReconfiguration_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReconfiguration_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionReconfiguration_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReconfigurationComplete-r8-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReconfigurationComplete-r8-IEs.c deleted file mode 100644 index b7ba608b8..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReconfigurationComplete-r8-IEs.c +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReconfigurationComplete-r8-IEs.h" - -static asn_TYPE_member_t asn_MBR_RRCConnectionReconfigurationComplete_r8_IEs_1[] = { - { ATF_POINTER, 1, offsetof(struct RRCConnectionReconfigurationComplete_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReconfigurationComplete_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionReconfigurationComplete_r8_IEs_oms_1[] = { 0 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionReconfigurationComplete_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReconfigurationComplete_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* nonCriticalExtension at 710 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReconfigurationComplete_r8_IEs_specs_1 = { - sizeof(struct RRCConnectionReconfigurationComplete_r8_IEs), - offsetof(struct RRCConnectionReconfigurationComplete_r8_IEs, _asn_ctx), - asn_MAP_RRCConnectionReconfigurationComplete_r8_IEs_tag2el_1, - 1, /* Count of tags in the map */ - asn_MAP_RRCConnectionReconfigurationComplete_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfigurationComplete_r8_IEs = { - "RRCConnectionReconfigurationComplete-r8-IEs", - "RRCConnectionReconfigurationComplete-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReconfigurationComplete_r8_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReconfigurationComplete_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReconfigurationComplete_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReconfigurationComplete_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReconfigurationComplete_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReconfigurationComplete_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReconfigurationComplete_r8_IEs_1, - 1, /* Elements count */ - &asn_SPC_RRCConnectionReconfigurationComplete_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReconfigurationComplete-v1020-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReconfigurationComplete-v1020-IEs.c deleted file mode 100644 index 0c5e7ef65..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReconfigurationComplete-v1020-IEs.c +++ /dev/null @@ -1,394 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReconfigurationComplete-v1020-IEs.h" - -static int -rlf_InfoAvailable_r10_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -rlf_InfoAvailable_r10_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -rlf_InfoAvailable_r10_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - rlf_InfoAvailable_r10_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -rlf_InfoAvailable_r10_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - rlf_InfoAvailable_r10_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -rlf_InfoAvailable_r10_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - rlf_InfoAvailable_r10_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -rlf_InfoAvailable_r10_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - rlf_InfoAvailable_r10_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -rlf_InfoAvailable_r10_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - rlf_InfoAvailable_r10_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -rlf_InfoAvailable_r10_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - rlf_InfoAvailable_r10_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -rlf_InfoAvailable_r10_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - rlf_InfoAvailable_r10_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -rlf_InfoAvailable_r10_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - rlf_InfoAvailable_r10_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -logMeasAvailable_r10_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -logMeasAvailable_r10_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -logMeasAvailable_r10_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - logMeasAvailable_r10_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -logMeasAvailable_r10_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - logMeasAvailable_r10_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -logMeasAvailable_r10_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - logMeasAvailable_r10_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -logMeasAvailable_r10_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - logMeasAvailable_r10_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -logMeasAvailable_r10_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - logMeasAvailable_r10_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -logMeasAvailable_r10_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - logMeasAvailable_r10_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -logMeasAvailable_r10_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - logMeasAvailable_r10_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -logMeasAvailable_r10_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - logMeasAvailable_r10_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_rlf_InfoAvailable_r10_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_logMeasAvailable_r10_constr_4 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_rlf_InfoAvailable_r10_value2enum_2[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_rlf_InfoAvailable_r10_enum2value_2[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_rlf_InfoAvailable_r10_specs_2 = { - asn_MAP_rlf_InfoAvailable_r10_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_rlf_InfoAvailable_r10_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_rlf_InfoAvailable_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_rlf_InfoAvailable_r10_2 = { - "rlf-InfoAvailable-r10", - "rlf-InfoAvailable-r10", - rlf_InfoAvailable_r10_2_free, - rlf_InfoAvailable_r10_2_print, - rlf_InfoAvailable_r10_2_constraint, - rlf_InfoAvailable_r10_2_decode_ber, - rlf_InfoAvailable_r10_2_encode_der, - rlf_InfoAvailable_r10_2_decode_xer, - rlf_InfoAvailable_r10_2_encode_xer, - rlf_InfoAvailable_r10_2_decode_uper, - rlf_InfoAvailable_r10_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_rlf_InfoAvailable_r10_tags_2, - sizeof(asn_DEF_rlf_InfoAvailable_r10_tags_2) - /sizeof(asn_DEF_rlf_InfoAvailable_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_rlf_InfoAvailable_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_rlf_InfoAvailable_r10_tags_2) - /sizeof(asn_DEF_rlf_InfoAvailable_r10_tags_2[0]), /* 2 */ - &asn_PER_type_rlf_InfoAvailable_r10_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_rlf_InfoAvailable_r10_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_logMeasAvailable_r10_value2enum_4[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_logMeasAvailable_r10_enum2value_4[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_logMeasAvailable_r10_specs_4 = { - asn_MAP_logMeasAvailable_r10_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_logMeasAvailable_r10_enum2value_4, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_logMeasAvailable_r10_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_logMeasAvailable_r10_4 = { - "logMeasAvailable-r10", - "logMeasAvailable-r10", - logMeasAvailable_r10_4_free, - logMeasAvailable_r10_4_print, - logMeasAvailable_r10_4_constraint, - logMeasAvailable_r10_4_decode_ber, - logMeasAvailable_r10_4_encode_der, - logMeasAvailable_r10_4_decode_xer, - logMeasAvailable_r10_4_encode_xer, - logMeasAvailable_r10_4_decode_uper, - logMeasAvailable_r10_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_logMeasAvailable_r10_tags_4, - sizeof(asn_DEF_logMeasAvailable_r10_tags_4) - /sizeof(asn_DEF_logMeasAvailable_r10_tags_4[0]) - 1, /* 1 */ - asn_DEF_logMeasAvailable_r10_tags_4, /* Same as above */ - sizeof(asn_DEF_logMeasAvailable_r10_tags_4) - /sizeof(asn_DEF_logMeasAvailable_r10_tags_4[0]), /* 2 */ - &asn_PER_type_logMeasAvailable_r10_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_logMeasAvailable_r10_specs_4 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_6[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_6 = { - sizeof(struct RRCConnectionReconfigurationComplete_v1020_IEs__nonCriticalExtension), - offsetof(struct RRCConnectionReconfigurationComplete_v1020_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_6 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_6, - sizeof(asn_DEF_nonCriticalExtension_tags_6) - /sizeof(asn_DEF_nonCriticalExtension_tags_6[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_6, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_6) - /sizeof(asn_DEF_nonCriticalExtension_tags_6[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_6 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionReconfigurationComplete_v1020_IEs_1[] = { - { ATF_POINTER, 3, offsetof(struct RRCConnectionReconfigurationComplete_v1020_IEs, rlf_InfoAvailable_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_rlf_InfoAvailable_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rlf-InfoAvailable-r10" - }, - { ATF_POINTER, 2, offsetof(struct RRCConnectionReconfigurationComplete_v1020_IEs, logMeasAvailable_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_logMeasAvailable_r10_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "logMeasAvailable-r10" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionReconfigurationComplete_v1020_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_nonCriticalExtension_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionReconfigurationComplete_v1020_IEs_oms_1[] = { 0, 1, 2 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionReconfigurationComplete_v1020_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReconfigurationComplete_v1020_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rlf-InfoAvailable-r10 at 719 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* logMeasAvailable-r10 at 720 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* nonCriticalExtension at 721 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReconfigurationComplete_v1020_IEs_specs_1 = { - sizeof(struct RRCConnectionReconfigurationComplete_v1020_IEs), - offsetof(struct RRCConnectionReconfigurationComplete_v1020_IEs, _asn_ctx), - asn_MAP_RRCConnectionReconfigurationComplete_v1020_IEs_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_RRCConnectionReconfigurationComplete_v1020_IEs_oms_1, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfigurationComplete_v1020_IEs = { - "RRCConnectionReconfigurationComplete-v1020-IEs", - "RRCConnectionReconfigurationComplete-v1020-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReconfigurationComplete_v1020_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReconfigurationComplete_v1020_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReconfigurationComplete_v1020_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReconfigurationComplete_v1020_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReconfigurationComplete_v1020_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReconfigurationComplete_v1020_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReconfigurationComplete_v1020_IEs_1, - 3, /* Elements count */ - &asn_SPC_RRCConnectionReconfigurationComplete_v1020_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReconfigurationComplete-v8a0-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReconfigurationComplete-v8a0-IEs.c deleted file mode 100644 index c0a0680ed..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReconfigurationComplete-v8a0-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReconfigurationComplete-v8a0-IEs.h" - -static asn_TYPE_member_t asn_MBR_RRCConnectionReconfigurationComplete_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct RRCConnectionReconfigurationComplete_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionReconfigurationComplete_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReconfigurationComplete_v1020_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionReconfigurationComplete_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionReconfigurationComplete_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReconfigurationComplete_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 714 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 715 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReconfigurationComplete_v8a0_IEs_specs_1 = { - sizeof(struct RRCConnectionReconfigurationComplete_v8a0_IEs), - offsetof(struct RRCConnectionReconfigurationComplete_v8a0_IEs, _asn_ctx), - asn_MAP_RRCConnectionReconfigurationComplete_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RRCConnectionReconfigurationComplete_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfigurationComplete_v8a0_IEs = { - "RRCConnectionReconfigurationComplete-v8a0-IEs", - "RRCConnectionReconfigurationComplete-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReconfigurationComplete_v8a0_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReconfigurationComplete_v8a0_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReconfigurationComplete_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReconfigurationComplete_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReconfigurationComplete_v8a0_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReconfigurationComplete_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReconfigurationComplete_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionReconfigurationComplete_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReconfigurationComplete.c b/lte/rrc/lib/asn/src/RRCConnectionReconfigurationComplete.c deleted file mode 100644 index 0cad6e963..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReconfigurationComplete.c +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReconfigurationComplete.h" - -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_5 = { - sizeof(struct RRCConnectionReconfigurationComplete__criticalExtensions__criticalExtensionsFuture), - offsetof(struct RRCConnectionReconfigurationComplete__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_5 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_5, - sizeof(asn_DEF_criticalExtensionsFuture_tags_5) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_5[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_5, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_5) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReconfigurationComplete__criticalExtensions, choice.rrcConnectionReconfigurationComplete_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReconfigurationComplete_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionReconfigurationComplete-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReconfigurationComplete__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrcConnectionReconfigurationComplete-r8 at 704 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 705 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct RRCConnectionReconfigurationComplete__criticalExtensions), - offsetof(struct RRCConnectionReconfigurationComplete__criticalExtensions, _asn_ctx), - offsetof(struct RRCConnectionReconfigurationComplete__criticalExtensions, present), - sizeof(((struct RRCConnectionReconfigurationComplete__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionReconfigurationComplete_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReconfigurationComplete, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReconfigurationComplete, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_RRCConnectionReconfigurationComplete_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReconfigurationComplete_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 701 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 704 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReconfigurationComplete_specs_1 = { - sizeof(struct RRCConnectionReconfigurationComplete), - offsetof(struct RRCConnectionReconfigurationComplete, _asn_ctx), - asn_MAP_RRCConnectionReconfigurationComplete_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfigurationComplete = { - "RRCConnectionReconfigurationComplete", - "RRCConnectionReconfigurationComplete", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReconfigurationComplete_tags_1, - sizeof(asn_DEF_RRCConnectionReconfigurationComplete_tags_1) - /sizeof(asn_DEF_RRCConnectionReconfigurationComplete_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReconfigurationComplete_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReconfigurationComplete_tags_1) - /sizeof(asn_DEF_RRCConnectionReconfigurationComplete_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReconfigurationComplete_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionReconfigurationComplete_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReestablishment-r8-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReestablishment-r8-IEs.c deleted file mode 100644 index 1b28129bc..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReestablishment-r8-IEs.c +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReestablishment-r8-IEs.h" - -static asn_TYPE_member_t asn_MBR_RRCConnectionReestablishment_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishment_r8_IEs, radioResourceConfigDedicated), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RadioResourceConfigDedicated, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "radioResourceConfigDedicated" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishment_r8_IEs, nextHopChainingCount), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NextHopChainingCount, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nextHopChainingCount" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionReestablishment_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReestablishment_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionReestablishment_r8_IEs_oms_1[] = { 2 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionReestablishment_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReestablishment_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* radioResourceConfigDedicated at 739 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nextHopChainingCount at 740 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* nonCriticalExtension at 741 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReestablishment_r8_IEs_specs_1 = { - sizeof(struct RRCConnectionReestablishment_r8_IEs), - offsetof(struct RRCConnectionReestablishment_r8_IEs, _asn_ctx), - asn_MAP_RRCConnectionReestablishment_r8_IEs_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_RRCConnectionReestablishment_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishment_r8_IEs = { - "RRCConnectionReestablishment-r8-IEs", - "RRCConnectionReestablishment-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReestablishment_r8_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReestablishment_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishment_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReestablishment_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReestablishment_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishment_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReestablishment_r8_IEs_1, - 3, /* Elements count */ - &asn_SPC_RRCConnectionReestablishment_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReestablishment-v8a0-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReestablishment-v8a0-IEs.c deleted file mode 100644 index 8129bbeac..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReestablishment-v8a0-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReestablishment-v8a0-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct RRCConnectionReestablishment_v8a0_IEs__nonCriticalExtension), - offsetof(struct RRCConnectionReestablishment_v8a0_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionReestablishment_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct RRCConnectionReestablishment_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionReestablishment_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionReestablishment_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionReestablishment_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReestablishment_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 745 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 746 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReestablishment_v8a0_IEs_specs_1 = { - sizeof(struct RRCConnectionReestablishment_v8a0_IEs), - offsetof(struct RRCConnectionReestablishment_v8a0_IEs, _asn_ctx), - asn_MAP_RRCConnectionReestablishment_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RRCConnectionReestablishment_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishment_v8a0_IEs = { - "RRCConnectionReestablishment-v8a0-IEs", - "RRCConnectionReestablishment-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReestablishment_v8a0_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReestablishment_v8a0_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishment_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReestablishment_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReestablishment_v8a0_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishment_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReestablishment_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionReestablishment_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReestablishment.c b/lte/rrc/lib/asn/src/RRCConnectionReestablishment.c deleted file mode 100644 index a4c093254..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReestablishment.c +++ /dev/null @@ -1,294 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReestablishment.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_4 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishment__criticalExtensions__c1, choice.rrcConnectionReestablishment_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReestablishment_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionReestablishment-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishment__criticalExtensions__c1, choice.spare7), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare7" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishment__criticalExtensions__c1, choice.spare6), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare6" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishment__criticalExtensions__c1, choice.spare5), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare5" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishment__criticalExtensions__c1, choice.spare4), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare4" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishment__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishment__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishment__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrcConnectionReestablishment-r8 at 729 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare7 at 730 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare6 at 731 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* spare5 at 731 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* spare4 at 731 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* spare3 at 732 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* spare2 at 732 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* spare1 at 732 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_4 = { - sizeof(struct RRCConnectionReestablishment__criticalExtensions__c1), - offsetof(struct RRCConnectionReestablishment__criticalExtensions__c1, _asn_ctx), - offsetof(struct RRCConnectionReestablishment__criticalExtensions__c1, present), - sizeof(((struct RRCConnectionReestablishment__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_4, - 8, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_4 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_4, - asn_MBR_c1_4, - 8, /* Elements count */ - &asn_SPC_c1_specs_4 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_13[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_13 = { - sizeof(struct RRCConnectionReestablishment__criticalExtensions__criticalExtensionsFuture), - offsetof(struct RRCConnectionReestablishment__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_13 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_13, - sizeof(asn_DEF_criticalExtensionsFuture_tags_13) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_13[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_13, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_13) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_13[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_13 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishment__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishment__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_13, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 729 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 734 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct RRCConnectionReestablishment__criticalExtensions), - offsetof(struct RRCConnectionReestablishment__criticalExtensions, _asn_ctx), - offsetof(struct RRCConnectionReestablishment__criticalExtensions, present), - sizeof(((struct RRCConnectionReestablishment__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionReestablishment_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishment, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishment, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_RRCConnectionReestablishment_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReestablishment_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 726 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 733 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReestablishment_specs_1 = { - sizeof(struct RRCConnectionReestablishment), - offsetof(struct RRCConnectionReestablishment, _asn_ctx), - asn_MAP_RRCConnectionReestablishment_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishment = { - "RRCConnectionReestablishment", - "RRCConnectionReestablishment", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReestablishment_tags_1, - sizeof(asn_DEF_RRCConnectionReestablishment_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishment_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReestablishment_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReestablishment_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishment_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReestablishment_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionReestablishment_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete-r8-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete-r8-IEs.c deleted file mode 100644 index 177bae215..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete-r8-IEs.c +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReestablishmentComplete-r8-IEs.h" - -static asn_TYPE_member_t asn_MBR_RRCConnectionReestablishmentComplete_r8_IEs_1[] = { - { ATF_POINTER, 1, offsetof(struct RRCConnectionReestablishmentComplete_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReestablishmentComplete_v920_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionReestablishmentComplete_r8_IEs_oms_1[] = { 0 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionReestablishmentComplete_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReestablishmentComplete_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* nonCriticalExtension at 760 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReestablishmentComplete_r8_IEs_specs_1 = { - sizeof(struct RRCConnectionReestablishmentComplete_r8_IEs), - offsetof(struct RRCConnectionReestablishmentComplete_r8_IEs, _asn_ctx), - asn_MAP_RRCConnectionReestablishmentComplete_r8_IEs_tag2el_1, - 1, /* Count of tags in the map */ - asn_MAP_RRCConnectionReestablishmentComplete_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentComplete_r8_IEs = { - "RRCConnectionReestablishmentComplete-r8-IEs", - "RRCConnectionReestablishmentComplete-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReestablishmentComplete_r8_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReestablishmentComplete_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentComplete_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReestablishmentComplete_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReestablishmentComplete_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentComplete_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReestablishmentComplete_r8_IEs_1, - 1, /* Elements count */ - &asn_SPC_RRCConnectionReestablishmentComplete_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete-v1020-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete-v1020-IEs.c deleted file mode 100644 index c80b1665d..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete-v1020-IEs.c +++ /dev/null @@ -1,247 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReestablishmentComplete-v1020-IEs.h" - -static int -logMeasAvailable_r10_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -logMeasAvailable_r10_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -logMeasAvailable_r10_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - logMeasAvailable_r10_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -logMeasAvailable_r10_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - logMeasAvailable_r10_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -logMeasAvailable_r10_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - logMeasAvailable_r10_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -logMeasAvailable_r10_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - logMeasAvailable_r10_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -logMeasAvailable_r10_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - logMeasAvailable_r10_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -logMeasAvailable_r10_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - logMeasAvailable_r10_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -logMeasAvailable_r10_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - logMeasAvailable_r10_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -logMeasAvailable_r10_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - logMeasAvailable_r10_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_logMeasAvailable_r10_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_logMeasAvailable_r10_value2enum_2[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_logMeasAvailable_r10_enum2value_2[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_logMeasAvailable_r10_specs_2 = { - asn_MAP_logMeasAvailable_r10_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_logMeasAvailable_r10_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_logMeasAvailable_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_logMeasAvailable_r10_2 = { - "logMeasAvailable-r10", - "logMeasAvailable-r10", - logMeasAvailable_r10_2_free, - logMeasAvailable_r10_2_print, - logMeasAvailable_r10_2_constraint, - logMeasAvailable_r10_2_decode_ber, - logMeasAvailable_r10_2_encode_der, - logMeasAvailable_r10_2_decode_xer, - logMeasAvailable_r10_2_encode_xer, - logMeasAvailable_r10_2_decode_uper, - logMeasAvailable_r10_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_logMeasAvailable_r10_tags_2, - sizeof(asn_DEF_logMeasAvailable_r10_tags_2) - /sizeof(asn_DEF_logMeasAvailable_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_logMeasAvailable_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_logMeasAvailable_r10_tags_2) - /sizeof(asn_DEF_logMeasAvailable_r10_tags_2[0]), /* 2 */ - &asn_PER_type_logMeasAvailable_r10_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_logMeasAvailable_r10_specs_2 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_4 = { - sizeof(struct RRCConnectionReestablishmentComplete_v1020_IEs__nonCriticalExtension), - offsetof(struct RRCConnectionReestablishmentComplete_v1020_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_4 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_4, - sizeof(asn_DEF_nonCriticalExtension_tags_4) - /sizeof(asn_DEF_nonCriticalExtension_tags_4[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_4, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_4) - /sizeof(asn_DEF_nonCriticalExtension_tags_4[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionReestablishmentComplete_v1020_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct RRCConnectionReestablishmentComplete_v1020_IEs, logMeasAvailable_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_logMeasAvailable_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "logMeasAvailable-r10" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionReestablishmentComplete_v1020_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionReestablishmentComplete_v1020_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionReestablishmentComplete_v1020_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReestablishmentComplete_v1020_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* logMeasAvailable-r10 at 774 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 775 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReestablishmentComplete_v1020_IEs_specs_1 = { - sizeof(struct RRCConnectionReestablishmentComplete_v1020_IEs), - offsetof(struct RRCConnectionReestablishmentComplete_v1020_IEs, _asn_ctx), - asn_MAP_RRCConnectionReestablishmentComplete_v1020_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RRCConnectionReestablishmentComplete_v1020_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentComplete_v1020_IEs = { - "RRCConnectionReestablishmentComplete-v1020-IEs", - "RRCConnectionReestablishmentComplete-v1020-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReestablishmentComplete_v1020_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReestablishmentComplete_v1020_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentComplete_v1020_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReestablishmentComplete_v1020_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReestablishmentComplete_v1020_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentComplete_v1020_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReestablishmentComplete_v1020_IEs_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionReestablishmentComplete_v1020_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete-v8a0-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete-v8a0-IEs.c deleted file mode 100644 index 73e7fb78f..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete-v8a0-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReestablishmentComplete-v8a0-IEs.h" - -static asn_TYPE_member_t asn_MBR_RRCConnectionReestablishmentComplete_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct RRCConnectionReestablishmentComplete_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionReestablishmentComplete_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReestablishmentComplete_v1020_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionReestablishmentComplete_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionReestablishmentComplete_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReestablishmentComplete_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 769 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 770 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReestablishmentComplete_v8a0_IEs_specs_1 = { - sizeof(struct RRCConnectionReestablishmentComplete_v8a0_IEs), - offsetof(struct RRCConnectionReestablishmentComplete_v8a0_IEs, _asn_ctx), - asn_MAP_RRCConnectionReestablishmentComplete_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RRCConnectionReestablishmentComplete_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentComplete_v8a0_IEs = { - "RRCConnectionReestablishmentComplete-v8a0-IEs", - "RRCConnectionReestablishmentComplete-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReestablishmentComplete_v8a0_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReestablishmentComplete_v8a0_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentComplete_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReestablishmentComplete_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReestablishmentComplete_v8a0_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentComplete_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReestablishmentComplete_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionReestablishmentComplete_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete-v920-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete-v920-IEs.c deleted file mode 100644 index f80a24f06..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete-v920-IEs.c +++ /dev/null @@ -1,209 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReestablishmentComplete-v920-IEs.h" - -static int -rlf_InfoAvailable_r9_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -rlf_InfoAvailable_r9_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -rlf_InfoAvailable_r9_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - rlf_InfoAvailable_r9_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -rlf_InfoAvailable_r9_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - rlf_InfoAvailable_r9_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -rlf_InfoAvailable_r9_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - rlf_InfoAvailable_r9_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -rlf_InfoAvailable_r9_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - rlf_InfoAvailable_r9_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -rlf_InfoAvailable_r9_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - rlf_InfoAvailable_r9_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -rlf_InfoAvailable_r9_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - rlf_InfoAvailable_r9_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -rlf_InfoAvailable_r9_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - rlf_InfoAvailable_r9_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -rlf_InfoAvailable_r9_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - rlf_InfoAvailable_r9_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_rlf_InfoAvailable_r9_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_rlf_InfoAvailable_r9_value2enum_2[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_rlf_InfoAvailable_r9_enum2value_2[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_rlf_InfoAvailable_r9_specs_2 = { - asn_MAP_rlf_InfoAvailable_r9_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_rlf_InfoAvailable_r9_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_rlf_InfoAvailable_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_rlf_InfoAvailable_r9_2 = { - "rlf-InfoAvailable-r9", - "rlf-InfoAvailable-r9", - rlf_InfoAvailable_r9_2_free, - rlf_InfoAvailable_r9_2_print, - rlf_InfoAvailable_r9_2_constraint, - rlf_InfoAvailable_r9_2_decode_ber, - rlf_InfoAvailable_r9_2_encode_der, - rlf_InfoAvailable_r9_2_decode_xer, - rlf_InfoAvailable_r9_2_encode_xer, - rlf_InfoAvailable_r9_2_decode_uper, - rlf_InfoAvailable_r9_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_rlf_InfoAvailable_r9_tags_2, - sizeof(asn_DEF_rlf_InfoAvailable_r9_tags_2) - /sizeof(asn_DEF_rlf_InfoAvailable_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_rlf_InfoAvailable_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_rlf_InfoAvailable_r9_tags_2) - /sizeof(asn_DEF_rlf_InfoAvailable_r9_tags_2[0]), /* 2 */ - &asn_PER_type_rlf_InfoAvailable_r9_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_rlf_InfoAvailable_r9_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionReestablishmentComplete_v920_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct RRCConnectionReestablishmentComplete_v920_IEs, rlf_InfoAvailable_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_rlf_InfoAvailable_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rlf-InfoAvailable-r9" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionReestablishmentComplete_v920_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReestablishmentComplete_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionReestablishmentComplete_v920_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionReestablishmentComplete_v920_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReestablishmentComplete_v920_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rlf-InfoAvailable-r9 at 764 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 765 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReestablishmentComplete_v920_IEs_specs_1 = { - sizeof(struct RRCConnectionReestablishmentComplete_v920_IEs), - offsetof(struct RRCConnectionReestablishmentComplete_v920_IEs, _asn_ctx), - asn_MAP_RRCConnectionReestablishmentComplete_v920_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RRCConnectionReestablishmentComplete_v920_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentComplete_v920_IEs = { - "RRCConnectionReestablishmentComplete-v920-IEs", - "RRCConnectionReestablishmentComplete-v920-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReestablishmentComplete_v920_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReestablishmentComplete_v920_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentComplete_v920_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReestablishmentComplete_v920_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReestablishmentComplete_v920_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentComplete_v920_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReestablishmentComplete_v920_IEs_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionReestablishmentComplete_v920_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete.c b/lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete.c deleted file mode 100644 index 489d6bc72..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentComplete.c +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReestablishmentComplete.h" - -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_5 = { - sizeof(struct RRCConnectionReestablishmentComplete__criticalExtensions__criticalExtensionsFuture), - offsetof(struct RRCConnectionReestablishmentComplete__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_5 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_5, - sizeof(asn_DEF_criticalExtensionsFuture_tags_5) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_5[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_5, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_5) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishmentComplete__criticalExtensions, choice.rrcConnectionReestablishmentComplete_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReestablishmentComplete_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionReestablishmentComplete-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishmentComplete__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrcConnectionReestablishmentComplete-r8 at 754 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 755 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct RRCConnectionReestablishmentComplete__criticalExtensions), - offsetof(struct RRCConnectionReestablishmentComplete__criticalExtensions, _asn_ctx), - offsetof(struct RRCConnectionReestablishmentComplete__criticalExtensions, present), - sizeof(((struct RRCConnectionReestablishmentComplete__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionReestablishmentComplete_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishmentComplete, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishmentComplete, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_RRCConnectionReestablishmentComplete_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReestablishmentComplete_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 751 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 754 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReestablishmentComplete_specs_1 = { - sizeof(struct RRCConnectionReestablishmentComplete), - offsetof(struct RRCConnectionReestablishmentComplete, _asn_ctx), - asn_MAP_RRCConnectionReestablishmentComplete_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentComplete = { - "RRCConnectionReestablishmentComplete", - "RRCConnectionReestablishmentComplete", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReestablishmentComplete_tags_1, - sizeof(asn_DEF_RRCConnectionReestablishmentComplete_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentComplete_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReestablishmentComplete_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReestablishmentComplete_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentComplete_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReestablishmentComplete_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionReestablishmentComplete_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentReject-r8-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReestablishmentReject-r8-IEs.c deleted file mode 100644 index 8466ce3fc..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentReject-r8-IEs.c +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReestablishmentReject-r8-IEs.h" - -static asn_TYPE_member_t asn_MBR_RRCConnectionReestablishmentReject_r8_IEs_1[] = { - { ATF_POINTER, 1, offsetof(struct RRCConnectionReestablishmentReject_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReestablishmentReject_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionReestablishmentReject_r8_IEs_oms_1[] = { 0 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionReestablishmentReject_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReestablishmentReject_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* nonCriticalExtension at 788 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReestablishmentReject_r8_IEs_specs_1 = { - sizeof(struct RRCConnectionReestablishmentReject_r8_IEs), - offsetof(struct RRCConnectionReestablishmentReject_r8_IEs, _asn_ctx), - asn_MAP_RRCConnectionReestablishmentReject_r8_IEs_tag2el_1, - 1, /* Count of tags in the map */ - asn_MAP_RRCConnectionReestablishmentReject_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentReject_r8_IEs = { - "RRCConnectionReestablishmentReject-r8-IEs", - "RRCConnectionReestablishmentReject-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReestablishmentReject_r8_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReestablishmentReject_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentReject_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReestablishmentReject_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReestablishmentReject_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentReject_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReestablishmentReject_r8_IEs_1, - 1, /* Elements count */ - &asn_SPC_RRCConnectionReestablishmentReject_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentReject-v8a0-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReestablishmentReject-v8a0-IEs.c deleted file mode 100644 index 36496764c..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentReject-v8a0-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReestablishmentReject-v8a0-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct RRCConnectionReestablishmentReject_v8a0_IEs__nonCriticalExtension), - offsetof(struct RRCConnectionReestablishmentReject_v8a0_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionReestablishmentReject_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct RRCConnectionReestablishmentReject_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionReestablishmentReject_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionReestablishmentReject_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionReestablishmentReject_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReestablishmentReject_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 792 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 793 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReestablishmentReject_v8a0_IEs_specs_1 = { - sizeof(struct RRCConnectionReestablishmentReject_v8a0_IEs), - offsetof(struct RRCConnectionReestablishmentReject_v8a0_IEs, _asn_ctx), - asn_MAP_RRCConnectionReestablishmentReject_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RRCConnectionReestablishmentReject_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentReject_v8a0_IEs = { - "RRCConnectionReestablishmentReject-v8a0-IEs", - "RRCConnectionReestablishmentReject-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReestablishmentReject_v8a0_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReestablishmentReject_v8a0_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentReject_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReestablishmentReject_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReestablishmentReject_v8a0_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentReject_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReestablishmentReject_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionReestablishmentReject_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentReject.c b/lte/rrc/lib/asn/src/RRCConnectionReestablishmentReject.c deleted file mode 100644 index e32328bd9..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentReject.c +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReestablishmentReject.h" - -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_4 = { - sizeof(struct RRCConnectionReestablishmentReject__criticalExtensions__criticalExtensionsFuture), - offsetof(struct RRCConnectionReestablishmentReject__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_4 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_4, - sizeof(asn_DEF_criticalExtensionsFuture_tags_4) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_4[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_4, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_4) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_4[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishmentReject__criticalExtensions, choice.rrcConnectionReestablishmentReject_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReestablishmentReject_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionReestablishmentReject-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishmentReject__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrcConnectionReestablishmentReject-r8 at 782 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 783 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = { - sizeof(struct RRCConnectionReestablishmentReject__criticalExtensions), - offsetof(struct RRCConnectionReestablishmentReject__criticalExtensions, _asn_ctx), - offsetof(struct RRCConnectionReestablishmentReject__criticalExtensions, present), - sizeof(((struct RRCConnectionReestablishmentReject__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_2, - asn_MBR_criticalExtensions_2, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionReestablishmentReject_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishmentReject, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_RRCConnectionReestablishmentReject_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReestablishmentReject_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions at 782 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReestablishmentReject_specs_1 = { - sizeof(struct RRCConnectionReestablishmentReject), - offsetof(struct RRCConnectionReestablishmentReject, _asn_ctx), - asn_MAP_RRCConnectionReestablishmentReject_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentReject = { - "RRCConnectionReestablishmentReject", - "RRCConnectionReestablishmentReject", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReestablishmentReject_tags_1, - sizeof(asn_DEF_RRCConnectionReestablishmentReject_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentReject_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReestablishmentReject_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReestablishmentReject_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentReject_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReestablishmentReject_1, - 1, /* Elements count */ - &asn_SPC_RRCConnectionReestablishmentReject_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentRequest-r8-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReestablishmentRequest-r8-IEs.c deleted file mode 100644 index 5f2493ace..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentRequest-r8-IEs.c +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReestablishmentRequest-r8-IEs.h" - -static int -memb_spare_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 2)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_spare_constr_4 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 2, 2 } /* (SIZE(2..2)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_RRCConnectionReestablishmentRequest_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishmentRequest_r8_IEs, ue_Identity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReestabUE_Identity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ue-Identity" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishmentRequest_r8_IEs, reestablishmentCause), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReestablishmentCause, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reestablishmentCause" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishmentRequest_r8_IEs, spare), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_spare_constraint_1, - &asn_PER_memb_spare_constr_4, - 0, - "spare" - }, -}; -static ber_tlv_tag_t asn_DEF_RRCConnectionReestablishmentRequest_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReestablishmentRequest_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ue-Identity at 806 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* reestablishmentCause at 807 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* spare at 808 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReestablishmentRequest_r8_IEs_specs_1 = { - sizeof(struct RRCConnectionReestablishmentRequest_r8_IEs), - offsetof(struct RRCConnectionReestablishmentRequest_r8_IEs, _asn_ctx), - asn_MAP_RRCConnectionReestablishmentRequest_r8_IEs_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentRequest_r8_IEs = { - "RRCConnectionReestablishmentRequest-r8-IEs", - "RRCConnectionReestablishmentRequest-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReestablishmentRequest_r8_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReestablishmentRequest_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentRequest_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReestablishmentRequest_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReestablishmentRequest_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentRequest_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReestablishmentRequest_r8_IEs_1, - 3, /* Elements count */ - &asn_SPC_RRCConnectionReestablishmentRequest_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentRequest.c b/lte/rrc/lib/asn/src/RRCConnectionReestablishmentRequest.c deleted file mode 100644 index 0e7aecfef..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReestablishmentRequest.c +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReestablishmentRequest.h" - -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_4 = { - sizeof(struct RRCConnectionReestablishmentRequest__criticalExtensions__criticalExtensionsFuture), - offsetof(struct RRCConnectionReestablishmentRequest__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_4 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_4, - sizeof(asn_DEF_criticalExtensionsFuture_tags_4) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_4[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_4, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_4) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_4[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishmentRequest__criticalExtensions, choice.rrcConnectionReestablishmentRequest_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReestablishmentRequest_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionReestablishmentRequest-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishmentRequest__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrcConnectionReestablishmentRequest-r8 at 800 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 801 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = { - sizeof(struct RRCConnectionReestablishmentRequest__criticalExtensions), - offsetof(struct RRCConnectionReestablishmentRequest__criticalExtensions, _asn_ctx), - offsetof(struct RRCConnectionReestablishmentRequest__criticalExtensions, present), - sizeof(((struct RRCConnectionReestablishmentRequest__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_2, - asn_MBR_criticalExtensions_2, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionReestablishmentRequest_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReestablishmentRequest, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_RRCConnectionReestablishmentRequest_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReestablishmentRequest_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions at 800 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReestablishmentRequest_specs_1 = { - sizeof(struct RRCConnectionReestablishmentRequest), - offsetof(struct RRCConnectionReestablishmentRequest, _asn_ctx), - asn_MAP_RRCConnectionReestablishmentRequest_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReestablishmentRequest = { - "RRCConnectionReestablishmentRequest", - "RRCConnectionReestablishmentRequest", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReestablishmentRequest_tags_1, - sizeof(asn_DEF_RRCConnectionReestablishmentRequest_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentRequest_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReestablishmentRequest_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReestablishmentRequest_tags_1) - /sizeof(asn_DEF_RRCConnectionReestablishmentRequest_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReestablishmentRequest_1, - 1, /* Elements count */ - &asn_SPC_RRCConnectionReestablishmentRequest_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReject-r8-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReject-r8-IEs.c deleted file mode 100644 index 16bc58cf1..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReject-r8-IEs.c +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReject-r8-IEs.h" - -static int -memb_waitTime_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_waitTime_constr_2 = { - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (1..16) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_RRCConnectionReject_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReject_r8_IEs, waitTime), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_waitTime_constraint_1, - &asn_PER_memb_waitTime_constr_2, - 0, - "waitTime" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionReject_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReject_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionReject_r8_IEs_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionReject_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReject_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* waitTime at 833 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 834 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReject_r8_IEs_specs_1 = { - sizeof(struct RRCConnectionReject_r8_IEs), - offsetof(struct RRCConnectionReject_r8_IEs, _asn_ctx), - asn_MAP_RRCConnectionReject_r8_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RRCConnectionReject_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReject_r8_IEs = { - "RRCConnectionReject-r8-IEs", - "RRCConnectionReject-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReject_r8_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReject_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReject_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReject_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReject_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReject_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReject_r8_IEs_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionReject_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReject-v1020-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReject-v1020-IEs.c deleted file mode 100644 index b016c1c7a..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReject-v1020-IEs.c +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReject-v1020-IEs.h" - -static int -memb_extendedWaitTime_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 1800)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_extendedWaitTime_r10_constr_2 = { - { APC_CONSTRAINED, 11, 11, 1, 1800 } /* (1..1800) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct RRCConnectionReject_v1020_IEs__nonCriticalExtension), - offsetof(struct RRCConnectionReject_v1020_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionReject_v1020_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct RRCConnectionReject_v1020_IEs, extendedWaitTime_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_extendedWaitTime_r10_constraint_1, - &asn_PER_memb_extendedWaitTime_r10_constr_2, - 0, - "extendedWaitTime-r10" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionReject_v1020_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionReject_v1020_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionReject_v1020_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReject_v1020_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* extendedWaitTime-r10 at 843 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 844 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReject_v1020_IEs_specs_1 = { - sizeof(struct RRCConnectionReject_v1020_IEs), - offsetof(struct RRCConnectionReject_v1020_IEs, _asn_ctx), - asn_MAP_RRCConnectionReject_v1020_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RRCConnectionReject_v1020_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReject_v1020_IEs = { - "RRCConnectionReject-v1020-IEs", - "RRCConnectionReject-v1020-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReject_v1020_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReject_v1020_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReject_v1020_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReject_v1020_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReject_v1020_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReject_v1020_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReject_v1020_IEs_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionReject_v1020_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReject-v8a0-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionReject-v8a0-IEs.c deleted file mode 100644 index fbb195090..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReject-v8a0-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReject-v8a0-IEs.h" - -static asn_TYPE_member_t asn_MBR_RRCConnectionReject_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct RRCConnectionReject_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionReject_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReject_v1020_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionReject_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionReject_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReject_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 838 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 839 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReject_v8a0_IEs_specs_1 = { - sizeof(struct RRCConnectionReject_v8a0_IEs), - offsetof(struct RRCConnectionReject_v8a0_IEs, _asn_ctx), - asn_MAP_RRCConnectionReject_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RRCConnectionReject_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReject_v8a0_IEs = { - "RRCConnectionReject-v8a0-IEs", - "RRCConnectionReject-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReject_v8a0_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionReject_v8a0_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReject_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReject_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReject_v8a0_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionReject_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReject_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionReject_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionReject.c b/lte/rrc/lib/asn/src/RRCConnectionReject.c deleted file mode 100644 index 25a706012..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionReject.c +++ /dev/null @@ -1,244 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionReject.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_3 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReject__criticalExtensions__c1, choice.rrcConnectionReject_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReject_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionReject-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReject__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReject__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReject__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrcConnectionReject-r8 at 825 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 at 826 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 826 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 826 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_3 = { - sizeof(struct RRCConnectionReject__criticalExtensions__c1), - offsetof(struct RRCConnectionReject__criticalExtensions__c1, _asn_ctx), - offsetof(struct RRCConnectionReject__criticalExtensions__c1, present), - sizeof(((struct RRCConnectionReject__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_3, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_3 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_3, - asn_MBR_c1_3, - 4, /* Elements count */ - &asn_SPC_c1_specs_3 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_8[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_8 = { - sizeof(struct RRCConnectionReject__criticalExtensions__criticalExtensionsFuture), - offsetof(struct RRCConnectionReject__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_8 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_8, - sizeof(asn_DEF_criticalExtensionsFuture_tags_8) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_8[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_8, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_8) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_8[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_8 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReject__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReject__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 825 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 828 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = { - sizeof(struct RRCConnectionReject__criticalExtensions), - offsetof(struct RRCConnectionReject__criticalExtensions, _asn_ctx), - offsetof(struct RRCConnectionReject__criticalExtensions, present), - sizeof(((struct RRCConnectionReject__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_2, - asn_MBR_criticalExtensions_2, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionReject_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionReject, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_RRCConnectionReject_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionReject_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions at 827 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionReject_specs_1 = { - sizeof(struct RRCConnectionReject), - offsetof(struct RRCConnectionReject, _asn_ctx), - asn_MAP_RRCConnectionReject_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionReject = { - "RRCConnectionReject", - "RRCConnectionReject", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionReject_tags_1, - sizeof(asn_DEF_RRCConnectionReject_tags_1) - /sizeof(asn_DEF_RRCConnectionReject_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionReject_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionReject_tags_1) - /sizeof(asn_DEF_RRCConnectionReject_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionReject_1, - 1, /* Elements count */ - &asn_SPC_RRCConnectionReject_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionRelease-r8-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionRelease-r8-IEs.c deleted file mode 100644 index 04a928b51..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionRelease-r8-IEs.c +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionRelease-r8-IEs.h" - -static asn_TYPE_member_t asn_MBR_RRCConnectionRelease_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRelease_r8_IEs, releaseCause), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReleaseCause, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "releaseCause" - }, - { ATF_POINTER, 3, offsetof(struct RRCConnectionRelease_r8_IEs, redirectedCarrierInfo), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_RedirectedCarrierInfo, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "redirectedCarrierInfo" - }, - { ATF_POINTER, 2, offsetof(struct RRCConnectionRelease_r8_IEs, idleModeMobilityControlInfo), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_IdleModeMobilityControlInfo, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "idleModeMobilityControlInfo" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionRelease_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionRelease_v890_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionRelease_r8_IEs_oms_1[] = { 1, 2, 3 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionRelease_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionRelease_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* releaseCause at 860 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* redirectedCarrierInfo at 861 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* idleModeMobilityControlInfo at 862 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* nonCriticalExtension at 863 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionRelease_r8_IEs_specs_1 = { - sizeof(struct RRCConnectionRelease_r8_IEs), - offsetof(struct RRCConnectionRelease_r8_IEs, _asn_ctx), - asn_MAP_RRCConnectionRelease_r8_IEs_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_RRCConnectionRelease_r8_IEs_oms_1, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionRelease_r8_IEs = { - "RRCConnectionRelease-r8-IEs", - "RRCConnectionRelease-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionRelease_r8_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionRelease_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionRelease_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionRelease_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionRelease_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionRelease_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionRelease_r8_IEs_1, - 4, /* Elements count */ - &asn_SPC_RRCConnectionRelease_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionRelease-v1020-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionRelease-v1020-IEs.c deleted file mode 100644 index a16c07f49..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionRelease-v1020-IEs.c +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionRelease-v1020-IEs.h" - -static int -memb_extendedWaitTime_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 1800)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_extendedWaitTime_r10_constr_2 = { - { APC_CONSTRAINED, 11, 11, 1, 1800 } /* (1..1800) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct RRCConnectionRelease_v1020_IEs__nonCriticalExtension), - offsetof(struct RRCConnectionRelease_v1020_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionRelease_v1020_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct RRCConnectionRelease_v1020_IEs, extendedWaitTime_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_extendedWaitTime_r10_constraint_1, - &asn_PER_memb_extendedWaitTime_r10_constr_2, - 0, - "extendedWaitTime-r10" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionRelease_v1020_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionRelease_v1020_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionRelease_v1020_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionRelease_v1020_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* extendedWaitTime-r10 at 883 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 884 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionRelease_v1020_IEs_specs_1 = { - sizeof(struct RRCConnectionRelease_v1020_IEs), - offsetof(struct RRCConnectionRelease_v1020_IEs, _asn_ctx), - asn_MAP_RRCConnectionRelease_v1020_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RRCConnectionRelease_v1020_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionRelease_v1020_IEs = { - "RRCConnectionRelease-v1020-IEs", - "RRCConnectionRelease-v1020-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionRelease_v1020_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionRelease_v1020_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionRelease_v1020_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionRelease_v1020_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionRelease_v1020_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionRelease_v1020_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionRelease_v1020_IEs_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionRelease_v1020_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionRelease-v890-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionRelease-v890-IEs.c deleted file mode 100644 index 40a954a20..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionRelease-v890-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionRelease-v890-IEs.h" - -static asn_TYPE_member_t asn_MBR_RRCConnectionRelease_v890_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct RRCConnectionRelease_v890_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionRelease_v890_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionRelease_v920_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionRelease_v890_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionRelease_v890_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionRelease_v890_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 867 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 868 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionRelease_v890_IEs_specs_1 = { - sizeof(struct RRCConnectionRelease_v890_IEs), - offsetof(struct RRCConnectionRelease_v890_IEs, _asn_ctx), - asn_MAP_RRCConnectionRelease_v890_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RRCConnectionRelease_v890_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionRelease_v890_IEs = { - "RRCConnectionRelease-v890-IEs", - "RRCConnectionRelease-v890-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionRelease_v890_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionRelease_v890_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionRelease_v890_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionRelease_v890_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionRelease_v890_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionRelease_v890_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionRelease_v890_IEs_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionRelease_v890_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionRelease-v920-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionRelease-v920-IEs.c deleted file mode 100644 index ffe9aac93..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionRelease-v920-IEs.c +++ /dev/null @@ -1,155 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionRelease-v920-IEs.h" - -static asn_per_constraints_t asn_PER_type_cellInfoList_r9_constr_2 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 2 } /* (0..2,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_cellInfoList_r9_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRelease_v920_IEs__cellInfoList_r9, choice.geran_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellInfoListGERAN_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "geran-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRelease_v920_IEs__cellInfoList_r9, choice.utra_FDD_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellInfoListUTRA_FDD_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "utra-FDD-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRelease_v920_IEs__cellInfoList_r9, choice.utra_TDD_r9), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellInfoListUTRA_TDD_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "utra-TDD-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRelease_v920_IEs__cellInfoList_r9, choice.utra_TDD_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellInfoListUTRA_TDD_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "utra-TDD-r10" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_cellInfoList_r9_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* geran-r9 at 873 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* utra-FDD-r9 at 874 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* utra-TDD-r9 at 875 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* utra-TDD-r10 at 878 */ -}; -static asn_CHOICE_specifics_t asn_SPC_cellInfoList_r9_specs_2 = { - sizeof(struct RRCConnectionRelease_v920_IEs__cellInfoList_r9), - offsetof(struct RRCConnectionRelease_v920_IEs__cellInfoList_r9, _asn_ctx), - offsetof(struct RRCConnectionRelease_v920_IEs__cellInfoList_r9, present), - sizeof(((struct RRCConnectionRelease_v920_IEs__cellInfoList_r9 *)0)->present), - asn_MAP_cellInfoList_r9_tag2el_2, - 4, /* Count of tags in the map */ - 0, - 3 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cellInfoList_r9_2 = { - "cellInfoList-r9", - "cellInfoList-r9", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_cellInfoList_r9_constr_2, - asn_MBR_cellInfoList_r9_2, - 4, /* Elements count */ - &asn_SPC_cellInfoList_r9_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionRelease_v920_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct RRCConnectionRelease_v920_IEs, cellInfoList_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_cellInfoList_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellInfoList-r9" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionRelease_v920_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionRelease_v1020_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionRelease_v920_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionRelease_v920_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionRelease_v920_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellInfoList-r9 at 873 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 879 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionRelease_v920_IEs_specs_1 = { - sizeof(struct RRCConnectionRelease_v920_IEs), - offsetof(struct RRCConnectionRelease_v920_IEs, _asn_ctx), - asn_MAP_RRCConnectionRelease_v920_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RRCConnectionRelease_v920_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionRelease_v920_IEs = { - "RRCConnectionRelease-v920-IEs", - "RRCConnectionRelease-v920-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionRelease_v920_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionRelease_v920_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionRelease_v920_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionRelease_v920_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionRelease_v920_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionRelease_v920_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionRelease_v920_IEs_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionRelease_v920_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionRelease.c b/lte/rrc/lib/asn/src/RRCConnectionRelease.c deleted file mode 100644 index f5202aa9e..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionRelease.c +++ /dev/null @@ -1,254 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionRelease.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_4 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRelease__criticalExtensions__c1, choice.rrcConnectionRelease_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionRelease_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionRelease-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRelease__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRelease__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRelease__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrcConnectionRelease-r8 at 852 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 at 853 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 853 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 853 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_4 = { - sizeof(struct RRCConnectionRelease__criticalExtensions__c1), - offsetof(struct RRCConnectionRelease__criticalExtensions__c1, _asn_ctx), - offsetof(struct RRCConnectionRelease__criticalExtensions__c1, present), - sizeof(((struct RRCConnectionRelease__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_4, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_4 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_4, - asn_MBR_c1_4, - 4, /* Elements count */ - &asn_SPC_c1_specs_4 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_9 = { - sizeof(struct RRCConnectionRelease__criticalExtensions__criticalExtensionsFuture), - offsetof(struct RRCConnectionRelease__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_9 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_9, - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_9, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRelease__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRelease__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 852 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 855 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct RRCConnectionRelease__criticalExtensions), - offsetof(struct RRCConnectionRelease__criticalExtensions, _asn_ctx), - offsetof(struct RRCConnectionRelease__criticalExtensions, present), - sizeof(((struct RRCConnectionRelease__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionRelease_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRelease, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRelease, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_RRCConnectionRelease_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionRelease_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 849 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 854 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionRelease_specs_1 = { - sizeof(struct RRCConnectionRelease), - offsetof(struct RRCConnectionRelease, _asn_ctx), - asn_MAP_RRCConnectionRelease_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionRelease = { - "RRCConnectionRelease", - "RRCConnectionRelease", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionRelease_tags_1, - sizeof(asn_DEF_RRCConnectionRelease_tags_1) - /sizeof(asn_DEF_RRCConnectionRelease_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionRelease_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionRelease_tags_1) - /sizeof(asn_DEF_RRCConnectionRelease_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionRelease_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionRelease_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionRequest-r8-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionRequest-r8-IEs.c deleted file mode 100644 index e7c88472d..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionRequest-r8-IEs.c +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionRequest-r8-IEs.h" - -static int -memb_spare_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 1)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_spare_constr_4 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 1, 1 } /* (SIZE(1..1)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_RRCConnectionRequest_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRequest_r8_IEs, ue_Identity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_InitialUE_Identity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ue-Identity" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRequest_r8_IEs, establishmentCause), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_EstablishmentCause, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "establishmentCause" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRequest_r8_IEs, spare), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_spare_constraint_1, - &asn_PER_memb_spare_constr_4, - 0, - "spare" - }, -}; -static ber_tlv_tag_t asn_DEF_RRCConnectionRequest_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionRequest_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ue-Identity at 997 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* establishmentCause at 998 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* spare at 999 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionRequest_r8_IEs_specs_1 = { - sizeof(struct RRCConnectionRequest_r8_IEs), - offsetof(struct RRCConnectionRequest_r8_IEs, _asn_ctx), - asn_MAP_RRCConnectionRequest_r8_IEs_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionRequest_r8_IEs = { - "RRCConnectionRequest-r8-IEs", - "RRCConnectionRequest-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionRequest_r8_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionRequest_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionRequest_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionRequest_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionRequest_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionRequest_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionRequest_r8_IEs_1, - 3, /* Elements count */ - &asn_SPC_RRCConnectionRequest_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionRequest.c b/lte/rrc/lib/asn/src/RRCConnectionRequest.c deleted file mode 100644 index 8fbe6e62d..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionRequest.c +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionRequest.h" - -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_4 = { - sizeof(struct RRCConnectionRequest__criticalExtensions__criticalExtensionsFuture), - offsetof(struct RRCConnectionRequest__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_4 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_4, - sizeof(asn_DEF_criticalExtensionsFuture_tags_4) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_4[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_4, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_4) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_4[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRequest__criticalExtensions, choice.rrcConnectionRequest_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionRequest_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionRequest-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRequest__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrcConnectionRequest-r8 at 991 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 992 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = { - sizeof(struct RRCConnectionRequest__criticalExtensions), - offsetof(struct RRCConnectionRequest__criticalExtensions, _asn_ctx), - offsetof(struct RRCConnectionRequest__criticalExtensions, present), - sizeof(((struct RRCConnectionRequest__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_2, - asn_MBR_criticalExtensions_2, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionRequest_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionRequest, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_RRCConnectionRequest_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionRequest_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions at 991 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionRequest_specs_1 = { - sizeof(struct RRCConnectionRequest), - offsetof(struct RRCConnectionRequest, _asn_ctx), - asn_MAP_RRCConnectionRequest_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionRequest = { - "RRCConnectionRequest", - "RRCConnectionRequest", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionRequest_tags_1, - sizeof(asn_DEF_RRCConnectionRequest_tags_1) - /sizeof(asn_DEF_RRCConnectionRequest_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionRequest_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionRequest_tags_1) - /sizeof(asn_DEF_RRCConnectionRequest_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionRequest_1, - 1, /* Elements count */ - &asn_SPC_RRCConnectionRequest_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionSetup-r8-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionSetup-r8-IEs.c deleted file mode 100644 index ff0d99c98..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionSetup-r8-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionSetup-r8-IEs.h" - -static asn_TYPE_member_t asn_MBR_RRCConnectionSetup_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetup_r8_IEs, radioResourceConfigDedicated), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RadioResourceConfigDedicated, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "radioResourceConfigDedicated" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionSetup_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionSetup_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionSetup_r8_IEs_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionSetup_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionSetup_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* radioResourceConfigDedicated at 1026 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1027 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionSetup_r8_IEs_specs_1 = { - sizeof(struct RRCConnectionSetup_r8_IEs), - offsetof(struct RRCConnectionSetup_r8_IEs, _asn_ctx), - asn_MAP_RRCConnectionSetup_r8_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RRCConnectionSetup_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionSetup_r8_IEs = { - "RRCConnectionSetup-r8-IEs", - "RRCConnectionSetup-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionSetup_r8_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionSetup_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionSetup_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionSetup_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionSetup_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionSetup_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionSetup_r8_IEs_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionSetup_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionSetup-v8a0-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionSetup-v8a0-IEs.c deleted file mode 100644 index 93f65c0fd..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionSetup-v8a0-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionSetup-v8a0-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct RRCConnectionSetup_v8a0_IEs__nonCriticalExtension), - offsetof(struct RRCConnectionSetup_v8a0_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionSetup_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct RRCConnectionSetup_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionSetup_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionSetup_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionSetup_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionSetup_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 1031 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1032 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionSetup_v8a0_IEs_specs_1 = { - sizeof(struct RRCConnectionSetup_v8a0_IEs), - offsetof(struct RRCConnectionSetup_v8a0_IEs, _asn_ctx), - asn_MAP_RRCConnectionSetup_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RRCConnectionSetup_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionSetup_v8a0_IEs = { - "RRCConnectionSetup-v8a0-IEs", - "RRCConnectionSetup-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionSetup_v8a0_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionSetup_v8a0_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionSetup_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionSetup_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionSetup_v8a0_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionSetup_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionSetup_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionSetup_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionSetup.c b/lte/rrc/lib/asn/src/RRCConnectionSetup.c deleted file mode 100644 index b73109a96..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionSetup.c +++ /dev/null @@ -1,294 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionSetup.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_4 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetup__criticalExtensions__c1, choice.rrcConnectionSetup_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionSetup_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionSetup-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetup__criticalExtensions__c1, choice.spare7), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare7" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetup__criticalExtensions__c1, choice.spare6), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare6" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetup__criticalExtensions__c1, choice.spare5), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare5" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetup__criticalExtensions__c1, choice.spare4), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare4" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetup__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetup__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetup__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrcConnectionSetup-r8 at 1016 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare7 at 1017 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare6 at 1018 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* spare5 at 1018 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* spare4 at 1018 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* spare3 at 1019 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* spare2 at 1019 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* spare1 at 1019 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_4 = { - sizeof(struct RRCConnectionSetup__criticalExtensions__c1), - offsetof(struct RRCConnectionSetup__criticalExtensions__c1, _asn_ctx), - offsetof(struct RRCConnectionSetup__criticalExtensions__c1, present), - sizeof(((struct RRCConnectionSetup__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_4, - 8, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_4 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_4, - asn_MBR_c1_4, - 8, /* Elements count */ - &asn_SPC_c1_specs_4 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_13[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_13 = { - sizeof(struct RRCConnectionSetup__criticalExtensions__criticalExtensionsFuture), - offsetof(struct RRCConnectionSetup__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_13 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_13, - sizeof(asn_DEF_criticalExtensionsFuture_tags_13) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_13[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_13, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_13) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_13[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_13 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetup__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetup__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_13, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 1016 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 1021 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct RRCConnectionSetup__criticalExtensions), - offsetof(struct RRCConnectionSetup__criticalExtensions, _asn_ctx), - offsetof(struct RRCConnectionSetup__criticalExtensions, present), - sizeof(((struct RRCConnectionSetup__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionSetup_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetup, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetup, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_RRCConnectionSetup_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionSetup_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 1013 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 1020 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionSetup_specs_1 = { - sizeof(struct RRCConnectionSetup), - offsetof(struct RRCConnectionSetup, _asn_ctx), - asn_MAP_RRCConnectionSetup_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionSetup = { - "RRCConnectionSetup", - "RRCConnectionSetup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionSetup_tags_1, - sizeof(asn_DEF_RRCConnectionSetup_tags_1) - /sizeof(asn_DEF_RRCConnectionSetup_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionSetup_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionSetup_tags_1) - /sizeof(asn_DEF_RRCConnectionSetup_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionSetup_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionSetup_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionSetupComplete-r8-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionSetupComplete-r8-IEs.c deleted file mode 100644 index 436785e57..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionSetupComplete-r8-IEs.c +++ /dev/null @@ -1,122 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionSetupComplete-r8-IEs.h" - -static int -memb_selectedPLMN_Identity_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 6)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_selectedPLMN_Identity_constr_2 = { - { APC_CONSTRAINED, 3, 3, 1, 6 } /* (1..6) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_RRCConnectionSetupComplete_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetupComplete_r8_IEs, selectedPLMN_Identity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_selectedPLMN_Identity_constraint_1, - &asn_PER_memb_selectedPLMN_Identity_constr_2, - 0, - "selectedPLMN-Identity" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionSetupComplete_r8_IEs, registeredMME), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RegisteredMME, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "registeredMME" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetupComplete_r8_IEs, dedicatedInfoNAS), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DedicatedInfoNAS, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dedicatedInfoNAS" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionSetupComplete_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionSetupComplete_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionSetupComplete_r8_IEs_oms_1[] = { 1, 3 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionSetupComplete_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionSetupComplete_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* selectedPLMN-Identity at 1048 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* registeredMME at 1049 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* dedicatedInfoNAS at 1050 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* nonCriticalExtension at 1051 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionSetupComplete_r8_IEs_specs_1 = { - sizeof(struct RRCConnectionSetupComplete_r8_IEs), - offsetof(struct RRCConnectionSetupComplete_r8_IEs, _asn_ctx), - asn_MAP_RRCConnectionSetupComplete_r8_IEs_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_RRCConnectionSetupComplete_r8_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionSetupComplete_r8_IEs = { - "RRCConnectionSetupComplete-r8-IEs", - "RRCConnectionSetupComplete-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionSetupComplete_r8_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionSetupComplete_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionSetupComplete_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionSetupComplete_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionSetupComplete_r8_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionSetupComplete_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionSetupComplete_r8_IEs_1, - 4, /* Elements count */ - &asn_SPC_RRCConnectionSetupComplete_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionSetupComplete-v1020-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionSetupComplete-v1020-IEs.c deleted file mode 100644 index c6e068790..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionSetupComplete-v1020-IEs.c +++ /dev/null @@ -1,692 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionSetupComplete-v1020-IEs.h" - -static int -gummei_Type_r10_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -gummei_Type_r10_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -gummei_Type_r10_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - gummei_Type_r10_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -gummei_Type_r10_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - gummei_Type_r10_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -gummei_Type_r10_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - gummei_Type_r10_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -gummei_Type_r10_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - gummei_Type_r10_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -gummei_Type_r10_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - gummei_Type_r10_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -gummei_Type_r10_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - gummei_Type_r10_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -gummei_Type_r10_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - gummei_Type_r10_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -gummei_Type_r10_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - gummei_Type_r10_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -rlf_InfoAvailable_r10_5_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -rlf_InfoAvailable_r10_5_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -rlf_InfoAvailable_r10_5_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - rlf_InfoAvailable_r10_5_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -rlf_InfoAvailable_r10_5_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - rlf_InfoAvailable_r10_5_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -rlf_InfoAvailable_r10_5_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - rlf_InfoAvailable_r10_5_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -rlf_InfoAvailable_r10_5_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - rlf_InfoAvailable_r10_5_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -rlf_InfoAvailable_r10_5_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - rlf_InfoAvailable_r10_5_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -rlf_InfoAvailable_r10_5_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - rlf_InfoAvailable_r10_5_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -rlf_InfoAvailable_r10_5_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - rlf_InfoAvailable_r10_5_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -rlf_InfoAvailable_r10_5_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - rlf_InfoAvailable_r10_5_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -logMeasAvailable_r10_7_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -logMeasAvailable_r10_7_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -logMeasAvailable_r10_7_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - logMeasAvailable_r10_7_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -logMeasAvailable_r10_7_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - logMeasAvailable_r10_7_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -logMeasAvailable_r10_7_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - logMeasAvailable_r10_7_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -logMeasAvailable_r10_7_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - logMeasAvailable_r10_7_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -logMeasAvailable_r10_7_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - logMeasAvailable_r10_7_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -logMeasAvailable_r10_7_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - logMeasAvailable_r10_7_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -logMeasAvailable_r10_7_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - logMeasAvailable_r10_7_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -logMeasAvailable_r10_7_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - logMeasAvailable_r10_7_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -rn_SubframeConfigReq_r10_9_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -rn_SubframeConfigReq_r10_9_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -rn_SubframeConfigReq_r10_9_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - rn_SubframeConfigReq_r10_9_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -rn_SubframeConfigReq_r10_9_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - rn_SubframeConfigReq_r10_9_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -rn_SubframeConfigReq_r10_9_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - rn_SubframeConfigReq_r10_9_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -rn_SubframeConfigReq_r10_9_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - rn_SubframeConfigReq_r10_9_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -rn_SubframeConfigReq_r10_9_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - rn_SubframeConfigReq_r10_9_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -rn_SubframeConfigReq_r10_9_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - rn_SubframeConfigReq_r10_9_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -rn_SubframeConfigReq_r10_9_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - rn_SubframeConfigReq_r10_9_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -rn_SubframeConfigReq_r10_9_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - rn_SubframeConfigReq_r10_9_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_gummei_Type_r10_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_rlf_InfoAvailable_r10_constr_5 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_logMeasAvailable_r10_constr_7 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_rn_SubframeConfigReq_r10_constr_9 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_gummei_Type_r10_value2enum_2[] = { - { 0, 6, "native" }, - { 1, 6, "mapped" } -}; -static unsigned int asn_MAP_gummei_Type_r10_enum2value_2[] = { - 1, /* mapped(1) */ - 0 /* native(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_gummei_Type_r10_specs_2 = { - asn_MAP_gummei_Type_r10_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_gummei_Type_r10_enum2value_2, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_gummei_Type_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_gummei_Type_r10_2 = { - "gummei-Type-r10", - "gummei-Type-r10", - gummei_Type_r10_2_free, - gummei_Type_r10_2_print, - gummei_Type_r10_2_constraint, - gummei_Type_r10_2_decode_ber, - gummei_Type_r10_2_encode_der, - gummei_Type_r10_2_decode_xer, - gummei_Type_r10_2_encode_xer, - gummei_Type_r10_2_decode_uper, - gummei_Type_r10_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_gummei_Type_r10_tags_2, - sizeof(asn_DEF_gummei_Type_r10_tags_2) - /sizeof(asn_DEF_gummei_Type_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_gummei_Type_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_gummei_Type_r10_tags_2) - /sizeof(asn_DEF_gummei_Type_r10_tags_2[0]), /* 2 */ - &asn_PER_type_gummei_Type_r10_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_gummei_Type_r10_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_rlf_InfoAvailable_r10_value2enum_5[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_rlf_InfoAvailable_r10_enum2value_5[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_rlf_InfoAvailable_r10_specs_5 = { - asn_MAP_rlf_InfoAvailable_r10_value2enum_5, /* "tag" => N; sorted by tag */ - asn_MAP_rlf_InfoAvailable_r10_enum2value_5, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_rlf_InfoAvailable_r10_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_rlf_InfoAvailable_r10_5 = { - "rlf-InfoAvailable-r10", - "rlf-InfoAvailable-r10", - rlf_InfoAvailable_r10_5_free, - rlf_InfoAvailable_r10_5_print, - rlf_InfoAvailable_r10_5_constraint, - rlf_InfoAvailable_r10_5_decode_ber, - rlf_InfoAvailable_r10_5_encode_der, - rlf_InfoAvailable_r10_5_decode_xer, - rlf_InfoAvailable_r10_5_encode_xer, - rlf_InfoAvailable_r10_5_decode_uper, - rlf_InfoAvailable_r10_5_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_rlf_InfoAvailable_r10_tags_5, - sizeof(asn_DEF_rlf_InfoAvailable_r10_tags_5) - /sizeof(asn_DEF_rlf_InfoAvailable_r10_tags_5[0]) - 1, /* 1 */ - asn_DEF_rlf_InfoAvailable_r10_tags_5, /* Same as above */ - sizeof(asn_DEF_rlf_InfoAvailable_r10_tags_5) - /sizeof(asn_DEF_rlf_InfoAvailable_r10_tags_5[0]), /* 2 */ - &asn_PER_type_rlf_InfoAvailable_r10_constr_5, - 0, 0, /* Defined elsewhere */ - &asn_SPC_rlf_InfoAvailable_r10_specs_5 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_logMeasAvailable_r10_value2enum_7[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_logMeasAvailable_r10_enum2value_7[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_logMeasAvailable_r10_specs_7 = { - asn_MAP_logMeasAvailable_r10_value2enum_7, /* "tag" => N; sorted by tag */ - asn_MAP_logMeasAvailable_r10_enum2value_7, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_logMeasAvailable_r10_tags_7[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_logMeasAvailable_r10_7 = { - "logMeasAvailable-r10", - "logMeasAvailable-r10", - logMeasAvailable_r10_7_free, - logMeasAvailable_r10_7_print, - logMeasAvailable_r10_7_constraint, - logMeasAvailable_r10_7_decode_ber, - logMeasAvailable_r10_7_encode_der, - logMeasAvailable_r10_7_decode_xer, - logMeasAvailable_r10_7_encode_xer, - logMeasAvailable_r10_7_decode_uper, - logMeasAvailable_r10_7_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_logMeasAvailable_r10_tags_7, - sizeof(asn_DEF_logMeasAvailable_r10_tags_7) - /sizeof(asn_DEF_logMeasAvailable_r10_tags_7[0]) - 1, /* 1 */ - asn_DEF_logMeasAvailable_r10_tags_7, /* Same as above */ - sizeof(asn_DEF_logMeasAvailable_r10_tags_7) - /sizeof(asn_DEF_logMeasAvailable_r10_tags_7[0]), /* 2 */ - &asn_PER_type_logMeasAvailable_r10_constr_7, - 0, 0, /* Defined elsewhere */ - &asn_SPC_logMeasAvailable_r10_specs_7 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_rn_SubframeConfigReq_r10_value2enum_9[] = { - { 0, 8, "required" }, - { 1, 11, "notRequired" } -}; -static unsigned int asn_MAP_rn_SubframeConfigReq_r10_enum2value_9[] = { - 1, /* notRequired(1) */ - 0 /* required(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_rn_SubframeConfigReq_r10_specs_9 = { - asn_MAP_rn_SubframeConfigReq_r10_value2enum_9, /* "tag" => N; sorted by tag */ - asn_MAP_rn_SubframeConfigReq_r10_enum2value_9, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_rn_SubframeConfigReq_r10_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_rn_SubframeConfigReq_r10_9 = { - "rn-SubframeConfigReq-r10", - "rn-SubframeConfigReq-r10", - rn_SubframeConfigReq_r10_9_free, - rn_SubframeConfigReq_r10_9_print, - rn_SubframeConfigReq_r10_9_constraint, - rn_SubframeConfigReq_r10_9_decode_ber, - rn_SubframeConfigReq_r10_9_encode_der, - rn_SubframeConfigReq_r10_9_decode_xer, - rn_SubframeConfigReq_r10_9_encode_xer, - rn_SubframeConfigReq_r10_9_decode_uper, - rn_SubframeConfigReq_r10_9_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_rn_SubframeConfigReq_r10_tags_9, - sizeof(asn_DEF_rn_SubframeConfigReq_r10_tags_9) - /sizeof(asn_DEF_rn_SubframeConfigReq_r10_tags_9[0]) - 1, /* 1 */ - asn_DEF_rn_SubframeConfigReq_r10_tags_9, /* Same as above */ - sizeof(asn_DEF_rn_SubframeConfigReq_r10_tags_9) - /sizeof(asn_DEF_rn_SubframeConfigReq_r10_tags_9[0]), /* 2 */ - &asn_PER_type_rn_SubframeConfigReq_r10_constr_9, - 0, 0, /* Defined elsewhere */ - &asn_SPC_rn_SubframeConfigReq_r10_specs_9 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_12[] = { - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_12 = { - sizeof(struct RRCConnectionSetupComplete_v1020_IEs__nonCriticalExtension), - offsetof(struct RRCConnectionSetupComplete_v1020_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_12 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_12, - sizeof(asn_DEF_nonCriticalExtension_tags_12) - /sizeof(asn_DEF_nonCriticalExtension_tags_12[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_12, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_12) - /sizeof(asn_DEF_nonCriticalExtension_tags_12[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_12 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionSetupComplete_v1020_IEs_1[] = { - { ATF_POINTER, 5, offsetof(struct RRCConnectionSetupComplete_v1020_IEs, gummei_Type_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_gummei_Type_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "gummei-Type-r10" - }, - { ATF_POINTER, 4, offsetof(struct RRCConnectionSetupComplete_v1020_IEs, rlf_InfoAvailable_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_rlf_InfoAvailable_r10_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rlf-InfoAvailable-r10" - }, - { ATF_POINTER, 3, offsetof(struct RRCConnectionSetupComplete_v1020_IEs, logMeasAvailable_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_logMeasAvailable_r10_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "logMeasAvailable-r10" - }, - { ATF_POINTER, 2, offsetof(struct RRCConnectionSetupComplete_v1020_IEs, rn_SubframeConfigReq_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_rn_SubframeConfigReq_r10_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rn-SubframeConfigReq-r10" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionSetupComplete_v1020_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - 0, - &asn_DEF_nonCriticalExtension_12, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionSetupComplete_v1020_IEs_oms_1[] = { 0, 1, 2, 3, 4 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionSetupComplete_v1020_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionSetupComplete_v1020_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gummei-Type-r10 at 1060 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rlf-InfoAvailable-r10 at 1061 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* logMeasAvailable-r10 at 1062 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* rn-SubframeConfigReq-r10 at 1063 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* nonCriticalExtension at 1064 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionSetupComplete_v1020_IEs_specs_1 = { - sizeof(struct RRCConnectionSetupComplete_v1020_IEs), - offsetof(struct RRCConnectionSetupComplete_v1020_IEs, _asn_ctx), - asn_MAP_RRCConnectionSetupComplete_v1020_IEs_tag2el_1, - 5, /* Count of tags in the map */ - asn_MAP_RRCConnectionSetupComplete_v1020_IEs_oms_1, /* Optional members */ - 5, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionSetupComplete_v1020_IEs = { - "RRCConnectionSetupComplete-v1020-IEs", - "RRCConnectionSetupComplete-v1020-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionSetupComplete_v1020_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionSetupComplete_v1020_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionSetupComplete_v1020_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionSetupComplete_v1020_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionSetupComplete_v1020_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionSetupComplete_v1020_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionSetupComplete_v1020_IEs_1, - 5, /* Elements count */ - &asn_SPC_RRCConnectionSetupComplete_v1020_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionSetupComplete-v8a0-IEs.c b/lte/rrc/lib/asn/src/RRCConnectionSetupComplete-v8a0-IEs.c deleted file mode 100644 index dd24ef588..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionSetupComplete-v8a0-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionSetupComplete-v8a0-IEs.h" - -static asn_TYPE_member_t asn_MBR_RRCConnectionSetupComplete_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct RRCConnectionSetupComplete_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct RRCConnectionSetupComplete_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionSetupComplete_v1020_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_RRCConnectionSetupComplete_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_RRCConnectionSetupComplete_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionSetupComplete_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 1055 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1056 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionSetupComplete_v8a0_IEs_specs_1 = { - sizeof(struct RRCConnectionSetupComplete_v8a0_IEs), - offsetof(struct RRCConnectionSetupComplete_v8a0_IEs, _asn_ctx), - asn_MAP_RRCConnectionSetupComplete_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RRCConnectionSetupComplete_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionSetupComplete_v8a0_IEs = { - "RRCConnectionSetupComplete-v8a0-IEs", - "RRCConnectionSetupComplete-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionSetupComplete_v8a0_IEs_tags_1, - sizeof(asn_DEF_RRCConnectionSetupComplete_v8a0_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionSetupComplete_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionSetupComplete_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionSetupComplete_v8a0_IEs_tags_1) - /sizeof(asn_DEF_RRCConnectionSetupComplete_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionSetupComplete_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionSetupComplete_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRCConnectionSetupComplete.c b/lte/rrc/lib/asn/src/RRCConnectionSetupComplete.c deleted file mode 100644 index 9e99d1d9a..000000000 --- a/lte/rrc/lib/asn/src/RRCConnectionSetupComplete.c +++ /dev/null @@ -1,254 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RRCConnectionSetupComplete.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_4 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetupComplete__criticalExtensions__c1, choice.rrcConnectionSetupComplete_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionSetupComplete_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionSetupComplete-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetupComplete__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetupComplete__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetupComplete__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrcConnectionSetupComplete-r8 at 1040 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 at 1041 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 1041 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 1041 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_4 = { - sizeof(struct RRCConnectionSetupComplete__criticalExtensions__c1), - offsetof(struct RRCConnectionSetupComplete__criticalExtensions__c1, _asn_ctx), - offsetof(struct RRCConnectionSetupComplete__criticalExtensions__c1, present), - sizeof(((struct RRCConnectionSetupComplete__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_4, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_4 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_4, - asn_MBR_c1_4, - 4, /* Elements count */ - &asn_SPC_c1_specs_4 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_9 = { - sizeof(struct RRCConnectionSetupComplete__criticalExtensions__criticalExtensionsFuture), - offsetof(struct RRCConnectionSetupComplete__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_9 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_9, - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_9, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetupComplete__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetupComplete__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 1040 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 1043 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct RRCConnectionSetupComplete__criticalExtensions), - offsetof(struct RRCConnectionSetupComplete__criticalExtensions, _asn_ctx), - offsetof(struct RRCConnectionSetupComplete__criticalExtensions, present), - sizeof(((struct RRCConnectionSetupComplete__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRCConnectionSetupComplete_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetupComplete, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct RRCConnectionSetupComplete, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_RRCConnectionSetupComplete_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RRCConnectionSetupComplete_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 1037 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 1042 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRCConnectionSetupComplete_specs_1 = { - sizeof(struct RRCConnectionSetupComplete), - offsetof(struct RRCConnectionSetupComplete, _asn_ctx), - asn_MAP_RRCConnectionSetupComplete_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRCConnectionSetupComplete = { - "RRCConnectionSetupComplete", - "RRCConnectionSetupComplete", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRCConnectionSetupComplete_tags_1, - sizeof(asn_DEF_RRCConnectionSetupComplete_tags_1) - /sizeof(asn_DEF_RRCConnectionSetupComplete_tags_1[0]), /* 1 */ - asn_DEF_RRCConnectionSetupComplete_tags_1, /* Same as above */ - sizeof(asn_DEF_RRCConnectionSetupComplete_tags_1) - /sizeof(asn_DEF_RRCConnectionSetupComplete_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRCConnectionSetupComplete_1, - 2, /* Elements count */ - &asn_SPC_RRCConnectionSetupComplete_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RRM-Config.c b/lte/rrc/lib/asn/src/RRM-Config.c deleted file mode 100644 index d3f822b4b..000000000 --- a/lte/rrc/lib/asn/src/RRM-Config.c +++ /dev/null @@ -1,325 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#include "liblte/rrc/asn/RRM-Config.h" - -static int -ue_InactiveTime_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -ue_InactiveTime_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -ue_InactiveTime_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ue_InactiveTime_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -ue_InactiveTime_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ue_InactiveTime_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -ue_InactiveTime_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ue_InactiveTime_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -ue_InactiveTime_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ue_InactiveTime_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -ue_InactiveTime_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ue_InactiveTime_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -ue_InactiveTime_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ue_InactiveTime_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -ue_InactiveTime_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ue_InactiveTime_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -ue_InactiveTime_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ue_InactiveTime_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_ue_InactiveTime_constr_2 GCC_NOTUSED = { - { APC_CONSTRAINED, 6, 6, 0, 63 } /* (0..63) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_ue_InactiveTime_value2enum_2[] = { - { 0, 2, "s1" }, - { 1, 2, "s2" }, - { 2, 2, "s3" }, - { 3, 2, "s5" }, - { 4, 2, "s7" }, - { 5, 3, "s10" }, - { 6, 3, "s15" }, - { 7, 3, "s20" }, - { 8, 3, "s25" }, - { 9, 3, "s30" }, - { 10, 3, "s40" }, - { 11, 3, "s50" }, - { 12, 4, "min1" }, - { 13, 8, "min1s20c" }, - { 14, 7, "min1s40" }, - { 15, 4, "min2" }, - { 16, 7, "min2s30" }, - { 17, 4, "min3" }, - { 18, 7, "min3s30" }, - { 19, 4, "min4" }, - { 20, 4, "min5" }, - { 21, 4, "min6" }, - { 22, 4, "min7" }, - { 23, 4, "min8" }, - { 24, 4, "min9" }, - { 25, 5, "min10" }, - { 26, 5, "min12" }, - { 27, 5, "min14" }, - { 28, 5, "min17" }, - { 29, 5, "min20" }, - { 30, 5, "min24" }, - { 31, 5, "min28" }, - { 32, 5, "min33" }, - { 33, 5, "min38" }, - { 34, 5, "min44" }, - { 35, 5, "min50" }, - { 36, 3, "hr1" }, - { 37, 8, "hr1min30" }, - { 38, 3, "hr2" }, - { 39, 8, "hr2min30" }, - { 40, 3, "hr3" }, - { 41, 8, "hr3min30" }, - { 42, 3, "hr4" }, - { 43, 3, "hr5" }, - { 44, 3, "hr6" }, - { 45, 3, "hr8" }, - { 46, 4, "hr10" }, - { 47, 4, "hr13" }, - { 48, 4, "hr16" }, - { 49, 4, "hr20" }, - { 50, 4, "day1" }, - { 51, 8, "day1hr12" }, - { 52, 4, "day2" }, - { 53, 8, "day2hr12" }, - { 54, 4, "day3" }, - { 55, 4, "day4" }, - { 56, 4, "day5" }, - { 57, 4, "day7" }, - { 58, 5, "day10" }, - { 59, 5, "day14" }, - { 60, 5, "day19" }, - { 61, 5, "day24" }, - { 62, 5, "day30" }, - { 63, 13, "dayMoreThan30" } -}; -static const unsigned int asn_MAP_ue_InactiveTime_enum2value_2[] = { - 50, /* day1(50) */ - 58, /* day10(58) */ - 59, /* day14(59) */ - 60, /* day19(60) */ - 51, /* day1hr12(51) */ - 52, /* day2(52) */ - 61, /* day24(61) */ - 53, /* day2hr12(53) */ - 54, /* day3(54) */ - 62, /* day30(62) */ - 55, /* day4(55) */ - 56, /* day5(56) */ - 57, /* day7(57) */ - 63, /* dayMoreThan30(63) */ - 36, /* hr1(36) */ - 46, /* hr10(46) */ - 47, /* hr13(47) */ - 48, /* hr16(48) */ - 37, /* hr1min30(37) */ - 38, /* hr2(38) */ - 49, /* hr20(49) */ - 39, /* hr2min30(39) */ - 40, /* hr3(40) */ - 41, /* hr3min30(41) */ - 42, /* hr4(42) */ - 43, /* hr5(43) */ - 44, /* hr6(44) */ - 45, /* hr8(45) */ - 12, /* min1(12) */ - 25, /* min10(25) */ - 26, /* min12(26) */ - 27, /* min14(27) */ - 28, /* min17(28) */ - 13, /* min1s20c(13) */ - 14, /* min1s40(14) */ - 15, /* min2(15) */ - 29, /* min20(29) */ - 30, /* min24(30) */ - 31, /* min28(31) */ - 16, /* min2s30(16) */ - 17, /* min3(17) */ - 32, /* min33(32) */ - 33, /* min38(33) */ - 18, /* min3s30(18) */ - 19, /* min4(19) */ - 34, /* min44(34) */ - 20, /* min5(20) */ - 35, /* min50(35) */ - 21, /* min6(21) */ - 22, /* min7(22) */ - 23, /* min8(23) */ - 24, /* min9(24) */ - 0, /* s1(0) */ - 5, /* s10(5) */ - 6, /* s15(6) */ - 1, /* s2(1) */ - 7, /* s20(7) */ - 8, /* s25(8) */ - 2, /* s3(2) */ - 9, /* s30(9) */ - 10, /* s40(10) */ - 3, /* s5(3) */ - 11, /* s50(11) */ - 4 /* s7(4) */ -}; -static const asn_INTEGER_specifics_t asn_SPC_ue_InactiveTime_specs_2 = { - asn_MAP_ue_InactiveTime_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_ue_InactiveTime_enum2value_2, /* N => "tag"; sorted by N */ - 64, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_ue_InactiveTime_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ue_InactiveTime_2 = { - "ue-InactiveTime", - "ue-InactiveTime", - ue_InactiveTime_2_free, - ue_InactiveTime_2_print, - ue_InactiveTime_2_constraint, - ue_InactiveTime_2_decode_ber, - ue_InactiveTime_2_encode_der, - ue_InactiveTime_2_decode_xer, - ue_InactiveTime_2_encode_xer, - ue_InactiveTime_2_decode_uper, - ue_InactiveTime_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ue_InactiveTime_tags_2, - sizeof(asn_DEF_ue_InactiveTime_tags_2) - /sizeof(asn_DEF_ue_InactiveTime_tags_2[0]) - 1, /* 1 */ - asn_DEF_ue_InactiveTime_tags_2, /* Same as above */ - sizeof(asn_DEF_ue_InactiveTime_tags_2) - /sizeof(asn_DEF_ue_InactiveTime_tags_2[0]), /* 2 */ - &asn_PER_type_ue_InactiveTime_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_ue_InactiveTime_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RRM_Config_1[] = { - { ATF_POINTER, 1, offsetof(struct RRM_Config, ue_InactiveTime), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ue_InactiveTime_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ue-InactiveTime" - }, -}; -static const int asn_MAP_RRM_Config_oms_1[] = { 0 }; -static const ber_tlv_tag_t asn_DEF_RRM_Config_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RRM_Config_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* ue-InactiveTime */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RRM_Config_specs_1 = { - sizeof(struct RRM_Config), - offsetof(struct RRM_Config, _asn_ctx), - asn_MAP_RRM_Config_tag2el_1, - 1, /* Count of tags in the map */ - asn_MAP_RRM_Config_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - 0, /* Start extensions */ - 2 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RRM_Config = { - "RRM-Config", - "RRM-Config", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RRM_Config_tags_1, - sizeof(asn_DEF_RRM_Config_tags_1) - /sizeof(asn_DEF_RRM_Config_tags_1[0]), /* 1 */ - asn_DEF_RRM_Config_tags_1, /* Same as above */ - sizeof(asn_DEF_RRM_Config_tags_1) - /sizeof(asn_DEF_RRM_Config_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RRM_Config_1, - 1, /* Elements count */ - &asn_SPC_RRM_Config_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RSRP-Range.c b/lte/rrc/lib/asn/src/RSRP-Range.c deleted file mode 100644 index 63c2754d3..000000000 --- a/lte/rrc/lib/asn/src/RSRP-Range.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RSRP-Range.h" - -int -RSRP_Range_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 97)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -RSRP_Range_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -RSRP_Range_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - RSRP_Range_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -RSRP_Range_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - RSRP_Range_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -RSRP_Range_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - RSRP_Range_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -RSRP_Range_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - RSRP_Range_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -RSRP_Range_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - RSRP_Range_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -RSRP_Range_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - RSRP_Range_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -RSRP_Range_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - RSRP_Range_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -RSRP_Range_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - RSRP_Range_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_RSRP_Range_constr_1 = { - { APC_CONSTRAINED, 7, 7, 0, 97 } /* (0..97) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_RSRP_Range_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RSRP_Range = { - "RSRP-Range", - "RSRP-Range", - RSRP_Range_free, - RSRP_Range_print, - RSRP_Range_constraint, - RSRP_Range_decode_ber, - RSRP_Range_encode_der, - RSRP_Range_decode_xer, - RSRP_Range_encode_xer, - RSRP_Range_decode_uper, - RSRP_Range_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RSRP_Range_tags_1, - sizeof(asn_DEF_RSRP_Range_tags_1) - /sizeof(asn_DEF_RSRP_Range_tags_1[0]), /* 1 */ - asn_DEF_RSRP_Range_tags_1, /* Same as above */ - sizeof(asn_DEF_RSRP_Range_tags_1) - /sizeof(asn_DEF_RSRP_Range_tags_1[0]), /* 1 */ - &asn_PER_type_RSRP_Range_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/RSRQ-Range.c b/lte/rrc/lib/asn/src/RSRQ-Range.c deleted file mode 100644 index 09cdb46c8..000000000 --- a/lte/rrc/lib/asn/src/RSRQ-Range.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RSRQ-Range.h" - -int -RSRQ_Range_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 34)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -RSRQ_Range_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -RSRQ_Range_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - RSRQ_Range_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -RSRQ_Range_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - RSRQ_Range_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -RSRQ_Range_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - RSRQ_Range_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -RSRQ_Range_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - RSRQ_Range_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -RSRQ_Range_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - RSRQ_Range_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -RSRQ_Range_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - RSRQ_Range_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -RSRQ_Range_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - RSRQ_Range_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -RSRQ_Range_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - RSRQ_Range_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_RSRQ_Range_constr_1 = { - { APC_CONSTRAINED, 6, 6, 0, 34 } /* (0..34) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_RSRQ_Range_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RSRQ_Range = { - "RSRQ-Range", - "RSRQ-Range", - RSRQ_Range_free, - RSRQ_Range_print, - RSRQ_Range_constraint, - RSRQ_Range_decode_ber, - RSRQ_Range_encode_der, - RSRQ_Range_decode_xer, - RSRQ_Range_encode_xer, - RSRQ_Range_decode_uper, - RSRQ_Range_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RSRQ_Range_tags_1, - sizeof(asn_DEF_RSRQ_Range_tags_1) - /sizeof(asn_DEF_RSRQ_Range_tags_1[0]), /* 1 */ - asn_DEF_RSRQ_Range_tags_1, /* Same as above */ - sizeof(asn_DEF_RSRQ_Range_tags_1) - /sizeof(asn_DEF_RSRQ_Range_tags_1[0]), /* 1 */ - &asn_PER_type_RSRQ_Range_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/RSTD-InterFreqInfo-r10.c b/lte/rrc/lib/asn/src/RSTD-InterFreqInfo-r10.c deleted file mode 100644 index a5658965c..000000000 --- a/lte/rrc/lib/asn/src/RSTD-InterFreqInfo-r10.c +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RSTD-InterFreqInfo-r10.h" - -static int -memb_measPRS_Offset_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 39)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_measPRS_Offset_r10_constr_3 = { - { APC_CONSTRAINED, 6, 6, 0, 39 } /* (0..39) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_RSTD_InterFreqInfo_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RSTD_InterFreqInfo_r10, carrierFreq_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreq-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RSTD_InterFreqInfo_r10, measPRS_Offset_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_measPRS_Offset_r10_constraint_1, - &asn_PER_memb_measPRS_Offset_r10_constr_3, - 0, - "measPRS-Offset-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_RSTD_InterFreqInfo_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RSTD_InterFreqInfo_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreq-r10 at 315 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* measPRS-Offset-r10 at 316 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RSTD_InterFreqInfo_r10_specs_1 = { - sizeof(struct RSTD_InterFreqInfo_r10), - offsetof(struct RSTD_InterFreqInfo_r10, _asn_ctx), - asn_MAP_RSTD_InterFreqInfo_r10_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* Start extensions */ - 3 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RSTD_InterFreqInfo_r10 = { - "RSTD-InterFreqInfo-r10", - "RSTD-InterFreqInfo-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RSTD_InterFreqInfo_r10_tags_1, - sizeof(asn_DEF_RSTD_InterFreqInfo_r10_tags_1) - /sizeof(asn_DEF_RSTD_InterFreqInfo_r10_tags_1[0]), /* 1 */ - asn_DEF_RSTD_InterFreqInfo_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_RSTD_InterFreqInfo_r10_tags_1) - /sizeof(asn_DEF_RSTD_InterFreqInfo_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RSTD_InterFreqInfo_r10_1, - 2, /* Elements count */ - &asn_SPC_RSTD_InterFreqInfo_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RSTD-InterFreqInfoList-r10.c b/lte/rrc/lib/asn/src/RSTD-InterFreqInfoList-r10.c deleted file mode 100644 index 76497399a..000000000 --- a/lte/rrc/lib/asn/src/RSTD-InterFreqInfoList-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RSTD-InterFreqInfoList-r10.h" - -static asn_per_constraints_t asn_PER_type_RSTD_InterFreqInfoList_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 2, 2, 1, 3 } /* (SIZE(1..3)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_RSTD_InterFreqInfoList_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RSTD_InterFreqInfo_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_RSTD_InterFreqInfoList_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_RSTD_InterFreqInfoList_r10_specs_1 = { - sizeof(struct RSTD_InterFreqInfoList_r10), - offsetof(struct RSTD_InterFreqInfoList_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_RSTD_InterFreqInfoList_r10 = { - "RSTD-InterFreqInfoList-r10", - "RSTD-InterFreqInfoList-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RSTD_InterFreqInfoList_r10_tags_1, - sizeof(asn_DEF_RSTD_InterFreqInfoList_r10_tags_1) - /sizeof(asn_DEF_RSTD_InterFreqInfoList_r10_tags_1[0]), /* 1 */ - asn_DEF_RSTD_InterFreqInfoList_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_RSTD_InterFreqInfoList_r10_tags_1) - /sizeof(asn_DEF_RSTD_InterFreqInfoList_r10_tags_1[0]), /* 1 */ - &asn_PER_type_RSTD_InterFreqInfoList_r10_constr_1, - asn_MBR_RSTD_InterFreqInfoList_r10_1, - 1, /* Single element */ - &asn_SPC_RSTD_InterFreqInfoList_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RadioResourceConfigCommon.c b/lte/rrc/lib/asn/src/RadioResourceConfigCommon.c deleted file mode 100644 index 5c3ebdbba..000000000 --- a/lte/rrc/lib/asn/src/RadioResourceConfigCommon.c +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RadioResourceConfigCommon.h" - -static asn_TYPE_member_t asn_MBR_RadioResourceConfigCommon_1[] = { - { ATF_POINTER, 1, offsetof(struct RadioResourceConfigCommon, rach_ConfigCommon), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RACH_ConfigCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rach-ConfigCommon" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommon, prach_Config), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PRACH_Config, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "prach-Config" - }, - { ATF_POINTER, 1, offsetof(struct RadioResourceConfigCommon, pdsch_ConfigCommon), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PDSCH_ConfigCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pdsch-ConfigCommon" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommon, pusch_ConfigCommon), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PUSCH_ConfigCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pusch-ConfigCommon" - }, - { ATF_POINTER, 7, offsetof(struct RadioResourceConfigCommon, phich_Config), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PHICH_Config, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "phich-Config" - }, - { ATF_POINTER, 6, offsetof(struct RadioResourceConfigCommon, pucch_ConfigCommon), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PUCCH_ConfigCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pucch-ConfigCommon" - }, - { ATF_POINTER, 5, offsetof(struct RadioResourceConfigCommon, soundingRS_UL_ConfigCommon), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_SoundingRS_UL_ConfigCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "soundingRS-UL-ConfigCommon" - }, - { ATF_POINTER, 4, offsetof(struct RadioResourceConfigCommon, uplinkPowerControlCommon), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UplinkPowerControlCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "uplinkPowerControlCommon" - }, - { ATF_POINTER, 3, offsetof(struct RadioResourceConfigCommon, antennaInfoCommon), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AntennaInfoCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "antennaInfoCommon" - }, - { ATF_POINTER, 2, offsetof(struct RadioResourceConfigCommon, p_Max), - (ASN_TAG_CLASS_CONTEXT | (9 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_P_Max, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "p-Max" - }, - { ATF_POINTER, 1, offsetof(struct RadioResourceConfigCommon, tdd_Config), - (ASN_TAG_CLASS_CONTEXT | (10 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_TDD_Config, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "tdd-Config" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommon, ul_CyclicPrefixLength), - (ASN_TAG_CLASS_CONTEXT | (11 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UL_CyclicPrefixLength, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ul-CyclicPrefixLength" - }, - { ATF_POINTER, 1, offsetof(struct RadioResourceConfigCommon, uplinkPowerControlCommon_v1020), - (ASN_TAG_CLASS_CONTEXT | (12 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UplinkPowerControlCommon_v1020, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "uplinkPowerControlCommon-v1020" - }, -}; -static int asn_MAP_RadioResourceConfigCommon_oms_1[] = { 0, 2, 4, 5, 6, 7, 8, 9, 10, 12 }; -static ber_tlv_tag_t asn_DEF_RadioResourceConfigCommon_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RadioResourceConfigCommon_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rach-ConfigCommon at 2377 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* prach-Config at 2378 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pdsch-ConfigCommon at 2379 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* pusch-ConfigCommon at 2380 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* phich-Config at 2381 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* pucch-ConfigCommon at 2382 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* soundingRS-UL-ConfigCommon at 2383 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* uplinkPowerControlCommon at 2384 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* antennaInfoCommon at 2385 */ - { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* p-Max at 2386 */ - { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* tdd-Config at 2387 */ - { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 }, /* ul-CyclicPrefixLength at 2388 */ - { (ASN_TAG_CLASS_CONTEXT | (12 << 2)), 12, 0, 0 } /* uplinkPowerControlCommon-v1020 at 2389 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RadioResourceConfigCommon_specs_1 = { - sizeof(struct RadioResourceConfigCommon), - offsetof(struct RadioResourceConfigCommon, _asn_ctx), - asn_MAP_RadioResourceConfigCommon_tag2el_1, - 13, /* Count of tags in the map */ - asn_MAP_RadioResourceConfigCommon_oms_1, /* Optional members */ - 10, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RadioResourceConfigCommon = { - "RadioResourceConfigCommon", - "RadioResourceConfigCommon", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RadioResourceConfigCommon_tags_1, - sizeof(asn_DEF_RadioResourceConfigCommon_tags_1) - /sizeof(asn_DEF_RadioResourceConfigCommon_tags_1[0]), /* 1 */ - asn_DEF_RadioResourceConfigCommon_tags_1, /* Same as above */ - sizeof(asn_DEF_RadioResourceConfigCommon_tags_1) - /sizeof(asn_DEF_RadioResourceConfigCommon_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RadioResourceConfigCommon_1, - 13, /* Elements count */ - &asn_SPC_RadioResourceConfigCommon_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RadioResourceConfigCommonSCell-r10.c b/lte/rrc/lib/asn/src/RadioResourceConfigCommonSCell-r10.c deleted file mode 100644 index 69d629837..000000000 --- a/lte/rrc/lib/asn/src/RadioResourceConfigCommonSCell-r10.c +++ /dev/null @@ -1,661 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RadioResourceConfigCommonSCell-r10.h" - -static int -dl_Bandwidth_r10_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -dl_Bandwidth_r10_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -dl_Bandwidth_r10_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - dl_Bandwidth_r10_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -dl_Bandwidth_r10_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - dl_Bandwidth_r10_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -dl_Bandwidth_r10_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - dl_Bandwidth_r10_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -dl_Bandwidth_r10_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - dl_Bandwidth_r10_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -dl_Bandwidth_r10_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - dl_Bandwidth_r10_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -dl_Bandwidth_r10_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - dl_Bandwidth_r10_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -dl_Bandwidth_r10_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - dl_Bandwidth_r10_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -dl_Bandwidth_r10_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - dl_Bandwidth_r10_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -ul_Bandwidth_r10_18_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -ul_Bandwidth_r10_18_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -ul_Bandwidth_r10_18_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ul_Bandwidth_r10_18_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -ul_Bandwidth_r10_18_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ul_Bandwidth_r10_18_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -ul_Bandwidth_r10_18_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ul_Bandwidth_r10_18_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -ul_Bandwidth_r10_18_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ul_Bandwidth_r10_18_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -ul_Bandwidth_r10_18_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ul_Bandwidth_r10_18_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -ul_Bandwidth_r10_18_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ul_Bandwidth_r10_18_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -ul_Bandwidth_r10_18_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ul_Bandwidth_r10_18_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -ul_Bandwidth_r10_18_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ul_Bandwidth_r10_18_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_dl_Bandwidth_r10_constr_3 = { - { APC_CONSTRAINED, 3, 3, 0, 5 } /* (0..5) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_ul_Bandwidth_r10_constr_18 = { - { APC_CONSTRAINED, 3, 3, 0, 5 } /* (0..5) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_dl_Bandwidth_r10_value2enum_3[] = { - { 0, 2, "n6" }, - { 1, 3, "n15" }, - { 2, 3, "n25" }, - { 3, 3, "n50" }, - { 4, 3, "n75" }, - { 5, 4, "n100" } -}; -static unsigned int asn_MAP_dl_Bandwidth_r10_enum2value_3[] = { - 5, /* n100(5) */ - 1, /* n15(1) */ - 2, /* n25(2) */ - 3, /* n50(3) */ - 0, /* n6(0) */ - 4 /* n75(4) */ -}; -static asn_INTEGER_specifics_t asn_SPC_dl_Bandwidth_r10_specs_3 = { - asn_MAP_dl_Bandwidth_r10_value2enum_3, /* "tag" => N; sorted by tag */ - asn_MAP_dl_Bandwidth_r10_enum2value_3, /* N => "tag"; sorted by N */ - 6, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_dl_Bandwidth_r10_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_dl_Bandwidth_r10_3 = { - "dl-Bandwidth-r10", - "dl-Bandwidth-r10", - dl_Bandwidth_r10_3_free, - dl_Bandwidth_r10_3_print, - dl_Bandwidth_r10_3_constraint, - dl_Bandwidth_r10_3_decode_ber, - dl_Bandwidth_r10_3_encode_der, - dl_Bandwidth_r10_3_decode_xer, - dl_Bandwidth_r10_3_encode_xer, - dl_Bandwidth_r10_3_decode_uper, - dl_Bandwidth_r10_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_dl_Bandwidth_r10_tags_3, - sizeof(asn_DEF_dl_Bandwidth_r10_tags_3) - /sizeof(asn_DEF_dl_Bandwidth_r10_tags_3[0]) - 1, /* 1 */ - asn_DEF_dl_Bandwidth_r10_tags_3, /* Same as above */ - sizeof(asn_DEF_dl_Bandwidth_r10_tags_3) - /sizeof(asn_DEF_dl_Bandwidth_r10_tags_3[0]), /* 2 */ - &asn_PER_type_dl_Bandwidth_r10_constr_3, - 0, 0, /* Defined elsewhere */ - &asn_SPC_dl_Bandwidth_r10_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_nonUL_Configuration_r10_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSCell_r10__nonUL_Configuration_r10, dl_Bandwidth_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_dl_Bandwidth_r10_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dl-Bandwidth-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSCell_r10__nonUL_Configuration_r10, antennaInfoCommon_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AntennaInfoCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "antennaInfoCommon-r10" - }, - { ATF_POINTER, 1, offsetof(struct RadioResourceConfigCommonSCell_r10__nonUL_Configuration_r10, mbsfn_SubframeConfigList_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MBSFN_SubframeConfigList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mbsfn-SubframeConfigList-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSCell_r10__nonUL_Configuration_r10, phich_Config_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PHICH_Config, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "phich-Config-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSCell_r10__nonUL_Configuration_r10, pdsch_ConfigCommon_r10), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PDSCH_ConfigCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pdsch-ConfigCommon-r10" - }, - { ATF_POINTER, 1, offsetof(struct RadioResourceConfigCommonSCell_r10__nonUL_Configuration_r10, tdd_Config_r10), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_TDD_Config, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "tdd-Config-r10" - }, -}; -static int asn_MAP_nonUL_Configuration_r10_oms_2[] = { 2, 5 }; -static ber_tlv_tag_t asn_DEF_nonUL_Configuration_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_nonUL_Configuration_r10_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* dl-Bandwidth-r10 at 2396 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* antennaInfoCommon-r10 at 2398 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* mbsfn-SubframeConfigList-r10 at 2399 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* phich-Config-r10 at 2401 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* pdsch-ConfigCommon-r10 at 2403 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* tdd-Config-r10 at 2404 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonUL_Configuration_r10_specs_2 = { - sizeof(struct RadioResourceConfigCommonSCell_r10__nonUL_Configuration_r10), - offsetof(struct RadioResourceConfigCommonSCell_r10__nonUL_Configuration_r10, _asn_ctx), - asn_MAP_nonUL_Configuration_r10_tag2el_2, - 6, /* Count of tags in the map */ - asn_MAP_nonUL_Configuration_r10_oms_2, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonUL_Configuration_r10_2 = { - "nonUL-Configuration-r10", - "nonUL-Configuration-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonUL_Configuration_r10_tags_2, - sizeof(asn_DEF_nonUL_Configuration_r10_tags_2) - /sizeof(asn_DEF_nonUL_Configuration_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_nonUL_Configuration_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_nonUL_Configuration_r10_tags_2) - /sizeof(asn_DEF_nonUL_Configuration_r10_tags_2[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_nonUL_Configuration_r10_2, - 6, /* Elements count */ - &asn_SPC_nonUL_Configuration_r10_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_ul_Bandwidth_r10_value2enum_18[] = { - { 0, 2, "n6" }, - { 1, 3, "n15" }, - { 2, 3, "n25" }, - { 3, 3, "n50" }, - { 4, 3, "n75" }, - { 5, 4, "n100" } -}; -static unsigned int asn_MAP_ul_Bandwidth_r10_enum2value_18[] = { - 5, /* n100(5) */ - 1, /* n15(1) */ - 2, /* n25(2) */ - 3, /* n50(3) */ - 0, /* n6(0) */ - 4 /* n75(4) */ -}; -static asn_INTEGER_specifics_t asn_SPC_ul_Bandwidth_r10_specs_18 = { - asn_MAP_ul_Bandwidth_r10_value2enum_18, /* "tag" => N; sorted by tag */ - asn_MAP_ul_Bandwidth_r10_enum2value_18, /* N => "tag"; sorted by N */ - 6, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_ul_Bandwidth_r10_tags_18[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ul_Bandwidth_r10_18 = { - "ul-Bandwidth-r10", - "ul-Bandwidth-r10", - ul_Bandwidth_r10_18_free, - ul_Bandwidth_r10_18_print, - ul_Bandwidth_r10_18_constraint, - ul_Bandwidth_r10_18_decode_ber, - ul_Bandwidth_r10_18_encode_der, - ul_Bandwidth_r10_18_decode_xer, - ul_Bandwidth_r10_18_encode_xer, - ul_Bandwidth_r10_18_decode_uper, - ul_Bandwidth_r10_18_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ul_Bandwidth_r10_tags_18, - sizeof(asn_DEF_ul_Bandwidth_r10_tags_18) - /sizeof(asn_DEF_ul_Bandwidth_r10_tags_18[0]) - 1, /* 1 */ - asn_DEF_ul_Bandwidth_r10_tags_18, /* Same as above */ - sizeof(asn_DEF_ul_Bandwidth_r10_tags_18) - /sizeof(asn_DEF_ul_Bandwidth_r10_tags_18[0]), /* 2 */ - &asn_PER_type_ul_Bandwidth_r10_constr_18, - 0, 0, /* Defined elsewhere */ - &asn_SPC_ul_Bandwidth_r10_specs_18 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ul_FreqInfo_r10_16[] = { - { ATF_POINTER, 2, offsetof(struct RadioResourceConfigCommonSCell_r10__ul_Configuration_r10__ul_FreqInfo_r10, ul_CarrierFreq_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ul-CarrierFreq-r10" - }, - { ATF_POINTER, 1, offsetof(struct RadioResourceConfigCommonSCell_r10__ul_Configuration_r10__ul_FreqInfo_r10, ul_Bandwidth_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ul_Bandwidth_r10_18, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ul-Bandwidth-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSCell_r10__ul_Configuration_r10__ul_FreqInfo_r10, additionalSpectrumEmission_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AdditionalSpectrumEmission, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "additionalSpectrumEmission-r10" - }, -}; -static int asn_MAP_ul_FreqInfo_r10_oms_16[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_ul_FreqInfo_r10_tags_16[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ul_FreqInfo_r10_tag2el_16[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ul-CarrierFreq-r10 at 2409 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ul-Bandwidth-r10 at 2410 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* additionalSpectrumEmission-r10 at 2413 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ul_FreqInfo_r10_specs_16 = { - sizeof(struct RadioResourceConfigCommonSCell_r10__ul_Configuration_r10__ul_FreqInfo_r10), - offsetof(struct RadioResourceConfigCommonSCell_r10__ul_Configuration_r10__ul_FreqInfo_r10, _asn_ctx), - asn_MAP_ul_FreqInfo_r10_tag2el_16, - 3, /* Count of tags in the map */ - asn_MAP_ul_FreqInfo_r10_oms_16, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ul_FreqInfo_r10_16 = { - "ul-FreqInfo-r10", - "ul-FreqInfo-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ul_FreqInfo_r10_tags_16, - sizeof(asn_DEF_ul_FreqInfo_r10_tags_16) - /sizeof(asn_DEF_ul_FreqInfo_r10_tags_16[0]) - 1, /* 1 */ - asn_DEF_ul_FreqInfo_r10_tags_16, /* Same as above */ - sizeof(asn_DEF_ul_FreqInfo_r10_tags_16) - /sizeof(asn_DEF_ul_FreqInfo_r10_tags_16[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_ul_FreqInfo_r10_16, - 3, /* Elements count */ - &asn_SPC_ul_FreqInfo_r10_specs_16 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ul_Configuration_r10_15[] = { - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSCell_r10__ul_Configuration_r10, ul_FreqInfo_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_ul_FreqInfo_r10_16, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ul-FreqInfo-r10" - }, - { ATF_POINTER, 1, offsetof(struct RadioResourceConfigCommonSCell_r10__ul_Configuration_r10, p_Max_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_P_Max, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "p-Max-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSCell_r10__ul_Configuration_r10, uplinkPowerControlCommonSCell_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UplinkPowerControlCommonSCell_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "uplinkPowerControlCommonSCell-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSCell_r10__ul_Configuration_r10, soundingRS_UL_ConfigCommon_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_SoundingRS_UL_ConfigCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "soundingRS-UL-ConfigCommon-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSCell_r10__ul_Configuration_r10, ul_CyclicPrefixLength_r10), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UL_CyclicPrefixLength, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ul-CyclicPrefixLength-r10" - }, - { ATF_POINTER, 1, offsetof(struct RadioResourceConfigCommonSCell_r10__ul_Configuration_r10, prach_ConfigSCell_r10), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PRACH_ConfigSCell_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "prach-ConfigSCell-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSCell_r10__ul_Configuration_r10, pusch_ConfigCommon_r10), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PUSCH_ConfigCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pusch-ConfigCommon-r10" - }, -}; -static int asn_MAP_ul_Configuration_r10_oms_15[] = { 1, 5 }; -static ber_tlv_tag_t asn_DEF_ul_Configuration_r10_tags_15[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ul_Configuration_r10_tag2el_15[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ul-FreqInfo-r10 at 2409 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* p-Max-r10 at 2414 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* uplinkPowerControlCommonSCell-r10 at 2415 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* soundingRS-UL-ConfigCommon-r10 at 2418 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* ul-CyclicPrefixLength-r10 at 2419 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* prach-ConfigSCell-r10 at 2421 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* pusch-ConfigCommon-r10 at 2423 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ul_Configuration_r10_specs_15 = { - sizeof(struct RadioResourceConfigCommonSCell_r10__ul_Configuration_r10), - offsetof(struct RadioResourceConfigCommonSCell_r10__ul_Configuration_r10, _asn_ctx), - asn_MAP_ul_Configuration_r10_tag2el_15, - 7, /* Count of tags in the map */ - asn_MAP_ul_Configuration_r10_oms_15, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ul_Configuration_r10_15 = { - "ul-Configuration-r10", - "ul-Configuration-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ul_Configuration_r10_tags_15, - sizeof(asn_DEF_ul_Configuration_r10_tags_15) - /sizeof(asn_DEF_ul_Configuration_r10_tags_15[0]) - 1, /* 1 */ - asn_DEF_ul_Configuration_r10_tags_15, /* Same as above */ - sizeof(asn_DEF_ul_Configuration_r10_tags_15) - /sizeof(asn_DEF_ul_Configuration_r10_tags_15[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_ul_Configuration_r10_15, - 7, /* Elements count */ - &asn_SPC_ul_Configuration_r10_specs_15 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RadioResourceConfigCommonSCell_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSCell_r10, nonUL_Configuration_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_nonUL_Configuration_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonUL-Configuration-r10" - }, - { ATF_POINTER, 1, offsetof(struct RadioResourceConfigCommonSCell_r10, ul_Configuration_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_ul_Configuration_r10_15, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ul-Configuration-r10" - }, -}; -static int asn_MAP_RadioResourceConfigCommonSCell_r10_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_RadioResourceConfigCommonSCell_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RadioResourceConfigCommonSCell_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nonUL-Configuration-r10 at 2396 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ul-Configuration-r10 at 2413 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RadioResourceConfigCommonSCell_r10_specs_1 = { - sizeof(struct RadioResourceConfigCommonSCell_r10), - offsetof(struct RadioResourceConfigCommonSCell_r10, _asn_ctx), - asn_MAP_RadioResourceConfigCommonSCell_r10_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_RadioResourceConfigCommonSCell_r10_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - 1, /* Start extensions */ - 3 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RadioResourceConfigCommonSCell_r10 = { - "RadioResourceConfigCommonSCell-r10", - "RadioResourceConfigCommonSCell-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RadioResourceConfigCommonSCell_r10_tags_1, - sizeof(asn_DEF_RadioResourceConfigCommonSCell_r10_tags_1) - /sizeof(asn_DEF_RadioResourceConfigCommonSCell_r10_tags_1[0]), /* 1 */ - asn_DEF_RadioResourceConfigCommonSCell_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_RadioResourceConfigCommonSCell_r10_tags_1) - /sizeof(asn_DEF_RadioResourceConfigCommonSCell_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RadioResourceConfigCommonSCell_r10_1, - 2, /* Elements count */ - &asn_SPC_RadioResourceConfigCommonSCell_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RadioResourceConfigCommonSIB.c b/lte/rrc/lib/asn/src/RadioResourceConfigCommonSIB.c deleted file mode 100644 index 3fc2b0311..000000000 --- a/lte/rrc/lib/asn/src/RadioResourceConfigCommonSIB.c +++ /dev/null @@ -1,162 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RadioResourceConfigCommonSIB.h" - -static asn_TYPE_member_t asn_MBR_RadioResourceConfigCommonSIB_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, rach_ConfigCommon), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RACH_ConfigCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rach-ConfigCommon" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, bcch_Config), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BCCH_Config, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "bcch-Config" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, pcch_Config), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PCCH_Config, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pcch-Config" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, prach_Config), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PRACH_ConfigSIB, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "prach-Config" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, pdsch_ConfigCommon), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PDSCH_ConfigCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pdsch-ConfigCommon" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, pusch_ConfigCommon), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PUSCH_ConfigCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pusch-ConfigCommon" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, pucch_ConfigCommon), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PUCCH_ConfigCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pucch-ConfigCommon" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, soundingRS_UL_ConfigCommon), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_SoundingRS_UL_ConfigCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "soundingRS-UL-ConfigCommon" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, uplinkPowerControlCommon), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UplinkPowerControlCommon, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "uplinkPowerControlCommon" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, ul_CyclicPrefixLength), - (ASN_TAG_CLASS_CONTEXT | (9 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UL_CyclicPrefixLength, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ul-CyclicPrefixLength" - }, - { ATF_POINTER, 1, offsetof(struct RadioResourceConfigCommonSIB, uplinkPowerControlCommon_v1020), - (ASN_TAG_CLASS_CONTEXT | (10 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UplinkPowerControlCommon_v1020, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "uplinkPowerControlCommon-v1020" - }, -}; -static int asn_MAP_RadioResourceConfigCommonSIB_oms_1[] = { 10 }; -static ber_tlv_tag_t asn_DEF_RadioResourceConfigCommonSIB_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RadioResourceConfigCommonSIB_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rach-ConfigCommon at 2363 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* bcch-Config at 2364 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pcch-Config at 2365 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* prach-Config at 2366 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* pdsch-ConfigCommon at 2367 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* pusch-ConfigCommon at 2368 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* pucch-ConfigCommon at 2369 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* soundingRS-UL-ConfigCommon at 2370 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* uplinkPowerControlCommon at 2371 */ - { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* ul-CyclicPrefixLength at 2372 */ - { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 } /* uplinkPowerControlCommon-v1020 at 2373 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RadioResourceConfigCommonSIB_specs_1 = { - sizeof(struct RadioResourceConfigCommonSIB), - offsetof(struct RadioResourceConfigCommonSIB, _asn_ctx), - asn_MAP_RadioResourceConfigCommonSIB_tag2el_1, - 11, /* Count of tags in the map */ - asn_MAP_RadioResourceConfigCommonSIB_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RadioResourceConfigCommonSIB = { - "RadioResourceConfigCommonSIB", - "RadioResourceConfigCommonSIB", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RadioResourceConfigCommonSIB_tags_1, - sizeof(asn_DEF_RadioResourceConfigCommonSIB_tags_1) - /sizeof(asn_DEF_RadioResourceConfigCommonSIB_tags_1[0]), /* 1 */ - asn_DEF_RadioResourceConfigCommonSIB_tags_1, /* Same as above */ - sizeof(asn_DEF_RadioResourceConfigCommonSIB_tags_1) - /sizeof(asn_DEF_RadioResourceConfigCommonSIB_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RadioResourceConfigCommonSIB_1, - 11, /* Elements count */ - &asn_SPC_RadioResourceConfigCommonSIB_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RadioResourceConfigDedicated.c b/lte/rrc/lib/asn/src/RadioResourceConfigDedicated.c deleted file mode 100644 index 7ab719d32..000000000 --- a/lte/rrc/lib/asn/src/RadioResourceConfigDedicated.c +++ /dev/null @@ -1,205 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RadioResourceConfigDedicated.h" - -static asn_per_constraints_t asn_PER_type_mac_MainConfig_constr_5 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_mac_MainConfig_5[] = { - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigDedicated__mac_MainConfig, choice.explicitValue), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MAC_MainConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "explicitValue" - }, - { ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigDedicated__mac_MainConfig, choice.defaultValue), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "defaultValue" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_mac_MainConfig_tag2el_5[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* explicitValue at 2447 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* defaultValue at 2448 */ -}; -static asn_CHOICE_specifics_t asn_SPC_mac_MainConfig_specs_5 = { - sizeof(struct RadioResourceConfigDedicated__mac_MainConfig), - offsetof(struct RadioResourceConfigDedicated__mac_MainConfig, _asn_ctx), - offsetof(struct RadioResourceConfigDedicated__mac_MainConfig, present), - sizeof(((struct RadioResourceConfigDedicated__mac_MainConfig *)0)->present), - asn_MAP_mac_MainConfig_tag2el_5, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_mac_MainConfig_5 = { - "mac-MainConfig", - "mac-MainConfig", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_mac_MainConfig_constr_5, - asn_MBR_mac_MainConfig_5, - 2, /* Elements count */ - &asn_SPC_mac_MainConfig_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_RadioResourceConfigDedicated_1[] = { - { ATF_POINTER, 9, offsetof(struct RadioResourceConfigDedicated, srb_ToAddModList), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SRB_ToAddModList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "srb-ToAddModList" - }, - { ATF_POINTER, 8, offsetof(struct RadioResourceConfigDedicated, drb_ToAddModList), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DRB_ToAddModList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "drb-ToAddModList" - }, - { ATF_POINTER, 7, offsetof(struct RadioResourceConfigDedicated, drb_ToReleaseList), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DRB_ToReleaseList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "drb-ToReleaseList" - }, - { ATF_POINTER, 6, offsetof(struct RadioResourceConfigDedicated, mac_MainConfig), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_mac_MainConfig_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mac-MainConfig" - }, - { ATF_POINTER, 5, offsetof(struct RadioResourceConfigDedicated, sps_Config), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SPS_Config, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sps-Config" - }, - { ATF_POINTER, 4, offsetof(struct RadioResourceConfigDedicated, physicalConfigDedicated), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysicalConfigDedicated, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physicalConfigDedicated" - }, - { ATF_POINTER, 3, offsetof(struct RadioResourceConfigDedicated, rlf_TimersAndConstants_r9), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_RLF_TimersAndConstants_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rlf-TimersAndConstants-r9" - }, - { ATF_POINTER, 2, offsetof(struct RadioResourceConfigDedicated, measSubframePatternPCell_r10), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_MeasSubframePatternPCell_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measSubframePatternPCell-r10" - }, - { ATF_POINTER, 1, offsetof(struct RadioResourceConfigDedicated, sps_RA_ConfigList_rlola), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SPS_RA_ConfigList_rlola, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sps-RA-ConfigList-rlola" - }, -}; -static int asn_MAP_RadioResourceConfigDedicated_oms_1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8 }; -static ber_tlv_tag_t asn_DEF_RadioResourceConfigDedicated_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RadioResourceConfigDedicated_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* srb-ToAddModList at 2443 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* drb-ToAddModList at 2444 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* drb-ToReleaseList at 2445 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* mac-MainConfig at 2447 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* sps-Config at 2450 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* physicalConfigDedicated at 2451 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* rlf-TimersAndConstants-r9 at 2452 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* measSubframePatternPCell-r10 at 2453 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 } /* sps-RA-ConfigList-rlola at 2454 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RadioResourceConfigDedicated_specs_1 = { - sizeof(struct RadioResourceConfigDedicated), - offsetof(struct RadioResourceConfigDedicated, _asn_ctx), - asn_MAP_RadioResourceConfigDedicated_tag2el_1, - 9, /* Count of tags in the map */ - asn_MAP_RadioResourceConfigDedicated_oms_1, /* Optional members */ - 9, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RadioResourceConfigDedicated = { - "RadioResourceConfigDedicated", - "RadioResourceConfigDedicated", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RadioResourceConfigDedicated_tags_1, - sizeof(asn_DEF_RadioResourceConfigDedicated_tags_1) - /sizeof(asn_DEF_RadioResourceConfigDedicated_tags_1[0]), /* 1 */ - asn_DEF_RadioResourceConfigDedicated_tags_1, /* Same as above */ - sizeof(asn_DEF_RadioResourceConfigDedicated_tags_1) - /sizeof(asn_DEF_RadioResourceConfigDedicated_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RadioResourceConfigDedicated_1, - 9, /* Elements count */ - &asn_SPC_RadioResourceConfigDedicated_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RadioResourceConfigDedicatedSCell-r10.c b/lte/rrc/lib/asn/src/RadioResourceConfigDedicatedSCell-r10.c deleted file mode 100644 index 7d069ffd9..000000000 --- a/lte/rrc/lib/asn/src/RadioResourceConfigDedicatedSCell-r10.c +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RadioResourceConfigDedicatedSCell-r10.h" - -static asn_TYPE_member_t asn_MBR_RadioResourceConfigDedicatedSCell_r10_1[] = { - { ATF_POINTER, 1, offsetof(struct RadioResourceConfigDedicatedSCell_r10, physicalConfigDedicatedSCell_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysicalConfigDedicatedSCell_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physicalConfigDedicatedSCell-r10" - }, -}; -static int asn_MAP_RadioResourceConfigDedicatedSCell_r10_oms_1[] = { 0 }; -static ber_tlv_tag_t asn_DEF_RadioResourceConfigDedicatedSCell_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RadioResourceConfigDedicatedSCell_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* physicalConfigDedicatedSCell-r10 at 2460 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RadioResourceConfigDedicatedSCell_r10_specs_1 = { - sizeof(struct RadioResourceConfigDedicatedSCell_r10), - offsetof(struct RadioResourceConfigDedicatedSCell_r10, _asn_ctx), - asn_MAP_RadioResourceConfigDedicatedSCell_r10_tag2el_1, - 1, /* Count of tags in the map */ - asn_MAP_RadioResourceConfigDedicatedSCell_r10_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - 0, /* Start extensions */ - 2 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RadioResourceConfigDedicatedSCell_r10 = { - "RadioResourceConfigDedicatedSCell-r10", - "RadioResourceConfigDedicatedSCell-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RadioResourceConfigDedicatedSCell_r10_tags_1, - sizeof(asn_DEF_RadioResourceConfigDedicatedSCell_r10_tags_1) - /sizeof(asn_DEF_RadioResourceConfigDedicatedSCell_r10_tags_1[0]), /* 1 */ - asn_DEF_RadioResourceConfigDedicatedSCell_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_RadioResourceConfigDedicatedSCell_r10_tags_1) - /sizeof(asn_DEF_RadioResourceConfigDedicatedSCell_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RadioResourceConfigDedicatedSCell_r10_1, - 1, /* Elements count */ - &asn_SPC_RadioResourceConfigDedicatedSCell_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RedirectedCarrierInfo.c b/lte/rrc/lib/asn/src/RedirectedCarrierInfo.c deleted file mode 100644 index 2c4244163..000000000 --- a/lte/rrc/lib/asn/src/RedirectedCarrierInfo.c +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RedirectedCarrierInfo.h" - -static asn_per_constraints_t asn_PER_type_RedirectedCarrierInfo_constr_1 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 5 } /* (0..5,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_RedirectedCarrierInfo_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RedirectedCarrierInfo, choice.eutra), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "eutra" - }, - { ATF_NOFLAGS, 0, offsetof(struct RedirectedCarrierInfo, choice.geran), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqsGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "geran" - }, - { ATF_NOFLAGS, 0, offsetof(struct RedirectedCarrierInfo, choice.utra_FDD), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "utra-FDD" - }, - { ATF_NOFLAGS, 0, offsetof(struct RedirectedCarrierInfo, choice.utra_TDD), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "utra-TDD" - }, - { ATF_NOFLAGS, 0, offsetof(struct RedirectedCarrierInfo, choice.cdma2000_HRPD), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cdma2000-HRPD" - }, - { ATF_NOFLAGS, 0, offsetof(struct RedirectedCarrierInfo, choice.cdma2000_1xRTT), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cdma2000-1xRTT" - }, - { ATF_NOFLAGS, 0, offsetof(struct RedirectedCarrierInfo, choice.utra_TDD_r10), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqListUTRA_TDD_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "utra-TDD-r10" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_RedirectedCarrierInfo_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eutra at 891 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* geran at 892 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* utra-FDD at 893 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* utra-TDD at 894 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* cdma2000-HRPD at 895 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* cdma2000-1xRTT at 896 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* utra-TDD-r10 at 899 */ -}; -static asn_CHOICE_specifics_t asn_SPC_RedirectedCarrierInfo_specs_1 = { - sizeof(struct RedirectedCarrierInfo), - offsetof(struct RedirectedCarrierInfo, _asn_ctx), - offsetof(struct RedirectedCarrierInfo, present), - sizeof(((struct RedirectedCarrierInfo *)0)->present), - asn_MAP_RedirectedCarrierInfo_tag2el_1, - 7, /* Count of tags in the map */ - 0, - 6 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_RedirectedCarrierInfo = { - "RedirectedCarrierInfo", - "RedirectedCarrierInfo", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_RedirectedCarrierInfo_constr_1, - asn_MBR_RedirectedCarrierInfo_1, - 7, /* Elements count */ - &asn_SPC_RedirectedCarrierInfo_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ReestabUE-Identity.c b/lte/rrc/lib/asn/src/ReestabUE-Identity.c deleted file mode 100644 index fba6cc333..000000000 --- a/lte/rrc/lib/asn/src/ReestabUE-Identity.c +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ReestabUE-Identity.h" - -static asn_TYPE_member_t asn_MBR_ReestabUE_Identity_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReestabUE_Identity, c_RNTI), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_C_RNTI, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c-RNTI" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReestabUE_Identity, physCellId), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReestabUE_Identity, shortMAC_I), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ShortMAC_I, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "shortMAC-I" - }, -}; -static ber_tlv_tag_t asn_DEF_ReestabUE_Identity_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ReestabUE_Identity_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c-RNTI at 812 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* physCellId at 813 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* shortMAC-I at 815 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ReestabUE_Identity_specs_1 = { - sizeof(struct ReestabUE_Identity), - offsetof(struct ReestabUE_Identity, _asn_ctx), - asn_MAP_ReestabUE_Identity_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_ReestabUE_Identity = { - "ReestabUE-Identity", - "ReestabUE-Identity", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ReestabUE_Identity_tags_1, - sizeof(asn_DEF_ReestabUE_Identity_tags_1) - /sizeof(asn_DEF_ReestabUE_Identity_tags_1[0]), /* 1 */ - asn_DEF_ReestabUE_Identity_tags_1, /* Same as above */ - sizeof(asn_DEF_ReestabUE_Identity_tags_1) - /sizeof(asn_DEF_ReestabUE_Identity_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_ReestabUE_Identity_1, - 3, /* Elements count */ - &asn_SPC_ReestabUE_Identity_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ReestablishmentCause.c b/lte/rrc/lib/asn/src/ReestablishmentCause.c deleted file mode 100644 index c88d432bb..000000000 --- a/lte/rrc/lib/asn/src/ReestablishmentCause.c +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ReestablishmentCause.h" - -int -ReestablishmentCause_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -ReestablishmentCause_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -ReestablishmentCause_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ReestablishmentCause_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -ReestablishmentCause_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ReestablishmentCause_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -ReestablishmentCause_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ReestablishmentCause_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -ReestablishmentCause_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ReestablishmentCause_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -ReestablishmentCause_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ReestablishmentCause_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -ReestablishmentCause_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ReestablishmentCause_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -ReestablishmentCause_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ReestablishmentCause_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -ReestablishmentCause_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ReestablishmentCause_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_ReestablishmentCause_constr_1 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_ReestablishmentCause_value2enum_1[] = { - { 0, 22, "reconfigurationFailure" }, - { 1, 15, "handoverFailure" }, - { 2, 12, "otherFailure" }, - { 3, 6, "spare1" } -}; -static unsigned int asn_MAP_ReestablishmentCause_enum2value_1[] = { - 1, /* handoverFailure(1) */ - 2, /* otherFailure(2) */ - 0, /* reconfigurationFailure(0) */ - 3 /* spare1(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_ReestablishmentCause_specs_1 = { - asn_MAP_ReestablishmentCause_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_ReestablishmentCause_enum2value_1, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_ReestablishmentCause_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ReestablishmentCause = { - "ReestablishmentCause", - "ReestablishmentCause", - ReestablishmentCause_free, - ReestablishmentCause_print, - ReestablishmentCause_constraint, - ReestablishmentCause_decode_ber, - ReestablishmentCause_encode_der, - ReestablishmentCause_decode_xer, - ReestablishmentCause_encode_xer, - ReestablishmentCause_decode_uper, - ReestablishmentCause_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ReestablishmentCause_tags_1, - sizeof(asn_DEF_ReestablishmentCause_tags_1) - /sizeof(asn_DEF_ReestablishmentCause_tags_1[0]), /* 1 */ - asn_DEF_ReestablishmentCause_tags_1, /* Same as above */ - sizeof(asn_DEF_ReestablishmentCause_tags_1) - /sizeof(asn_DEF_ReestablishmentCause_tags_1[0]), /* 1 */ - &asn_PER_type_ReestablishmentCause_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_ReestablishmentCause_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ReestablishmentInfo.c b/lte/rrc/lib/asn/src/ReestablishmentInfo.c deleted file mode 100644 index 50bfccd61..000000000 --- a/lte/rrc/lib/asn/src/ReestablishmentInfo.c +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#include "liblte/rrc/asn/ReestablishmentInfo.h" - -static asn_TYPE_member_t asn_MBR_ReestablishmentInfo_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReestablishmentInfo, sourcePhysCellId), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sourcePhysCellId" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReestablishmentInfo, targetCellShortMAC_I), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ShortMAC_I, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "targetCellShortMAC-I" - }, - { ATF_POINTER, 1, offsetof(struct ReestablishmentInfo, additionalReestabInfoList), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AdditionalReestabInfoList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "additionalReestabInfoList" - }, -}; -static const int asn_MAP_ReestablishmentInfo_oms_1[] = { 2 }; -static const ber_tlv_tag_t asn_DEF_ReestablishmentInfo_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_ReestablishmentInfo_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sourcePhysCellId */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* targetCellShortMAC-I */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* additionalReestabInfoList */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ReestablishmentInfo_specs_1 = { - sizeof(struct ReestablishmentInfo), - offsetof(struct ReestablishmentInfo, _asn_ctx), - asn_MAP_ReestablishmentInfo_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_ReestablishmentInfo_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - 2, /* Start extensions */ - 4 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_ReestablishmentInfo = { - "ReestablishmentInfo", - "ReestablishmentInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ReestablishmentInfo_tags_1, - sizeof(asn_DEF_ReestablishmentInfo_tags_1) - /sizeof(asn_DEF_ReestablishmentInfo_tags_1[0]), /* 1 */ - asn_DEF_ReestablishmentInfo_tags_1, /* Same as above */ - sizeof(asn_DEF_ReestablishmentInfo_tags_1) - /sizeof(asn_DEF_ReestablishmentInfo_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_ReestablishmentInfo_1, - 3, /* Elements count */ - &asn_SPC_ReestablishmentInfo_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/RegisteredMME.c b/lte/rrc/lib/asn/src/RegisteredMME.c deleted file mode 100644 index b74d6bb5e..000000000 --- a/lte/rrc/lib/asn/src/RegisteredMME.c +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/RegisteredMME.h" - -static int -memb_mmegi_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_mmegi_constr_3 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_RegisteredMME_1[] = { - { ATF_POINTER, 1, offsetof(struct RegisteredMME, plmn_Identity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PLMN_Identity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "plmn-Identity" - }, - { ATF_NOFLAGS, 0, offsetof(struct RegisteredMME, mmegi), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_mmegi_constraint_1, - &asn_PER_memb_mmegi_constr_3, - 0, - "mmegi" - }, - { ATF_NOFLAGS, 0, offsetof(struct RegisteredMME, mmec), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MMEC, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mmec" - }, -}; -static int asn_MAP_RegisteredMME_oms_1[] = { 0 }; -static ber_tlv_tag_t asn_DEF_RegisteredMME_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_RegisteredMME_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* plmn-Identity at 1068 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* mmegi at 1069 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* mmec at 1071 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RegisteredMME_specs_1 = { - sizeof(struct RegisteredMME), - offsetof(struct RegisteredMME, _asn_ctx), - asn_MAP_RegisteredMME_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_RegisteredMME_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_RegisteredMME = { - "RegisteredMME", - "RegisteredMME", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_RegisteredMME_tags_1, - sizeof(asn_DEF_RegisteredMME_tags_1) - /sizeof(asn_DEF_RegisteredMME_tags_1[0]), /* 1 */ - asn_DEF_RegisteredMME_tags_1, /* Same as above */ - sizeof(asn_DEF_RegisteredMME_tags_1) - /sizeof(asn_DEF_RegisteredMME_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_RegisteredMME_1, - 3, /* Elements count */ - &asn_SPC_RegisteredMME_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ReleaseCause.c b/lte/rrc/lib/asn/src/ReleaseCause.c deleted file mode 100644 index 6db3a1862..000000000 --- a/lte/rrc/lib/asn/src/ReleaseCause.c +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ReleaseCause.h" - -int -ReleaseCause_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -ReleaseCause_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -ReleaseCause_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ReleaseCause_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -ReleaseCause_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ReleaseCause_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -ReleaseCause_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ReleaseCause_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -ReleaseCause_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ReleaseCause_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -ReleaseCause_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ReleaseCause_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -ReleaseCause_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ReleaseCause_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -ReleaseCause_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ReleaseCause_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -ReleaseCause_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ReleaseCause_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_ReleaseCause_constr_1 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_ReleaseCause_value2enum_1[] = { - { 0, 24, "loadBalancingTAUrequired" }, - { 1, 5, "other" }, - { 2, 23, "cs-FallbackHighPriority" }, - { 3, 6, "spare1" } -}; -static unsigned int asn_MAP_ReleaseCause_enum2value_1[] = { - 2, /* cs-FallbackHighPriority(2) */ - 0, /* loadBalancingTAUrequired(0) */ - 1, /* other(1) */ - 3 /* spare1(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_ReleaseCause_specs_1 = { - asn_MAP_ReleaseCause_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_ReleaseCause_enum2value_1, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_ReleaseCause_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ReleaseCause = { - "ReleaseCause", - "ReleaseCause", - ReleaseCause_free, - ReleaseCause_print, - ReleaseCause_constraint, - ReleaseCause_decode_ber, - ReleaseCause_encode_der, - ReleaseCause_decode_xer, - ReleaseCause_encode_xer, - ReleaseCause_decode_uper, - ReleaseCause_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ReleaseCause_tags_1, - sizeof(asn_DEF_ReleaseCause_tags_1) - /sizeof(asn_DEF_ReleaseCause_tags_1[0]), /* 1 */ - asn_DEF_ReleaseCause_tags_1, /* Same as above */ - sizeof(asn_DEF_ReleaseCause_tags_1) - /sizeof(asn_DEF_ReleaseCause_tags_1[0]), /* 1 */ - &asn_PER_type_ReleaseCause_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_ReleaseCause_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ReportConfigEUTRA.c b/lte/rrc/lib/asn/src/ReportConfigEUTRA.c deleted file mode 100644 index 50fa3d2c7..000000000 --- a/lte/rrc/lib/asn/src/ReportConfigEUTRA.c +++ /dev/null @@ -1,1998 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ReportConfigEUTRA.h" - -static int -memb_a3_Offset_constraint_9(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -30 && value <= 30)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_a6_Offset_r10_constraint_18(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -30 && value <= 30)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -purpose_24_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -purpose_24_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -purpose_24_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - purpose_24_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -purpose_24_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - purpose_24_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -purpose_24_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - purpose_24_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -purpose_24_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - purpose_24_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -purpose_24_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - purpose_24_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -purpose_24_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - purpose_24_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -purpose_24_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - purpose_24_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -purpose_24_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - purpose_24_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -triggerQuantity_27_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -triggerQuantity_27_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -triggerQuantity_27_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - triggerQuantity_27_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -triggerQuantity_27_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - triggerQuantity_27_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -triggerQuantity_27_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - triggerQuantity_27_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -triggerQuantity_27_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - triggerQuantity_27_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -triggerQuantity_27_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - triggerQuantity_27_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -triggerQuantity_27_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - triggerQuantity_27_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -triggerQuantity_27_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - triggerQuantity_27_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -triggerQuantity_27_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - triggerQuantity_27_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -reportQuantity_30_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -reportQuantity_30_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -reportQuantity_30_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - reportQuantity_30_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -reportQuantity_30_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - reportQuantity_30_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -reportQuantity_30_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - reportQuantity_30_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -reportQuantity_30_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - reportQuantity_30_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -reportQuantity_30_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - reportQuantity_30_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -reportQuantity_30_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - reportQuantity_30_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -reportQuantity_30_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - reportQuantity_30_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -reportQuantity_30_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - reportQuantity_30_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -reportAmount_35_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -reportAmount_35_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -reportAmount_35_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - reportAmount_35_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -reportAmount_35_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - reportAmount_35_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -reportAmount_35_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - reportAmount_35_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -reportAmount_35_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - reportAmount_35_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -reportAmount_35_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - reportAmount_35_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -reportAmount_35_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - reportAmount_35_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -reportAmount_35_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - reportAmount_35_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -reportAmount_35_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - reportAmount_35_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -si_RequestForHO_r9_44_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -si_RequestForHO_r9_44_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -si_RequestForHO_r9_44_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - si_RequestForHO_r9_44_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -si_RequestForHO_r9_44_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - si_RequestForHO_r9_44_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -si_RequestForHO_r9_44_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - si_RequestForHO_r9_44_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -si_RequestForHO_r9_44_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - si_RequestForHO_r9_44_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -si_RequestForHO_r9_44_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - si_RequestForHO_r9_44_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -si_RequestForHO_r9_44_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - si_RequestForHO_r9_44_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -si_RequestForHO_r9_44_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - si_RequestForHO_r9_44_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -si_RequestForHO_r9_44_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - si_RequestForHO_r9_44_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -ue_RxTxTimeDiffPeriodical_r9_46_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -ue_RxTxTimeDiffPeriodical_r9_46_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -ue_RxTxTimeDiffPeriodical_r9_46_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ue_RxTxTimeDiffPeriodical_r9_46_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -ue_RxTxTimeDiffPeriodical_r9_46_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ue_RxTxTimeDiffPeriodical_r9_46_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -ue_RxTxTimeDiffPeriodical_r9_46_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ue_RxTxTimeDiffPeriodical_r9_46_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -ue_RxTxTimeDiffPeriodical_r9_46_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ue_RxTxTimeDiffPeriodical_r9_46_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -ue_RxTxTimeDiffPeriodical_r9_46_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ue_RxTxTimeDiffPeriodical_r9_46_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -ue_RxTxTimeDiffPeriodical_r9_46_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ue_RxTxTimeDiffPeriodical_r9_46_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -ue_RxTxTimeDiffPeriodical_r9_46_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ue_RxTxTimeDiffPeriodical_r9_46_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -ue_RxTxTimeDiffPeriodical_r9_46_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ue_RxTxTimeDiffPeriodical_r9_46_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -includeLocationInfo_r10_48_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -includeLocationInfo_r10_48_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -includeLocationInfo_r10_48_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - includeLocationInfo_r10_48_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -includeLocationInfo_r10_48_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - includeLocationInfo_r10_48_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -includeLocationInfo_r10_48_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - includeLocationInfo_r10_48_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -includeLocationInfo_r10_48_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - includeLocationInfo_r10_48_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -includeLocationInfo_r10_48_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - includeLocationInfo_r10_48_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -includeLocationInfo_r10_48_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - includeLocationInfo_r10_48_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -includeLocationInfo_r10_48_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - includeLocationInfo_r10_48_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -includeLocationInfo_r10_48_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - includeLocationInfo_r10_48_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -reportAddNeighMeas_r10_50_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -reportAddNeighMeas_r10_50_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -reportAddNeighMeas_r10_50_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - reportAddNeighMeas_r10_50_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -reportAddNeighMeas_r10_50_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - reportAddNeighMeas_r10_50_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -reportAddNeighMeas_r10_50_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - reportAddNeighMeas_r10_50_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -reportAddNeighMeas_r10_50_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - reportAddNeighMeas_r10_50_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -reportAddNeighMeas_r10_50_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - reportAddNeighMeas_r10_50_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -reportAddNeighMeas_r10_50_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - reportAddNeighMeas_r10_50_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -reportAddNeighMeas_r10_50_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - reportAddNeighMeas_r10_50_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -reportAddNeighMeas_r10_50_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - reportAddNeighMeas_r10_50_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_maxReportCells_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 8)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_a3_Offset_constr_10 = { - { APC_CONSTRAINED, 6, 6, -30, 30 } /* (-30..30) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_a6_Offset_r10_constr_19 = { - { APC_CONSTRAINED, 6, 6, -30, 30 } /* (-30..30) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_eventId_constr_4 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 4 } /* (0..4,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_purpose_constr_24 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_triggerType_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_triggerQuantity_constr_27 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_reportQuantity_constr_30 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_reportAmount_constr_35 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_si_RequestForHO_r9_constr_44 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_ue_RxTxTimeDiffPeriodical_r9_constr_46 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_includeLocationInfo_r10_constr_48 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_reportAddNeighMeas_r10_constr_50 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_maxReportCells_constr_33 = { - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (1..8) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_eventA1_5[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA1, a1_Threshold), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_ThresholdEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "a1-Threshold" - }, -}; -static ber_tlv_tag_t asn_DEF_eventA1_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_eventA1_tag2el_5[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* a1-Threshold at 3502 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_eventA1_specs_5 = { - sizeof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA1), - offsetof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA1, _asn_ctx), - asn_MAP_eventA1_tag2el_5, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_eventA1_5 = { - "eventA1", - "eventA1", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_eventA1_tags_5, - sizeof(asn_DEF_eventA1_tags_5) - /sizeof(asn_DEF_eventA1_tags_5[0]) - 1, /* 1 */ - asn_DEF_eventA1_tags_5, /* Same as above */ - sizeof(asn_DEF_eventA1_tags_5) - /sizeof(asn_DEF_eventA1_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_eventA1_5, - 1, /* Elements count */ - &asn_SPC_eventA1_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_eventA2_7[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA2, a2_Threshold), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_ThresholdEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "a2-Threshold" - }, -}; -static ber_tlv_tag_t asn_DEF_eventA2_tags_7[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_eventA2_tag2el_7[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* a2-Threshold at 3505 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_eventA2_specs_7 = { - sizeof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA2), - offsetof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA2, _asn_ctx), - asn_MAP_eventA2_tag2el_7, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_eventA2_7 = { - "eventA2", - "eventA2", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_eventA2_tags_7, - sizeof(asn_DEF_eventA2_tags_7) - /sizeof(asn_DEF_eventA2_tags_7[0]) - 1, /* 1 */ - asn_DEF_eventA2_tags_7, /* Same as above */ - sizeof(asn_DEF_eventA2_tags_7) - /sizeof(asn_DEF_eventA2_tags_7[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_eventA2_7, - 1, /* Elements count */ - &asn_SPC_eventA2_specs_7 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_eventA3_9[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA3, a3_Offset), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_a3_Offset_constraint_9, - &asn_PER_memb_a3_Offset_constr_10, - 0, - "a3-Offset" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA3, reportOnLeave), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reportOnLeave" - }, -}; -static ber_tlv_tag_t asn_DEF_eventA3_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_eventA3_tag2el_9[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a3-Offset at 3507 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* reportOnLeave at 3508 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_eventA3_specs_9 = { - sizeof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA3), - offsetof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA3, _asn_ctx), - asn_MAP_eventA3_tag2el_9, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_eventA3_9 = { - "eventA3", - "eventA3", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_eventA3_tags_9, - sizeof(asn_DEF_eventA3_tags_9) - /sizeof(asn_DEF_eventA3_tags_9[0]) - 1, /* 1 */ - asn_DEF_eventA3_tags_9, /* Same as above */ - sizeof(asn_DEF_eventA3_tags_9) - /sizeof(asn_DEF_eventA3_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_eventA3_9, - 2, /* Elements count */ - &asn_SPC_eventA3_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_eventA4_12[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA4, a4_Threshold), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_ThresholdEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "a4-Threshold" - }, -}; -static ber_tlv_tag_t asn_DEF_eventA4_tags_12[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_eventA4_tag2el_12[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* a4-Threshold at 3512 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_eventA4_specs_12 = { - sizeof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA4), - offsetof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA4, _asn_ctx), - asn_MAP_eventA4_tag2el_12, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_eventA4_12 = { - "eventA4", - "eventA4", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_eventA4_tags_12, - sizeof(asn_DEF_eventA4_tags_12) - /sizeof(asn_DEF_eventA4_tags_12[0]) - 1, /* 1 */ - asn_DEF_eventA4_tags_12, /* Same as above */ - sizeof(asn_DEF_eventA4_tags_12) - /sizeof(asn_DEF_eventA4_tags_12[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_eventA4_12, - 1, /* Elements count */ - &asn_SPC_eventA4_specs_12 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_eventA5_14[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA5, a5_Threshold1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_ThresholdEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "a5-Threshold1" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA5, a5_Threshold2), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_ThresholdEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "a5-Threshold2" - }, -}; -static ber_tlv_tag_t asn_DEF_eventA5_tags_14[] = { - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_eventA5_tag2el_14[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a5-Threshold1 at 3514 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* a5-Threshold2 at 3516 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_eventA5_specs_14 = { - sizeof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA5), - offsetof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA5, _asn_ctx), - asn_MAP_eventA5_tag2el_14, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_eventA5_14 = { - "eventA5", - "eventA5", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_eventA5_tags_14, - sizeof(asn_DEF_eventA5_tags_14) - /sizeof(asn_DEF_eventA5_tags_14[0]) - 1, /* 1 */ - asn_DEF_eventA5_tags_14, /* Same as above */ - sizeof(asn_DEF_eventA5_tags_14) - /sizeof(asn_DEF_eventA5_tags_14[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_eventA5_14, - 2, /* Elements count */ - &asn_SPC_eventA5_specs_14 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_eventA6_r10_18[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA6_r10, a6_Offset_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_a6_Offset_r10_constraint_18, - &asn_PER_memb_a6_Offset_r10_constr_19, - 0, - "a6-Offset-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA6_r10, a6_ReportOnLeave_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "a6-ReportOnLeave-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_eventA6_r10_tags_18[] = { - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_eventA6_r10_tag2el_18[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a6-Offset-r10 at 3519 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* a6-ReportOnLeave-r10 at 3520 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_eventA6_r10_specs_18 = { - sizeof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA6_r10), - offsetof(struct ReportConfigEUTRA__triggerType__event__eventId__eventA6_r10, _asn_ctx), - asn_MAP_eventA6_r10_tag2el_18, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_eventA6_r10_18 = { - "eventA6-r10", - "eventA6-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_eventA6_r10_tags_18, - sizeof(asn_DEF_eventA6_r10_tags_18) - /sizeof(asn_DEF_eventA6_r10_tags_18[0]) - 1, /* 1 */ - asn_DEF_eventA6_r10_tags_18, /* Same as above */ - sizeof(asn_DEF_eventA6_r10_tags_18) - /sizeof(asn_DEF_eventA6_r10_tags_18[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_eventA6_r10_18, - 2, /* Elements count */ - &asn_SPC_eventA6_r10_specs_18 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_eventId_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__event__eventId, choice.eventA1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_eventA1_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "eventA1" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__event__eventId, choice.eventA2), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_eventA2_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "eventA2" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__event__eventId, choice.eventA3), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_eventA3_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "eventA3" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__event__eventId, choice.eventA4), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - 0, - &asn_DEF_eventA4_12, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "eventA4" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__event__eventId, choice.eventA5), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - 0, - &asn_DEF_eventA5_14, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "eventA5" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__event__eventId, choice.eventA6_r10), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - 0, - &asn_DEF_eventA6_r10_18, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "eventA6-r10" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_eventId_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eventA1 at 3502 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* eventA2 at 3505 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* eventA3 at 3507 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* eventA4 at 3512 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* eventA5 at 3514 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* eventA6-r10 at 3519 */ -}; -static asn_CHOICE_specifics_t asn_SPC_eventId_specs_4 = { - sizeof(struct ReportConfigEUTRA__triggerType__event__eventId), - offsetof(struct ReportConfigEUTRA__triggerType__event__eventId, _asn_ctx), - offsetof(struct ReportConfigEUTRA__triggerType__event__eventId, present), - sizeof(((struct ReportConfigEUTRA__triggerType__event__eventId *)0)->present), - asn_MAP_eventId_tag2el_4, - 6, /* Count of tags in the map */ - 0, - 5 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_eventId_4 = { - "eventId", - "eventId", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_eventId_constr_4, - asn_MBR_eventId_4, - 6, /* Elements count */ - &asn_SPC_eventId_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_event_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__event, eventId), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_eventId_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "eventId" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__event, hysteresis), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Hysteresis, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "hysteresis" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__event, timeToTrigger), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_TimeToTrigger, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "timeToTrigger" - }, -}; -static ber_tlv_tag_t asn_DEF_event_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_event_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eventId at 3502 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* hysteresis at 3523 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* timeToTrigger at 3525 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_event_specs_3 = { - sizeof(struct ReportConfigEUTRA__triggerType__event), - offsetof(struct ReportConfigEUTRA__triggerType__event, _asn_ctx), - asn_MAP_event_tag2el_3, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_event_3 = { - "event", - "event", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_event_tags_3, - sizeof(asn_DEF_event_tags_3) - /sizeof(asn_DEF_event_tags_3[0]) - 1, /* 1 */ - asn_DEF_event_tags_3, /* Same as above */ - sizeof(asn_DEF_event_tags_3) - /sizeof(asn_DEF_event_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_event_3, - 3, /* Elements count */ - &asn_SPC_event_specs_3 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_purpose_value2enum_24[] = { - { 0, 20, "reportStrongestCells" }, - { 1, 9, "reportCGI" } -}; -static unsigned int asn_MAP_purpose_enum2value_24[] = { - 1, /* reportCGI(1) */ - 0 /* reportStrongestCells(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_purpose_specs_24 = { - asn_MAP_purpose_value2enum_24, /* "tag" => N; sorted by tag */ - asn_MAP_purpose_enum2value_24, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_purpose_tags_24[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_purpose_24 = { - "purpose", - "purpose", - purpose_24_free, - purpose_24_print, - purpose_24_constraint, - purpose_24_decode_ber, - purpose_24_encode_der, - purpose_24_decode_xer, - purpose_24_encode_xer, - purpose_24_decode_uper, - purpose_24_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_purpose_tags_24, - sizeof(asn_DEF_purpose_tags_24) - /sizeof(asn_DEF_purpose_tags_24[0]) - 1, /* 1 */ - asn_DEF_purpose_tags_24, /* Same as above */ - sizeof(asn_DEF_purpose_tags_24) - /sizeof(asn_DEF_purpose_tags_24[0]), /* 2 */ - &asn_PER_type_purpose_constr_24, - 0, 0, /* Defined elsewhere */ - &asn_SPC_purpose_specs_24 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_periodical_23[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType__periodical, purpose), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_purpose_24, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "purpose" - }, -}; -static ber_tlv_tag_t asn_DEF_periodical_tags_23[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_periodical_tag2el_23[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* purpose at 3528 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_periodical_specs_23 = { - sizeof(struct ReportConfigEUTRA__triggerType__periodical), - offsetof(struct ReportConfigEUTRA__triggerType__periodical, _asn_ctx), - asn_MAP_periodical_tag2el_23, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_periodical_23 = { - "periodical", - "periodical", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_periodical_tags_23, - sizeof(asn_DEF_periodical_tags_23) - /sizeof(asn_DEF_periodical_tags_23[0]) - 1, /* 1 */ - asn_DEF_periodical_tags_23, /* Same as above */ - sizeof(asn_DEF_periodical_tags_23) - /sizeof(asn_DEF_periodical_tags_23[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_periodical_23, - 1, /* Elements count */ - &asn_SPC_periodical_specs_23 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_triggerType_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType, choice.event), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_event_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "event" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA__triggerType, choice.periodical), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_periodical_23, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "periodical" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_triggerType_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* event at 3522 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* periodical at 3529 */ -}; -static asn_CHOICE_specifics_t asn_SPC_triggerType_specs_2 = { - sizeof(struct ReportConfigEUTRA__triggerType), - offsetof(struct ReportConfigEUTRA__triggerType, _asn_ctx), - offsetof(struct ReportConfigEUTRA__triggerType, present), - sizeof(((struct ReportConfigEUTRA__triggerType *)0)->present), - asn_MAP_triggerType_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_triggerType_2 = { - "triggerType", - "triggerType", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_triggerType_constr_2, - asn_MBR_triggerType_2, - 2, /* Elements count */ - &asn_SPC_triggerType_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_triggerQuantity_value2enum_27[] = { - { 0, 4, "rsrp" }, - { 1, 4, "rsrq" } -}; -static unsigned int asn_MAP_triggerQuantity_enum2value_27[] = { - 0, /* rsrp(0) */ - 1 /* rsrq(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_triggerQuantity_specs_27 = { - asn_MAP_triggerQuantity_value2enum_27, /* "tag" => N; sorted by tag */ - asn_MAP_triggerQuantity_enum2value_27, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_triggerQuantity_tags_27[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_triggerQuantity_27 = { - "triggerQuantity", - "triggerQuantity", - triggerQuantity_27_free, - triggerQuantity_27_print, - triggerQuantity_27_constraint, - triggerQuantity_27_decode_ber, - triggerQuantity_27_encode_der, - triggerQuantity_27_decode_xer, - triggerQuantity_27_encode_xer, - triggerQuantity_27_decode_uper, - triggerQuantity_27_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_triggerQuantity_tags_27, - sizeof(asn_DEF_triggerQuantity_tags_27) - /sizeof(asn_DEF_triggerQuantity_tags_27[0]) - 1, /* 1 */ - asn_DEF_triggerQuantity_tags_27, /* Same as above */ - sizeof(asn_DEF_triggerQuantity_tags_27) - /sizeof(asn_DEF_triggerQuantity_tags_27[0]), /* 2 */ - &asn_PER_type_triggerQuantity_constr_27, - 0, 0, /* Defined elsewhere */ - &asn_SPC_triggerQuantity_specs_27 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_reportQuantity_value2enum_30[] = { - { 0, 21, "sameAsTriggerQuantity" }, - { 1, 4, "both" } -}; -static unsigned int asn_MAP_reportQuantity_enum2value_30[] = { - 1, /* both(1) */ - 0 /* sameAsTriggerQuantity(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_reportQuantity_specs_30 = { - asn_MAP_reportQuantity_value2enum_30, /* "tag" => N; sorted by tag */ - asn_MAP_reportQuantity_enum2value_30, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_reportQuantity_tags_30[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_reportQuantity_30 = { - "reportQuantity", - "reportQuantity", - reportQuantity_30_free, - reportQuantity_30_print, - reportQuantity_30_constraint, - reportQuantity_30_decode_ber, - reportQuantity_30_encode_der, - reportQuantity_30_decode_xer, - reportQuantity_30_encode_xer, - reportQuantity_30_decode_uper, - reportQuantity_30_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_reportQuantity_tags_30, - sizeof(asn_DEF_reportQuantity_tags_30) - /sizeof(asn_DEF_reportQuantity_tags_30[0]) - 1, /* 1 */ - asn_DEF_reportQuantity_tags_30, /* Same as above */ - sizeof(asn_DEF_reportQuantity_tags_30) - /sizeof(asn_DEF_reportQuantity_tags_30[0]), /* 2 */ - &asn_PER_type_reportQuantity_constr_30, - 0, 0, /* Defined elsewhere */ - &asn_SPC_reportQuantity_specs_30 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_reportAmount_value2enum_35[] = { - { 0, 2, "r1" }, - { 1, 2, "r2" }, - { 2, 2, "r4" }, - { 3, 2, "r8" }, - { 4, 3, "r16" }, - { 5, 3, "r32" }, - { 6, 3, "r64" }, - { 7, 8, "infinity" } -}; -static unsigned int asn_MAP_reportAmount_enum2value_35[] = { - 7, /* infinity(7) */ - 0, /* r1(0) */ - 4, /* r16(4) */ - 1, /* r2(1) */ - 5, /* r32(5) */ - 2, /* r4(2) */ - 6, /* r64(6) */ - 3 /* r8(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_reportAmount_specs_35 = { - asn_MAP_reportAmount_value2enum_35, /* "tag" => N; sorted by tag */ - asn_MAP_reportAmount_enum2value_35, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_reportAmount_tags_35[] = { - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_reportAmount_35 = { - "reportAmount", - "reportAmount", - reportAmount_35_free, - reportAmount_35_print, - reportAmount_35_constraint, - reportAmount_35_decode_ber, - reportAmount_35_encode_der, - reportAmount_35_decode_xer, - reportAmount_35_encode_xer, - reportAmount_35_decode_uper, - reportAmount_35_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_reportAmount_tags_35, - sizeof(asn_DEF_reportAmount_tags_35) - /sizeof(asn_DEF_reportAmount_tags_35[0]) - 1, /* 1 */ - asn_DEF_reportAmount_tags_35, /* Same as above */ - sizeof(asn_DEF_reportAmount_tags_35) - /sizeof(asn_DEF_reportAmount_tags_35[0]), /* 2 */ - &asn_PER_type_reportAmount_constr_35, - 0, 0, /* Defined elsewhere */ - &asn_SPC_reportAmount_specs_35 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_si_RequestForHO_r9_value2enum_44[] = { - { 0, 5, "setup" } -}; -static unsigned int asn_MAP_si_RequestForHO_r9_enum2value_44[] = { - 0 /* setup(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_si_RequestForHO_r9_specs_44 = { - asn_MAP_si_RequestForHO_r9_value2enum_44, /* "tag" => N; sorted by tag */ - asn_MAP_si_RequestForHO_r9_enum2value_44, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_si_RequestForHO_r9_tags_44[] = { - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_si_RequestForHO_r9_44 = { - "si-RequestForHO-r9", - "si-RequestForHO-r9", - si_RequestForHO_r9_44_free, - si_RequestForHO_r9_44_print, - si_RequestForHO_r9_44_constraint, - si_RequestForHO_r9_44_decode_ber, - si_RequestForHO_r9_44_encode_der, - si_RequestForHO_r9_44_decode_xer, - si_RequestForHO_r9_44_encode_xer, - si_RequestForHO_r9_44_decode_uper, - si_RequestForHO_r9_44_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_si_RequestForHO_r9_tags_44, - sizeof(asn_DEF_si_RequestForHO_r9_tags_44) - /sizeof(asn_DEF_si_RequestForHO_r9_tags_44[0]) - 1, /* 1 */ - asn_DEF_si_RequestForHO_r9_tags_44, /* Same as above */ - sizeof(asn_DEF_si_RequestForHO_r9_tags_44) - /sizeof(asn_DEF_si_RequestForHO_r9_tags_44[0]), /* 2 */ - &asn_PER_type_si_RequestForHO_r9_constr_44, - 0, 0, /* Defined elsewhere */ - &asn_SPC_si_RequestForHO_r9_specs_44 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_ue_RxTxTimeDiffPeriodical_r9_value2enum_46[] = { - { 0, 5, "setup" } -}; -static unsigned int asn_MAP_ue_RxTxTimeDiffPeriodical_r9_enum2value_46[] = { - 0 /* setup(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_ue_RxTxTimeDiffPeriodical_r9_specs_46 = { - asn_MAP_ue_RxTxTimeDiffPeriodical_r9_value2enum_46, /* "tag" => N; sorted by tag */ - asn_MAP_ue_RxTxTimeDiffPeriodical_r9_enum2value_46, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_ue_RxTxTimeDiffPeriodical_r9_tags_46[] = { - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ue_RxTxTimeDiffPeriodical_r9_46 = { - "ue-RxTxTimeDiffPeriodical-r9", - "ue-RxTxTimeDiffPeriodical-r9", - ue_RxTxTimeDiffPeriodical_r9_46_free, - ue_RxTxTimeDiffPeriodical_r9_46_print, - ue_RxTxTimeDiffPeriodical_r9_46_constraint, - ue_RxTxTimeDiffPeriodical_r9_46_decode_ber, - ue_RxTxTimeDiffPeriodical_r9_46_encode_der, - ue_RxTxTimeDiffPeriodical_r9_46_decode_xer, - ue_RxTxTimeDiffPeriodical_r9_46_encode_xer, - ue_RxTxTimeDiffPeriodical_r9_46_decode_uper, - ue_RxTxTimeDiffPeriodical_r9_46_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ue_RxTxTimeDiffPeriodical_r9_tags_46, - sizeof(asn_DEF_ue_RxTxTimeDiffPeriodical_r9_tags_46) - /sizeof(asn_DEF_ue_RxTxTimeDiffPeriodical_r9_tags_46[0]) - 1, /* 1 */ - asn_DEF_ue_RxTxTimeDiffPeriodical_r9_tags_46, /* Same as above */ - sizeof(asn_DEF_ue_RxTxTimeDiffPeriodical_r9_tags_46) - /sizeof(asn_DEF_ue_RxTxTimeDiffPeriodical_r9_tags_46[0]), /* 2 */ - &asn_PER_type_ue_RxTxTimeDiffPeriodical_r9_constr_46, - 0, 0, /* Defined elsewhere */ - &asn_SPC_ue_RxTxTimeDiffPeriodical_r9_specs_46 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_includeLocationInfo_r10_value2enum_48[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_includeLocationInfo_r10_enum2value_48[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_includeLocationInfo_r10_specs_48 = { - asn_MAP_includeLocationInfo_r10_value2enum_48, /* "tag" => N; sorted by tag */ - asn_MAP_includeLocationInfo_r10_enum2value_48, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_includeLocationInfo_r10_tags_48[] = { - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_includeLocationInfo_r10_48 = { - "includeLocationInfo-r10", - "includeLocationInfo-r10", - includeLocationInfo_r10_48_free, - includeLocationInfo_r10_48_print, - includeLocationInfo_r10_48_constraint, - includeLocationInfo_r10_48_decode_ber, - includeLocationInfo_r10_48_encode_der, - includeLocationInfo_r10_48_decode_xer, - includeLocationInfo_r10_48_encode_xer, - includeLocationInfo_r10_48_decode_uper, - includeLocationInfo_r10_48_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_includeLocationInfo_r10_tags_48, - sizeof(asn_DEF_includeLocationInfo_r10_tags_48) - /sizeof(asn_DEF_includeLocationInfo_r10_tags_48[0]) - 1, /* 1 */ - asn_DEF_includeLocationInfo_r10_tags_48, /* Same as above */ - sizeof(asn_DEF_includeLocationInfo_r10_tags_48) - /sizeof(asn_DEF_includeLocationInfo_r10_tags_48[0]), /* 2 */ - &asn_PER_type_includeLocationInfo_r10_constr_48, - 0, 0, /* Defined elsewhere */ - &asn_SPC_includeLocationInfo_r10_specs_48 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_reportAddNeighMeas_r10_value2enum_50[] = { - { 0, 5, "setup" } -}; -static unsigned int asn_MAP_reportAddNeighMeas_r10_enum2value_50[] = { - 0 /* setup(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_reportAddNeighMeas_r10_specs_50 = { - asn_MAP_reportAddNeighMeas_r10_value2enum_50, /* "tag" => N; sorted by tag */ - asn_MAP_reportAddNeighMeas_r10_enum2value_50, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_reportAddNeighMeas_r10_tags_50[] = { - (ASN_TAG_CLASS_CONTEXT | (9 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_reportAddNeighMeas_r10_50 = { - "reportAddNeighMeas-r10", - "reportAddNeighMeas-r10", - reportAddNeighMeas_r10_50_free, - reportAddNeighMeas_r10_50_print, - reportAddNeighMeas_r10_50_constraint, - reportAddNeighMeas_r10_50_decode_ber, - reportAddNeighMeas_r10_50_encode_der, - reportAddNeighMeas_r10_50_decode_xer, - reportAddNeighMeas_r10_50_encode_xer, - reportAddNeighMeas_r10_50_decode_uper, - reportAddNeighMeas_r10_50_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_reportAddNeighMeas_r10_tags_50, - sizeof(asn_DEF_reportAddNeighMeas_r10_tags_50) - /sizeof(asn_DEF_reportAddNeighMeas_r10_tags_50[0]) - 1, /* 1 */ - asn_DEF_reportAddNeighMeas_r10_tags_50, /* Same as above */ - sizeof(asn_DEF_reportAddNeighMeas_r10_tags_50) - /sizeof(asn_DEF_reportAddNeighMeas_r10_tags_50[0]), /* 2 */ - &asn_PER_type_reportAddNeighMeas_r10_constr_50, - 0, 0, /* Defined elsewhere */ - &asn_SPC_reportAddNeighMeas_r10_specs_50 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ReportConfigEUTRA_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA, triggerType), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_triggerType_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "triggerType" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA, triggerQuantity), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_triggerQuantity_27, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "triggerQuantity" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA, reportQuantity), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_reportQuantity_30, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reportQuantity" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA, maxReportCells), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_maxReportCells_constraint_1, - &asn_PER_memb_maxReportCells_constr_33, - 0, - "maxReportCells" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA, reportInterval), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReportInterval, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reportInterval" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigEUTRA, reportAmount), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_reportAmount_35, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reportAmount" - }, - { ATF_POINTER, 4, offsetof(struct ReportConfigEUTRA, si_RequestForHO_r9), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_si_RequestForHO_r9_44, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "si-RequestForHO-r9" - }, - { ATF_POINTER, 3, offsetof(struct ReportConfigEUTRA, ue_RxTxTimeDiffPeriodical_r9), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ue_RxTxTimeDiffPeriodical_r9_46, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ue-RxTxTimeDiffPeriodical-r9" - }, - { ATF_POINTER, 2, offsetof(struct ReportConfigEUTRA, includeLocationInfo_r10), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_includeLocationInfo_r10_48, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "includeLocationInfo-r10" - }, - { ATF_POINTER, 1, offsetof(struct ReportConfigEUTRA, reportAddNeighMeas_r10), - (ASN_TAG_CLASS_CONTEXT | (9 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_reportAddNeighMeas_r10_50, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reportAddNeighMeas-r10" - }, -}; -static int asn_MAP_ReportConfigEUTRA_oms_1[] = { 6, 7, 8, 9 }; -static ber_tlv_tag_t asn_DEF_ReportConfigEUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ReportConfigEUTRA_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* triggerType at 3525 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* triggerQuantity at 3531 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* reportQuantity at 3532 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* maxReportCells at 3533 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* reportInterval at 3534 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* reportAmount at 3535 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* si-RequestForHO-r9 at 3536 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* ue-RxTxTimeDiffPeriodical-r9 at 3537 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* includeLocationInfo-r10 at 3538 */ - { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 } /* reportAddNeighMeas-r10 at 3539 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ReportConfigEUTRA_specs_1 = { - sizeof(struct ReportConfigEUTRA), - offsetof(struct ReportConfigEUTRA, _asn_ctx), - asn_MAP_ReportConfigEUTRA_tag2el_1, - 10, /* Count of tags in the map */ - asn_MAP_ReportConfigEUTRA_oms_1, /* Optional members */ - 4, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_ReportConfigEUTRA = { - "ReportConfigEUTRA", - "ReportConfigEUTRA", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ReportConfigEUTRA_tags_1, - sizeof(asn_DEF_ReportConfigEUTRA_tags_1) - /sizeof(asn_DEF_ReportConfigEUTRA_tags_1[0]), /* 1 */ - asn_DEF_ReportConfigEUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_ReportConfigEUTRA_tags_1) - /sizeof(asn_DEF_ReportConfigEUTRA_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_ReportConfigEUTRA_1, - 10, /* Elements count */ - &asn_SPC_ReportConfigEUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ReportConfigId.c b/lte/rrc/lib/asn/src/ReportConfigId.c deleted file mode 100644 index 04c2d9da0..000000000 --- a/lte/rrc/lib/asn/src/ReportConfigId.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ReportConfigId.h" - -int -ReportConfigId_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 32)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -ReportConfigId_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -ReportConfigId_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ReportConfigId_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -ReportConfigId_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ReportConfigId_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -ReportConfigId_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ReportConfigId_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -ReportConfigId_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ReportConfigId_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -ReportConfigId_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ReportConfigId_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -ReportConfigId_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ReportConfigId_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -ReportConfigId_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ReportConfigId_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -ReportConfigId_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ReportConfigId_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_ReportConfigId_constr_1 = { - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (1..32) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_ReportConfigId_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ReportConfigId = { - "ReportConfigId", - "ReportConfigId", - ReportConfigId_free, - ReportConfigId_print, - ReportConfigId_constraint, - ReportConfigId_decode_ber, - ReportConfigId_encode_der, - ReportConfigId_decode_xer, - ReportConfigId_encode_xer, - ReportConfigId_decode_uper, - ReportConfigId_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ReportConfigId_tags_1, - sizeof(asn_DEF_ReportConfigId_tags_1) - /sizeof(asn_DEF_ReportConfigId_tags_1[0]), /* 1 */ - asn_DEF_ReportConfigId_tags_1, /* Same as above */ - sizeof(asn_DEF_ReportConfigId_tags_1) - /sizeof(asn_DEF_ReportConfigId_tags_1[0]), /* 1 */ - &asn_PER_type_ReportConfigId_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/ReportConfigInterRAT.c b/lte/rrc/lib/asn/src/ReportConfigInterRAT.c deleted file mode 100644 index 0c62c195e..000000000 --- a/lte/rrc/lib/asn/src/ReportConfigInterRAT.c +++ /dev/null @@ -1,1222 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ReportConfigInterRAT.h" - -static int -purpose_20_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -purpose_20_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -purpose_20_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - purpose_20_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -purpose_20_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - purpose_20_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -purpose_20_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - purpose_20_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -purpose_20_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - purpose_20_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -purpose_20_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - purpose_20_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -purpose_20_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - purpose_20_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -purpose_20_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - purpose_20_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -purpose_20_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - purpose_20_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -reportAmount_26_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -reportAmount_26_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -reportAmount_26_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - reportAmount_26_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -reportAmount_26_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - reportAmount_26_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -reportAmount_26_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - reportAmount_26_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -reportAmount_26_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - reportAmount_26_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -reportAmount_26_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - reportAmount_26_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -reportAmount_26_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - reportAmount_26_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -reportAmount_26_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - reportAmount_26_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -reportAmount_26_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - reportAmount_26_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -si_RequestForHO_r9_35_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -si_RequestForHO_r9_35_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -si_RequestForHO_r9_35_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - si_RequestForHO_r9_35_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -si_RequestForHO_r9_35_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - si_RequestForHO_r9_35_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -si_RequestForHO_r9_35_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - si_RequestForHO_r9_35_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -si_RequestForHO_r9_35_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - si_RequestForHO_r9_35_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -si_RequestForHO_r9_35_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - si_RequestForHO_r9_35_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -si_RequestForHO_r9_35_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - si_RequestForHO_r9_35_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -si_RequestForHO_r9_35_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - si_RequestForHO_r9_35_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -si_RequestForHO_r9_35_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - si_RequestForHO_r9_35_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -reportQuantityUTRA_FDD_r10_37_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -reportQuantityUTRA_FDD_r10_37_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -reportQuantityUTRA_FDD_r10_37_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - reportQuantityUTRA_FDD_r10_37_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -reportQuantityUTRA_FDD_r10_37_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - reportQuantityUTRA_FDD_r10_37_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -reportQuantityUTRA_FDD_r10_37_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - reportQuantityUTRA_FDD_r10_37_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -reportQuantityUTRA_FDD_r10_37_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - reportQuantityUTRA_FDD_r10_37_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -reportQuantityUTRA_FDD_r10_37_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - reportQuantityUTRA_FDD_r10_37_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -reportQuantityUTRA_FDD_r10_37_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - reportQuantityUTRA_FDD_r10_37_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -reportQuantityUTRA_FDD_r10_37_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - reportQuantityUTRA_FDD_r10_37_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -reportQuantityUTRA_FDD_r10_37_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - reportQuantityUTRA_FDD_r10_37_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_maxReportCells_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 8)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_b1_Threshold_constr_6 = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_b2_Threshold2_constr_12 = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_eventId_constr_4 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_purpose_constr_20 = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_triggerType_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_reportAmount_constr_26 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_si_RequestForHO_r9_constr_35 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_reportQuantityUTRA_FDD_r10_constr_37 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_maxReportCells_constr_24 = { - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (1..8) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_b1_Threshold_6[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB1__b1_Threshold, choice.b1_ThresholdUTRA), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_ThresholdUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "b1-ThresholdUTRA" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB1__b1_Threshold, choice.b1_ThresholdGERAN), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ThresholdGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "b1-ThresholdGERAN" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB1__b1_Threshold, choice.b1_ThresholdCDMA2000), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ThresholdCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "b1-ThresholdCDMA2000" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_b1_Threshold_tag2el_6[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* b1-ThresholdUTRA at 3557 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* b1-ThresholdGERAN at 3558 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* b1-ThresholdCDMA2000 at 3560 */ -}; -static asn_CHOICE_specifics_t asn_SPC_b1_Threshold_specs_6 = { - sizeof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB1__b1_Threshold), - offsetof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB1__b1_Threshold, _asn_ctx), - offsetof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB1__b1_Threshold, present), - sizeof(((struct ReportConfigInterRAT__triggerType__event__eventId__eventB1__b1_Threshold *)0)->present), - asn_MAP_b1_Threshold_tag2el_6, - 3, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_b1_Threshold_6 = { - "b1-Threshold", - "b1-Threshold", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_b1_Threshold_constr_6, - asn_MBR_b1_Threshold_6, - 3, /* Elements count */ - &asn_SPC_b1_Threshold_specs_6 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_eventB1_5[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB1, b1_Threshold), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_b1_Threshold_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "b1-Threshold" - }, -}; -static ber_tlv_tag_t asn_DEF_eventB1_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_eventB1_tag2el_5[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* b1-Threshold at 3557 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_eventB1_specs_5 = { - sizeof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB1), - offsetof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB1, _asn_ctx), - asn_MAP_eventB1_tag2el_5, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_eventB1_5 = { - "eventB1", - "eventB1", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_eventB1_tags_5, - sizeof(asn_DEF_eventB1_tags_5) - /sizeof(asn_DEF_eventB1_tags_5[0]) - 1, /* 1 */ - asn_DEF_eventB1_tags_5, /* Same as above */ - sizeof(asn_DEF_eventB1_tags_5) - /sizeof(asn_DEF_eventB1_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_eventB1_5, - 1, /* Elements count */ - &asn_SPC_eventB1_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_b2_Threshold2_12[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB2__b2_Threshold2, choice.b2_Threshold2UTRA), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_ThresholdUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "b2-Threshold2UTRA" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB2__b2_Threshold2, choice.b2_Threshold2GERAN), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ThresholdGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "b2-Threshold2GERAN" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB2__b2_Threshold2, choice.b2_Threshold2CDMA2000), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ThresholdCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "b2-Threshold2CDMA2000" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_b2_Threshold2_tag2el_12[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* b2-Threshold2UTRA at 3565 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* b2-Threshold2GERAN at 3566 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* b2-Threshold2CDMA2000 at 3568 */ -}; -static asn_CHOICE_specifics_t asn_SPC_b2_Threshold2_specs_12 = { - sizeof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB2__b2_Threshold2), - offsetof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB2__b2_Threshold2, _asn_ctx), - offsetof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB2__b2_Threshold2, present), - sizeof(((struct ReportConfigInterRAT__triggerType__event__eventId__eventB2__b2_Threshold2 *)0)->present), - asn_MAP_b2_Threshold2_tag2el_12, - 3, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_b2_Threshold2_12 = { - "b2-Threshold2", - "b2-Threshold2", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_b2_Threshold2_constr_12, - asn_MBR_b2_Threshold2_12, - 3, /* Elements count */ - &asn_SPC_b2_Threshold2_specs_12 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_eventB2_10[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB2, b2_Threshold1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_ThresholdEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "b2-Threshold1" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB2, b2_Threshold2), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_b2_Threshold2_12, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "b2-Threshold2" - }, -}; -static ber_tlv_tag_t asn_DEF_eventB2_tags_10[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_eventB2_tag2el_10[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* b2-Threshold1 at 3563 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* b2-Threshold2 at 3565 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_eventB2_specs_10 = { - sizeof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB2), - offsetof(struct ReportConfigInterRAT__triggerType__event__eventId__eventB2, _asn_ctx), - asn_MAP_eventB2_tag2el_10, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_eventB2_10 = { - "eventB2", - "eventB2", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_eventB2_tags_10, - sizeof(asn_DEF_eventB2_tags_10) - /sizeof(asn_DEF_eventB2_tags_10[0]) - 1, /* 1 */ - asn_DEF_eventB2_tags_10, /* Same as above */ - sizeof(asn_DEF_eventB2_tags_10) - /sizeof(asn_DEF_eventB2_tags_10[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_eventB2_10, - 2, /* Elements count */ - &asn_SPC_eventB2_specs_10 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_eventId_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT__triggerType__event__eventId, choice.eventB1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_eventB1_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "eventB1" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT__triggerType__event__eventId, choice.eventB2), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_eventB2_10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "eventB2" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_eventId_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eventB1 at 3561 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* eventB2 at 3563 */ -}; -static asn_CHOICE_specifics_t asn_SPC_eventId_specs_4 = { - sizeof(struct ReportConfigInterRAT__triggerType__event__eventId), - offsetof(struct ReportConfigInterRAT__triggerType__event__eventId, _asn_ctx), - offsetof(struct ReportConfigInterRAT__triggerType__event__eventId, present), - sizeof(((struct ReportConfigInterRAT__triggerType__event__eventId *)0)->present), - asn_MAP_eventId_tag2el_4, - 2, /* Count of tags in the map */ - 0, - 2 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_eventId_4 = { - "eventId", - "eventId", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_eventId_constr_4, - asn_MBR_eventId_4, - 2, /* Elements count */ - &asn_SPC_eventId_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_event_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT__triggerType__event, eventId), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_eventId_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "eventId" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT__triggerType__event, hysteresis), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Hysteresis, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "hysteresis" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT__triggerType__event, timeToTrigger), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_TimeToTrigger, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "timeToTrigger" - }, -}; -static ber_tlv_tag_t asn_DEF_event_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_event_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eventId at 3561 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* hysteresis at 3572 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* timeToTrigger at 3574 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_event_specs_3 = { - sizeof(struct ReportConfigInterRAT__triggerType__event), - offsetof(struct ReportConfigInterRAT__triggerType__event, _asn_ctx), - asn_MAP_event_tag2el_3, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_event_3 = { - "event", - "event", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_event_tags_3, - sizeof(asn_DEF_event_tags_3) - /sizeof(asn_DEF_event_tags_3[0]) - 1, /* 1 */ - asn_DEF_event_tags_3, /* Same as above */ - sizeof(asn_DEF_event_tags_3) - /sizeof(asn_DEF_event_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_event_3, - 3, /* Elements count */ - &asn_SPC_event_specs_3 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_purpose_value2enum_20[] = { - { 0, 20, "reportStrongestCells" }, - { 1, 26, "reportStrongestCellsForSON" }, - { 2, 9, "reportCGI" } -}; -static unsigned int asn_MAP_purpose_enum2value_20[] = { - 2, /* reportCGI(2) */ - 0, /* reportStrongestCells(0) */ - 1 /* reportStrongestCellsForSON(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_purpose_specs_20 = { - asn_MAP_purpose_value2enum_20, /* "tag" => N; sorted by tag */ - asn_MAP_purpose_enum2value_20, /* N => "tag"; sorted by N */ - 3, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_purpose_tags_20[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_purpose_20 = { - "purpose", - "purpose", - purpose_20_free, - purpose_20_print, - purpose_20_constraint, - purpose_20_decode_ber, - purpose_20_encode_der, - purpose_20_decode_xer, - purpose_20_encode_xer, - purpose_20_decode_uper, - purpose_20_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_purpose_tags_20, - sizeof(asn_DEF_purpose_tags_20) - /sizeof(asn_DEF_purpose_tags_20[0]) - 1, /* 1 */ - asn_DEF_purpose_tags_20, /* Same as above */ - sizeof(asn_DEF_purpose_tags_20) - /sizeof(asn_DEF_purpose_tags_20[0]), /* 2 */ - &asn_PER_type_purpose_constr_20, - 0, 0, /* Defined elsewhere */ - &asn_SPC_purpose_specs_20 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_periodical_19[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT__triggerType__periodical, purpose), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_purpose_20, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "purpose" - }, -}; -static ber_tlv_tag_t asn_DEF_periodical_tags_19[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_periodical_tag2el_19[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* purpose at 3577 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_periodical_specs_19 = { - sizeof(struct ReportConfigInterRAT__triggerType__periodical), - offsetof(struct ReportConfigInterRAT__triggerType__periodical, _asn_ctx), - asn_MAP_periodical_tag2el_19, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_periodical_19 = { - "periodical", - "periodical", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_periodical_tags_19, - sizeof(asn_DEF_periodical_tags_19) - /sizeof(asn_DEF_periodical_tags_19[0]) - 1, /* 1 */ - asn_DEF_periodical_tags_19, /* Same as above */ - sizeof(asn_DEF_periodical_tags_19) - /sizeof(asn_DEF_periodical_tags_19[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_periodical_19, - 1, /* Elements count */ - &asn_SPC_periodical_specs_19 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_triggerType_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT__triggerType, choice.event), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_event_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "event" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT__triggerType, choice.periodical), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_periodical_19, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "periodical" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_triggerType_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* event at 3571 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* periodical at 3580 */ -}; -static asn_CHOICE_specifics_t asn_SPC_triggerType_specs_2 = { - sizeof(struct ReportConfigInterRAT__triggerType), - offsetof(struct ReportConfigInterRAT__triggerType, _asn_ctx), - offsetof(struct ReportConfigInterRAT__triggerType, present), - sizeof(((struct ReportConfigInterRAT__triggerType *)0)->present), - asn_MAP_triggerType_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_triggerType_2 = { - "triggerType", - "triggerType", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_triggerType_constr_2, - asn_MBR_triggerType_2, - 2, /* Elements count */ - &asn_SPC_triggerType_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_reportAmount_value2enum_26[] = { - { 0, 2, "r1" }, - { 1, 2, "r2" }, - { 2, 2, "r4" }, - { 3, 2, "r8" }, - { 4, 3, "r16" }, - { 5, 3, "r32" }, - { 6, 3, "r64" }, - { 7, 8, "infinity" } -}; -static unsigned int asn_MAP_reportAmount_enum2value_26[] = { - 7, /* infinity(7) */ - 0, /* r1(0) */ - 4, /* r16(4) */ - 1, /* r2(1) */ - 5, /* r32(5) */ - 2, /* r4(2) */ - 6, /* r64(6) */ - 3 /* r8(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_reportAmount_specs_26 = { - asn_MAP_reportAmount_value2enum_26, /* "tag" => N; sorted by tag */ - asn_MAP_reportAmount_enum2value_26, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_reportAmount_tags_26[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_reportAmount_26 = { - "reportAmount", - "reportAmount", - reportAmount_26_free, - reportAmount_26_print, - reportAmount_26_constraint, - reportAmount_26_decode_ber, - reportAmount_26_encode_der, - reportAmount_26_decode_xer, - reportAmount_26_encode_xer, - reportAmount_26_decode_uper, - reportAmount_26_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_reportAmount_tags_26, - sizeof(asn_DEF_reportAmount_tags_26) - /sizeof(asn_DEF_reportAmount_tags_26[0]) - 1, /* 1 */ - asn_DEF_reportAmount_tags_26, /* Same as above */ - sizeof(asn_DEF_reportAmount_tags_26) - /sizeof(asn_DEF_reportAmount_tags_26[0]), /* 2 */ - &asn_PER_type_reportAmount_constr_26, - 0, 0, /* Defined elsewhere */ - &asn_SPC_reportAmount_specs_26 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_si_RequestForHO_r9_value2enum_35[] = { - { 0, 5, "setup" } -}; -static unsigned int asn_MAP_si_RequestForHO_r9_enum2value_35[] = { - 0 /* setup(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_si_RequestForHO_r9_specs_35 = { - asn_MAP_si_RequestForHO_r9_value2enum_35, /* "tag" => N; sorted by tag */ - asn_MAP_si_RequestForHO_r9_enum2value_35, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_si_RequestForHO_r9_tags_35[] = { - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_si_RequestForHO_r9_35 = { - "si-RequestForHO-r9", - "si-RequestForHO-r9", - si_RequestForHO_r9_35_free, - si_RequestForHO_r9_35_print, - si_RequestForHO_r9_35_constraint, - si_RequestForHO_r9_35_decode_ber, - si_RequestForHO_r9_35_encode_der, - si_RequestForHO_r9_35_decode_xer, - si_RequestForHO_r9_35_encode_xer, - si_RequestForHO_r9_35_decode_uper, - si_RequestForHO_r9_35_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_si_RequestForHO_r9_tags_35, - sizeof(asn_DEF_si_RequestForHO_r9_tags_35) - /sizeof(asn_DEF_si_RequestForHO_r9_tags_35[0]) - 1, /* 1 */ - asn_DEF_si_RequestForHO_r9_tags_35, /* Same as above */ - sizeof(asn_DEF_si_RequestForHO_r9_tags_35) - /sizeof(asn_DEF_si_RequestForHO_r9_tags_35[0]), /* 2 */ - &asn_PER_type_si_RequestForHO_r9_constr_35, - 0, 0, /* Defined elsewhere */ - &asn_SPC_si_RequestForHO_r9_specs_35 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_reportQuantityUTRA_FDD_r10_value2enum_37[] = { - { 0, 4, "both" } -}; -static unsigned int asn_MAP_reportQuantityUTRA_FDD_r10_enum2value_37[] = { - 0 /* both(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_reportQuantityUTRA_FDD_r10_specs_37 = { - asn_MAP_reportQuantityUTRA_FDD_r10_value2enum_37, /* "tag" => N; sorted by tag */ - asn_MAP_reportQuantityUTRA_FDD_r10_enum2value_37, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_reportQuantityUTRA_FDD_r10_tags_37[] = { - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_reportQuantityUTRA_FDD_r10_37 = { - "reportQuantityUTRA-FDD-r10", - "reportQuantityUTRA-FDD-r10", - reportQuantityUTRA_FDD_r10_37_free, - reportQuantityUTRA_FDD_r10_37_print, - reportQuantityUTRA_FDD_r10_37_constraint, - reportQuantityUTRA_FDD_r10_37_decode_ber, - reportQuantityUTRA_FDD_r10_37_encode_der, - reportQuantityUTRA_FDD_r10_37_decode_xer, - reportQuantityUTRA_FDD_r10_37_encode_xer, - reportQuantityUTRA_FDD_r10_37_decode_uper, - reportQuantityUTRA_FDD_r10_37_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_reportQuantityUTRA_FDD_r10_tags_37, - sizeof(asn_DEF_reportQuantityUTRA_FDD_r10_tags_37) - /sizeof(asn_DEF_reportQuantityUTRA_FDD_r10_tags_37[0]) - 1, /* 1 */ - asn_DEF_reportQuantityUTRA_FDD_r10_tags_37, /* Same as above */ - sizeof(asn_DEF_reportQuantityUTRA_FDD_r10_tags_37) - /sizeof(asn_DEF_reportQuantityUTRA_FDD_r10_tags_37[0]), /* 2 */ - &asn_PER_type_reportQuantityUTRA_FDD_r10_constr_37, - 0, 0, /* Defined elsewhere */ - &asn_SPC_reportQuantityUTRA_FDD_r10_specs_37 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ReportConfigInterRAT_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT, triggerType), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_triggerType_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "triggerType" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT, maxReportCells), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_maxReportCells_constraint_1, - &asn_PER_memb_maxReportCells_constr_24, - 0, - "maxReportCells" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT, reportInterval), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReportInterval, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reportInterval" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigInterRAT, reportAmount), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_reportAmount_26, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reportAmount" - }, - { ATF_POINTER, 2, offsetof(struct ReportConfigInterRAT, si_RequestForHO_r9), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_si_RequestForHO_r9_35, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "si-RequestForHO-r9" - }, - { ATF_POINTER, 1, offsetof(struct ReportConfigInterRAT, reportQuantityUTRA_FDD_r10), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_reportQuantityUTRA_FDD_r10_37, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reportQuantityUTRA-FDD-r10" - }, -}; -static int asn_MAP_ReportConfigInterRAT_oms_1[] = { 4, 5 }; -static ber_tlv_tag_t asn_DEF_ReportConfigInterRAT_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ReportConfigInterRAT_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* triggerType at 3574 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* maxReportCells at 3582 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* reportInterval at 3583 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* reportAmount at 3584 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* si-RequestForHO-r9 at 3585 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* reportQuantityUTRA-FDD-r10 at 3586 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ReportConfigInterRAT_specs_1 = { - sizeof(struct ReportConfigInterRAT), - offsetof(struct ReportConfigInterRAT, _asn_ctx), - asn_MAP_ReportConfigInterRAT_tag2el_1, - 6, /* Count of tags in the map */ - asn_MAP_ReportConfigInterRAT_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_ReportConfigInterRAT = { - "ReportConfigInterRAT", - "ReportConfigInterRAT", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ReportConfigInterRAT_tags_1, - sizeof(asn_DEF_ReportConfigInterRAT_tags_1) - /sizeof(asn_DEF_ReportConfigInterRAT_tags_1[0]), /* 1 */ - asn_DEF_ReportConfigInterRAT_tags_1, /* Same as above */ - sizeof(asn_DEF_ReportConfigInterRAT_tags_1) - /sizeof(asn_DEF_ReportConfigInterRAT_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_ReportConfigInterRAT_1, - 6, /* Elements count */ - &asn_SPC_ReportConfigInterRAT_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ReportConfigToAddMod.c b/lte/rrc/lib/asn/src/ReportConfigToAddMod.c deleted file mode 100644 index ce2afbf30..000000000 --- a/lte/rrc/lib/asn/src/ReportConfigToAddMod.c +++ /dev/null @@ -1,133 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ReportConfigToAddMod.h" - -static asn_per_constraints_t asn_PER_type_reportConfig_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_reportConfig_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigToAddMod__reportConfig, choice.reportConfigEUTRA), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReportConfigEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reportConfigEUTRA" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigToAddMod__reportConfig, choice.reportConfigInterRAT), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReportConfigInterRAT, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reportConfigInterRAT" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_reportConfig_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* reportConfigEUTRA at 3604 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* reportConfigInterRAT at 3606 */ -}; -static asn_CHOICE_specifics_t asn_SPC_reportConfig_specs_3 = { - sizeof(struct ReportConfigToAddMod__reportConfig), - offsetof(struct ReportConfigToAddMod__reportConfig, _asn_ctx), - offsetof(struct ReportConfigToAddMod__reportConfig, present), - sizeof(((struct ReportConfigToAddMod__reportConfig *)0)->present), - asn_MAP_reportConfig_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_reportConfig_3 = { - "reportConfig", - "reportConfig", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_reportConfig_constr_3, - asn_MBR_reportConfig_3, - 2, /* Elements count */ - &asn_SPC_reportConfig_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ReportConfigToAddMod_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigToAddMod, reportConfigId), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReportConfigId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reportConfigId" - }, - { ATF_NOFLAGS, 0, offsetof(struct ReportConfigToAddMod, reportConfig), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_reportConfig_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reportConfig" - }, -}; -static ber_tlv_tag_t asn_DEF_ReportConfigToAddMod_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ReportConfigToAddMod_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* reportConfigId at 3602 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* reportConfig at 3604 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ReportConfigToAddMod_specs_1 = { - sizeof(struct ReportConfigToAddMod), - offsetof(struct ReportConfigToAddMod, _asn_ctx), - asn_MAP_ReportConfigToAddMod_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_ReportConfigToAddMod = { - "ReportConfigToAddMod", - "ReportConfigToAddMod", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ReportConfigToAddMod_tags_1, - sizeof(asn_DEF_ReportConfigToAddMod_tags_1) - /sizeof(asn_DEF_ReportConfigToAddMod_tags_1[0]), /* 1 */ - asn_DEF_ReportConfigToAddMod_tags_1, /* Same as above */ - sizeof(asn_DEF_ReportConfigToAddMod_tags_1) - /sizeof(asn_DEF_ReportConfigToAddMod_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_ReportConfigToAddMod_1, - 2, /* Elements count */ - &asn_SPC_ReportConfigToAddMod_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ReportConfigToAddModList.c b/lte/rrc/lib/asn/src/ReportConfigToAddModList.c deleted file mode 100644 index 3808e7802..000000000 --- a/lte/rrc/lib/asn/src/ReportConfigToAddModList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ReportConfigToAddModList.h" - -static asn_per_constraints_t asn_PER_type_ReportConfigToAddModList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_ReportConfigToAddModList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_ReportConfigToAddMod, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_ReportConfigToAddModList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_ReportConfigToAddModList_specs_1 = { - sizeof(struct ReportConfigToAddModList), - offsetof(struct ReportConfigToAddModList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ReportConfigToAddModList = { - "ReportConfigToAddModList", - "ReportConfigToAddModList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ReportConfigToAddModList_tags_1, - sizeof(asn_DEF_ReportConfigToAddModList_tags_1) - /sizeof(asn_DEF_ReportConfigToAddModList_tags_1[0]), /* 1 */ - asn_DEF_ReportConfigToAddModList_tags_1, /* Same as above */ - sizeof(asn_DEF_ReportConfigToAddModList_tags_1) - /sizeof(asn_DEF_ReportConfigToAddModList_tags_1[0]), /* 1 */ - &asn_PER_type_ReportConfigToAddModList_constr_1, - asn_MBR_ReportConfigToAddModList_1, - 1, /* Single element */ - &asn_SPC_ReportConfigToAddModList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ReportConfigToRemoveList.c b/lte/rrc/lib/asn/src/ReportConfigToRemoveList.c deleted file mode 100644 index 333adc466..000000000 --- a/lte/rrc/lib/asn/src/ReportConfigToRemoveList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ReportConfigToRemoveList.h" - -static asn_per_constraints_t asn_PER_type_ReportConfigToRemoveList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_ReportConfigToRemoveList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_ReportConfigId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_ReportConfigToRemoveList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_ReportConfigToRemoveList_specs_1 = { - sizeof(struct ReportConfigToRemoveList), - offsetof(struct ReportConfigToRemoveList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ReportConfigToRemoveList = { - "ReportConfigToRemoveList", - "ReportConfigToRemoveList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ReportConfigToRemoveList_tags_1, - sizeof(asn_DEF_ReportConfigToRemoveList_tags_1) - /sizeof(asn_DEF_ReportConfigToRemoveList_tags_1[0]), /* 1 */ - asn_DEF_ReportConfigToRemoveList_tags_1, /* Same as above */ - sizeof(asn_DEF_ReportConfigToRemoveList_tags_1) - /sizeof(asn_DEF_ReportConfigToRemoveList_tags_1[0]), /* 1 */ - &asn_PER_type_ReportConfigToRemoveList_constr_1, - asn_MBR_ReportConfigToRemoveList_1, - 1, /* Single element */ - &asn_SPC_ReportConfigToRemoveList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ReportInterval.c b/lte/rrc/lib/asn/src/ReportInterval.c deleted file mode 100644 index a78bca51b..000000000 --- a/lte/rrc/lib/asn/src/ReportInterval.c +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ReportInterval.h" - -int -ReportInterval_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -ReportInterval_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -ReportInterval_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ReportInterval_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -ReportInterval_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ReportInterval_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -ReportInterval_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ReportInterval_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -ReportInterval_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ReportInterval_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -ReportInterval_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ReportInterval_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -ReportInterval_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ReportInterval_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -ReportInterval_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ReportInterval_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -ReportInterval_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ReportInterval_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_ReportInterval_constr_1 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_ReportInterval_value2enum_1[] = { - { 0, 5, "ms120" }, - { 1, 5, "ms240" }, - { 2, 5, "ms480" }, - { 3, 5, "ms640" }, - { 4, 6, "ms1024" }, - { 5, 6, "ms2048" }, - { 6, 6, "ms5120" }, - { 7, 7, "ms10240" }, - { 8, 4, "min1" }, - { 9, 4, "min6" }, - { 10, 5, "min12" }, - { 11, 5, "min30" }, - { 12, 5, "min60" }, - { 13, 6, "spare3" }, - { 14, 6, "spare2" }, - { 15, 6, "spare1" } -}; -static unsigned int asn_MAP_ReportInterval_enum2value_1[] = { - 8, /* min1(8) */ - 10, /* min12(10) */ - 11, /* min30(11) */ - 9, /* min6(9) */ - 12, /* min60(12) */ - 4, /* ms1024(4) */ - 7, /* ms10240(7) */ - 0, /* ms120(0) */ - 5, /* ms2048(5) */ - 1, /* ms240(1) */ - 2, /* ms480(2) */ - 6, /* ms5120(6) */ - 3, /* ms640(3) */ - 15, /* spare1(15) */ - 14, /* spare2(14) */ - 13 /* spare3(13) */ -}; -static asn_INTEGER_specifics_t asn_SPC_ReportInterval_specs_1 = { - asn_MAP_ReportInterval_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_ReportInterval_enum2value_1, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_ReportInterval_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ReportInterval = { - "ReportInterval", - "ReportInterval", - ReportInterval_free, - ReportInterval_print, - ReportInterval_constraint, - ReportInterval_decode_ber, - ReportInterval_encode_der, - ReportInterval_decode_xer, - ReportInterval_encode_xer, - ReportInterval_decode_uper, - ReportInterval_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ReportInterval_tags_1, - sizeof(asn_DEF_ReportInterval_tags_1) - /sizeof(asn_DEF_ReportInterval_tags_1[0]), /* 1 */ - asn_DEF_ReportInterval_tags_1, /* Same as above */ - sizeof(asn_DEF_ReportInterval_tags_1) - /sizeof(asn_DEF_ReportInterval_tags_1[0]), /* 1 */ - &asn_PER_type_ReportInterval_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_ReportInterval_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ReportProximityConfig-r9.c b/lte/rrc/lib/asn/src/ReportProximityConfig-r9.c deleted file mode 100644 index 5d2a20c3f..000000000 --- a/lte/rrc/lib/asn/src/ReportProximityConfig-r9.c +++ /dev/null @@ -1,346 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ReportProximityConfig-r9.h" - -static int -proximityIndicationEUTRA_r9_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -proximityIndicationEUTRA_r9_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -proximityIndicationEUTRA_r9_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - proximityIndicationEUTRA_r9_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -proximityIndicationEUTRA_r9_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - proximityIndicationEUTRA_r9_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -proximityIndicationEUTRA_r9_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - proximityIndicationEUTRA_r9_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -proximityIndicationEUTRA_r9_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - proximityIndicationEUTRA_r9_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -proximityIndicationEUTRA_r9_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - proximityIndicationEUTRA_r9_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -proximityIndicationEUTRA_r9_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - proximityIndicationEUTRA_r9_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -proximityIndicationEUTRA_r9_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - proximityIndicationEUTRA_r9_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -proximityIndicationEUTRA_r9_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - proximityIndicationEUTRA_r9_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -proximityIndicationUTRA_r9_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -proximityIndicationUTRA_r9_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -proximityIndicationUTRA_r9_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - proximityIndicationUTRA_r9_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -proximityIndicationUTRA_r9_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - proximityIndicationUTRA_r9_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -proximityIndicationUTRA_r9_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - proximityIndicationUTRA_r9_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -proximityIndicationUTRA_r9_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - proximityIndicationUTRA_r9_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -proximityIndicationUTRA_r9_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - proximityIndicationUTRA_r9_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -proximityIndicationUTRA_r9_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - proximityIndicationUTRA_r9_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -proximityIndicationUTRA_r9_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - proximityIndicationUTRA_r9_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -proximityIndicationUTRA_r9_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - proximityIndicationUTRA_r9_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_proximityIndicationEUTRA_r9_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_proximityIndicationUTRA_r9_constr_4 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_proximityIndicationEUTRA_r9_value2enum_2[] = { - { 0, 7, "enabled" } -}; -static unsigned int asn_MAP_proximityIndicationEUTRA_r9_enum2value_2[] = { - 0 /* enabled(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_proximityIndicationEUTRA_r9_specs_2 = { - asn_MAP_proximityIndicationEUTRA_r9_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_proximityIndicationEUTRA_r9_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_proximityIndicationEUTRA_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_proximityIndicationEUTRA_r9_2 = { - "proximityIndicationEUTRA-r9", - "proximityIndicationEUTRA-r9", - proximityIndicationEUTRA_r9_2_free, - proximityIndicationEUTRA_r9_2_print, - proximityIndicationEUTRA_r9_2_constraint, - proximityIndicationEUTRA_r9_2_decode_ber, - proximityIndicationEUTRA_r9_2_encode_der, - proximityIndicationEUTRA_r9_2_decode_xer, - proximityIndicationEUTRA_r9_2_encode_xer, - proximityIndicationEUTRA_r9_2_decode_uper, - proximityIndicationEUTRA_r9_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_proximityIndicationEUTRA_r9_tags_2, - sizeof(asn_DEF_proximityIndicationEUTRA_r9_tags_2) - /sizeof(asn_DEF_proximityIndicationEUTRA_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_proximityIndicationEUTRA_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_proximityIndicationEUTRA_r9_tags_2) - /sizeof(asn_DEF_proximityIndicationEUTRA_r9_tags_2[0]), /* 2 */ - &asn_PER_type_proximityIndicationEUTRA_r9_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_proximityIndicationEUTRA_r9_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_proximityIndicationUTRA_r9_value2enum_4[] = { - { 0, 7, "enabled" } -}; -static unsigned int asn_MAP_proximityIndicationUTRA_r9_enum2value_4[] = { - 0 /* enabled(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_proximityIndicationUTRA_r9_specs_4 = { - asn_MAP_proximityIndicationUTRA_r9_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_proximityIndicationUTRA_r9_enum2value_4, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_proximityIndicationUTRA_r9_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_proximityIndicationUTRA_r9_4 = { - "proximityIndicationUTRA-r9", - "proximityIndicationUTRA-r9", - proximityIndicationUTRA_r9_4_free, - proximityIndicationUTRA_r9_4_print, - proximityIndicationUTRA_r9_4_constraint, - proximityIndicationUTRA_r9_4_decode_ber, - proximityIndicationUTRA_r9_4_encode_der, - proximityIndicationUTRA_r9_4_decode_xer, - proximityIndicationUTRA_r9_4_encode_xer, - proximityIndicationUTRA_r9_4_decode_uper, - proximityIndicationUTRA_r9_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_proximityIndicationUTRA_r9_tags_4, - sizeof(asn_DEF_proximityIndicationUTRA_r9_tags_4) - /sizeof(asn_DEF_proximityIndicationUTRA_r9_tags_4[0]) - 1, /* 1 */ - asn_DEF_proximityIndicationUTRA_r9_tags_4, /* Same as above */ - sizeof(asn_DEF_proximityIndicationUTRA_r9_tags_4) - /sizeof(asn_DEF_proximityIndicationUTRA_r9_tags_4[0]), /* 2 */ - &asn_PER_type_proximityIndicationUTRA_r9_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_proximityIndicationUTRA_r9_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ReportProximityConfig_r9_1[] = { - { ATF_POINTER, 2, offsetof(struct ReportProximityConfig_r9, proximityIndicationEUTRA_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_proximityIndicationEUTRA_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "proximityIndicationEUTRA-r9" - }, - { ATF_POINTER, 1, offsetof(struct ReportProximityConfig_r9, proximityIndicationUTRA_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_proximityIndicationUTRA_r9_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "proximityIndicationUTRA-r9" - }, -}; -static int asn_MAP_ReportProximityConfig_r9_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_ReportProximityConfig_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ReportProximityConfig_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* proximityIndicationEUTRA-r9 at 3689 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* proximityIndicationUTRA-r9 at 3690 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ReportProximityConfig_r9_specs_1 = { - sizeof(struct ReportProximityConfig_r9), - offsetof(struct ReportProximityConfig_r9, _asn_ctx), - asn_MAP_ReportProximityConfig_r9_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_ReportProximityConfig_r9_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_ReportProximityConfig_r9 = { - "ReportProximityConfig-r9", - "ReportProximityConfig-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ReportProximityConfig_r9_tags_1, - sizeof(asn_DEF_ReportProximityConfig_r9_tags_1) - /sizeof(asn_DEF_ReportProximityConfig_r9_tags_1[0]), /* 1 */ - asn_DEF_ReportProximityConfig_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_ReportProximityConfig_r9_tags_1) - /sizeof(asn_DEF_ReportProximityConfig_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_ReportProximityConfig_r9_1, - 2, /* Elements count */ - &asn_SPC_ReportProximityConfig_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ReselectionThreshold.c b/lte/rrc/lib/asn/src/ReselectionThreshold.c deleted file mode 100644 index 25c91facb..000000000 --- a/lte/rrc/lib/asn/src/ReselectionThreshold.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ReselectionThreshold.h" - -int -ReselectionThreshold_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 31)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -ReselectionThreshold_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -ReselectionThreshold_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ReselectionThreshold_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -ReselectionThreshold_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ReselectionThreshold_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -ReselectionThreshold_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ReselectionThreshold_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -ReselectionThreshold_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ReselectionThreshold_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -ReselectionThreshold_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ReselectionThreshold_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -ReselectionThreshold_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ReselectionThreshold_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -ReselectionThreshold_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ReselectionThreshold_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -ReselectionThreshold_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ReselectionThreshold_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_ReselectionThreshold_constr_1 = { - { APC_CONSTRAINED, 5, 5, 0, 31 } /* (0..31) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_ReselectionThreshold_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ReselectionThreshold = { - "ReselectionThreshold", - "ReselectionThreshold", - ReselectionThreshold_free, - ReselectionThreshold_print, - ReselectionThreshold_constraint, - ReselectionThreshold_decode_ber, - ReselectionThreshold_encode_der, - ReselectionThreshold_decode_xer, - ReselectionThreshold_encode_xer, - ReselectionThreshold_decode_uper, - ReselectionThreshold_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ReselectionThreshold_tags_1, - sizeof(asn_DEF_ReselectionThreshold_tags_1) - /sizeof(asn_DEF_ReselectionThreshold_tags_1[0]), /* 1 */ - asn_DEF_ReselectionThreshold_tags_1, /* Same as above */ - sizeof(asn_DEF_ReselectionThreshold_tags_1) - /sizeof(asn_DEF_ReselectionThreshold_tags_1[0]), /* 1 */ - &asn_PER_type_ReselectionThreshold_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/ReselectionThresholdQ-r9.c b/lte/rrc/lib/asn/src/ReselectionThresholdQ-r9.c deleted file mode 100644 index a80ed7486..000000000 --- a/lte/rrc/lib/asn/src/ReselectionThresholdQ-r9.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ReselectionThresholdQ-r9.h" - -int -ReselectionThresholdQ_r9_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 31)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -ReselectionThresholdQ_r9_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -ReselectionThresholdQ_r9_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ReselectionThresholdQ_r9_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -ReselectionThresholdQ_r9_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ReselectionThresholdQ_r9_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -ReselectionThresholdQ_r9_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ReselectionThresholdQ_r9_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -ReselectionThresholdQ_r9_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ReselectionThresholdQ_r9_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -ReselectionThresholdQ_r9_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ReselectionThresholdQ_r9_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -ReselectionThresholdQ_r9_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ReselectionThresholdQ_r9_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -ReselectionThresholdQ_r9_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ReselectionThresholdQ_r9_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -ReselectionThresholdQ_r9_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ReselectionThresholdQ_r9_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_ReselectionThresholdQ_r9_constr_1 = { - { APC_CONSTRAINED, 5, 5, 0, 31 } /* (0..31) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_ReselectionThresholdQ_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ReselectionThresholdQ_r9 = { - "ReselectionThresholdQ-r9", - "ReselectionThresholdQ-r9", - ReselectionThresholdQ_r9_free, - ReselectionThresholdQ_r9_print, - ReselectionThresholdQ_r9_constraint, - ReselectionThresholdQ_r9_decode_ber, - ReselectionThresholdQ_r9_encode_der, - ReselectionThresholdQ_r9_decode_xer, - ReselectionThresholdQ_r9_encode_xer, - ReselectionThresholdQ_r9_decode_uper, - ReselectionThresholdQ_r9_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ReselectionThresholdQ_r9_tags_1, - sizeof(asn_DEF_ReselectionThresholdQ_r9_tags_1) - /sizeof(asn_DEF_ReselectionThresholdQ_r9_tags_1[0]), /* 1 */ - asn_DEF_ReselectionThresholdQ_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_ReselectionThresholdQ_r9_tags_1) - /sizeof(asn_DEF_ReselectionThresholdQ_r9_tags_1[0]), /* 1 */ - &asn_PER_type_ReselectionThresholdQ_r9_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/S-TMSI.c b/lte/rrc/lib/asn/src/S-TMSI.c deleted file mode 100644 index 9b8d4a413..000000000 --- a/lte/rrc/lib/asn/src/S-TMSI.c +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/S-TMSI.h" - -static int -memb_m_TMSI_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 32)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_m_TMSI_constr_3 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 32, 32 } /* (SIZE(32..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_S_TMSI_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct S_TMSI, mmec), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MMEC, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mmec" - }, - { ATF_NOFLAGS, 0, offsetof(struct S_TMSI, m_TMSI), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_m_TMSI_constraint_1, - &asn_PER_memb_m_TMSI_constr_3, - 0, - "m-TMSI" - }, -}; -static ber_tlv_tag_t asn_DEF_S_TMSI_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_S_TMSI_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mmec at 3706 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* m-TMSI at 3707 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_S_TMSI_specs_1 = { - sizeof(struct S_TMSI), - offsetof(struct S_TMSI, _asn_ctx), - asn_MAP_S_TMSI_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_S_TMSI = { - "S-TMSI", - "S-TMSI", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_S_TMSI_tags_1, - sizeof(asn_DEF_S_TMSI_tags_1) - /sizeof(asn_DEF_S_TMSI_tags_1[0]), /* 1 */ - asn_DEF_S_TMSI_tags_1, /* Same as above */ - sizeof(asn_DEF_S_TMSI_tags_1) - /sizeof(asn_DEF_S_TMSI_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_S_TMSI_1, - 2, /* Elements count */ - &asn_SPC_S_TMSI_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SCellIndex-r10.c b/lte/rrc/lib/asn/src/SCellIndex-r10.c deleted file mode 100644 index 6254e8b60..000000000 --- a/lte/rrc/lib/asn/src/SCellIndex-r10.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SCellIndex-r10.h" - -int -SCellIndex_r10_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -SCellIndex_r10_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -SCellIndex_r10_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - SCellIndex_r10_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -SCellIndex_r10_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - SCellIndex_r10_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -SCellIndex_r10_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - SCellIndex_r10_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -SCellIndex_r10_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - SCellIndex_r10_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -SCellIndex_r10_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - SCellIndex_r10_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -SCellIndex_r10_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - SCellIndex_r10_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -SCellIndex_r10_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - SCellIndex_r10_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -SCellIndex_r10_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - SCellIndex_r10_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_SCellIndex_r10_constr_1 = { - { APC_CONSTRAINED, 3, 3, 1, 7 } /* (1..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_SCellIndex_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_SCellIndex_r10 = { - "SCellIndex-r10", - "SCellIndex-r10", - SCellIndex_r10_free, - SCellIndex_r10_print, - SCellIndex_r10_constraint, - SCellIndex_r10_decode_ber, - SCellIndex_r10_encode_der, - SCellIndex_r10_decode_xer, - SCellIndex_r10_encode_xer, - SCellIndex_r10_decode_uper, - SCellIndex_r10_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SCellIndex_r10_tags_1, - sizeof(asn_DEF_SCellIndex_r10_tags_1) - /sizeof(asn_DEF_SCellIndex_r10_tags_1[0]), /* 1 */ - asn_DEF_SCellIndex_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_SCellIndex_r10_tags_1) - /sizeof(asn_DEF_SCellIndex_r10_tags_1[0]), /* 1 */ - &asn_PER_type_SCellIndex_r10_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/SCellToAddMod-r10.c b/lte/rrc/lib/asn/src/SCellToAddMod-r10.c deleted file mode 100644 index 8b2b2fcc5..000000000 --- a/lte/rrc/lib/asn/src/SCellToAddMod-r10.c +++ /dev/null @@ -1,155 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SCellToAddMod-r10.h" - -static asn_TYPE_member_t asn_MBR_cellIdentification_r10_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct SCellToAddMod_r10__cellIdentification_r10, physCellId_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct SCellToAddMod_r10__cellIdentification_r10, dl_CarrierFreq_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dl-CarrierFreq-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_cellIdentification_r10_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_cellIdentification_r10_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* physCellId-r10 at 673 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* dl-CarrierFreq-r10 at 675 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_cellIdentification_r10_specs_3 = { - sizeof(struct SCellToAddMod_r10__cellIdentification_r10), - offsetof(struct SCellToAddMod_r10__cellIdentification_r10, _asn_ctx), - asn_MAP_cellIdentification_r10_tag2el_3, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cellIdentification_r10_3 = { - "cellIdentification-r10", - "cellIdentification-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_cellIdentification_r10_tags_3, - sizeof(asn_DEF_cellIdentification_r10_tags_3) - /sizeof(asn_DEF_cellIdentification_r10_tags_3[0]) - 1, /* 1 */ - asn_DEF_cellIdentification_r10_tags_3, /* Same as above */ - sizeof(asn_DEF_cellIdentification_r10_tags_3) - /sizeof(asn_DEF_cellIdentification_r10_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_cellIdentification_r10_3, - 2, /* Elements count */ - &asn_SPC_cellIdentification_r10_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SCellToAddMod_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SCellToAddMod_r10, sCellIndex_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SCellIndex_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sCellIndex-r10" - }, - { ATF_POINTER, 3, offsetof(struct SCellToAddMod_r10, cellIdentification_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_cellIdentification_r10_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellIdentification-r10" - }, - { ATF_POINTER, 2, offsetof(struct SCellToAddMod_r10, radioResourceConfigCommonSCell_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RadioResourceConfigCommonSCell_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "radioResourceConfigCommonSCell-r10" - }, - { ATF_POINTER, 1, offsetof(struct SCellToAddMod_r10, radioResourceConfigDedicatedSCell_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RadioResourceConfigDedicatedSCell_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "radioResourceConfigDedicatedSCell-r10" - }, -}; -static int asn_MAP_SCellToAddMod_r10_oms_1[] = { 1, 2, 3 }; -static ber_tlv_tag_t asn_DEF_SCellToAddMod_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SCellToAddMod_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sCellIndex-r10 at 671 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cellIdentification-r10 at 673 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* radioResourceConfigCommonSCell-r10 at 676 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* radioResourceConfigDedicatedSCell-r10 at 677 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SCellToAddMod_r10_specs_1 = { - sizeof(struct SCellToAddMod_r10), - offsetof(struct SCellToAddMod_r10, _asn_ctx), - asn_MAP_SCellToAddMod_r10_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_SCellToAddMod_r10_oms_1, /* Optional members */ - 3, 0, /* Root/Additions */ - 3, /* Start extensions */ - 5 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SCellToAddMod_r10 = { - "SCellToAddMod-r10", - "SCellToAddMod-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SCellToAddMod_r10_tags_1, - sizeof(asn_DEF_SCellToAddMod_r10_tags_1) - /sizeof(asn_DEF_SCellToAddMod_r10_tags_1[0]), /* 1 */ - asn_DEF_SCellToAddMod_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_SCellToAddMod_r10_tags_1) - /sizeof(asn_DEF_SCellToAddMod_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SCellToAddMod_r10_1, - 4, /* Elements count */ - &asn_SPC_SCellToAddMod_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SCellToAddModList-r10.c b/lte/rrc/lib/asn/src/SCellToAddModList-r10.c deleted file mode 100644 index 02fe22bad..000000000 --- a/lte/rrc/lib/asn/src/SCellToAddModList-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SCellToAddModList-r10.h" - -static asn_per_constraints_t asn_PER_type_SCellToAddModList_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 2, 2, 1, 4 } /* (SIZE(1..4)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SCellToAddModList_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_SCellToAddMod_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_SCellToAddModList_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_SCellToAddModList_r10_specs_1 = { - sizeof(struct SCellToAddModList_r10), - offsetof(struct SCellToAddModList_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_SCellToAddModList_r10 = { - "SCellToAddModList-r10", - "SCellToAddModList-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SCellToAddModList_r10_tags_1, - sizeof(asn_DEF_SCellToAddModList_r10_tags_1) - /sizeof(asn_DEF_SCellToAddModList_r10_tags_1[0]), /* 1 */ - asn_DEF_SCellToAddModList_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_SCellToAddModList_r10_tags_1) - /sizeof(asn_DEF_SCellToAddModList_r10_tags_1[0]), /* 1 */ - &asn_PER_type_SCellToAddModList_r10_constr_1, - asn_MBR_SCellToAddModList_r10_1, - 1, /* Single element */ - &asn_SPC_SCellToAddModList_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SCellToReleaseList-r10.c b/lte/rrc/lib/asn/src/SCellToReleaseList-r10.c deleted file mode 100644 index 28d92415f..000000000 --- a/lte/rrc/lib/asn/src/SCellToReleaseList-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SCellToReleaseList-r10.h" - -static asn_per_constraints_t asn_PER_type_SCellToReleaseList_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 2, 2, 1, 4 } /* (SIZE(1..4)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SCellToReleaseList_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_SCellIndex_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_SCellToReleaseList_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_SCellToReleaseList_r10_specs_1 = { - sizeof(struct SCellToReleaseList_r10), - offsetof(struct SCellToReleaseList_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_SCellToReleaseList_r10 = { - "SCellToReleaseList-r10", - "SCellToReleaseList-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SCellToReleaseList_r10_tags_1, - sizeof(asn_DEF_SCellToReleaseList_r10_tags_1) - /sizeof(asn_DEF_SCellToReleaseList_r10_tags_1[0]), /* 1 */ - asn_DEF_SCellToReleaseList_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_SCellToReleaseList_r10_tags_1) - /sizeof(asn_DEF_SCellToReleaseList_r10_tags_1[0]), /* 1 */ - &asn_PER_type_SCellToReleaseList_r10_constr_1, - asn_MBR_SCellToReleaseList_r10_1, - 1, /* Single element */ - &asn_SPC_SCellToReleaseList_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SI-OrPSI-GERAN.c b/lte/rrc/lib/asn/src/SI-OrPSI-GERAN.c deleted file mode 100644 index bd6c3cd97..000000000 --- a/lte/rrc/lib/asn/src/SI-OrPSI-GERAN.c +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SI-OrPSI-GERAN.h" - -static asn_per_constraints_t asn_PER_type_SI_OrPSI_GERAN_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SI_OrPSI_GERAN_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SI_OrPSI_GERAN, choice.si), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInfoListGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "si" - }, - { ATF_NOFLAGS, 0, offsetof(struct SI_OrPSI_GERAN, choice.psi), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInfoListGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "psi" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_SI_OrPSI_GERAN_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* si at 510 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* psi at 512 */ -}; -static asn_CHOICE_specifics_t asn_SPC_SI_OrPSI_GERAN_specs_1 = { - sizeof(struct SI_OrPSI_GERAN), - offsetof(struct SI_OrPSI_GERAN, _asn_ctx), - offsetof(struct SI_OrPSI_GERAN, present), - sizeof(((struct SI_OrPSI_GERAN *)0)->present), - asn_MAP_SI_OrPSI_GERAN_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_SI_OrPSI_GERAN = { - "SI-OrPSI-GERAN", - "SI-OrPSI-GERAN", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_SI_OrPSI_GERAN_constr_1, - asn_MBR_SI_OrPSI_GERAN_1, - 2, /* Elements count */ - &asn_SPC_SI_OrPSI_GERAN_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SIB-MappingInfo.c b/lte/rrc/lib/asn/src/SIB-MappingInfo.c deleted file mode 100644 index 0951632a6..000000000 --- a/lte/rrc/lib/asn/src/SIB-MappingInfo.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SIB-MappingInfo.h" - -static asn_per_constraints_t asn_PER_type_SIB_MappingInfo_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 0, 31 } /* (SIZE(0..31)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SIB_MappingInfo_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), - 0, - &asn_DEF_SIB_Type, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_SIB_MappingInfo_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_SIB_MappingInfo_specs_1 = { - sizeof(struct SIB_MappingInfo), - offsetof(struct SIB_MappingInfo, _asn_ctx), - 1, /* XER encoding is XMLValueList */ -}; -asn_TYPE_descriptor_t asn_DEF_SIB_MappingInfo = { - "SIB-MappingInfo", - "SIB-MappingInfo", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SIB_MappingInfo_tags_1, - sizeof(asn_DEF_SIB_MappingInfo_tags_1) - /sizeof(asn_DEF_SIB_MappingInfo_tags_1[0]), /* 1 */ - asn_DEF_SIB_MappingInfo_tags_1, /* Same as above */ - sizeof(asn_DEF_SIB_MappingInfo_tags_1) - /sizeof(asn_DEF_SIB_MappingInfo_tags_1[0]), /* 1 */ - &asn_PER_type_SIB_MappingInfo_constr_1, - asn_MBR_SIB_MappingInfo_1, - 1, /* Single element */ - &asn_SPC_SIB_MappingInfo_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SIB-Type.c b/lte/rrc/lib/asn/src/SIB-Type.c deleted file mode 100644 index 479ec1f71..000000000 --- a/lte/rrc/lib/asn/src/SIB-Type.c +++ /dev/null @@ -1,176 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SIB-Type.h" - -int -SIB_Type_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -SIB_Type_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -SIB_Type_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - SIB_Type_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -SIB_Type_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - SIB_Type_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -SIB_Type_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - SIB_Type_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -SIB_Type_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - SIB_Type_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -SIB_Type_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - SIB_Type_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -SIB_Type_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - SIB_Type_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -SIB_Type_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - SIB_Type_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -SIB_Type_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - SIB_Type_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_SIB_Type_constr_1 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 0, 15 } /* (0..15,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_SIB_Type_value2enum_1[] = { - { 0, 8, "sibType3" }, - { 1, 8, "sibType4" }, - { 2, 8, "sibType5" }, - { 3, 8, "sibType6" }, - { 4, 8, "sibType7" }, - { 5, 8, "sibType8" }, - { 6, 8, "sibType9" }, - { 7, 9, "sibType10" }, - { 8, 9, "sibType11" }, - { 9, 14, "sibType12-v920" }, - { 10, 14, "sibType13-v920" }, - { 11, 6, "spare5" }, - { 12, 6, "spare4" }, - { 13, 6, "spare3" }, - { 14, 6, "spare2" }, - { 15, 6, "spare1" } - /* This list is extensible */ -}; -static unsigned int asn_MAP_SIB_Type_enum2value_1[] = { - 7, /* sibType10(7) */ - 8, /* sibType11(8) */ - 9, /* sibType12-v920(9) */ - 10, /* sibType13-v920(10) */ - 0, /* sibType3(0) */ - 1, /* sibType4(1) */ - 2, /* sibType5(2) */ - 3, /* sibType6(3) */ - 4, /* sibType7(4) */ - 5, /* sibType8(5) */ - 6, /* sibType9(6) */ - 15, /* spare1(15) */ - 14, /* spare2(14) */ - 13, /* spare3(13) */ - 12, /* spare4(12) */ - 11 /* spare5(11) */ - /* This list is extensible */ -}; -static asn_INTEGER_specifics_t asn_SPC_SIB_Type_specs_1 = { - asn_MAP_SIB_Type_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_SIB_Type_enum2value_1, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 17, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_SIB_Type_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_SIB_Type = { - "SIB-Type", - "SIB-Type", - SIB_Type_free, - SIB_Type_print, - SIB_Type_constraint, - SIB_Type_decode_ber, - SIB_Type_encode_der, - SIB_Type_decode_xer, - SIB_Type_encode_xer, - SIB_Type_decode_uper, - SIB_Type_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SIB_Type_tags_1, - sizeof(asn_DEF_SIB_Type_tags_1) - /sizeof(asn_DEF_SIB_Type_tags_1[0]), /* 1 */ - asn_DEF_SIB_Type_tags_1, /* Same as above */ - sizeof(asn_DEF_SIB_Type_tags_1) - /sizeof(asn_DEF_SIB_Type_tags_1[0]), /* 1 */ - &asn_PER_type_SIB_Type_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_SIB_Type_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SN-FieldLength.c b/lte/rrc/lib/asn/src/SN-FieldLength.c deleted file mode 100644 index e5fca70cb..000000000 --- a/lte/rrc/lib/asn/src/SN-FieldLength.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SN-FieldLength.h" - -int -SN_FieldLength_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -SN_FieldLength_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -SN_FieldLength_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - SN_FieldLength_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -SN_FieldLength_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - SN_FieldLength_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -SN_FieldLength_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - SN_FieldLength_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -SN_FieldLength_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - SN_FieldLength_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -SN_FieldLength_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - SN_FieldLength_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -SN_FieldLength_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - SN_FieldLength_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -SN_FieldLength_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - SN_FieldLength_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -SN_FieldLength_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - SN_FieldLength_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_SN_FieldLength_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_SN_FieldLength_value2enum_1[] = { - { 0, 5, "size5" }, - { 1, 6, "size10" } -}; -static unsigned int asn_MAP_SN_FieldLength_enum2value_1[] = { - 1, /* size10(1) */ - 0 /* size5(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_SN_FieldLength_specs_1 = { - asn_MAP_SN_FieldLength_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_SN_FieldLength_enum2value_1, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_SN_FieldLength_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_SN_FieldLength = { - "SN-FieldLength", - "SN-FieldLength", - SN_FieldLength_free, - SN_FieldLength_print, - SN_FieldLength_constraint, - SN_FieldLength_decode_ber, - SN_FieldLength_encode_der, - SN_FieldLength_decode_xer, - SN_FieldLength_encode_xer, - SN_FieldLength_decode_uper, - SN_FieldLength_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SN_FieldLength_tags_1, - sizeof(asn_DEF_SN_FieldLength_tags_1) - /sizeof(asn_DEF_SN_FieldLength_tags_1[0]), /* 1 */ - asn_DEF_SN_FieldLength_tags_1, /* Same as above */ - sizeof(asn_DEF_SN_FieldLength_tags_1) - /sizeof(asn_DEF_SN_FieldLength_tags_1[0]), /* 1 */ - &asn_PER_type_SN_FieldLength_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_SN_FieldLength_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SON-Parameters-r9.c b/lte/rrc/lib/asn/src/SON-Parameters-r9.c deleted file mode 100644 index 121b0baa2..000000000 --- a/lte/rrc/lib/asn/src/SON-Parameters-r9.c +++ /dev/null @@ -1,199 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SON-Parameters-r9.h" - -static int -rach_Report_r9_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -rach_Report_r9_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -rach_Report_r9_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - rach_Report_r9_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -rach_Report_r9_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - rach_Report_r9_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -rach_Report_r9_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - rach_Report_r9_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -rach_Report_r9_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - rach_Report_r9_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -rach_Report_r9_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - rach_Report_r9_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -rach_Report_r9_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - rach_Report_r9_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -rach_Report_r9_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - rach_Report_r9_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -rach_Report_r9_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - rach_Report_r9_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_rach_Report_r9_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_rach_Report_r9_value2enum_2[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_rach_Report_r9_enum2value_2[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_rach_Report_r9_specs_2 = { - asn_MAP_rach_Report_r9_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_rach_Report_r9_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_rach_Report_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_rach_Report_r9_2 = { - "rach-Report-r9", - "rach-Report-r9", - rach_Report_r9_2_free, - rach_Report_r9_2_print, - rach_Report_r9_2_constraint, - rach_Report_r9_2_decode_ber, - rach_Report_r9_2_encode_der, - rach_Report_r9_2_decode_xer, - rach_Report_r9_2_encode_xer, - rach_Report_r9_2_decode_uper, - rach_Report_r9_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_rach_Report_r9_tags_2, - sizeof(asn_DEF_rach_Report_r9_tags_2) - /sizeof(asn_DEF_rach_Report_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_rach_Report_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_rach_Report_r9_tags_2) - /sizeof(asn_DEF_rach_Report_r9_tags_2[0]), /* 2 */ - &asn_PER_type_rach_Report_r9_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_rach_Report_r9_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SON_Parameters_r9_1[] = { - { ATF_POINTER, 1, offsetof(struct SON_Parameters_r9, rach_Report_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_rach_Report_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rach-Report-r9" - }, -}; -static int asn_MAP_SON_Parameters_r9_oms_1[] = { 0 }; -static ber_tlv_tag_t asn_DEF_SON_Parameters_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SON_Parameters_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* rach-Report-r9 at 4005 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SON_Parameters_r9_specs_1 = { - sizeof(struct SON_Parameters_r9), - offsetof(struct SON_Parameters_r9, _asn_ctx), - asn_MAP_SON_Parameters_r9_tag2el_1, - 1, /* Count of tags in the map */ - asn_MAP_SON_Parameters_r9_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SON_Parameters_r9 = { - "SON-Parameters-r9", - "SON-Parameters-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SON_Parameters_r9_tags_1, - sizeof(asn_DEF_SON_Parameters_r9_tags_1) - /sizeof(asn_DEF_SON_Parameters_r9_tags_1[0]), /* 1 */ - asn_DEF_SON_Parameters_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_SON_Parameters_r9_tags_1) - /sizeof(asn_DEF_SON_Parameters_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SON_Parameters_r9_1, - 1, /* Elements count */ - &asn_SPC_SON_Parameters_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SPS-Config.c b/lte/rrc/lib/asn/src/SPS-Config.c deleted file mode 100644 index a68f407a3..000000000 --- a/lte/rrc/lib/asn/src/SPS-Config.c +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SPS-Config.h" - -static asn_TYPE_member_t asn_MBR_SPS_Config_1[] = { - { ATF_POINTER, 3, offsetof(struct SPS_Config, semiPersistSchedC_RNTI), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_C_RNTI, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "semiPersistSchedC-RNTI" - }, - { ATF_POINTER, 2, offsetof(struct SPS_Config, sps_ConfigDL), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_SPS_ConfigDL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sps-ConfigDL" - }, - { ATF_POINTER, 1, offsetof(struct SPS_Config, sps_ConfigUL), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_SPS_ConfigUL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sps-ConfigUL" - }, -}; -static int asn_MAP_SPS_Config_oms_1[] = { 0, 1, 2 }; -static ber_tlv_tag_t asn_DEF_SPS_Config_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SPS_Config_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* semiPersistSchedC-RNTI at 2727 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* sps-ConfigDL at 2728 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* sps-ConfigUL at 2729 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SPS_Config_specs_1 = { - sizeof(struct SPS_Config), - offsetof(struct SPS_Config, _asn_ctx), - asn_MAP_SPS_Config_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_SPS_Config_oms_1, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SPS_Config = { - "SPS-Config", - "SPS-Config", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SPS_Config_tags_1, - sizeof(asn_DEF_SPS_Config_tags_1) - /sizeof(asn_DEF_SPS_Config_tags_1[0]), /* 1 */ - asn_DEF_SPS_Config_tags_1, /* Same as above */ - sizeof(asn_DEF_SPS_Config_tags_1) - /sizeof(asn_DEF_SPS_Config_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SPS_Config_1, - 3, /* Elements count */ - &asn_SPC_SPS_Config_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SPS-ConfigDL.c b/lte/rrc/lib/asn/src/SPS-ConfigDL.c deleted file mode 100644 index 4353bcbfc..000000000 --- a/lte/rrc/lib/asn/src/SPS-ConfigDL.c +++ /dev/null @@ -1,469 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SPS-ConfigDL.h" - -static int -semiPersistSchedIntervalDL_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -semiPersistSchedIntervalDL_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -semiPersistSchedIntervalDL_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - semiPersistSchedIntervalDL_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -semiPersistSchedIntervalDL_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - semiPersistSchedIntervalDL_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -semiPersistSchedIntervalDL_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - semiPersistSchedIntervalDL_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -semiPersistSchedIntervalDL_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - semiPersistSchedIntervalDL_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -semiPersistSchedIntervalDL_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - semiPersistSchedIntervalDL_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -semiPersistSchedIntervalDL_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - semiPersistSchedIntervalDL_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -semiPersistSchedIntervalDL_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - semiPersistSchedIntervalDL_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -semiPersistSchedIntervalDL_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - semiPersistSchedIntervalDL_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_numberOfConfSPS_Processes_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 8)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_semiPersistSchedIntervalDL_constr_4 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_twoAntennaPortActivated_r10_constr_23 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_numberOfConfSPS_Processes_constr_21 = { - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (1..8) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_SPS_ConfigDL_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_semiPersistSchedIntervalDL_value2enum_4[] = { - { 0, 4, "sf10" }, - { 1, 4, "sf20" }, - { 2, 4, "sf32" }, - { 3, 4, "sf40" }, - { 4, 4, "sf64" }, - { 5, 4, "sf80" }, - { 6, 5, "sf128" }, - { 7, 5, "sf160" }, - { 8, 5, "sf320" }, - { 9, 5, "sf640" }, - { 10, 6, "spare6" }, - { 11, 6, "spare5" }, - { 12, 6, "spare4" }, - { 13, 6, "spare3" }, - { 14, 6, "spare2" }, - { 15, 6, "spare1" } -}; -static unsigned int asn_MAP_semiPersistSchedIntervalDL_enum2value_4[] = { - 0, /* sf10(0) */ - 6, /* sf128(6) */ - 7, /* sf160(7) */ - 1, /* sf20(1) */ - 2, /* sf32(2) */ - 8, /* sf320(8) */ - 3, /* sf40(3) */ - 4, /* sf64(4) */ - 9, /* sf640(9) */ - 5, /* sf80(5) */ - 15, /* spare1(15) */ - 14, /* spare2(14) */ - 13, /* spare3(13) */ - 12, /* spare4(12) */ - 11, /* spare5(11) */ - 10 /* spare6(10) */ -}; -static asn_INTEGER_specifics_t asn_SPC_semiPersistSchedIntervalDL_specs_4 = { - asn_MAP_semiPersistSchedIntervalDL_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_semiPersistSchedIntervalDL_enum2value_4, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_semiPersistSchedIntervalDL_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_semiPersistSchedIntervalDL_4 = { - "semiPersistSchedIntervalDL", - "semiPersistSchedIntervalDL", - semiPersistSchedIntervalDL_4_free, - semiPersistSchedIntervalDL_4_print, - semiPersistSchedIntervalDL_4_constraint, - semiPersistSchedIntervalDL_4_decode_ber, - semiPersistSchedIntervalDL_4_encode_der, - semiPersistSchedIntervalDL_4_decode_xer, - semiPersistSchedIntervalDL_4_encode_xer, - semiPersistSchedIntervalDL_4_decode_uper, - semiPersistSchedIntervalDL_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_semiPersistSchedIntervalDL_tags_4, - sizeof(asn_DEF_semiPersistSchedIntervalDL_tags_4) - /sizeof(asn_DEF_semiPersistSchedIntervalDL_tags_4[0]) - 1, /* 1 */ - asn_DEF_semiPersistSchedIntervalDL_tags_4, /* Same as above */ - sizeof(asn_DEF_semiPersistSchedIntervalDL_tags_4) - /sizeof(asn_DEF_semiPersistSchedIntervalDL_tags_4[0]), /* 2 */ - &asn_PER_type_semiPersistSchedIntervalDL_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_semiPersistSchedIntervalDL_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_25[] = { - { ATF_NOFLAGS, 0, offsetof(struct SPS_ConfigDL__setup__twoAntennaPortActivated_r10__setup, n1PUCCH_AN_PersistentListP1_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_N1PUCCH_AN_PersistentList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "n1PUCCH-AN-PersistentListP1-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_setup_tags_25[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_25[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* n1PUCCH-AN-PersistentListP1-r10 at 2746 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_25 = { - sizeof(struct SPS_ConfigDL__setup__twoAntennaPortActivated_r10__setup), - offsetof(struct SPS_ConfigDL__setup__twoAntennaPortActivated_r10__setup, _asn_ctx), - asn_MAP_setup_tag2el_25, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_25 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_25, - sizeof(asn_DEF_setup_tags_25) - /sizeof(asn_DEF_setup_tags_25[0]) - 1, /* 1 */ - asn_DEF_setup_tags_25, /* Same as above */ - sizeof(asn_DEF_setup_tags_25) - /sizeof(asn_DEF_setup_tags_25[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_25, - 1, /* Elements count */ - &asn_SPC_setup_specs_25 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_twoAntennaPortActivated_r10_23[] = { - { ATF_NOFLAGS, 0, offsetof(struct SPS_ConfigDL__setup__twoAntennaPortActivated_r10, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct SPS_ConfigDL__setup__twoAntennaPortActivated_r10, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_25, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_twoAntennaPortActivated_r10_tag2el_23[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 2743 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 2746 */ -}; -static asn_CHOICE_specifics_t asn_SPC_twoAntennaPortActivated_r10_specs_23 = { - sizeof(struct SPS_ConfigDL__setup__twoAntennaPortActivated_r10), - offsetof(struct SPS_ConfigDL__setup__twoAntennaPortActivated_r10, _asn_ctx), - offsetof(struct SPS_ConfigDL__setup__twoAntennaPortActivated_r10, present), - sizeof(((struct SPS_ConfigDL__setup__twoAntennaPortActivated_r10 *)0)->present), - asn_MAP_twoAntennaPortActivated_r10_tag2el_23, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_twoAntennaPortActivated_r10_23 = { - "twoAntennaPortActivated-r10", - "twoAntennaPortActivated-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_twoAntennaPortActivated_r10_constr_23, - asn_MBR_twoAntennaPortActivated_r10_23, - 2, /* Elements count */ - &asn_SPC_twoAntennaPortActivated_r10_specs_23 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct SPS_ConfigDL__setup, semiPersistSchedIntervalDL), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_semiPersistSchedIntervalDL_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "semiPersistSchedIntervalDL" - }, - { ATF_NOFLAGS, 0, offsetof(struct SPS_ConfigDL__setup, numberOfConfSPS_Processes), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_numberOfConfSPS_Processes_constraint_3, - &asn_PER_memb_numberOfConfSPS_Processes_constr_21, - 0, - "numberOfConfSPS-Processes" - }, - { ATF_NOFLAGS, 0, offsetof(struct SPS_ConfigDL__setup, n1PUCCH_AN_PersistentList), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_N1PUCCH_AN_PersistentList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "n1PUCCH-AN-PersistentList" - }, - { ATF_POINTER, 1, offsetof(struct SPS_ConfigDL__setup, twoAntennaPortActivated_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_twoAntennaPortActivated_r10_23, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "twoAntennaPortActivated-r10" - }, -}; -static int asn_MAP_setup_oms_3[] = { 3 }; -static ber_tlv_tag_t asn_DEF_setup_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* semiPersistSchedIntervalDL at 2736 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* numberOfConfSPS-Processes at 2740 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* n1PUCCH-AN-PersistentList at 2741 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* twoAntennaPortActivated-r10 at 2743 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_3 = { - sizeof(struct SPS_ConfigDL__setup), - offsetof(struct SPS_ConfigDL__setup, _asn_ctx), - asn_MAP_setup_tag2el_3, - 4, /* Count of tags in the map */ - asn_MAP_setup_oms_3, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_3 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_3, - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]) - 1, /* 1 */ - asn_DEF_setup_tags_3, /* Same as above */ - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_3, - 4, /* Elements count */ - &asn_SPC_setup_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SPS_ConfigDL_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SPS_ConfigDL, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct SPS_ConfigDL, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_SPS_ConfigDL_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 2733 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 2739 */ -}; -static asn_CHOICE_specifics_t asn_SPC_SPS_ConfigDL_specs_1 = { - sizeof(struct SPS_ConfigDL), - offsetof(struct SPS_ConfigDL, _asn_ctx), - offsetof(struct SPS_ConfigDL, present), - sizeof(((struct SPS_ConfigDL *)0)->present), - asn_MAP_SPS_ConfigDL_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_SPS_ConfigDL = { - "SPS-ConfigDL", - "SPS-ConfigDL", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_SPS_ConfigDL_constr_1, - asn_MBR_SPS_ConfigDL_1, - 2, /* Elements count */ - &asn_SPC_SPS_ConfigDL_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SPS-ConfigUL.c b/lte/rrc/lib/asn/src/SPS-ConfigUL.c deleted file mode 100644 index 624312df9..000000000 --- a/lte/rrc/lib/asn/src/SPS-ConfigUL.c +++ /dev/null @@ -1,726 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SPS-ConfigUL.h" - -static int -semiPersistSchedIntervalUL_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -semiPersistSchedIntervalUL_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -semiPersistSchedIntervalUL_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - semiPersistSchedIntervalUL_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -semiPersistSchedIntervalUL_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - semiPersistSchedIntervalUL_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -semiPersistSchedIntervalUL_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - semiPersistSchedIntervalUL_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -semiPersistSchedIntervalUL_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - semiPersistSchedIntervalUL_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -semiPersistSchedIntervalUL_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - semiPersistSchedIntervalUL_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -semiPersistSchedIntervalUL_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - semiPersistSchedIntervalUL_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -semiPersistSchedIntervalUL_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - semiPersistSchedIntervalUL_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -semiPersistSchedIntervalUL_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - semiPersistSchedIntervalUL_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -implicitReleaseAfter_21_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -implicitReleaseAfter_21_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -implicitReleaseAfter_21_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - implicitReleaseAfter_21_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -implicitReleaseAfter_21_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - implicitReleaseAfter_21_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -implicitReleaseAfter_21_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - implicitReleaseAfter_21_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -implicitReleaseAfter_21_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - implicitReleaseAfter_21_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -implicitReleaseAfter_21_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - implicitReleaseAfter_21_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -implicitReleaseAfter_21_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - implicitReleaseAfter_21_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -implicitReleaseAfter_21_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - implicitReleaseAfter_21_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -implicitReleaseAfter_21_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - implicitReleaseAfter_21_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_p0_NominalPUSCH_Persistent_constraint_26(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -126 && value <= 24)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_p0_UE_PUSCH_Persistent_constraint_26(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -8 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -twoIntervalsConfig_29_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -twoIntervalsConfig_29_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -twoIntervalsConfig_29_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - twoIntervalsConfig_29_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -twoIntervalsConfig_29_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - twoIntervalsConfig_29_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -twoIntervalsConfig_29_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - twoIntervalsConfig_29_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -twoIntervalsConfig_29_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - twoIntervalsConfig_29_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -twoIntervalsConfig_29_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - twoIntervalsConfig_29_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -twoIntervalsConfig_29_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - twoIntervalsConfig_29_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -twoIntervalsConfig_29_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - twoIntervalsConfig_29_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -twoIntervalsConfig_29_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - twoIntervalsConfig_29_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_semiPersistSchedIntervalUL_constr_4 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_implicitReleaseAfter_constr_21 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_p0_NominalPUSCH_Persistent_constr_27 = { - { APC_CONSTRAINED, 8, 8, -126, 24 } /* (-126..24) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_p0_UE_PUSCH_Persistent_constr_28 = { - { APC_CONSTRAINED, 4, 4, -8, 7 } /* (-8..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_twoIntervalsConfig_constr_29 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_SPS_ConfigUL_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_semiPersistSchedIntervalUL_value2enum_4[] = { - { 0, 4, "sf10" }, - { 1, 4, "sf20" }, - { 2, 4, "sf32" }, - { 3, 4, "sf40" }, - { 4, 4, "sf64" }, - { 5, 4, "sf80" }, - { 6, 5, "sf128" }, - { 7, 5, "sf160" }, - { 8, 5, "sf320" }, - { 9, 5, "sf640" }, - { 10, 6, "spare6" }, - { 11, 6, "spare5" }, - { 12, 6, "spare4" }, - { 13, 6, "spare3" }, - { 14, 6, "spare2" }, - { 15, 6, "spare1" } -}; -static unsigned int asn_MAP_semiPersistSchedIntervalUL_enum2value_4[] = { - 0, /* sf10(0) */ - 6, /* sf128(6) */ - 7, /* sf160(7) */ - 1, /* sf20(1) */ - 2, /* sf32(2) */ - 8, /* sf320(8) */ - 3, /* sf40(3) */ - 4, /* sf64(4) */ - 9, /* sf640(9) */ - 5, /* sf80(5) */ - 15, /* spare1(15) */ - 14, /* spare2(14) */ - 13, /* spare3(13) */ - 12, /* spare4(12) */ - 11, /* spare5(11) */ - 10 /* spare6(10) */ -}; -static asn_INTEGER_specifics_t asn_SPC_semiPersistSchedIntervalUL_specs_4 = { - asn_MAP_semiPersistSchedIntervalUL_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_semiPersistSchedIntervalUL_enum2value_4, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_semiPersistSchedIntervalUL_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_semiPersistSchedIntervalUL_4 = { - "semiPersistSchedIntervalUL", - "semiPersistSchedIntervalUL", - semiPersistSchedIntervalUL_4_free, - semiPersistSchedIntervalUL_4_print, - semiPersistSchedIntervalUL_4_constraint, - semiPersistSchedIntervalUL_4_decode_ber, - semiPersistSchedIntervalUL_4_encode_der, - semiPersistSchedIntervalUL_4_decode_xer, - semiPersistSchedIntervalUL_4_encode_xer, - semiPersistSchedIntervalUL_4_decode_uper, - semiPersistSchedIntervalUL_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_semiPersistSchedIntervalUL_tags_4, - sizeof(asn_DEF_semiPersistSchedIntervalUL_tags_4) - /sizeof(asn_DEF_semiPersistSchedIntervalUL_tags_4[0]) - 1, /* 1 */ - asn_DEF_semiPersistSchedIntervalUL_tags_4, /* Same as above */ - sizeof(asn_DEF_semiPersistSchedIntervalUL_tags_4) - /sizeof(asn_DEF_semiPersistSchedIntervalUL_tags_4[0]), /* 2 */ - &asn_PER_type_semiPersistSchedIntervalUL_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_semiPersistSchedIntervalUL_specs_4 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_implicitReleaseAfter_value2enum_21[] = { - { 0, 2, "e2" }, - { 1, 2, "e3" }, - { 2, 2, "e4" }, - { 3, 2, "e8" } -}; -static unsigned int asn_MAP_implicitReleaseAfter_enum2value_21[] = { - 0, /* e2(0) */ - 1, /* e3(1) */ - 2, /* e4(2) */ - 3 /* e8(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_implicitReleaseAfter_specs_21 = { - asn_MAP_implicitReleaseAfter_value2enum_21, /* "tag" => N; sorted by tag */ - asn_MAP_implicitReleaseAfter_enum2value_21, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_implicitReleaseAfter_tags_21[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_implicitReleaseAfter_21 = { - "implicitReleaseAfter", - "implicitReleaseAfter", - implicitReleaseAfter_21_free, - implicitReleaseAfter_21_print, - implicitReleaseAfter_21_constraint, - implicitReleaseAfter_21_decode_ber, - implicitReleaseAfter_21_encode_der, - implicitReleaseAfter_21_decode_xer, - implicitReleaseAfter_21_encode_xer, - implicitReleaseAfter_21_decode_uper, - implicitReleaseAfter_21_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_implicitReleaseAfter_tags_21, - sizeof(asn_DEF_implicitReleaseAfter_tags_21) - /sizeof(asn_DEF_implicitReleaseAfter_tags_21[0]) - 1, /* 1 */ - asn_DEF_implicitReleaseAfter_tags_21, /* Same as above */ - sizeof(asn_DEF_implicitReleaseAfter_tags_21) - /sizeof(asn_DEF_implicitReleaseAfter_tags_21[0]), /* 2 */ - &asn_PER_type_implicitReleaseAfter_constr_21, - 0, 0, /* Defined elsewhere */ - &asn_SPC_implicitReleaseAfter_specs_21 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_p0_Persistent_26[] = { - { ATF_NOFLAGS, 0, offsetof(struct SPS_ConfigUL__setup__p0_Persistent, p0_NominalPUSCH_Persistent), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_p0_NominalPUSCH_Persistent_constraint_26, - &asn_PER_memb_p0_NominalPUSCH_Persistent_constr_27, - 0, - "p0-NominalPUSCH-Persistent" - }, - { ATF_NOFLAGS, 0, offsetof(struct SPS_ConfigUL__setup__p0_Persistent, p0_UE_PUSCH_Persistent), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_p0_UE_PUSCH_Persistent_constraint_26, - &asn_PER_memb_p0_UE_PUSCH_Persistent_constr_28, - 0, - "p0-UE-PUSCH-Persistent" - }, -}; -static ber_tlv_tag_t asn_DEF_p0_Persistent_tags_26[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_p0_Persistent_tag2el_26[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* p0-NominalPUSCH-Persistent at 2761 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* p0-UE-PUSCH-Persistent at 2762 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_p0_Persistent_specs_26 = { - sizeof(struct SPS_ConfigUL__setup__p0_Persistent), - offsetof(struct SPS_ConfigUL__setup__p0_Persistent, _asn_ctx), - asn_MAP_p0_Persistent_tag2el_26, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_p0_Persistent_26 = { - "p0-Persistent", - "p0-Persistent", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_p0_Persistent_tags_26, - sizeof(asn_DEF_p0_Persistent_tags_26) - /sizeof(asn_DEF_p0_Persistent_tags_26[0]) - 1, /* 1 */ - asn_DEF_p0_Persistent_tags_26, /* Same as above */ - sizeof(asn_DEF_p0_Persistent_tags_26) - /sizeof(asn_DEF_p0_Persistent_tags_26[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_p0_Persistent_26, - 2, /* Elements count */ - &asn_SPC_p0_Persistent_specs_26 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_twoIntervalsConfig_value2enum_29[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_twoIntervalsConfig_enum2value_29[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_twoIntervalsConfig_specs_29 = { - asn_MAP_twoIntervalsConfig_value2enum_29, /* "tag" => N; sorted by tag */ - asn_MAP_twoIntervalsConfig_enum2value_29, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_twoIntervalsConfig_tags_29[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_twoIntervalsConfig_29 = { - "twoIntervalsConfig", - "twoIntervalsConfig", - twoIntervalsConfig_29_free, - twoIntervalsConfig_29_print, - twoIntervalsConfig_29_constraint, - twoIntervalsConfig_29_decode_ber, - twoIntervalsConfig_29_encode_der, - twoIntervalsConfig_29_decode_xer, - twoIntervalsConfig_29_encode_xer, - twoIntervalsConfig_29_decode_uper, - twoIntervalsConfig_29_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_twoIntervalsConfig_tags_29, - sizeof(asn_DEF_twoIntervalsConfig_tags_29) - /sizeof(asn_DEF_twoIntervalsConfig_tags_29[0]) - 1, /* 1 */ - asn_DEF_twoIntervalsConfig_tags_29, /* Same as above */ - sizeof(asn_DEF_twoIntervalsConfig_tags_29) - /sizeof(asn_DEF_twoIntervalsConfig_tags_29[0]), /* 2 */ - &asn_PER_type_twoIntervalsConfig_constr_29, - 0, 0, /* Defined elsewhere */ - &asn_SPC_twoIntervalsConfig_specs_29 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct SPS_ConfigUL__setup, semiPersistSchedIntervalUL), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_semiPersistSchedIntervalUL_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "semiPersistSchedIntervalUL" - }, - { ATF_NOFLAGS, 0, offsetof(struct SPS_ConfigUL__setup, implicitReleaseAfter), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_implicitReleaseAfter_21, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "implicitReleaseAfter" - }, - { ATF_POINTER, 2, offsetof(struct SPS_ConfigUL__setup, p0_Persistent), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_p0_Persistent_26, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "p0-Persistent" - }, - { ATF_POINTER, 1, offsetof(struct SPS_ConfigUL__setup, twoIntervalsConfig), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_twoIntervalsConfig_29, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "twoIntervalsConfig" - }, -}; -static int asn_MAP_setup_oms_3[] = { 2, 3 }; -static ber_tlv_tag_t asn_DEF_setup_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* semiPersistSchedIntervalUL at 2755 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* implicitReleaseAfter at 2759 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* p0-Persistent at 2761 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* twoIntervalsConfig at 2764 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_3 = { - sizeof(struct SPS_ConfigUL__setup), - offsetof(struct SPS_ConfigUL__setup, _asn_ctx), - asn_MAP_setup_tag2el_3, - 4, /* Count of tags in the map */ - asn_MAP_setup_oms_3, /* Optional members */ - 2, 0, /* Root/Additions */ - 3, /* Start extensions */ - 5 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_3 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_3, - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]) - 1, /* 1 */ - asn_DEF_setup_tags_3, /* Same as above */ - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_3, - 4, /* Elements count */ - &asn_SPC_setup_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SPS_ConfigUL_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SPS_ConfigUL, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct SPS_ConfigUL, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_SPS_ConfigUL_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 2752 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 2758 */ -}; -static asn_CHOICE_specifics_t asn_SPC_SPS_ConfigUL_specs_1 = { - sizeof(struct SPS_ConfigUL), - offsetof(struct SPS_ConfigUL, _asn_ctx), - offsetof(struct SPS_ConfigUL, present), - sizeof(((struct SPS_ConfigUL *)0)->present), - asn_MAP_SPS_ConfigUL_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_SPS_ConfigUL = { - "SPS-ConfigUL", - "SPS-ConfigUL", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_SPS_ConfigUL_constr_1, - asn_MBR_SPS_ConfigUL_1, - 2, /* Elements count */ - &asn_SPC_SPS_ConfigUL_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SPS-RA-ConfigList-rlola.c b/lte/rrc/lib/asn/src/SPS-RA-ConfigList-rlola.c deleted file mode 100644 index 83eb56e0d..000000000 --- a/lte/rrc/lib/asn/src/SPS-RA-ConfigList-rlola.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SPS-RA-ConfigList-rlola.h" - -static asn_TYPE_member_t asn_MBR_SPS_RA_ConfigList_rlola_1[] = { - { ATF_POINTER, 2, offsetof(struct SPS_RA_ConfigList_rlola, semiPersistSchedCA_RNTI), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CA_RNTI, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "semiPersistSchedCA-RNTI" - }, - { ATF_POINTER, 1, offsetof(struct SPS_RA_ConfigList_rlola, ca_semiPersistSchedIntervalUL), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CA_semiPersistSchedIntervalUL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ca-semiPersistSchedIntervalUL" - }, -}; -static int asn_MAP_SPS_RA_ConfigList_rlola_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_SPS_RA_ConfigList_rlola_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SPS_RA_ConfigList_rlola_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* semiPersistSchedCA-RNTI at 2493 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ca-semiPersistSchedIntervalUL at 2494 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SPS_RA_ConfigList_rlola_specs_1 = { - sizeof(struct SPS_RA_ConfigList_rlola), - offsetof(struct SPS_RA_ConfigList_rlola, _asn_ctx), - asn_MAP_SPS_RA_ConfigList_rlola_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_SPS_RA_ConfigList_rlola_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SPS_RA_ConfigList_rlola = { - "SPS-RA-ConfigList-rlola", - "SPS-RA-ConfigList-rlola", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SPS_RA_ConfigList_rlola_tags_1, - sizeof(asn_DEF_SPS_RA_ConfigList_rlola_tags_1) - /sizeof(asn_DEF_SPS_RA_ConfigList_rlola_tags_1[0]), /* 1 */ - asn_DEF_SPS_RA_ConfigList_rlola_tags_1, /* Same as above */ - sizeof(asn_DEF_SPS_RA_ConfigList_rlola_tags_1) - /sizeof(asn_DEF_SPS_RA_ConfigList_rlola_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SPS_RA_ConfigList_rlola_1, - 2, /* Elements count */ - &asn_SPC_SPS_RA_ConfigList_rlola_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SRB-ToAddMod.c b/lte/rrc/lib/asn/src/SRB-ToAddMod.c deleted file mode 100644 index 25f5b3c8a..000000000 --- a/lte/rrc/lib/asn/src/SRB-ToAddMod.c +++ /dev/null @@ -1,238 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SRB-ToAddMod.h" - -static int -memb_srb_Identity_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 2)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_rlc_Config_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_logicalChannelConfig_constr_6 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_srb_Identity_constr_2 = { - { APC_CONSTRAINED, 1, 1, 1, 2 } /* (1..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_rlc_Config_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct SRB_ToAddMod__rlc_Config, choice.explicitValue), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_RLC_Config, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "explicitValue" - }, - { ATF_NOFLAGS, 0, offsetof(struct SRB_ToAddMod__rlc_Config, choice.defaultValue), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "defaultValue" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_rlc_Config_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* explicitValue at 2469 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* defaultValue at 2470 */ -}; -static asn_CHOICE_specifics_t asn_SPC_rlc_Config_specs_3 = { - sizeof(struct SRB_ToAddMod__rlc_Config), - offsetof(struct SRB_ToAddMod__rlc_Config, _asn_ctx), - offsetof(struct SRB_ToAddMod__rlc_Config, present), - sizeof(((struct SRB_ToAddMod__rlc_Config *)0)->present), - asn_MAP_rlc_Config_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_rlc_Config_3 = { - "rlc-Config", - "rlc-Config", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_rlc_Config_constr_3, - asn_MBR_rlc_Config_3, - 2, /* Elements count */ - &asn_SPC_rlc_Config_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_logicalChannelConfig_6[] = { - { ATF_NOFLAGS, 0, offsetof(struct SRB_ToAddMod__logicalChannelConfig, choice.explicitValue), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_LogicalChannelConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "explicitValue" - }, - { ATF_NOFLAGS, 0, offsetof(struct SRB_ToAddMod__logicalChannelConfig, choice.defaultValue), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "defaultValue" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_logicalChannelConfig_tag2el_6[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* explicitValue at 2473 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* defaultValue at 2474 */ -}; -static asn_CHOICE_specifics_t asn_SPC_logicalChannelConfig_specs_6 = { - sizeof(struct SRB_ToAddMod__logicalChannelConfig), - offsetof(struct SRB_ToAddMod__logicalChannelConfig, _asn_ctx), - offsetof(struct SRB_ToAddMod__logicalChannelConfig, present), - sizeof(((struct SRB_ToAddMod__logicalChannelConfig *)0)->present), - asn_MAP_logicalChannelConfig_tag2el_6, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_logicalChannelConfig_6 = { - "logicalChannelConfig", - "logicalChannelConfig", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_logicalChannelConfig_constr_6, - asn_MBR_logicalChannelConfig_6, - 2, /* Elements count */ - &asn_SPC_logicalChannelConfig_specs_6 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SRB_ToAddMod_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SRB_ToAddMod, srb_Identity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_srb_Identity_constraint_1, - &asn_PER_memb_srb_Identity_constr_2, - 0, - "srb-Identity" - }, - { ATF_POINTER, 2, offsetof(struct SRB_ToAddMod, rlc_Config), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_rlc_Config_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rlc-Config" - }, - { ATF_POINTER, 1, offsetof(struct SRB_ToAddMod, logicalChannelConfig), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_logicalChannelConfig_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "logicalChannelConfig" - }, -}; -static int asn_MAP_SRB_ToAddMod_oms_1[] = { 1, 2 }; -static ber_tlv_tag_t asn_DEF_SRB_ToAddMod_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SRB_ToAddMod_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* srb-Identity at 2467 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rlc-Config at 2469 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* logicalChannelConfig at 2473 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SRB_ToAddMod_specs_1 = { - sizeof(struct SRB_ToAddMod), - offsetof(struct SRB_ToAddMod, _asn_ctx), - asn_MAP_SRB_ToAddMod_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_SRB_ToAddMod_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - 2, /* Start extensions */ - 4 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SRB_ToAddMod = { - "SRB-ToAddMod", - "SRB-ToAddMod", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SRB_ToAddMod_tags_1, - sizeof(asn_DEF_SRB_ToAddMod_tags_1) - /sizeof(asn_DEF_SRB_ToAddMod_tags_1[0]), /* 1 */ - asn_DEF_SRB_ToAddMod_tags_1, /* Same as above */ - sizeof(asn_DEF_SRB_ToAddMod_tags_1) - /sizeof(asn_DEF_SRB_ToAddMod_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SRB_ToAddMod_1, - 3, /* Elements count */ - &asn_SPC_SRB_ToAddMod_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SRB-ToAddModList.c b/lte/rrc/lib/asn/src/SRB-ToAddModList.c deleted file mode 100644 index fa49cf7ed..000000000 --- a/lte/rrc/lib/asn/src/SRB-ToAddModList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SRB-ToAddModList.h" - -static asn_per_constraints_t asn_PER_type_SRB_ToAddModList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 1, 1, 1, 2 } /* (SIZE(1..2)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SRB_ToAddModList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_SRB_ToAddMod, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_SRB_ToAddModList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_SRB_ToAddModList_specs_1 = { - sizeof(struct SRB_ToAddModList), - offsetof(struct SRB_ToAddModList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_SRB_ToAddModList = { - "SRB-ToAddModList", - "SRB-ToAddModList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SRB_ToAddModList_tags_1, - sizeof(asn_DEF_SRB_ToAddModList_tags_1) - /sizeof(asn_DEF_SRB_ToAddModList_tags_1[0]), /* 1 */ - asn_DEF_SRB_ToAddModList_tags_1, /* Same as above */ - sizeof(asn_DEF_SRB_ToAddModList_tags_1) - /sizeof(asn_DEF_SRB_ToAddModList_tags_1[0]), /* 1 */ - &asn_PER_type_SRB_ToAddModList_constr_1, - asn_MBR_SRB_ToAddModList_1, - 1, /* Single element */ - &asn_SPC_SRB_ToAddModList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SRS-ConfigAp-r10.c b/lte/rrc/lib/asn/src/SRS-ConfigAp-r10.c deleted file mode 100644 index a2993b5e9..000000000 --- a/lte/rrc/lib/asn/src/SRS-ConfigAp-r10.c +++ /dev/null @@ -1,597 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SRS-ConfigAp-r10.h" - -static int -srs_AntennaPortAp_r10_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -srs_AntennaPortAp_r10_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -srs_AntennaPortAp_r10_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - srs_AntennaPortAp_r10_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -srs_AntennaPortAp_r10_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - srs_AntennaPortAp_r10_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -srs_AntennaPortAp_r10_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - srs_AntennaPortAp_r10_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -srs_AntennaPortAp_r10_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - srs_AntennaPortAp_r10_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -srs_AntennaPortAp_r10_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - srs_AntennaPortAp_r10_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -srs_AntennaPortAp_r10_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - srs_AntennaPortAp_r10_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -srs_AntennaPortAp_r10_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - srs_AntennaPortAp_r10_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -srs_AntennaPortAp_r10_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - srs_AntennaPortAp_r10_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -srs_BandwidthAp_r10_7_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -srs_BandwidthAp_r10_7_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -srs_BandwidthAp_r10_7_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - srs_BandwidthAp_r10_7_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -srs_BandwidthAp_r10_7_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - srs_BandwidthAp_r10_7_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -srs_BandwidthAp_r10_7_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - srs_BandwidthAp_r10_7_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -srs_BandwidthAp_r10_7_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - srs_BandwidthAp_r10_7_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -srs_BandwidthAp_r10_7_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - srs_BandwidthAp_r10_7_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -srs_BandwidthAp_r10_7_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - srs_BandwidthAp_r10_7_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -srs_BandwidthAp_r10_7_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - srs_BandwidthAp_r10_7_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -srs_BandwidthAp_r10_7_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - srs_BandwidthAp_r10_7_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -cyclicShiftAp_r10_14_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -cyclicShiftAp_r10_14_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -cyclicShiftAp_r10_14_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - cyclicShiftAp_r10_14_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -cyclicShiftAp_r10_14_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - cyclicShiftAp_r10_14_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -cyclicShiftAp_r10_14_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - cyclicShiftAp_r10_14_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -cyclicShiftAp_r10_14_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - cyclicShiftAp_r10_14_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -cyclicShiftAp_r10_14_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - cyclicShiftAp_r10_14_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -cyclicShiftAp_r10_14_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - cyclicShiftAp_r10_14_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -cyclicShiftAp_r10_14_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - cyclicShiftAp_r10_14_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -cyclicShiftAp_r10_14_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - cyclicShiftAp_r10_14_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_freqDomainPositionAp_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 23)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_transmissionCombAp_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 1)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_srs_AntennaPortAp_r10_constr_2 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_srs_BandwidthAp_r10_constr_7 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_cyclicShiftAp_r10_constr_14 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_freqDomainPositionAp_r10_constr_12 = { - { APC_CONSTRAINED, 5, 5, 0, 23 } /* (0..23) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_transmissionCombAp_r10_constr_13 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_srs_AntennaPortAp_r10_value2enum_2[] = { - { 0, 3, "an1" }, - { 1, 3, "an2" }, - { 2, 3, "an4" }, - { 3, 6, "spare1" } -}; -static unsigned int asn_MAP_srs_AntennaPortAp_r10_enum2value_2[] = { - 0, /* an1(0) */ - 1, /* an2(1) */ - 2, /* an4(2) */ - 3 /* spare1(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_srs_AntennaPortAp_r10_specs_2 = { - asn_MAP_srs_AntennaPortAp_r10_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_srs_AntennaPortAp_r10_enum2value_2, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_srs_AntennaPortAp_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_srs_AntennaPortAp_r10_2 = { - "srs-AntennaPortAp-r10", - "srs-AntennaPortAp-r10", - srs_AntennaPortAp_r10_2_free, - srs_AntennaPortAp_r10_2_print, - srs_AntennaPortAp_r10_2_constraint, - srs_AntennaPortAp_r10_2_decode_ber, - srs_AntennaPortAp_r10_2_encode_der, - srs_AntennaPortAp_r10_2_decode_xer, - srs_AntennaPortAp_r10_2_encode_xer, - srs_AntennaPortAp_r10_2_decode_uper, - srs_AntennaPortAp_r10_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_srs_AntennaPortAp_r10_tags_2, - sizeof(asn_DEF_srs_AntennaPortAp_r10_tags_2) - /sizeof(asn_DEF_srs_AntennaPortAp_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_srs_AntennaPortAp_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_srs_AntennaPortAp_r10_tags_2) - /sizeof(asn_DEF_srs_AntennaPortAp_r10_tags_2[0]), /* 2 */ - &asn_PER_type_srs_AntennaPortAp_r10_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_srs_AntennaPortAp_r10_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_srs_BandwidthAp_r10_value2enum_7[] = { - { 0, 3, "bw0" }, - { 1, 3, "bw1" }, - { 2, 3, "bw2" }, - { 3, 3, "bw3" } -}; -static unsigned int asn_MAP_srs_BandwidthAp_r10_enum2value_7[] = { - 0, /* bw0(0) */ - 1, /* bw1(1) */ - 2, /* bw2(2) */ - 3 /* bw3(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_srs_BandwidthAp_r10_specs_7 = { - asn_MAP_srs_BandwidthAp_r10_value2enum_7, /* "tag" => N; sorted by tag */ - asn_MAP_srs_BandwidthAp_r10_enum2value_7, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_srs_BandwidthAp_r10_tags_7[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_srs_BandwidthAp_r10_7 = { - "srs-BandwidthAp-r10", - "srs-BandwidthAp-r10", - srs_BandwidthAp_r10_7_free, - srs_BandwidthAp_r10_7_print, - srs_BandwidthAp_r10_7_constraint, - srs_BandwidthAp_r10_7_decode_ber, - srs_BandwidthAp_r10_7_encode_der, - srs_BandwidthAp_r10_7_decode_xer, - srs_BandwidthAp_r10_7_encode_xer, - srs_BandwidthAp_r10_7_decode_uper, - srs_BandwidthAp_r10_7_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_srs_BandwidthAp_r10_tags_7, - sizeof(asn_DEF_srs_BandwidthAp_r10_tags_7) - /sizeof(asn_DEF_srs_BandwidthAp_r10_tags_7[0]) - 1, /* 1 */ - asn_DEF_srs_BandwidthAp_r10_tags_7, /* Same as above */ - sizeof(asn_DEF_srs_BandwidthAp_r10_tags_7) - /sizeof(asn_DEF_srs_BandwidthAp_r10_tags_7[0]), /* 2 */ - &asn_PER_type_srs_BandwidthAp_r10_constr_7, - 0, 0, /* Defined elsewhere */ - &asn_SPC_srs_BandwidthAp_r10_specs_7 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_cyclicShiftAp_r10_value2enum_14[] = { - { 0, 3, "cs0" }, - { 1, 3, "cs1" }, - { 2, 3, "cs2" }, - { 3, 3, "cs3" }, - { 4, 3, "cs4" }, - { 5, 3, "cs5" }, - { 6, 3, "cs6" }, - { 7, 3, "cs7" } -}; -static unsigned int asn_MAP_cyclicShiftAp_r10_enum2value_14[] = { - 0, /* cs0(0) */ - 1, /* cs1(1) */ - 2, /* cs2(2) */ - 3, /* cs3(3) */ - 4, /* cs4(4) */ - 5, /* cs5(5) */ - 6, /* cs6(6) */ - 7 /* cs7(7) */ -}; -static asn_INTEGER_specifics_t asn_SPC_cyclicShiftAp_r10_specs_14 = { - asn_MAP_cyclicShiftAp_r10_value2enum_14, /* "tag" => N; sorted by tag */ - asn_MAP_cyclicShiftAp_r10_enum2value_14, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_cyclicShiftAp_r10_tags_14[] = { - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cyclicShiftAp_r10_14 = { - "cyclicShiftAp-r10", - "cyclicShiftAp-r10", - cyclicShiftAp_r10_14_free, - cyclicShiftAp_r10_14_print, - cyclicShiftAp_r10_14_constraint, - cyclicShiftAp_r10_14_decode_ber, - cyclicShiftAp_r10_14_encode_der, - cyclicShiftAp_r10_14_decode_xer, - cyclicShiftAp_r10_14_encode_xer, - cyclicShiftAp_r10_14_decode_uper, - cyclicShiftAp_r10_14_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_cyclicShiftAp_r10_tags_14, - sizeof(asn_DEF_cyclicShiftAp_r10_tags_14) - /sizeof(asn_DEF_cyclicShiftAp_r10_tags_14[0]) - 1, /* 1 */ - asn_DEF_cyclicShiftAp_r10_tags_14, /* Same as above */ - sizeof(asn_DEF_cyclicShiftAp_r10_tags_14) - /sizeof(asn_DEF_cyclicShiftAp_r10_tags_14[0]), /* 2 */ - &asn_PER_type_cyclicShiftAp_r10_constr_14, - 0, 0, /* Defined elsewhere */ - &asn_SPC_cyclicShiftAp_r10_specs_14 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SRS_ConfigAp_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SRS_ConfigAp_r10, srs_AntennaPortAp_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_srs_AntennaPortAp_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "srs-AntennaPortAp-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct SRS_ConfigAp_r10, srs_BandwidthAp_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_srs_BandwidthAp_r10_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "srs-BandwidthAp-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct SRS_ConfigAp_r10, freqDomainPositionAp_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_freqDomainPositionAp_r10_constraint_1, - &asn_PER_memb_freqDomainPositionAp_r10_constr_12, - 0, - "freqDomainPositionAp-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct SRS_ConfigAp_r10, transmissionCombAp_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_transmissionCombAp_r10_constraint_1, - &asn_PER_memb_transmissionCombAp_r10_constr_13, - 0, - "transmissionCombAp-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct SRS_ConfigAp_r10, cyclicShiftAp_r10), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_cyclicShiftAp_r10_14, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cyclicShiftAp-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_SRS_ConfigAp_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SRS_ConfigAp_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* srs-AntennaPortAp-r10 at 2718 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* srs-BandwidthAp-r10 at 2719 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* freqDomainPositionAp-r10 at 2720 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* transmissionCombAp-r10 at 2721 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* cyclicShiftAp-r10 at 2722 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SRS_ConfigAp_r10_specs_1 = { - sizeof(struct SRS_ConfigAp_r10), - offsetof(struct SRS_ConfigAp_r10, _asn_ctx), - asn_MAP_SRS_ConfigAp_r10_tag2el_1, - 5, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SRS_ConfigAp_r10 = { - "SRS-ConfigAp-r10", - "SRS-ConfigAp-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SRS_ConfigAp_r10_tags_1, - sizeof(asn_DEF_SRS_ConfigAp_r10_tags_1) - /sizeof(asn_DEF_SRS_ConfigAp_r10_tags_1[0]), /* 1 */ - asn_DEF_SRS_ConfigAp_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_SRS_ConfigAp_r10_tags_1) - /sizeof(asn_DEF_SRS_ConfigAp_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SRS_ConfigAp_r10_1, - 5, /* Elements count */ - &asn_SPC_SRS_ConfigAp_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SchedulingInfo.c b/lte/rrc/lib/asn/src/SchedulingInfo.c deleted file mode 100644 index 04cf9553e..000000000 --- a/lte/rrc/lib/asn/src/SchedulingInfo.c +++ /dev/null @@ -1,219 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SchedulingInfo.h" - -static int -si_Periodicity_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -si_Periodicity_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -si_Periodicity_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - si_Periodicity_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -si_Periodicity_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - si_Periodicity_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -si_Periodicity_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - si_Periodicity_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -si_Periodicity_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - si_Periodicity_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -si_Periodicity_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - si_Periodicity_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -si_Periodicity_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - si_Periodicity_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -si_Periodicity_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - si_Periodicity_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -si_Periodicity_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - si_Periodicity_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_si_Periodicity_constr_2 = { - { APC_CONSTRAINED, 3, 3, 0, 6 } /* (0..6) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_si_Periodicity_value2enum_2[] = { - { 0, 3, "rf8" }, - { 1, 4, "rf16" }, - { 2, 4, "rf32" }, - { 3, 4, "rf64" }, - { 4, 5, "rf128" }, - { 5, 5, "rf256" }, - { 6, 5, "rf512" } -}; -static unsigned int asn_MAP_si_Periodicity_enum2value_2[] = { - 4, /* rf128(4) */ - 1, /* rf16(1) */ - 5, /* rf256(5) */ - 2, /* rf32(2) */ - 6, /* rf512(6) */ - 3, /* rf64(3) */ - 0 /* rf8(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_si_Periodicity_specs_2 = { - asn_MAP_si_Periodicity_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_si_Periodicity_enum2value_2, /* N => "tag"; sorted by N */ - 7, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_si_Periodicity_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_si_Periodicity_2 = { - "si-Periodicity", - "si-Periodicity", - si_Periodicity_2_free, - si_Periodicity_2_print, - si_Periodicity_2_constraint, - si_Periodicity_2_decode_ber, - si_Periodicity_2_encode_der, - si_Periodicity_2_decode_xer, - si_Periodicity_2_encode_xer, - si_Periodicity_2_decode_uper, - si_Periodicity_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_si_Periodicity_tags_2, - sizeof(asn_DEF_si_Periodicity_tags_2) - /sizeof(asn_DEF_si_Periodicity_tags_2[0]) - 1, /* 1 */ - asn_DEF_si_Periodicity_tags_2, /* Same as above */ - sizeof(asn_DEF_si_Periodicity_tags_2) - /sizeof(asn_DEF_si_Periodicity_tags_2[0]), /* 2 */ - &asn_PER_type_si_Periodicity_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_si_Periodicity_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SchedulingInfo_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SchedulingInfo, si_Periodicity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_si_Periodicity_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "si-Periodicity" - }, - { ATF_NOFLAGS, 0, offsetof(struct SchedulingInfo, sib_MappingInfo), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SIB_MappingInfo, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sib-MappingInfo" - }, -}; -static ber_tlv_tag_t asn_DEF_SchedulingInfo_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SchedulingInfo_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* si-Periodicity at 1215 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* sib-MappingInfo at 1217 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SchedulingInfo_specs_1 = { - sizeof(struct SchedulingInfo), - offsetof(struct SchedulingInfo, _asn_ctx), - asn_MAP_SchedulingInfo_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SchedulingInfo = { - "SchedulingInfo", - "SchedulingInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SchedulingInfo_tags_1, - sizeof(asn_DEF_SchedulingInfo_tags_1) - /sizeof(asn_DEF_SchedulingInfo_tags_1[0]), /* 1 */ - asn_DEF_SchedulingInfo_tags_1, /* Same as above */ - sizeof(asn_DEF_SchedulingInfo_tags_1) - /sizeof(asn_DEF_SchedulingInfo_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SchedulingInfo_1, - 2, /* Elements count */ - &asn_SPC_SchedulingInfo_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SchedulingInfoList.c b/lte/rrc/lib/asn/src/SchedulingInfoList.c deleted file mode 100644 index 7d0bd1bd0..000000000 --- a/lte/rrc/lib/asn/src/SchedulingInfoList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SchedulingInfoList.h" - -static asn_per_constraints_t asn_PER_type_SchedulingInfoList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SchedulingInfoList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_SchedulingInfo, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_SchedulingInfoList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_SchedulingInfoList_specs_1 = { - sizeof(struct SchedulingInfoList), - offsetof(struct SchedulingInfoList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_SchedulingInfoList = { - "SchedulingInfoList", - "SchedulingInfoList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SchedulingInfoList_tags_1, - sizeof(asn_DEF_SchedulingInfoList_tags_1) - /sizeof(asn_DEF_SchedulingInfoList_tags_1[0]), /* 1 */ - asn_DEF_SchedulingInfoList_tags_1, /* Same as above */ - sizeof(asn_DEF_SchedulingInfoList_tags_1) - /sizeof(asn_DEF_SchedulingInfoList_tags_1[0]), /* 1 */ - &asn_PER_type_SchedulingInfoList_constr_1, - asn_MBR_SchedulingInfoList_1, - 1, /* Single element */ - &asn_SPC_SchedulingInfoList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SchedulingRequestConfig-v1020.c b/lte/rrc/lib/asn/src/SchedulingRequestConfig-v1020.c deleted file mode 100644 index 85640f751..000000000 --- a/lte/rrc/lib/asn/src/SchedulingRequestConfig-v1020.c +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SchedulingRequestConfig-v1020.h" - -static int -memb_sr_PUCCH_ResourceIndexP1_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 2047)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_sr_PUCCH_ResourceIndexP1_r10_constr_2 = { - { APC_CONSTRAINED, 11, 11, 0, 2047 } /* (0..2047) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SchedulingRequestConfig_v1020_1[] = { - { ATF_POINTER, 1, offsetof(struct SchedulingRequestConfig_v1020, sr_PUCCH_ResourceIndexP1_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sr_PUCCH_ResourceIndexP1_r10_constraint_1, - &asn_PER_memb_sr_PUCCH_ResourceIndexP1_r10_constr_2, - 0, - "sr-PUCCH-ResourceIndexP1-r10" - }, -}; -static int asn_MAP_SchedulingRequestConfig_v1020_oms_1[] = { 0 }; -static ber_tlv_tag_t asn_DEF_SchedulingRequestConfig_v1020_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SchedulingRequestConfig_v1020_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* sr-PUCCH-ResourceIndexP1-r10 at 2668 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SchedulingRequestConfig_v1020_specs_1 = { - sizeof(struct SchedulingRequestConfig_v1020), - offsetof(struct SchedulingRequestConfig_v1020, _asn_ctx), - asn_MAP_SchedulingRequestConfig_v1020_tag2el_1, - 1, /* Count of tags in the map */ - asn_MAP_SchedulingRequestConfig_v1020_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SchedulingRequestConfig_v1020 = { - "SchedulingRequestConfig-v1020", - "SchedulingRequestConfig-v1020", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SchedulingRequestConfig_v1020_tags_1, - sizeof(asn_DEF_SchedulingRequestConfig_v1020_tags_1) - /sizeof(asn_DEF_SchedulingRequestConfig_v1020_tags_1[0]), /* 1 */ - asn_DEF_SchedulingRequestConfig_v1020_tags_1, /* Same as above */ - sizeof(asn_DEF_SchedulingRequestConfig_v1020_tags_1) - /sizeof(asn_DEF_SchedulingRequestConfig_v1020_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SchedulingRequestConfig_v1020_1, - 1, /* Elements count */ - &asn_SPC_SchedulingRequestConfig_v1020_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SchedulingRequestConfig.c b/lte/rrc/lib/asn/src/SchedulingRequestConfig.c deleted file mode 100644 index 146b82661..000000000 --- a/lte/rrc/lib/asn/src/SchedulingRequestConfig.c +++ /dev/null @@ -1,355 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SchedulingRequestConfig.h" - -static int -dsr_TransMax_6_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -dsr_TransMax_6_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -dsr_TransMax_6_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - dsr_TransMax_6_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -dsr_TransMax_6_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - dsr_TransMax_6_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -dsr_TransMax_6_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - dsr_TransMax_6_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -dsr_TransMax_6_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - dsr_TransMax_6_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -dsr_TransMax_6_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - dsr_TransMax_6_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -dsr_TransMax_6_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - dsr_TransMax_6_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -dsr_TransMax_6_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - dsr_TransMax_6_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -dsr_TransMax_6_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - dsr_TransMax_6_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_sr_PUCCH_ResourceIndex_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 2047)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_sr_ConfigIndex_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 157)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_dsr_TransMax_constr_6 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sr_PUCCH_ResourceIndex_constr_4 = { - { APC_CONSTRAINED, 11, 11, 0, 2047 } /* (0..2047) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sr_ConfigIndex_constr_5 = { - { APC_CONSTRAINED, 8, 8, 0, 157 } /* (0..157) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_SchedulingRequestConfig_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_dsr_TransMax_value2enum_6[] = { - { 0, 2, "n4" }, - { 1, 2, "n8" }, - { 2, 3, "n16" }, - { 3, 3, "n32" }, - { 4, 3, "n64" }, - { 5, 6, "spare3" }, - { 6, 6, "spare2" }, - { 7, 6, "spare1" } -}; -static unsigned int asn_MAP_dsr_TransMax_enum2value_6[] = { - 2, /* n16(2) */ - 3, /* n32(3) */ - 0, /* n4(0) */ - 4, /* n64(4) */ - 1, /* n8(1) */ - 7, /* spare1(7) */ - 6, /* spare2(6) */ - 5 /* spare3(5) */ -}; -static asn_INTEGER_specifics_t asn_SPC_dsr_TransMax_specs_6 = { - asn_MAP_dsr_TransMax_value2enum_6, /* "tag" => N; sorted by tag */ - asn_MAP_dsr_TransMax_enum2value_6, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_dsr_TransMax_tags_6[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_dsr_TransMax_6 = { - "dsr-TransMax", - "dsr-TransMax", - dsr_TransMax_6_free, - dsr_TransMax_6_print, - dsr_TransMax_6_constraint, - dsr_TransMax_6_decode_ber, - dsr_TransMax_6_encode_der, - dsr_TransMax_6_decode_xer, - dsr_TransMax_6_encode_xer, - dsr_TransMax_6_decode_uper, - dsr_TransMax_6_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_dsr_TransMax_tags_6, - sizeof(asn_DEF_dsr_TransMax_tags_6) - /sizeof(asn_DEF_dsr_TransMax_tags_6[0]) - 1, /* 1 */ - asn_DEF_dsr_TransMax_tags_6, /* Same as above */ - sizeof(asn_DEF_dsr_TransMax_tags_6) - /sizeof(asn_DEF_dsr_TransMax_tags_6[0]), /* 2 */ - &asn_PER_type_dsr_TransMax_constr_6, - 0, 0, /* Defined elsewhere */ - &asn_SPC_dsr_TransMax_specs_6 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestConfig__setup, sr_PUCCH_ResourceIndex), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sr_PUCCH_ResourceIndex_constraint_3, - &asn_PER_memb_sr_PUCCH_ResourceIndex_constr_4, - 0, - "sr-PUCCH-ResourceIndex" - }, - { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestConfig__setup, sr_ConfigIndex), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_sr_ConfigIndex_constraint_3, - &asn_PER_memb_sr_ConfigIndex_constr_5, - 0, - "sr-ConfigIndex" - }, - { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestConfig__setup, dsr_TransMax), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_dsr_TransMax_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dsr-TransMax" - }, -}; -static ber_tlv_tag_t asn_DEF_setup_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sr-PUCCH-ResourceIndex at 2660 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* sr-ConfigIndex at 2661 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* dsr-TransMax at 2663 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_3 = { - sizeof(struct SchedulingRequestConfig__setup), - offsetof(struct SchedulingRequestConfig__setup, _asn_ctx), - asn_MAP_setup_tag2el_3, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_3 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_3, - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]) - 1, /* 1 */ - asn_DEF_setup_tags_3, /* Same as above */ - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_3, - 3, /* Elements count */ - &asn_SPC_setup_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SchedulingRequestConfig_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestConfig, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct SchedulingRequestConfig, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_SchedulingRequestConfig_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 2658 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 2660 */ -}; -static asn_CHOICE_specifics_t asn_SPC_SchedulingRequestConfig_specs_1 = { - sizeof(struct SchedulingRequestConfig), - offsetof(struct SchedulingRequestConfig, _asn_ctx), - offsetof(struct SchedulingRequestConfig, present), - sizeof(((struct SchedulingRequestConfig *)0)->present), - asn_MAP_SchedulingRequestConfig_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_SchedulingRequestConfig = { - "SchedulingRequestConfig", - "SchedulingRequestConfig", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_SchedulingRequestConfig_constr_1, - asn_MBR_SchedulingRequestConfig_1, - 2, /* Elements count */ - &asn_SPC_SchedulingRequestConfig_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SecondaryPreRegistrationZoneIdListHRPD.c b/lte/rrc/lib/asn/src/SecondaryPreRegistrationZoneIdListHRPD.c deleted file mode 100644 index 4b096efaf..000000000 --- a/lte/rrc/lib/asn/src/SecondaryPreRegistrationZoneIdListHRPD.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SecondaryPreRegistrationZoneIdListHRPD.h" - -static asn_per_constraints_t asn_PER_type_SecondaryPreRegistrationZoneIdListHRPD_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 1, 1, 1, 2 } /* (SIZE(1..2)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SecondaryPreRegistrationZoneIdListHRPD_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_PreRegistrationZoneIdHRPD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_SecondaryPreRegistrationZoneIdListHRPD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_SecondaryPreRegistrationZoneIdListHRPD_specs_1 = { - sizeof(struct SecondaryPreRegistrationZoneIdListHRPD), - offsetof(struct SecondaryPreRegistrationZoneIdListHRPD, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_SecondaryPreRegistrationZoneIdListHRPD = { - "SecondaryPreRegistrationZoneIdListHRPD", - "SecondaryPreRegistrationZoneIdListHRPD", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SecondaryPreRegistrationZoneIdListHRPD_tags_1, - sizeof(asn_DEF_SecondaryPreRegistrationZoneIdListHRPD_tags_1) - /sizeof(asn_DEF_SecondaryPreRegistrationZoneIdListHRPD_tags_1[0]), /* 1 */ - asn_DEF_SecondaryPreRegistrationZoneIdListHRPD_tags_1, /* Same as above */ - sizeof(asn_DEF_SecondaryPreRegistrationZoneIdListHRPD_tags_1) - /sizeof(asn_DEF_SecondaryPreRegistrationZoneIdListHRPD_tags_1[0]), /* 1 */ - &asn_PER_type_SecondaryPreRegistrationZoneIdListHRPD_constr_1, - asn_MBR_SecondaryPreRegistrationZoneIdListHRPD_1, - 1, /* Single element */ - &asn_SPC_SecondaryPreRegistrationZoneIdListHRPD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SecurityAlgorithmConfig.c b/lte/rrc/lib/asn/src/SecurityAlgorithmConfig.c deleted file mode 100644 index 8ed5c552b..000000000 --- a/lte/rrc/lib/asn/src/SecurityAlgorithmConfig.c +++ /dev/null @@ -1,376 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SecurityAlgorithmConfig.h" - -static int -cipheringAlgorithm_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -cipheringAlgorithm_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -cipheringAlgorithm_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - cipheringAlgorithm_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -cipheringAlgorithm_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - cipheringAlgorithm_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -cipheringAlgorithm_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - cipheringAlgorithm_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -cipheringAlgorithm_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - cipheringAlgorithm_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -cipheringAlgorithm_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - cipheringAlgorithm_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -cipheringAlgorithm_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - cipheringAlgorithm_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -cipheringAlgorithm_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - cipheringAlgorithm_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -cipheringAlgorithm_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - cipheringAlgorithm_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -integrityProtAlgorithm_12_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -integrityProtAlgorithm_12_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -integrityProtAlgorithm_12_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - integrityProtAlgorithm_12_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -integrityProtAlgorithm_12_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - integrityProtAlgorithm_12_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -integrityProtAlgorithm_12_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - integrityProtAlgorithm_12_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -integrityProtAlgorithm_12_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - integrityProtAlgorithm_12_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -integrityProtAlgorithm_12_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - integrityProtAlgorithm_12_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -integrityProtAlgorithm_12_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - integrityProtAlgorithm_12_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -integrityProtAlgorithm_12_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - integrityProtAlgorithm_12_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -integrityProtAlgorithm_12_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - integrityProtAlgorithm_12_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_cipheringAlgorithm_constr_2 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 7 } /* (0..7,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_integrityProtAlgorithm_constr_12 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 7 } /* (0..7,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_cipheringAlgorithm_value2enum_2[] = { - { 0, 4, "eea0" }, - { 1, 4, "eea1" }, - { 2, 4, "eea2" }, - { 3, 6, "spare5" }, - { 4, 6, "spare4" }, - { 5, 6, "spare3" }, - { 6, 6, "spare2" }, - { 7, 6, "spare1" } - /* This list is extensible */ -}; -static unsigned int asn_MAP_cipheringAlgorithm_enum2value_2[] = { - 0, /* eea0(0) */ - 1, /* eea1(1) */ - 2, /* eea2(2) */ - 7, /* spare1(7) */ - 6, /* spare2(6) */ - 5, /* spare3(5) */ - 4, /* spare4(4) */ - 3 /* spare5(3) */ - /* This list is extensible */ -}; -static asn_INTEGER_specifics_t asn_SPC_cipheringAlgorithm_specs_2 = { - asn_MAP_cipheringAlgorithm_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_cipheringAlgorithm_enum2value_2, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 9, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_cipheringAlgorithm_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cipheringAlgorithm_2 = { - "cipheringAlgorithm", - "cipheringAlgorithm", - cipheringAlgorithm_2_free, - cipheringAlgorithm_2_print, - cipheringAlgorithm_2_constraint, - cipheringAlgorithm_2_decode_ber, - cipheringAlgorithm_2_encode_der, - cipheringAlgorithm_2_decode_xer, - cipheringAlgorithm_2_encode_xer, - cipheringAlgorithm_2_decode_uper, - cipheringAlgorithm_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_cipheringAlgorithm_tags_2, - sizeof(asn_DEF_cipheringAlgorithm_tags_2) - /sizeof(asn_DEF_cipheringAlgorithm_tags_2[0]) - 1, /* 1 */ - asn_DEF_cipheringAlgorithm_tags_2, /* Same as above */ - sizeof(asn_DEF_cipheringAlgorithm_tags_2) - /sizeof(asn_DEF_cipheringAlgorithm_tags_2[0]), /* 2 */ - &asn_PER_type_cipheringAlgorithm_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_cipheringAlgorithm_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_integrityProtAlgorithm_value2enum_12[] = { - { 0, 9, "eia0-v920" }, - { 1, 4, "eia1" }, - { 2, 4, "eia2" }, - { 3, 6, "spare5" }, - { 4, 6, "spare4" }, - { 5, 6, "spare3" }, - { 6, 6, "spare2" }, - { 7, 6, "spare1" } - /* This list is extensible */ -}; -static unsigned int asn_MAP_integrityProtAlgorithm_enum2value_12[] = { - 0, /* eia0-v920(0) */ - 1, /* eia1(1) */ - 2, /* eia2(2) */ - 7, /* spare1(7) */ - 6, /* spare2(6) */ - 5, /* spare3(5) */ - 4, /* spare4(4) */ - 3 /* spare5(3) */ - /* This list is extensible */ -}; -static asn_INTEGER_specifics_t asn_SPC_integrityProtAlgorithm_specs_12 = { - asn_MAP_integrityProtAlgorithm_value2enum_12, /* "tag" => N; sorted by tag */ - asn_MAP_integrityProtAlgorithm_enum2value_12, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 9, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_integrityProtAlgorithm_tags_12[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_integrityProtAlgorithm_12 = { - "integrityProtAlgorithm", - "integrityProtAlgorithm", - integrityProtAlgorithm_12_free, - integrityProtAlgorithm_12_print, - integrityProtAlgorithm_12_constraint, - integrityProtAlgorithm_12_decode_ber, - integrityProtAlgorithm_12_encode_der, - integrityProtAlgorithm_12_decode_xer, - integrityProtAlgorithm_12_encode_xer, - integrityProtAlgorithm_12_decode_uper, - integrityProtAlgorithm_12_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_integrityProtAlgorithm_tags_12, - sizeof(asn_DEF_integrityProtAlgorithm_tags_12) - /sizeof(asn_DEF_integrityProtAlgorithm_tags_12[0]) - 1, /* 1 */ - asn_DEF_integrityProtAlgorithm_tags_12, /* Same as above */ - sizeof(asn_DEF_integrityProtAlgorithm_tags_12) - /sizeof(asn_DEF_integrityProtAlgorithm_tags_12[0]), /* 2 */ - &asn_PER_type_integrityProtAlgorithm_constr_12, - 0, 0, /* Defined elsewhere */ - &asn_SPC_integrityProtAlgorithm_specs_12 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SecurityAlgorithmConfig_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SecurityAlgorithmConfig, cipheringAlgorithm), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_cipheringAlgorithm_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cipheringAlgorithm" - }, - { ATF_NOFLAGS, 0, offsetof(struct SecurityAlgorithmConfig, integrityProtAlgorithm), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_integrityProtAlgorithm_12, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "integrityProtAlgorithm" - }, -}; -static ber_tlv_tag_t asn_DEF_SecurityAlgorithmConfig_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SecurityAlgorithmConfig_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cipheringAlgorithm at 2864 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* integrityProtAlgorithm at 2867 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SecurityAlgorithmConfig_specs_1 = { - sizeof(struct SecurityAlgorithmConfig), - offsetof(struct SecurityAlgorithmConfig, _asn_ctx), - asn_MAP_SecurityAlgorithmConfig_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SecurityAlgorithmConfig = { - "SecurityAlgorithmConfig", - "SecurityAlgorithmConfig", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SecurityAlgorithmConfig_tags_1, - sizeof(asn_DEF_SecurityAlgorithmConfig_tags_1) - /sizeof(asn_DEF_SecurityAlgorithmConfig_tags_1[0]), /* 1 */ - asn_DEF_SecurityAlgorithmConfig_tags_1, /* Same as above */ - sizeof(asn_DEF_SecurityAlgorithmConfig_tags_1) - /sizeof(asn_DEF_SecurityAlgorithmConfig_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SecurityAlgorithmConfig_1, - 2, /* Elements count */ - &asn_SPC_SecurityAlgorithmConfig_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SecurityConfigHO.c b/lte/rrc/lib/asn/src/SecurityConfigHO.c deleted file mode 100644 index 0238e3ce7..000000000 --- a/lte/rrc/lib/asn/src/SecurityConfigHO.c +++ /dev/null @@ -1,292 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SecurityConfigHO.h" - -static int -memb_nas_SecurityParamToEUTRA_constraint_7(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - size = st->size; - - if((size == 6)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_nas_SecurityParamToEUTRA_constr_9 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 6, 6 } /* (SIZE(6..6)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_handoverType_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_intraLTE_3[] = { - { ATF_POINTER, 1, offsetof(struct SecurityConfigHO__handoverType__intraLTE, securityAlgorithmConfig), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SecurityAlgorithmConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "securityAlgorithmConfig" - }, - { ATF_NOFLAGS, 0, offsetof(struct SecurityConfigHO__handoverType__intraLTE, keyChangeIndicator), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "keyChangeIndicator" - }, - { ATF_NOFLAGS, 0, offsetof(struct SecurityConfigHO__handoverType__intraLTE, nextHopChainingCount), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NextHopChainingCount, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nextHopChainingCount" - }, -}; -static int asn_MAP_intraLTE_oms_3[] = { 0 }; -static ber_tlv_tag_t asn_DEF_intraLTE_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_intraLTE_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* securityAlgorithmConfig at 686 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* keyChangeIndicator at 687 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* nextHopChainingCount at 689 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_intraLTE_specs_3 = { - sizeof(struct SecurityConfigHO__handoverType__intraLTE), - offsetof(struct SecurityConfigHO__handoverType__intraLTE, _asn_ctx), - asn_MAP_intraLTE_tag2el_3, - 3, /* Count of tags in the map */ - asn_MAP_intraLTE_oms_3, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_intraLTE_3 = { - "intraLTE", - "intraLTE", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_intraLTE_tags_3, - sizeof(asn_DEF_intraLTE_tags_3) - /sizeof(asn_DEF_intraLTE_tags_3[0]) - 1, /* 1 */ - asn_DEF_intraLTE_tags_3, /* Same as above */ - sizeof(asn_DEF_intraLTE_tags_3) - /sizeof(asn_DEF_intraLTE_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_intraLTE_3, - 3, /* Elements count */ - &asn_SPC_intraLTE_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_interRAT_7[] = { - { ATF_NOFLAGS, 0, offsetof(struct SecurityConfigHO__handoverType__interRAT, securityAlgorithmConfig), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SecurityAlgorithmConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "securityAlgorithmConfig" - }, - { ATF_NOFLAGS, 0, offsetof(struct SecurityConfigHO__handoverType__interRAT, nas_SecurityParamToEUTRA), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_nas_SecurityParamToEUTRA_constraint_7, - &asn_PER_memb_nas_SecurityParamToEUTRA_constr_9, - 0, - "nas-SecurityParamToEUTRA" - }, -}; -static ber_tlv_tag_t asn_DEF_interRAT_tags_7[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_interRAT_tag2el_7[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* securityAlgorithmConfig at 691 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nas-SecurityParamToEUTRA at 692 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_interRAT_specs_7 = { - sizeof(struct SecurityConfigHO__handoverType__interRAT), - offsetof(struct SecurityConfigHO__handoverType__interRAT, _asn_ctx), - asn_MAP_interRAT_tag2el_7, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_interRAT_7 = { - "interRAT", - "interRAT", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_interRAT_tags_7, - sizeof(asn_DEF_interRAT_tags_7) - /sizeof(asn_DEF_interRAT_tags_7[0]) - 1, /* 1 */ - asn_DEF_interRAT_tags_7, /* Same as above */ - sizeof(asn_DEF_interRAT_tags_7) - /sizeof(asn_DEF_interRAT_tags_7[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_interRAT_7, - 2, /* Elements count */ - &asn_SPC_interRAT_specs_7 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_handoverType_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct SecurityConfigHO__handoverType, choice.intraLTE), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_intraLTE_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "intraLTE" - }, - { ATF_NOFLAGS, 0, offsetof(struct SecurityConfigHO__handoverType, choice.interRAT), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_interRAT_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interRAT" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_handoverType_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* intraLTE at 686 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* interRAT at 691 */ -}; -static asn_CHOICE_specifics_t asn_SPC_handoverType_specs_2 = { - sizeof(struct SecurityConfigHO__handoverType), - offsetof(struct SecurityConfigHO__handoverType, _asn_ctx), - offsetof(struct SecurityConfigHO__handoverType, present), - sizeof(((struct SecurityConfigHO__handoverType *)0)->present), - asn_MAP_handoverType_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_handoverType_2 = { - "handoverType", - "handoverType", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_handoverType_constr_2, - asn_MBR_handoverType_2, - 2, /* Elements count */ - &asn_SPC_handoverType_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SecurityConfigHO_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SecurityConfigHO, handoverType), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_handoverType_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "handoverType" - }, -}; -static ber_tlv_tag_t asn_DEF_SecurityConfigHO_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SecurityConfigHO_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* handoverType at 689 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SecurityConfigHO_specs_1 = { - sizeof(struct SecurityConfigHO), - offsetof(struct SecurityConfigHO, _asn_ctx), - asn_MAP_SecurityConfigHO_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 0, /* Start extensions */ - 2 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SecurityConfigHO = { - "SecurityConfigHO", - "SecurityConfigHO", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SecurityConfigHO_tags_1, - sizeof(asn_DEF_SecurityConfigHO_tags_1) - /sizeof(asn_DEF_SecurityConfigHO_tags_1[0]), /* 1 */ - asn_DEF_SecurityConfigHO_tags_1, /* Same as above */ - sizeof(asn_DEF_SecurityConfigHO_tags_1) - /sizeof(asn_DEF_SecurityConfigHO_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SecurityConfigHO_1, - 1, /* Elements count */ - &asn_SPC_SecurityConfigHO_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SecurityConfigSMC.c b/lte/rrc/lib/asn/src/SecurityConfigSMC.c deleted file mode 100644 index accad8d38..000000000 --- a/lte/rrc/lib/asn/src/SecurityConfigSMC.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SecurityConfigSMC.h" - -static asn_TYPE_member_t asn_MBR_SecurityConfigSMC_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SecurityConfigSMC, securityAlgorithmConfig), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SecurityAlgorithmConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "securityAlgorithmConfig" - }, -}; -static ber_tlv_tag_t asn_DEF_SecurityConfigSMC_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SecurityConfigSMC_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* securityAlgorithmConfig at 1096 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SecurityConfigSMC_specs_1 = { - sizeof(struct SecurityConfigSMC), - offsetof(struct SecurityConfigSMC, _asn_ctx), - asn_MAP_SecurityConfigSMC_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 0, /* Start extensions */ - 2 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SecurityConfigSMC = { - "SecurityConfigSMC", - "SecurityConfigSMC", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SecurityConfigSMC_tags_1, - sizeof(asn_DEF_SecurityConfigSMC_tags_1) - /sizeof(asn_DEF_SecurityConfigSMC_tags_1[0]), /* 1 */ - asn_DEF_SecurityConfigSMC_tags_1, /* Same as above */ - sizeof(asn_DEF_SecurityConfigSMC_tags_1) - /sizeof(asn_DEF_SecurityConfigSMC_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SecurityConfigSMC_1, - 1, /* Elements count */ - &asn_SPC_SecurityConfigSMC_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SecurityModeCommand-r8-IEs.c b/lte/rrc/lib/asn/src/SecurityModeCommand-r8-IEs.c deleted file mode 100644 index 39c7a553d..000000000 --- a/lte/rrc/lib/asn/src/SecurityModeCommand-r8-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SecurityModeCommand-r8-IEs.h" - -static asn_TYPE_member_t asn_MBR_SecurityModeCommand_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SecurityModeCommand_r8_IEs, securityConfigSMC), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SecurityConfigSMC, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "securityConfigSMC" - }, - { ATF_POINTER, 1, offsetof(struct SecurityModeCommand_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SecurityModeCommand_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_SecurityModeCommand_r8_IEs_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_SecurityModeCommand_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SecurityModeCommand_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* securityConfigSMC at 1086 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1087 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SecurityModeCommand_r8_IEs_specs_1 = { - sizeof(struct SecurityModeCommand_r8_IEs), - offsetof(struct SecurityModeCommand_r8_IEs, _asn_ctx), - asn_MAP_SecurityModeCommand_r8_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_SecurityModeCommand_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SecurityModeCommand_r8_IEs = { - "SecurityModeCommand-r8-IEs", - "SecurityModeCommand-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SecurityModeCommand_r8_IEs_tags_1, - sizeof(asn_DEF_SecurityModeCommand_r8_IEs_tags_1) - /sizeof(asn_DEF_SecurityModeCommand_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_SecurityModeCommand_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_SecurityModeCommand_r8_IEs_tags_1) - /sizeof(asn_DEF_SecurityModeCommand_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SecurityModeCommand_r8_IEs_1, - 2, /* Elements count */ - &asn_SPC_SecurityModeCommand_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SecurityModeCommand-v8a0-IEs.c b/lte/rrc/lib/asn/src/SecurityModeCommand-v8a0-IEs.c deleted file mode 100644 index 5ba5f5a8f..000000000 --- a/lte/rrc/lib/asn/src/SecurityModeCommand-v8a0-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SecurityModeCommand-v8a0-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct SecurityModeCommand_v8a0_IEs__nonCriticalExtension), - offsetof(struct SecurityModeCommand_v8a0_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SecurityModeCommand_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct SecurityModeCommand_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct SecurityModeCommand_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_SecurityModeCommand_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_SecurityModeCommand_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SecurityModeCommand_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 1091 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1092 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SecurityModeCommand_v8a0_IEs_specs_1 = { - sizeof(struct SecurityModeCommand_v8a0_IEs), - offsetof(struct SecurityModeCommand_v8a0_IEs, _asn_ctx), - asn_MAP_SecurityModeCommand_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_SecurityModeCommand_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SecurityModeCommand_v8a0_IEs = { - "SecurityModeCommand-v8a0-IEs", - "SecurityModeCommand-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SecurityModeCommand_v8a0_IEs_tags_1, - sizeof(asn_DEF_SecurityModeCommand_v8a0_IEs_tags_1) - /sizeof(asn_DEF_SecurityModeCommand_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_SecurityModeCommand_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_SecurityModeCommand_v8a0_IEs_tags_1) - /sizeof(asn_DEF_SecurityModeCommand_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SecurityModeCommand_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_SecurityModeCommand_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SecurityModeCommand.c b/lte/rrc/lib/asn/src/SecurityModeCommand.c deleted file mode 100644 index b3cf4ec22..000000000 --- a/lte/rrc/lib/asn/src/SecurityModeCommand.c +++ /dev/null @@ -1,254 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SecurityModeCommand.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_4 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct SecurityModeCommand__criticalExtensions__c1, choice.securityModeCommand_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SecurityModeCommand_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "securityModeCommand-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct SecurityModeCommand__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct SecurityModeCommand__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct SecurityModeCommand__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* securityModeCommand-r8 at 1078 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 at 1079 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 1079 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 1079 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_4 = { - sizeof(struct SecurityModeCommand__criticalExtensions__c1), - offsetof(struct SecurityModeCommand__criticalExtensions__c1, _asn_ctx), - offsetof(struct SecurityModeCommand__criticalExtensions__c1, present), - sizeof(((struct SecurityModeCommand__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_4, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_4 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_4, - asn_MBR_c1_4, - 4, /* Elements count */ - &asn_SPC_c1_specs_4 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_9 = { - sizeof(struct SecurityModeCommand__criticalExtensions__criticalExtensionsFuture), - offsetof(struct SecurityModeCommand__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_9 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_9, - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_9, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct SecurityModeCommand__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct SecurityModeCommand__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 1078 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 1081 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct SecurityModeCommand__criticalExtensions), - offsetof(struct SecurityModeCommand__criticalExtensions, _asn_ctx), - offsetof(struct SecurityModeCommand__criticalExtensions, present), - sizeof(((struct SecurityModeCommand__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SecurityModeCommand_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SecurityModeCommand, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct SecurityModeCommand, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_SecurityModeCommand_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SecurityModeCommand_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 1075 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 1080 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SecurityModeCommand_specs_1 = { - sizeof(struct SecurityModeCommand), - offsetof(struct SecurityModeCommand, _asn_ctx), - asn_MAP_SecurityModeCommand_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SecurityModeCommand = { - "SecurityModeCommand", - "SecurityModeCommand", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SecurityModeCommand_tags_1, - sizeof(asn_DEF_SecurityModeCommand_tags_1) - /sizeof(asn_DEF_SecurityModeCommand_tags_1[0]), /* 1 */ - asn_DEF_SecurityModeCommand_tags_1, /* Same as above */ - sizeof(asn_DEF_SecurityModeCommand_tags_1) - /sizeof(asn_DEF_SecurityModeCommand_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SecurityModeCommand_1, - 2, /* Elements count */ - &asn_SPC_SecurityModeCommand_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SecurityModeComplete-r8-IEs.c b/lte/rrc/lib/asn/src/SecurityModeComplete-r8-IEs.c deleted file mode 100644 index b11f88648..000000000 --- a/lte/rrc/lib/asn/src/SecurityModeComplete-r8-IEs.c +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SecurityModeComplete-r8-IEs.h" - -static asn_TYPE_member_t asn_MBR_SecurityModeComplete_r8_IEs_1[] = { - { ATF_POINTER, 1, offsetof(struct SecurityModeComplete_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SecurityModeComplete_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_SecurityModeComplete_r8_IEs_oms_1[] = { 0 }; -static ber_tlv_tag_t asn_DEF_SecurityModeComplete_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SecurityModeComplete_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* nonCriticalExtension at 1110 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SecurityModeComplete_r8_IEs_specs_1 = { - sizeof(struct SecurityModeComplete_r8_IEs), - offsetof(struct SecurityModeComplete_r8_IEs, _asn_ctx), - asn_MAP_SecurityModeComplete_r8_IEs_tag2el_1, - 1, /* Count of tags in the map */ - asn_MAP_SecurityModeComplete_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SecurityModeComplete_r8_IEs = { - "SecurityModeComplete-r8-IEs", - "SecurityModeComplete-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SecurityModeComplete_r8_IEs_tags_1, - sizeof(asn_DEF_SecurityModeComplete_r8_IEs_tags_1) - /sizeof(asn_DEF_SecurityModeComplete_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_SecurityModeComplete_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_SecurityModeComplete_r8_IEs_tags_1) - /sizeof(asn_DEF_SecurityModeComplete_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SecurityModeComplete_r8_IEs_1, - 1, /* Elements count */ - &asn_SPC_SecurityModeComplete_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SecurityModeComplete-v8a0-IEs.c b/lte/rrc/lib/asn/src/SecurityModeComplete-v8a0-IEs.c deleted file mode 100644 index 046e19213..000000000 --- a/lte/rrc/lib/asn/src/SecurityModeComplete-v8a0-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SecurityModeComplete-v8a0-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct SecurityModeComplete_v8a0_IEs__nonCriticalExtension), - offsetof(struct SecurityModeComplete_v8a0_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SecurityModeComplete_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct SecurityModeComplete_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct SecurityModeComplete_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_SecurityModeComplete_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_SecurityModeComplete_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SecurityModeComplete_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 1114 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1115 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SecurityModeComplete_v8a0_IEs_specs_1 = { - sizeof(struct SecurityModeComplete_v8a0_IEs), - offsetof(struct SecurityModeComplete_v8a0_IEs, _asn_ctx), - asn_MAP_SecurityModeComplete_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_SecurityModeComplete_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SecurityModeComplete_v8a0_IEs = { - "SecurityModeComplete-v8a0-IEs", - "SecurityModeComplete-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SecurityModeComplete_v8a0_IEs_tags_1, - sizeof(asn_DEF_SecurityModeComplete_v8a0_IEs_tags_1) - /sizeof(asn_DEF_SecurityModeComplete_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_SecurityModeComplete_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_SecurityModeComplete_v8a0_IEs_tags_1) - /sizeof(asn_DEF_SecurityModeComplete_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SecurityModeComplete_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_SecurityModeComplete_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SecurityModeComplete.c b/lte/rrc/lib/asn/src/SecurityModeComplete.c deleted file mode 100644 index b08bc2b71..000000000 --- a/lte/rrc/lib/asn/src/SecurityModeComplete.c +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SecurityModeComplete.h" - -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_5 = { - sizeof(struct SecurityModeComplete__criticalExtensions__criticalExtensionsFuture), - offsetof(struct SecurityModeComplete__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_5 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_5, - sizeof(asn_DEF_criticalExtensionsFuture_tags_5) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_5[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_5, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_5) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct SecurityModeComplete__criticalExtensions, choice.securityModeComplete_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SecurityModeComplete_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "securityModeComplete-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct SecurityModeComplete__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* securityModeComplete-r8 at 1104 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 1105 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct SecurityModeComplete__criticalExtensions), - offsetof(struct SecurityModeComplete__criticalExtensions, _asn_ctx), - offsetof(struct SecurityModeComplete__criticalExtensions, present), - sizeof(((struct SecurityModeComplete__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SecurityModeComplete_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SecurityModeComplete, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct SecurityModeComplete, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_SecurityModeComplete_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SecurityModeComplete_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 1102 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 1104 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SecurityModeComplete_specs_1 = { - sizeof(struct SecurityModeComplete), - offsetof(struct SecurityModeComplete, _asn_ctx), - asn_MAP_SecurityModeComplete_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SecurityModeComplete = { - "SecurityModeComplete", - "SecurityModeComplete", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SecurityModeComplete_tags_1, - sizeof(asn_DEF_SecurityModeComplete_tags_1) - /sizeof(asn_DEF_SecurityModeComplete_tags_1[0]), /* 1 */ - asn_DEF_SecurityModeComplete_tags_1, /* Same as above */ - sizeof(asn_DEF_SecurityModeComplete_tags_1) - /sizeof(asn_DEF_SecurityModeComplete_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SecurityModeComplete_1, - 2, /* Elements count */ - &asn_SPC_SecurityModeComplete_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SecurityModeFailure-r8-IEs.c b/lte/rrc/lib/asn/src/SecurityModeFailure-r8-IEs.c deleted file mode 100644 index 7b93cb08b..000000000 --- a/lte/rrc/lib/asn/src/SecurityModeFailure-r8-IEs.c +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SecurityModeFailure-r8-IEs.h" - -static asn_TYPE_member_t asn_MBR_SecurityModeFailure_r8_IEs_1[] = { - { ATF_POINTER, 1, offsetof(struct SecurityModeFailure_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SecurityModeFailure_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_SecurityModeFailure_r8_IEs_oms_1[] = { 0 }; -static ber_tlv_tag_t asn_DEF_SecurityModeFailure_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SecurityModeFailure_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* nonCriticalExtension at 1128 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SecurityModeFailure_r8_IEs_specs_1 = { - sizeof(struct SecurityModeFailure_r8_IEs), - offsetof(struct SecurityModeFailure_r8_IEs, _asn_ctx), - asn_MAP_SecurityModeFailure_r8_IEs_tag2el_1, - 1, /* Count of tags in the map */ - asn_MAP_SecurityModeFailure_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SecurityModeFailure_r8_IEs = { - "SecurityModeFailure-r8-IEs", - "SecurityModeFailure-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SecurityModeFailure_r8_IEs_tags_1, - sizeof(asn_DEF_SecurityModeFailure_r8_IEs_tags_1) - /sizeof(asn_DEF_SecurityModeFailure_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_SecurityModeFailure_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_SecurityModeFailure_r8_IEs_tags_1) - /sizeof(asn_DEF_SecurityModeFailure_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SecurityModeFailure_r8_IEs_1, - 1, /* Elements count */ - &asn_SPC_SecurityModeFailure_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SecurityModeFailure-v8a0-IEs.c b/lte/rrc/lib/asn/src/SecurityModeFailure-v8a0-IEs.c deleted file mode 100644 index 71de5d97c..000000000 --- a/lte/rrc/lib/asn/src/SecurityModeFailure-v8a0-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SecurityModeFailure-v8a0-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct SecurityModeFailure_v8a0_IEs__nonCriticalExtension), - offsetof(struct SecurityModeFailure_v8a0_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SecurityModeFailure_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct SecurityModeFailure_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct SecurityModeFailure_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_SecurityModeFailure_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_SecurityModeFailure_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SecurityModeFailure_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 1132 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1133 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SecurityModeFailure_v8a0_IEs_specs_1 = { - sizeof(struct SecurityModeFailure_v8a0_IEs), - offsetof(struct SecurityModeFailure_v8a0_IEs, _asn_ctx), - asn_MAP_SecurityModeFailure_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_SecurityModeFailure_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SecurityModeFailure_v8a0_IEs = { - "SecurityModeFailure-v8a0-IEs", - "SecurityModeFailure-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SecurityModeFailure_v8a0_IEs_tags_1, - sizeof(asn_DEF_SecurityModeFailure_v8a0_IEs_tags_1) - /sizeof(asn_DEF_SecurityModeFailure_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_SecurityModeFailure_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_SecurityModeFailure_v8a0_IEs_tags_1) - /sizeof(asn_DEF_SecurityModeFailure_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SecurityModeFailure_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_SecurityModeFailure_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SecurityModeFailure.c b/lte/rrc/lib/asn/src/SecurityModeFailure.c deleted file mode 100644 index 4e4fb28ca..000000000 --- a/lte/rrc/lib/asn/src/SecurityModeFailure.c +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SecurityModeFailure.h" - -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_5 = { - sizeof(struct SecurityModeFailure__criticalExtensions__criticalExtensionsFuture), - offsetof(struct SecurityModeFailure__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_5 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_5, - sizeof(asn_DEF_criticalExtensionsFuture_tags_5) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_5[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_5, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_5) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct SecurityModeFailure__criticalExtensions, choice.securityModeFailure_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SecurityModeFailure_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "securityModeFailure-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct SecurityModeFailure__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* securityModeFailure-r8 at 1122 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 1123 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct SecurityModeFailure__criticalExtensions), - offsetof(struct SecurityModeFailure__criticalExtensions, _asn_ctx), - offsetof(struct SecurityModeFailure__criticalExtensions, present), - sizeof(((struct SecurityModeFailure__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SecurityModeFailure_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SecurityModeFailure, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct SecurityModeFailure, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_SecurityModeFailure_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SecurityModeFailure_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 1120 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 1122 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SecurityModeFailure_specs_1 = { - sizeof(struct SecurityModeFailure), - offsetof(struct SecurityModeFailure, _asn_ctx), - asn_MAP_SecurityModeFailure_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SecurityModeFailure = { - "SecurityModeFailure", - "SecurityModeFailure", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SecurityModeFailure_tags_1, - sizeof(asn_DEF_SecurityModeFailure_tags_1) - /sizeof(asn_DEF_SecurityModeFailure_tags_1[0]), /* 1 */ - asn_DEF_SecurityModeFailure_tags_1, /* Same as above */ - sizeof(asn_DEF_SecurityModeFailure_tags_1) - /sizeof(asn_DEF_SecurityModeFailure_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SecurityModeFailure_1, - 2, /* Elements count */ - &asn_SPC_SecurityModeFailure_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ServCellIndex-r10.c b/lte/rrc/lib/asn/src/ServCellIndex-r10.c deleted file mode 100644 index d57875efe..000000000 --- a/lte/rrc/lib/asn/src/ServCellIndex-r10.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ServCellIndex-r10.h" - -int -ServCellIndex_r10_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -ServCellIndex_r10_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -ServCellIndex_r10_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ServCellIndex_r10_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -ServCellIndex_r10_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ServCellIndex_r10_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -ServCellIndex_r10_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ServCellIndex_r10_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -ServCellIndex_r10_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ServCellIndex_r10_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -ServCellIndex_r10_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ServCellIndex_r10_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -ServCellIndex_r10_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ServCellIndex_r10_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -ServCellIndex_r10_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ServCellIndex_r10_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -ServCellIndex_r10_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ServCellIndex_r10_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_ServCellIndex_r10_constr_1 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_ServCellIndex_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ServCellIndex_r10 = { - "ServCellIndex-r10", - "ServCellIndex-r10", - ServCellIndex_r10_free, - ServCellIndex_r10_print, - ServCellIndex_r10_constraint, - ServCellIndex_r10_decode_ber, - ServCellIndex_r10_encode_der, - ServCellIndex_r10_decode_xer, - ServCellIndex_r10_encode_xer, - ServCellIndex_r10_decode_uper, - ServCellIndex_r10_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ServCellIndex_r10_tags_1, - sizeof(asn_DEF_ServCellIndex_r10_tags_1) - /sizeof(asn_DEF_ServCellIndex_r10_tags_1[0]), /* 1 */ - asn_DEF_ServCellIndex_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_ServCellIndex_r10_tags_1) - /sizeof(asn_DEF_ServCellIndex_r10_tags_1[0]), /* 1 */ - &asn_PER_type_ServCellIndex_r10_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/ShortMAC-I.c b/lte/rrc/lib/asn/src/ShortMAC-I.c deleted file mode 100644 index 75a6b7765..000000000 --- a/lte/rrc/lib/asn/src/ShortMAC-I.c +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ShortMAC-I.h" - -int -ShortMAC_I_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using BIT_STRING, - * so here we adjust the DEF accordingly. - */ -static void -ShortMAC_I_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_BIT_STRING.free_struct; - td->print_struct = asn_DEF_BIT_STRING.print_struct; - td->ber_decoder = asn_DEF_BIT_STRING.ber_decoder; - td->der_encoder = asn_DEF_BIT_STRING.der_encoder; - td->xer_decoder = asn_DEF_BIT_STRING.xer_decoder; - td->xer_encoder = asn_DEF_BIT_STRING.xer_encoder; - td->uper_decoder = asn_DEF_BIT_STRING.uper_decoder; - td->uper_encoder = asn_DEF_BIT_STRING.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_BIT_STRING.per_constraints; - td->elements = asn_DEF_BIT_STRING.elements; - td->elements_count = asn_DEF_BIT_STRING.elements_count; - td->specifics = asn_DEF_BIT_STRING.specifics; -} - -void -ShortMAC_I_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ShortMAC_I_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -ShortMAC_I_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ShortMAC_I_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -ShortMAC_I_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ShortMAC_I_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -ShortMAC_I_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ShortMAC_I_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -ShortMAC_I_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ShortMAC_I_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -ShortMAC_I_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ShortMAC_I_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -ShortMAC_I_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ShortMAC_I_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -ShortMAC_I_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ShortMAC_I_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_ShortMAC_I_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_ShortMAC_I_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ShortMAC_I = { - "ShortMAC-I", - "ShortMAC-I", - ShortMAC_I_free, - ShortMAC_I_print, - ShortMAC_I_constraint, - ShortMAC_I_decode_ber, - ShortMAC_I_encode_der, - ShortMAC_I_decode_xer, - ShortMAC_I_encode_xer, - ShortMAC_I_decode_uper, - ShortMAC_I_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ShortMAC_I_tags_1, - sizeof(asn_DEF_ShortMAC_I_tags_1) - /sizeof(asn_DEF_ShortMAC_I_tags_1[0]), /* 1 */ - asn_DEF_ShortMAC_I_tags_1, /* Same as above */ - sizeof(asn_DEF_ShortMAC_I_tags_1) - /sizeof(asn_DEF_ShortMAC_I_tags_1[0]), /* 1 */ - &asn_PER_type_ShortMAC_I_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/SoundingRS-UL-ConfigCommon.c b/lte/rrc/lib/asn/src/SoundingRS-UL-ConfigCommon.c deleted file mode 100644 index 036795e87..000000000 --- a/lte/rrc/lib/asn/src/SoundingRS-UL-ConfigCommon.c +++ /dev/null @@ -1,611 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SoundingRS-UL-ConfigCommon.h" - -static int -srs_BandwidthConfig_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -srs_BandwidthConfig_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -srs_BandwidthConfig_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - srs_BandwidthConfig_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -srs_BandwidthConfig_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - srs_BandwidthConfig_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -srs_BandwidthConfig_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - srs_BandwidthConfig_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -srs_BandwidthConfig_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - srs_BandwidthConfig_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -srs_BandwidthConfig_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - srs_BandwidthConfig_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -srs_BandwidthConfig_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - srs_BandwidthConfig_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -srs_BandwidthConfig_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - srs_BandwidthConfig_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -srs_BandwidthConfig_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - srs_BandwidthConfig_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -srs_SubframeConfig_13_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -srs_SubframeConfig_13_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -srs_SubframeConfig_13_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - srs_SubframeConfig_13_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -srs_SubframeConfig_13_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - srs_SubframeConfig_13_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -srs_SubframeConfig_13_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - srs_SubframeConfig_13_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -srs_SubframeConfig_13_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - srs_SubframeConfig_13_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -srs_SubframeConfig_13_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - srs_SubframeConfig_13_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -srs_SubframeConfig_13_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - srs_SubframeConfig_13_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -srs_SubframeConfig_13_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - srs_SubframeConfig_13_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -srs_SubframeConfig_13_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - srs_SubframeConfig_13_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -srs_MaxUpPts_31_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -srs_MaxUpPts_31_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -srs_MaxUpPts_31_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - srs_MaxUpPts_31_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -srs_MaxUpPts_31_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - srs_MaxUpPts_31_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -srs_MaxUpPts_31_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - srs_MaxUpPts_31_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -srs_MaxUpPts_31_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - srs_MaxUpPts_31_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -srs_MaxUpPts_31_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - srs_MaxUpPts_31_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -srs_MaxUpPts_31_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - srs_MaxUpPts_31_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -srs_MaxUpPts_31_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - srs_MaxUpPts_31_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -srs_MaxUpPts_31_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - srs_MaxUpPts_31_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_srs_BandwidthConfig_constr_4 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_srs_SubframeConfig_constr_13 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_srs_MaxUpPts_constr_31 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_SoundingRS_UL_ConfigCommon_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_srs_BandwidthConfig_value2enum_4[] = { - { 0, 3, "bw0" }, - { 1, 3, "bw1" }, - { 2, 3, "bw2" }, - { 3, 3, "bw3" }, - { 4, 3, "bw4" }, - { 5, 3, "bw5" }, - { 6, 3, "bw6" }, - { 7, 3, "bw7" } -}; -static unsigned int asn_MAP_srs_BandwidthConfig_enum2value_4[] = { - 0, /* bw0(0) */ - 1, /* bw1(1) */ - 2, /* bw2(2) */ - 3, /* bw3(3) */ - 4, /* bw4(4) */ - 5, /* bw5(5) */ - 6, /* bw6(6) */ - 7 /* bw7(7) */ -}; -static asn_INTEGER_specifics_t asn_SPC_srs_BandwidthConfig_specs_4 = { - asn_MAP_srs_BandwidthConfig_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_srs_BandwidthConfig_enum2value_4, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_srs_BandwidthConfig_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_srs_BandwidthConfig_4 = { - "srs-BandwidthConfig", - "srs-BandwidthConfig", - srs_BandwidthConfig_4_free, - srs_BandwidthConfig_4_print, - srs_BandwidthConfig_4_constraint, - srs_BandwidthConfig_4_decode_ber, - srs_BandwidthConfig_4_encode_der, - srs_BandwidthConfig_4_decode_xer, - srs_BandwidthConfig_4_encode_xer, - srs_BandwidthConfig_4_decode_uper, - srs_BandwidthConfig_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_srs_BandwidthConfig_tags_4, - sizeof(asn_DEF_srs_BandwidthConfig_tags_4) - /sizeof(asn_DEF_srs_BandwidthConfig_tags_4[0]) - 1, /* 1 */ - asn_DEF_srs_BandwidthConfig_tags_4, /* Same as above */ - sizeof(asn_DEF_srs_BandwidthConfig_tags_4) - /sizeof(asn_DEF_srs_BandwidthConfig_tags_4[0]), /* 2 */ - &asn_PER_type_srs_BandwidthConfig_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_srs_BandwidthConfig_specs_4 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_srs_SubframeConfig_value2enum_13[] = { - { 0, 3, "sc0" }, - { 1, 3, "sc1" }, - { 2, 3, "sc2" }, - { 3, 3, "sc3" }, - { 4, 3, "sc4" }, - { 5, 3, "sc5" }, - { 6, 3, "sc6" }, - { 7, 3, "sc7" }, - { 8, 3, "sc8" }, - { 9, 3, "sc9" }, - { 10, 4, "sc10" }, - { 11, 4, "sc11" }, - { 12, 4, "sc12" }, - { 13, 4, "sc13" }, - { 14, 4, "sc14" }, - { 15, 4, "sc15" } -}; -static unsigned int asn_MAP_srs_SubframeConfig_enum2value_13[] = { - 0, /* sc0(0) */ - 1, /* sc1(1) */ - 10, /* sc10(10) */ - 11, /* sc11(11) */ - 12, /* sc12(12) */ - 13, /* sc13(13) */ - 14, /* sc14(14) */ - 15, /* sc15(15) */ - 2, /* sc2(2) */ - 3, /* sc3(3) */ - 4, /* sc4(4) */ - 5, /* sc5(5) */ - 6, /* sc6(6) */ - 7, /* sc7(7) */ - 8, /* sc8(8) */ - 9 /* sc9(9) */ -}; -static asn_INTEGER_specifics_t asn_SPC_srs_SubframeConfig_specs_13 = { - asn_MAP_srs_SubframeConfig_value2enum_13, /* "tag" => N; sorted by tag */ - asn_MAP_srs_SubframeConfig_enum2value_13, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_srs_SubframeConfig_tags_13[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_srs_SubframeConfig_13 = { - "srs-SubframeConfig", - "srs-SubframeConfig", - srs_SubframeConfig_13_free, - srs_SubframeConfig_13_print, - srs_SubframeConfig_13_constraint, - srs_SubframeConfig_13_decode_ber, - srs_SubframeConfig_13_encode_der, - srs_SubframeConfig_13_decode_xer, - srs_SubframeConfig_13_encode_xer, - srs_SubframeConfig_13_decode_uper, - srs_SubframeConfig_13_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_srs_SubframeConfig_tags_13, - sizeof(asn_DEF_srs_SubframeConfig_tags_13) - /sizeof(asn_DEF_srs_SubframeConfig_tags_13[0]) - 1, /* 1 */ - asn_DEF_srs_SubframeConfig_tags_13, /* Same as above */ - sizeof(asn_DEF_srs_SubframeConfig_tags_13) - /sizeof(asn_DEF_srs_SubframeConfig_tags_13[0]), /* 2 */ - &asn_PER_type_srs_SubframeConfig_constr_13, - 0, 0, /* Defined elsewhere */ - &asn_SPC_srs_SubframeConfig_specs_13 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_srs_MaxUpPts_value2enum_31[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_srs_MaxUpPts_enum2value_31[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_srs_MaxUpPts_specs_31 = { - asn_MAP_srs_MaxUpPts_value2enum_31, /* "tag" => N; sorted by tag */ - asn_MAP_srs_MaxUpPts_enum2value_31, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_srs_MaxUpPts_tags_31[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_srs_MaxUpPts_31 = { - "srs-MaxUpPts", - "srs-MaxUpPts", - srs_MaxUpPts_31_free, - srs_MaxUpPts_31_print, - srs_MaxUpPts_31_constraint, - srs_MaxUpPts_31_decode_ber, - srs_MaxUpPts_31_encode_der, - srs_MaxUpPts_31_decode_xer, - srs_MaxUpPts_31_encode_xer, - srs_MaxUpPts_31_decode_uper, - srs_MaxUpPts_31_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_srs_MaxUpPts_tags_31, - sizeof(asn_DEF_srs_MaxUpPts_tags_31) - /sizeof(asn_DEF_srs_MaxUpPts_tags_31[0]) - 1, /* 1 */ - asn_DEF_srs_MaxUpPts_tags_31, /* Same as above */ - sizeof(asn_DEF_srs_MaxUpPts_tags_31) - /sizeof(asn_DEF_srs_MaxUpPts_tags_31[0]), /* 2 */ - &asn_PER_type_srs_MaxUpPts_constr_31, - 0, 0, /* Defined elsewhere */ - &asn_SPC_srs_MaxUpPts_specs_31 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigCommon__setup, srs_BandwidthConfig), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_srs_BandwidthConfig_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "srs-BandwidthConfig" - }, - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigCommon__setup, srs_SubframeConfig), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_srs_SubframeConfig_13, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "srs-SubframeConfig" - }, - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigCommon__setup, ackNackSRS_SimultaneousTransmission), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ackNackSRS-SimultaneousTransmission" - }, - { ATF_POINTER, 1, offsetof(struct SoundingRS_UL_ConfigCommon__setup, srs_MaxUpPts), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_srs_MaxUpPts_31, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "srs-MaxUpPts" - }, -}; -static int asn_MAP_setup_oms_3[] = { 3 }; -static ber_tlv_tag_t asn_DEF_setup_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* srs-BandwidthConfig at 2675 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* srs-SubframeConfig at 2677 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ackNackSRS-SimultaneousTransmission at 2679 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* srs-MaxUpPts at 2680 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_3 = { - sizeof(struct SoundingRS_UL_ConfigCommon__setup), - offsetof(struct SoundingRS_UL_ConfigCommon__setup, _asn_ctx), - asn_MAP_setup_tag2el_3, - 4, /* Count of tags in the map */ - asn_MAP_setup_oms_3, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_3 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_3, - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]) - 1, /* 1 */ - asn_DEF_setup_tags_3, /* Same as above */ - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_3, - 4, /* Elements count */ - &asn_SPC_setup_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SoundingRS_UL_ConfigCommon_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigCommon, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigCommon, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_SoundingRS_UL_ConfigCommon_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 2673 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 2675 */ -}; -static asn_CHOICE_specifics_t asn_SPC_SoundingRS_UL_ConfigCommon_specs_1 = { - sizeof(struct SoundingRS_UL_ConfigCommon), - offsetof(struct SoundingRS_UL_ConfigCommon, _asn_ctx), - offsetof(struct SoundingRS_UL_ConfigCommon, present), - sizeof(((struct SoundingRS_UL_ConfigCommon *)0)->present), - asn_MAP_SoundingRS_UL_ConfigCommon_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_SoundingRS_UL_ConfigCommon = { - "SoundingRS-UL-ConfigCommon", - "SoundingRS-UL-ConfigCommon", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_SoundingRS_UL_ConfigCommon_constr_1, - asn_MBR_SoundingRS_UL_ConfigCommon_1, - 2, /* Elements count */ - &asn_SPC_SoundingRS_UL_ConfigCommon_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SoundingRS-UL-ConfigDedicated-v1020.c b/lte/rrc/lib/asn/src/SoundingRS-UL-ConfigDedicated-v1020.c deleted file mode 100644 index 041e16f00..000000000 --- a/lte/rrc/lib/asn/src/SoundingRS-UL-ConfigDedicated-v1020.c +++ /dev/null @@ -1,203 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SoundingRS-UL-ConfigDedicated-v1020.h" - -static int -srs_AntennaPort_r10_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -srs_AntennaPort_r10_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -srs_AntennaPort_r10_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - srs_AntennaPort_r10_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -srs_AntennaPort_r10_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - srs_AntennaPort_r10_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -srs_AntennaPort_r10_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - srs_AntennaPort_r10_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -srs_AntennaPort_r10_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - srs_AntennaPort_r10_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -srs_AntennaPort_r10_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - srs_AntennaPort_r10_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -srs_AntennaPort_r10_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - srs_AntennaPort_r10_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -srs_AntennaPort_r10_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - srs_AntennaPort_r10_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -srs_AntennaPort_r10_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - srs_AntennaPort_r10_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_srs_AntennaPort_r10_constr_2 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_srs_AntennaPort_r10_value2enum_2[] = { - { 0, 3, "an1" }, - { 1, 3, "an2" }, - { 2, 3, "an4" }, - { 3, 6, "spare1" } -}; -static unsigned int asn_MAP_srs_AntennaPort_r10_enum2value_2[] = { - 0, /* an1(0) */ - 1, /* an2(1) */ - 2, /* an4(2) */ - 3 /* spare1(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_srs_AntennaPort_r10_specs_2 = { - asn_MAP_srs_AntennaPort_r10_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_srs_AntennaPort_r10_enum2value_2, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_srs_AntennaPort_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_srs_AntennaPort_r10_2 = { - "srs-AntennaPort-r10", - "srs-AntennaPort-r10", - srs_AntennaPort_r10_2_free, - srs_AntennaPort_r10_2_print, - srs_AntennaPort_r10_2_constraint, - srs_AntennaPort_r10_2_decode_ber, - srs_AntennaPort_r10_2_encode_der, - srs_AntennaPort_r10_2_decode_xer, - srs_AntennaPort_r10_2_encode_xer, - srs_AntennaPort_r10_2_decode_uper, - srs_AntennaPort_r10_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_srs_AntennaPort_r10_tags_2, - sizeof(asn_DEF_srs_AntennaPort_r10_tags_2) - /sizeof(asn_DEF_srs_AntennaPort_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_srs_AntennaPort_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_srs_AntennaPort_r10_tags_2) - /sizeof(asn_DEF_srs_AntennaPort_r10_tags_2[0]), /* 2 */ - &asn_PER_type_srs_AntennaPort_r10_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_srs_AntennaPort_r10_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SoundingRS_UL_ConfigDedicated_v1020_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigDedicated_v1020, srs_AntennaPort_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_srs_AntennaPort_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "srs-AntennaPort-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_SoundingRS_UL_ConfigDedicated_v1020_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SoundingRS_UL_ConfigDedicated_v1020_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* srs-AntennaPort-r10 at 2698 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SoundingRS_UL_ConfigDedicated_v1020_specs_1 = { - sizeof(struct SoundingRS_UL_ConfigDedicated_v1020), - offsetof(struct SoundingRS_UL_ConfigDedicated_v1020, _asn_ctx), - asn_MAP_SoundingRS_UL_ConfigDedicated_v1020_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SoundingRS_UL_ConfigDedicated_v1020 = { - "SoundingRS-UL-ConfigDedicated-v1020", - "SoundingRS-UL-ConfigDedicated-v1020", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SoundingRS_UL_ConfigDedicated_v1020_tags_1, - sizeof(asn_DEF_SoundingRS_UL_ConfigDedicated_v1020_tags_1) - /sizeof(asn_DEF_SoundingRS_UL_ConfigDedicated_v1020_tags_1[0]), /* 1 */ - asn_DEF_SoundingRS_UL_ConfigDedicated_v1020_tags_1, /* Same as above */ - sizeof(asn_DEF_SoundingRS_UL_ConfigDedicated_v1020_tags_1) - /sizeof(asn_DEF_SoundingRS_UL_ConfigDedicated_v1020_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SoundingRS_UL_ConfigDedicated_v1020_1, - 1, /* Elements count */ - &asn_SPC_SoundingRS_UL_ConfigDedicated_v1020_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SoundingRS-UL-ConfigDedicated.c b/lte/rrc/lib/asn/src/SoundingRS-UL-ConfigDedicated.c deleted file mode 100644 index 6c72bf6c7..000000000 --- a/lte/rrc/lib/asn/src/SoundingRS-UL-ConfigDedicated.c +++ /dev/null @@ -1,711 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SoundingRS-UL-ConfigDedicated.h" - -static int -srs_Bandwidth_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -srs_Bandwidth_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -srs_Bandwidth_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - srs_Bandwidth_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -srs_Bandwidth_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - srs_Bandwidth_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -srs_Bandwidth_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - srs_Bandwidth_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -srs_Bandwidth_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - srs_Bandwidth_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -srs_Bandwidth_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - srs_Bandwidth_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -srs_Bandwidth_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - srs_Bandwidth_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -srs_Bandwidth_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - srs_Bandwidth_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -srs_Bandwidth_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - srs_Bandwidth_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -srs_HoppingBandwidth_9_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -srs_HoppingBandwidth_9_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -srs_HoppingBandwidth_9_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - srs_HoppingBandwidth_9_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -srs_HoppingBandwidth_9_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - srs_HoppingBandwidth_9_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -srs_HoppingBandwidth_9_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - srs_HoppingBandwidth_9_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -srs_HoppingBandwidth_9_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - srs_HoppingBandwidth_9_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -srs_HoppingBandwidth_9_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - srs_HoppingBandwidth_9_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -srs_HoppingBandwidth_9_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - srs_HoppingBandwidth_9_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -srs_HoppingBandwidth_9_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - srs_HoppingBandwidth_9_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -srs_HoppingBandwidth_9_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - srs_HoppingBandwidth_9_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -cyclicShift_18_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -cyclicShift_18_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -cyclicShift_18_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - cyclicShift_18_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -cyclicShift_18_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - cyclicShift_18_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -cyclicShift_18_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - cyclicShift_18_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -cyclicShift_18_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - cyclicShift_18_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -cyclicShift_18_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - cyclicShift_18_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -cyclicShift_18_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - cyclicShift_18_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -cyclicShift_18_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - cyclicShift_18_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -cyclicShift_18_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - cyclicShift_18_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_freqDomainPosition_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 23)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_srs_ConfigIndex_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 1023)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_transmissionComb_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 1)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_srs_Bandwidth_constr_4 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_srs_HoppingBandwidth_constr_9 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_cyclicShift_constr_18 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_freqDomainPosition_constr_14 = { - { APC_CONSTRAINED, 5, 5, 0, 23 } /* (0..23) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_srs_ConfigIndex_constr_16 = { - { APC_CONSTRAINED, 10, 10, 0, 1023 } /* (0..1023) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_transmissionComb_constr_17 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_SoundingRS_UL_ConfigDedicated_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_srs_Bandwidth_value2enum_4[] = { - { 0, 3, "bw0" }, - { 1, 3, "bw1" }, - { 2, 3, "bw2" }, - { 3, 3, "bw3" } -}; -static unsigned int asn_MAP_srs_Bandwidth_enum2value_4[] = { - 0, /* bw0(0) */ - 1, /* bw1(1) */ - 2, /* bw2(2) */ - 3 /* bw3(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_srs_Bandwidth_specs_4 = { - asn_MAP_srs_Bandwidth_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_srs_Bandwidth_enum2value_4, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_srs_Bandwidth_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_srs_Bandwidth_4 = { - "srs-Bandwidth", - "srs-Bandwidth", - srs_Bandwidth_4_free, - srs_Bandwidth_4_print, - srs_Bandwidth_4_constraint, - srs_Bandwidth_4_decode_ber, - srs_Bandwidth_4_encode_der, - srs_Bandwidth_4_decode_xer, - srs_Bandwidth_4_encode_xer, - srs_Bandwidth_4_decode_uper, - srs_Bandwidth_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_srs_Bandwidth_tags_4, - sizeof(asn_DEF_srs_Bandwidth_tags_4) - /sizeof(asn_DEF_srs_Bandwidth_tags_4[0]) - 1, /* 1 */ - asn_DEF_srs_Bandwidth_tags_4, /* Same as above */ - sizeof(asn_DEF_srs_Bandwidth_tags_4) - /sizeof(asn_DEF_srs_Bandwidth_tags_4[0]), /* 2 */ - &asn_PER_type_srs_Bandwidth_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_srs_Bandwidth_specs_4 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_srs_HoppingBandwidth_value2enum_9[] = { - { 0, 4, "hbw0" }, - { 1, 4, "hbw1" }, - { 2, 4, "hbw2" }, - { 3, 4, "hbw3" } -}; -static unsigned int asn_MAP_srs_HoppingBandwidth_enum2value_9[] = { - 0, /* hbw0(0) */ - 1, /* hbw1(1) */ - 2, /* hbw2(2) */ - 3 /* hbw3(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_srs_HoppingBandwidth_specs_9 = { - asn_MAP_srs_HoppingBandwidth_value2enum_9, /* "tag" => N; sorted by tag */ - asn_MAP_srs_HoppingBandwidth_enum2value_9, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_srs_HoppingBandwidth_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_srs_HoppingBandwidth_9 = { - "srs-HoppingBandwidth", - "srs-HoppingBandwidth", - srs_HoppingBandwidth_9_free, - srs_HoppingBandwidth_9_print, - srs_HoppingBandwidth_9_constraint, - srs_HoppingBandwidth_9_decode_ber, - srs_HoppingBandwidth_9_encode_der, - srs_HoppingBandwidth_9_decode_xer, - srs_HoppingBandwidth_9_encode_xer, - srs_HoppingBandwidth_9_decode_uper, - srs_HoppingBandwidth_9_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_srs_HoppingBandwidth_tags_9, - sizeof(asn_DEF_srs_HoppingBandwidth_tags_9) - /sizeof(asn_DEF_srs_HoppingBandwidth_tags_9[0]) - 1, /* 1 */ - asn_DEF_srs_HoppingBandwidth_tags_9, /* Same as above */ - sizeof(asn_DEF_srs_HoppingBandwidth_tags_9) - /sizeof(asn_DEF_srs_HoppingBandwidth_tags_9[0]), /* 2 */ - &asn_PER_type_srs_HoppingBandwidth_constr_9, - 0, 0, /* Defined elsewhere */ - &asn_SPC_srs_HoppingBandwidth_specs_9 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_cyclicShift_value2enum_18[] = { - { 0, 3, "cs0" }, - { 1, 3, "cs1" }, - { 2, 3, "cs2" }, - { 3, 3, "cs3" }, - { 4, 3, "cs4" }, - { 5, 3, "cs5" }, - { 6, 3, "cs6" }, - { 7, 3, "cs7" } -}; -static unsigned int asn_MAP_cyclicShift_enum2value_18[] = { - 0, /* cs0(0) */ - 1, /* cs1(1) */ - 2, /* cs2(2) */ - 3, /* cs3(3) */ - 4, /* cs4(4) */ - 5, /* cs5(5) */ - 6, /* cs6(6) */ - 7 /* cs7(7) */ -}; -static asn_INTEGER_specifics_t asn_SPC_cyclicShift_specs_18 = { - asn_MAP_cyclicShift_value2enum_18, /* "tag" => N; sorted by tag */ - asn_MAP_cyclicShift_enum2value_18, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_cyclicShift_tags_18[] = { - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cyclicShift_18 = { - "cyclicShift", - "cyclicShift", - cyclicShift_18_free, - cyclicShift_18_print, - cyclicShift_18_constraint, - cyclicShift_18_decode_ber, - cyclicShift_18_encode_der, - cyclicShift_18_decode_xer, - cyclicShift_18_encode_xer, - cyclicShift_18_decode_uper, - cyclicShift_18_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_cyclicShift_tags_18, - sizeof(asn_DEF_cyclicShift_tags_18) - /sizeof(asn_DEF_cyclicShift_tags_18[0]) - 1, /* 1 */ - asn_DEF_cyclicShift_tags_18, /* Same as above */ - sizeof(asn_DEF_cyclicShift_tags_18) - /sizeof(asn_DEF_cyclicShift_tags_18[0]), /* 2 */ - &asn_PER_type_cyclicShift_constr_18, - 0, 0, /* Defined elsewhere */ - &asn_SPC_cyclicShift_specs_18 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigDedicated__setup, srs_Bandwidth), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_srs_Bandwidth_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "srs-Bandwidth" - }, - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigDedicated__setup, srs_HoppingBandwidth), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_srs_HoppingBandwidth_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "srs-HoppingBandwidth" - }, - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigDedicated__setup, freqDomainPosition), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_freqDomainPosition_constraint_3, - &asn_PER_memb_freqDomainPosition_constr_14, - 0, - "freqDomainPosition" - }, - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigDedicated__setup, duration), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "duration" - }, - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigDedicated__setup, srs_ConfigIndex), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_srs_ConfigIndex_constraint_3, - &asn_PER_memb_srs_ConfigIndex_constr_16, - 0, - "srs-ConfigIndex" - }, - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigDedicated__setup, transmissionComb), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_transmissionComb_constraint_3, - &asn_PER_memb_transmissionComb_constr_17, - 0, - "transmissionComb" - }, - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigDedicated__setup, cyclicShift), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_cyclicShift_18, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cyclicShift" - }, -}; -static ber_tlv_tag_t asn_DEF_setup_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* srs-Bandwidth at 2687 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* srs-HoppingBandwidth at 2688 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* freqDomainPosition at 2689 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* duration at 2690 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* srs-ConfigIndex at 2691 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* transmissionComb at 2692 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* cyclicShift at 2693 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_3 = { - sizeof(struct SoundingRS_UL_ConfigDedicated__setup), - offsetof(struct SoundingRS_UL_ConfigDedicated__setup, _asn_ctx), - asn_MAP_setup_tag2el_3, - 7, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_3 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_3, - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]) - 1, /* 1 */ - asn_DEF_setup_tags_3, /* Same as above */ - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_3, - 7, /* Elements count */ - &asn_SPC_setup_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SoundingRS_UL_ConfigDedicated_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigDedicated, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigDedicated, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_SoundingRS_UL_ConfigDedicated_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 2685 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 2687 */ -}; -static asn_CHOICE_specifics_t asn_SPC_SoundingRS_UL_ConfigDedicated_specs_1 = { - sizeof(struct SoundingRS_UL_ConfigDedicated), - offsetof(struct SoundingRS_UL_ConfigDedicated, _asn_ctx), - offsetof(struct SoundingRS_UL_ConfigDedicated, present), - sizeof(((struct SoundingRS_UL_ConfigDedicated *)0)->present), - asn_MAP_SoundingRS_UL_ConfigDedicated_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_SoundingRS_UL_ConfigDedicated = { - "SoundingRS-UL-ConfigDedicated", - "SoundingRS-UL-ConfigDedicated", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_SoundingRS_UL_ConfigDedicated_constr_1, - asn_MBR_SoundingRS_UL_ConfigDedicated_1, - 2, /* Elements count */ - &asn_SPC_SoundingRS_UL_ConfigDedicated_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SoundingRS-UL-ConfigDedicatedAperiodic-r10.c b/lte/rrc/lib/asn/src/SoundingRS-UL-ConfigDedicatedAperiodic-r10.c deleted file mode 100644 index 48e0f99ee..000000000 --- a/lte/rrc/lib/asn/src/SoundingRS-UL-ConfigDedicatedAperiodic-r10.c +++ /dev/null @@ -1,384 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SoundingRS-UL-ConfigDedicatedAperiodic-r10.h" - -static int -memb_srs_ConfigIndexAp_r10_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 31)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_srs_ConfigApDCI_Format4_r10_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - /* Determine the number of elements */ - size = _A_CSEQUENCE_FROM_VOID(sptr)->count; - - if((size >= 1 && size <= 3)) { - /* Perform validation of the inner elements */ - return td->check_constraints(td, sptr, ctfailcb, app_key); - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_srs_ConfigApDCI_Format4_r10_constr_5 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 2, 2, 1, 3 } /* (SIZE(1..3)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_srs_ActivateAp_r10_constr_7 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_srs_ConfigIndexAp_r10_constr_4 = { - { APC_CONSTRAINED, 5, 5, 0, 31 } /* (0..31) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_srs_ConfigApDCI_Format4_r10_constr_5 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 2, 2, 1, 3 } /* (SIZE(1..3)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_SoundingRS_UL_ConfigDedicatedAperiodic_r10_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_srs_ConfigApDCI_Format4_r10_5[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_SRS_ConfigAp_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_srs_ConfigApDCI_Format4_r10_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_srs_ConfigApDCI_Format4_r10_specs_5 = { - sizeof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ConfigApDCI_Format4_r10), - offsetof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ConfigApDCI_Format4_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_srs_ConfigApDCI_Format4_r10_5 = { - "srs-ConfigApDCI-Format4-r10", - "srs-ConfigApDCI-Format4-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_srs_ConfigApDCI_Format4_r10_tags_5, - sizeof(asn_DEF_srs_ConfigApDCI_Format4_r10_tags_5) - /sizeof(asn_DEF_srs_ConfigApDCI_Format4_r10_tags_5[0]) - 1, /* 1 */ - asn_DEF_srs_ConfigApDCI_Format4_r10_tags_5, /* Same as above */ - sizeof(asn_DEF_srs_ConfigApDCI_Format4_r10_tags_5) - /sizeof(asn_DEF_srs_ConfigApDCI_Format4_r10_tags_5[0]), /* 2 */ - &asn_PER_type_srs_ConfigApDCI_Format4_r10_constr_5, - asn_MBR_srs_ConfigApDCI_Format4_r10_5, - 1, /* Single element */ - &asn_SPC_srs_ConfigApDCI_Format4_r10_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_9[] = { - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10__setup, srs_ConfigApDCI_Format0_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SRS_ConfigAp_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "srs-ConfigApDCI-Format0-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10__setup, srs_ConfigApDCI_Format1a2b2c_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SRS_ConfigAp_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "srs-ConfigApDCI-Format1a2b2c-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_setup_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_9[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* srs-ConfigApDCI-Format0-r10 at 2709 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* srs-ConfigApDCI-Format1a2b2c-r10 at 2710 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_9 = { - sizeof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10__setup), - offsetof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10__setup, _asn_ctx), - asn_MAP_setup_tag2el_9, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* Start extensions */ - 3 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_9 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_9, - sizeof(asn_DEF_setup_tags_9) - /sizeof(asn_DEF_setup_tags_9[0]) - 1, /* 1 */ - asn_DEF_setup_tags_9, /* Same as above */ - sizeof(asn_DEF_setup_tags_9) - /sizeof(asn_DEF_setup_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_9, - 2, /* Elements count */ - &asn_SPC_setup_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_srs_ActivateAp_r10_7[] = { - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_srs_ActivateAp_r10_tag2el_7[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 2707 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 2709 */ -}; -static asn_CHOICE_specifics_t asn_SPC_srs_ActivateAp_r10_specs_7 = { - sizeof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10), - offsetof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10, _asn_ctx), - offsetof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10, present), - sizeof(((struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup__srs_ActivateAp_r10 *)0)->present), - asn_MAP_srs_ActivateAp_r10_tag2el_7, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_srs_ActivateAp_r10_7 = { - "srs-ActivateAp-r10", - "srs-ActivateAp-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_srs_ActivateAp_r10_constr_7, - asn_MBR_srs_ActivateAp_r10_7, - 2, /* Elements count */ - &asn_SPC_srs_ActivateAp_r10_specs_7 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_setup_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup, srs_ConfigIndexAp_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_srs_ConfigIndexAp_r10_constraint_3, - &asn_PER_memb_srs_ConfigIndexAp_r10_constr_4, - 0, - "srs-ConfigIndexAp-r10" - }, - { ATF_POINTER, 2, offsetof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup, srs_ConfigApDCI_Format4_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_srs_ConfigApDCI_Format4_r10_5, - memb_srs_ConfigApDCI_Format4_r10_constraint_3, - &asn_PER_memb_srs_ConfigApDCI_Format4_r10_constr_5, - 0, - "srs-ConfigApDCI-Format4-r10" - }, - { ATF_POINTER, 1, offsetof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup, srs_ActivateAp_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_srs_ActivateAp_r10_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "srs-ActivateAp-r10" - }, -}; -static int asn_MAP_setup_oms_3[] = { 1, 2 }; -static ber_tlv_tag_t asn_DEF_setup_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* srs-ConfigIndexAp-r10 at 2704 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* srs-ConfigApDCI-Format4-r10 at 2705 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* srs-ActivateAp-r10 at 2707 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_3 = { - sizeof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup), - offsetof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10__setup, _asn_ctx), - asn_MAP_setup_tag2el_3, - 3, /* Count of tags in the map */ - asn_MAP_setup_oms_3, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_3 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_3, - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]) - 1, /* 1 */ - asn_DEF_setup_tags_3, /* Same as above */ - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_3, - 3, /* Elements count */ - &asn_SPC_setup_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SoundingRS_UL_ConfigDedicatedAperiodic_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_SoundingRS_UL_ConfigDedicatedAperiodic_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 2702 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 2704 */ -}; -static asn_CHOICE_specifics_t asn_SPC_SoundingRS_UL_ConfigDedicatedAperiodic_r10_specs_1 = { - sizeof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10), - offsetof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10, _asn_ctx), - offsetof(struct SoundingRS_UL_ConfigDedicatedAperiodic_r10, present), - sizeof(((struct SoundingRS_UL_ConfigDedicatedAperiodic_r10 *)0)->present), - asn_MAP_SoundingRS_UL_ConfigDedicatedAperiodic_r10_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_SoundingRS_UL_ConfigDedicatedAperiodic_r10 = { - "SoundingRS-UL-ConfigDedicatedAperiodic-r10", - "SoundingRS-UL-ConfigDedicatedAperiodic-r10", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_SoundingRS_UL_ConfigDedicatedAperiodic_r10_constr_1, - asn_MBR_SoundingRS_UL_ConfigDedicatedAperiodic_r10_1, - 2, /* Elements count */ - &asn_SPC_SoundingRS_UL_ConfigDedicatedAperiodic_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SpeedStateScaleFactors.c b/lte/rrc/lib/asn/src/SpeedStateScaleFactors.c deleted file mode 100644 index c91201f8b..000000000 --- a/lte/rrc/lib/asn/src/SpeedStateScaleFactors.c +++ /dev/null @@ -1,356 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SpeedStateScaleFactors.h" - -static int -sf_Medium_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -sf_Medium_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -sf_Medium_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - sf_Medium_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -sf_Medium_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - sf_Medium_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -sf_Medium_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - sf_Medium_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -sf_Medium_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - sf_Medium_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -sf_Medium_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - sf_Medium_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -sf_Medium_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - sf_Medium_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -sf_Medium_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - sf_Medium_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -sf_Medium_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - sf_Medium_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -sf_High_7_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -sf_High_7_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -sf_High_7_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - sf_High_7_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -sf_High_7_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - sf_High_7_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -sf_High_7_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - sf_High_7_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -sf_High_7_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - sf_High_7_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -sf_High_7_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - sf_High_7_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -sf_High_7_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - sf_High_7_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -sf_High_7_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - sf_High_7_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -sf_High_7_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - sf_High_7_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_sf_Medium_constr_2 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_sf_High_constr_7 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_sf_Medium_value2enum_2[] = { - { 0, 6, "oDot25" }, - { 1, 5, "oDot5" }, - { 2, 6, "oDot75" }, - { 3, 5, "lDot0" } -}; -static unsigned int asn_MAP_sf_Medium_enum2value_2[] = { - 3, /* lDot0(3) */ - 0, /* oDot25(0) */ - 1, /* oDot5(1) */ - 2 /* oDot75(2) */ -}; -static asn_INTEGER_specifics_t asn_SPC_sf_Medium_specs_2 = { - asn_MAP_sf_Medium_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_sf_Medium_enum2value_2, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_sf_Medium_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_sf_Medium_2 = { - "sf-Medium", - "sf-Medium", - sf_Medium_2_free, - sf_Medium_2_print, - sf_Medium_2_constraint, - sf_Medium_2_decode_ber, - sf_Medium_2_encode_der, - sf_Medium_2_decode_xer, - sf_Medium_2_encode_xer, - sf_Medium_2_decode_uper, - sf_Medium_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_sf_Medium_tags_2, - sizeof(asn_DEF_sf_Medium_tags_2) - /sizeof(asn_DEF_sf_Medium_tags_2[0]) - 1, /* 1 */ - asn_DEF_sf_Medium_tags_2, /* Same as above */ - sizeof(asn_DEF_sf_Medium_tags_2) - /sizeof(asn_DEF_sf_Medium_tags_2[0]), /* 2 */ - &asn_PER_type_sf_Medium_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_sf_Medium_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_sf_High_value2enum_7[] = { - { 0, 6, "oDot25" }, - { 1, 5, "oDot5" }, - { 2, 6, "oDot75" }, - { 3, 5, "lDot0" } -}; -static unsigned int asn_MAP_sf_High_enum2value_7[] = { - 3, /* lDot0(3) */ - 0, /* oDot25(0) */ - 1, /* oDot5(1) */ - 2 /* oDot75(2) */ -}; -static asn_INTEGER_specifics_t asn_SPC_sf_High_specs_7 = { - asn_MAP_sf_High_value2enum_7, /* "tag" => N; sorted by tag */ - asn_MAP_sf_High_enum2value_7, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_sf_High_tags_7[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_sf_High_7 = { - "sf-High", - "sf-High", - sf_High_7_free, - sf_High_7_print, - sf_High_7_constraint, - sf_High_7_decode_ber, - sf_High_7_encode_der, - sf_High_7_decode_xer, - sf_High_7_encode_xer, - sf_High_7_decode_uper, - sf_High_7_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_sf_High_tags_7, - sizeof(asn_DEF_sf_High_tags_7) - /sizeof(asn_DEF_sf_High_tags_7[0]) - 1, /* 1 */ - asn_DEF_sf_High_tags_7, /* Same as above */ - sizeof(asn_DEF_sf_High_tags_7) - /sizeof(asn_DEF_sf_High_tags_7[0]), /* 2 */ - &asn_PER_type_sf_High_constr_7, - 0, 0, /* Defined elsewhere */ - &asn_SPC_sf_High_specs_7 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SpeedStateScaleFactors_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SpeedStateScaleFactors, sf_Medium), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_sf_Medium_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sf-Medium" - }, - { ATF_NOFLAGS, 0, offsetof(struct SpeedStateScaleFactors, sf_High), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_sf_High_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sf-High" - }, -}; -static ber_tlv_tag_t asn_DEF_SpeedStateScaleFactors_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SpeedStateScaleFactors_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sf-Medium at 3127 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* sf-High at 3128 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SpeedStateScaleFactors_specs_1 = { - sizeof(struct SpeedStateScaleFactors), - offsetof(struct SpeedStateScaleFactors, _asn_ctx), - asn_MAP_SpeedStateScaleFactors_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SpeedStateScaleFactors = { - "SpeedStateScaleFactors", - "SpeedStateScaleFactors", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SpeedStateScaleFactors_tags_1, - sizeof(asn_DEF_SpeedStateScaleFactors_tags_1) - /sizeof(asn_DEF_SpeedStateScaleFactors_tags_1[0]), /* 1 */ - asn_DEF_SpeedStateScaleFactors_tags_1, /* Same as above */ - sizeof(asn_DEF_SpeedStateScaleFactors_tags_1) - /sizeof(asn_DEF_SpeedStateScaleFactors_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SpeedStateScaleFactors_1, - 2, /* Elements count */ - &asn_SPC_SpeedStateScaleFactors_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SupportedBandCombination-r10.c b/lte/rrc/lib/asn/src/SupportedBandCombination-r10.c deleted file mode 100644 index 557a4262c..000000000 --- a/lte/rrc/lib/asn/src/SupportedBandCombination-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SupportedBandCombination-r10.h" - -static asn_per_constraints_t asn_PER_type_SupportedBandCombination_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 7, 7, 1, 128 } /* (SIZE(1..128)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SupportedBandCombination_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_BandCombinationParameters_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_SupportedBandCombination_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_SupportedBandCombination_r10_specs_1 = { - sizeof(struct SupportedBandCombination_r10), - offsetof(struct SupportedBandCombination_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_SupportedBandCombination_r10 = { - "SupportedBandCombination-r10", - "SupportedBandCombination-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SupportedBandCombination_r10_tags_1, - sizeof(asn_DEF_SupportedBandCombination_r10_tags_1) - /sizeof(asn_DEF_SupportedBandCombination_r10_tags_1[0]), /* 1 */ - asn_DEF_SupportedBandCombination_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_SupportedBandCombination_r10_tags_1) - /sizeof(asn_DEF_SupportedBandCombination_r10_tags_1[0]), /* 1 */ - &asn_PER_type_SupportedBandCombination_r10_constr_1, - asn_MBR_SupportedBandCombination_r10_1, - 1, /* Single element */ - &asn_SPC_SupportedBandCombination_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SupportedBandEUTRA.c b/lte/rrc/lib/asn/src/SupportedBandEUTRA.c deleted file mode 100644 index f7363763d..000000000 --- a/lte/rrc/lib/asn/src/SupportedBandEUTRA.c +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SupportedBandEUTRA.h" - -static int -memb_bandEUTRA_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 64)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_bandEUTRA_constr_2 = { - { APC_CONSTRAINED, 6, 6, 1, 64 } /* (1..64) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SupportedBandEUTRA_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SupportedBandEUTRA, bandEUTRA), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_bandEUTRA_constraint_1, - &asn_PER_memb_bandEUTRA_constr_2, - 0, - "bandEUTRA" - }, - { ATF_NOFLAGS, 0, offsetof(struct SupportedBandEUTRA, halfDuplex), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "halfDuplex" - }, -}; -static ber_tlv_tag_t asn_DEF_SupportedBandEUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SupportedBandEUTRA_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bandEUTRA at 3864 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* halfDuplex at 3865 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SupportedBandEUTRA_specs_1 = { - sizeof(struct SupportedBandEUTRA), - offsetof(struct SupportedBandEUTRA, _asn_ctx), - asn_MAP_SupportedBandEUTRA_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SupportedBandEUTRA = { - "SupportedBandEUTRA", - "SupportedBandEUTRA", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SupportedBandEUTRA_tags_1, - sizeof(asn_DEF_SupportedBandEUTRA_tags_1) - /sizeof(asn_DEF_SupportedBandEUTRA_tags_1[0]), /* 1 */ - asn_DEF_SupportedBandEUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_SupportedBandEUTRA_tags_1) - /sizeof(asn_DEF_SupportedBandEUTRA_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SupportedBandEUTRA_1, - 2, /* Elements count */ - &asn_SPC_SupportedBandEUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SupportedBandGERAN.c b/lte/rrc/lib/asn/src/SupportedBandGERAN.c deleted file mode 100644 index d3cd64d9e..000000000 --- a/lte/rrc/lib/asn/src/SupportedBandGERAN.c +++ /dev/null @@ -1,176 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SupportedBandGERAN.h" - -int -SupportedBandGERAN_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -SupportedBandGERAN_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -SupportedBandGERAN_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - SupportedBandGERAN_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -SupportedBandGERAN_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - SupportedBandGERAN_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -SupportedBandGERAN_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - SupportedBandGERAN_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -SupportedBandGERAN_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - SupportedBandGERAN_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -SupportedBandGERAN_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - SupportedBandGERAN_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -SupportedBandGERAN_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - SupportedBandGERAN_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -SupportedBandGERAN_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - SupportedBandGERAN_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -SupportedBandGERAN_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - SupportedBandGERAN_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_SupportedBandGERAN_constr_1 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 0, 15 } /* (0..15,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_SupportedBandGERAN_value2enum_1[] = { - { 0, 6, "gsm450" }, - { 1, 6, "gsm480" }, - { 2, 6, "gsm710" }, - { 3, 6, "gsm750" }, - { 4, 6, "gsm810" }, - { 5, 6, "gsm850" }, - { 6, 7, "gsm900P" }, - { 7, 7, "gsm900E" }, - { 8, 7, "gsm900R" }, - { 9, 7, "gsm1800" }, - { 10, 7, "gsm1900" }, - { 11, 6, "spare5" }, - { 12, 6, "spare4" }, - { 13, 6, "spare3" }, - { 14, 6, "spare2" }, - { 15, 6, "spare1" } - /* This list is extensible */ -}; -static unsigned int asn_MAP_SupportedBandGERAN_enum2value_1[] = { - 9, /* gsm1800(9) */ - 10, /* gsm1900(10) */ - 0, /* gsm450(0) */ - 1, /* gsm480(1) */ - 2, /* gsm710(2) */ - 3, /* gsm750(3) */ - 4, /* gsm810(4) */ - 5, /* gsm850(5) */ - 7, /* gsm900E(7) */ - 6, /* gsm900P(6) */ - 8, /* gsm900R(8) */ - 15, /* spare1(15) */ - 14, /* spare2(14) */ - 13, /* spare3(13) */ - 12, /* spare4(12) */ - 11 /* spare5(11) */ - /* This list is extensible */ -}; -static asn_INTEGER_specifics_t asn_SPC_SupportedBandGERAN_specs_1 = { - asn_MAP_SupportedBandGERAN_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_SupportedBandGERAN_enum2value_1, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 17, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_SupportedBandGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_SupportedBandGERAN = { - "SupportedBandGERAN", - "SupportedBandGERAN", - SupportedBandGERAN_free, - SupportedBandGERAN_print, - SupportedBandGERAN_constraint, - SupportedBandGERAN_decode_ber, - SupportedBandGERAN_encode_der, - SupportedBandGERAN_decode_xer, - SupportedBandGERAN_encode_xer, - SupportedBandGERAN_decode_uper, - SupportedBandGERAN_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SupportedBandGERAN_tags_1, - sizeof(asn_DEF_SupportedBandGERAN_tags_1) - /sizeof(asn_DEF_SupportedBandGERAN_tags_1[0]), /* 1 */ - asn_DEF_SupportedBandGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_SupportedBandGERAN_tags_1) - /sizeof(asn_DEF_SupportedBandGERAN_tags_1[0]), /* 1 */ - &asn_PER_type_SupportedBandGERAN_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_SupportedBandGERAN_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SupportedBandList1XRTT.c b/lte/rrc/lib/asn/src/SupportedBandList1XRTT.c deleted file mode 100644 index d7fb30954..000000000 --- a/lte/rrc/lib/asn/src/SupportedBandList1XRTT.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SupportedBandList1XRTT.h" - -static asn_per_constraints_t asn_PER_type_SupportedBandList1XRTT_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SupportedBandList1XRTT_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), - 0, - &asn_DEF_BandclassCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_SupportedBandList1XRTT_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_SupportedBandList1XRTT_specs_1 = { - sizeof(struct SupportedBandList1XRTT), - offsetof(struct SupportedBandList1XRTT, _asn_ctx), - 1, /* XER encoding is XMLValueList */ -}; -asn_TYPE_descriptor_t asn_DEF_SupportedBandList1XRTT = { - "SupportedBandList1XRTT", - "SupportedBandList1XRTT", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SupportedBandList1XRTT_tags_1, - sizeof(asn_DEF_SupportedBandList1XRTT_tags_1) - /sizeof(asn_DEF_SupportedBandList1XRTT_tags_1[0]), /* 1 */ - asn_DEF_SupportedBandList1XRTT_tags_1, /* Same as above */ - sizeof(asn_DEF_SupportedBandList1XRTT_tags_1) - /sizeof(asn_DEF_SupportedBandList1XRTT_tags_1[0]), /* 1 */ - &asn_PER_type_SupportedBandList1XRTT_constr_1, - asn_MBR_SupportedBandList1XRTT_1, - 1, /* Single element */ - &asn_SPC_SupportedBandList1XRTT_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SupportedBandListEUTRA.c b/lte/rrc/lib/asn/src/SupportedBandListEUTRA.c deleted file mode 100644 index 7c7776e36..000000000 --- a/lte/rrc/lib/asn/src/SupportedBandListEUTRA.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SupportedBandListEUTRA.h" - -static asn_per_constraints_t asn_PER_type_SupportedBandListEUTRA_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 6, 6, 1, 64 } /* (SIZE(1..64)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SupportedBandListEUTRA_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_SupportedBandEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_SupportedBandListEUTRA_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_SupportedBandListEUTRA_specs_1 = { - sizeof(struct SupportedBandListEUTRA), - offsetof(struct SupportedBandListEUTRA, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_SupportedBandListEUTRA = { - "SupportedBandListEUTRA", - "SupportedBandListEUTRA", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SupportedBandListEUTRA_tags_1, - sizeof(asn_DEF_SupportedBandListEUTRA_tags_1) - /sizeof(asn_DEF_SupportedBandListEUTRA_tags_1[0]), /* 1 */ - asn_DEF_SupportedBandListEUTRA_tags_1, /* Same as above */ - sizeof(asn_DEF_SupportedBandListEUTRA_tags_1) - /sizeof(asn_DEF_SupportedBandListEUTRA_tags_1[0]), /* 1 */ - &asn_PER_type_SupportedBandListEUTRA_constr_1, - asn_MBR_SupportedBandListEUTRA_1, - 1, /* Single element */ - &asn_SPC_SupportedBandListEUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SupportedBandListGERAN.c b/lte/rrc/lib/asn/src/SupportedBandListGERAN.c deleted file mode 100644 index cb26db1fd..000000000 --- a/lte/rrc/lib/asn/src/SupportedBandListGERAN.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SupportedBandListGERAN.h" - -static asn_per_constraints_t asn_PER_type_SupportedBandListGERAN_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 6, 6, 1, 64 } /* (SIZE(1..64)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SupportedBandListGERAN_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), - 0, - &asn_DEF_SupportedBandGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_SupportedBandListGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_SupportedBandListGERAN_specs_1 = { - sizeof(struct SupportedBandListGERAN), - offsetof(struct SupportedBandListGERAN, _asn_ctx), - 1, /* XER encoding is XMLValueList */ -}; -asn_TYPE_descriptor_t asn_DEF_SupportedBandListGERAN = { - "SupportedBandListGERAN", - "SupportedBandListGERAN", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SupportedBandListGERAN_tags_1, - sizeof(asn_DEF_SupportedBandListGERAN_tags_1) - /sizeof(asn_DEF_SupportedBandListGERAN_tags_1[0]), /* 1 */ - asn_DEF_SupportedBandListGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_SupportedBandListGERAN_tags_1) - /sizeof(asn_DEF_SupportedBandListGERAN_tags_1[0]), /* 1 */ - &asn_PER_type_SupportedBandListGERAN_constr_1, - asn_MBR_SupportedBandListGERAN_1, - 1, /* Single element */ - &asn_SPC_SupportedBandListGERAN_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SupportedBandListHRPD.c b/lte/rrc/lib/asn/src/SupportedBandListHRPD.c deleted file mode 100644 index b257d62f0..000000000 --- a/lte/rrc/lib/asn/src/SupportedBandListHRPD.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SupportedBandListHRPD.h" - -static asn_per_constraints_t asn_PER_type_SupportedBandListHRPD_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SupportedBandListHRPD_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), - 0, - &asn_DEF_BandclassCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_SupportedBandListHRPD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_SupportedBandListHRPD_specs_1 = { - sizeof(struct SupportedBandListHRPD), - offsetof(struct SupportedBandListHRPD, _asn_ctx), - 1, /* XER encoding is XMLValueList */ -}; -asn_TYPE_descriptor_t asn_DEF_SupportedBandListHRPD = { - "SupportedBandListHRPD", - "SupportedBandListHRPD", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SupportedBandListHRPD_tags_1, - sizeof(asn_DEF_SupportedBandListHRPD_tags_1) - /sizeof(asn_DEF_SupportedBandListHRPD_tags_1[0]), /* 1 */ - asn_DEF_SupportedBandListHRPD_tags_1, /* Same as above */ - sizeof(asn_DEF_SupportedBandListHRPD_tags_1) - /sizeof(asn_DEF_SupportedBandListHRPD_tags_1[0]), /* 1 */ - &asn_PER_type_SupportedBandListHRPD_constr_1, - asn_MBR_SupportedBandListHRPD_1, - 1, /* Single element */ - &asn_SPC_SupportedBandListHRPD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SupportedBandListUTRA-FDD.c b/lte/rrc/lib/asn/src/SupportedBandListUTRA-FDD.c deleted file mode 100644 index 184ade121..000000000 --- a/lte/rrc/lib/asn/src/SupportedBandListUTRA-FDD.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SupportedBandListUTRA-FDD.h" - -static asn_per_constraints_t asn_PER_type_SupportedBandListUTRA_FDD_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 6, 6, 1, 64 } /* (SIZE(1..64)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SupportedBandListUTRA_FDD_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), - 0, - &asn_DEF_SupportedBandUTRA_FDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_SupportedBandListUTRA_FDD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_SupportedBandListUTRA_FDD_specs_1 = { - sizeof(struct SupportedBandListUTRA_FDD), - offsetof(struct SupportedBandListUTRA_FDD, _asn_ctx), - 1, /* XER encoding is XMLValueList */ -}; -asn_TYPE_descriptor_t asn_DEF_SupportedBandListUTRA_FDD = { - "SupportedBandListUTRA-FDD", - "SupportedBandListUTRA-FDD", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SupportedBandListUTRA_FDD_tags_1, - sizeof(asn_DEF_SupportedBandListUTRA_FDD_tags_1) - /sizeof(asn_DEF_SupportedBandListUTRA_FDD_tags_1[0]), /* 1 */ - asn_DEF_SupportedBandListUTRA_FDD_tags_1, /* Same as above */ - sizeof(asn_DEF_SupportedBandListUTRA_FDD_tags_1) - /sizeof(asn_DEF_SupportedBandListUTRA_FDD_tags_1[0]), /* 1 */ - &asn_PER_type_SupportedBandListUTRA_FDD_constr_1, - asn_MBR_SupportedBandListUTRA_FDD_1, - 1, /* Single element */ - &asn_SPC_SupportedBandListUTRA_FDD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SupportedBandListUTRA-TDD128.c b/lte/rrc/lib/asn/src/SupportedBandListUTRA-TDD128.c deleted file mode 100644 index d8bfcd983..000000000 --- a/lte/rrc/lib/asn/src/SupportedBandListUTRA-TDD128.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SupportedBandListUTRA-TDD128.h" - -static asn_per_constraints_t asn_PER_type_SupportedBandListUTRA_TDD128_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 6, 6, 1, 64 } /* (SIZE(1..64)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SupportedBandListUTRA_TDD128_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), - 0, - &asn_DEF_SupportedBandUTRA_TDD128, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_SupportedBandListUTRA_TDD128_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_SupportedBandListUTRA_TDD128_specs_1 = { - sizeof(struct SupportedBandListUTRA_TDD128), - offsetof(struct SupportedBandListUTRA_TDD128, _asn_ctx), - 1, /* XER encoding is XMLValueList */ -}; -asn_TYPE_descriptor_t asn_DEF_SupportedBandListUTRA_TDD128 = { - "SupportedBandListUTRA-TDD128", - "SupportedBandListUTRA-TDD128", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SupportedBandListUTRA_TDD128_tags_1, - sizeof(asn_DEF_SupportedBandListUTRA_TDD128_tags_1) - /sizeof(asn_DEF_SupportedBandListUTRA_TDD128_tags_1[0]), /* 1 */ - asn_DEF_SupportedBandListUTRA_TDD128_tags_1, /* Same as above */ - sizeof(asn_DEF_SupportedBandListUTRA_TDD128_tags_1) - /sizeof(asn_DEF_SupportedBandListUTRA_TDD128_tags_1[0]), /* 1 */ - &asn_PER_type_SupportedBandListUTRA_TDD128_constr_1, - asn_MBR_SupportedBandListUTRA_TDD128_1, - 1, /* Single element */ - &asn_SPC_SupportedBandListUTRA_TDD128_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SupportedBandListUTRA-TDD384.c b/lte/rrc/lib/asn/src/SupportedBandListUTRA-TDD384.c deleted file mode 100644 index 77b1b0400..000000000 --- a/lte/rrc/lib/asn/src/SupportedBandListUTRA-TDD384.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SupportedBandListUTRA-TDD384.h" - -static asn_per_constraints_t asn_PER_type_SupportedBandListUTRA_TDD384_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 6, 6, 1, 64 } /* (SIZE(1..64)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SupportedBandListUTRA_TDD384_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), - 0, - &asn_DEF_SupportedBandUTRA_TDD384, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_SupportedBandListUTRA_TDD384_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_SupportedBandListUTRA_TDD384_specs_1 = { - sizeof(struct SupportedBandListUTRA_TDD384), - offsetof(struct SupportedBandListUTRA_TDD384, _asn_ctx), - 1, /* XER encoding is XMLValueList */ -}; -asn_TYPE_descriptor_t asn_DEF_SupportedBandListUTRA_TDD384 = { - "SupportedBandListUTRA-TDD384", - "SupportedBandListUTRA-TDD384", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SupportedBandListUTRA_TDD384_tags_1, - sizeof(asn_DEF_SupportedBandListUTRA_TDD384_tags_1) - /sizeof(asn_DEF_SupportedBandListUTRA_TDD384_tags_1[0]), /* 1 */ - asn_DEF_SupportedBandListUTRA_TDD384_tags_1, /* Same as above */ - sizeof(asn_DEF_SupportedBandListUTRA_TDD384_tags_1) - /sizeof(asn_DEF_SupportedBandListUTRA_TDD384_tags_1[0]), /* 1 */ - &asn_PER_type_SupportedBandListUTRA_TDD384_constr_1, - asn_MBR_SupportedBandListUTRA_TDD384_1, - 1, /* Single element */ - &asn_SPC_SupportedBandListUTRA_TDD384_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SupportedBandListUTRA-TDD768.c b/lte/rrc/lib/asn/src/SupportedBandListUTRA-TDD768.c deleted file mode 100644 index b26ae3b9f..000000000 --- a/lte/rrc/lib/asn/src/SupportedBandListUTRA-TDD768.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SupportedBandListUTRA-TDD768.h" - -static asn_per_constraints_t asn_PER_type_SupportedBandListUTRA_TDD768_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 6, 6, 1, 64 } /* (SIZE(1..64)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SupportedBandListUTRA_TDD768_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), - 0, - &asn_DEF_SupportedBandUTRA_TDD768, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_SupportedBandListUTRA_TDD768_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_SupportedBandListUTRA_TDD768_specs_1 = { - sizeof(struct SupportedBandListUTRA_TDD768), - offsetof(struct SupportedBandListUTRA_TDD768, _asn_ctx), - 1, /* XER encoding is XMLValueList */ -}; -asn_TYPE_descriptor_t asn_DEF_SupportedBandListUTRA_TDD768 = { - "SupportedBandListUTRA-TDD768", - "SupportedBandListUTRA-TDD768", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SupportedBandListUTRA_TDD768_tags_1, - sizeof(asn_DEF_SupportedBandListUTRA_TDD768_tags_1) - /sizeof(asn_DEF_SupportedBandListUTRA_TDD768_tags_1[0]), /* 1 */ - asn_DEF_SupportedBandListUTRA_TDD768_tags_1, /* Same as above */ - sizeof(asn_DEF_SupportedBandListUTRA_TDD768_tags_1) - /sizeof(asn_DEF_SupportedBandListUTRA_TDD768_tags_1[0]), /* 1 */ - &asn_PER_type_SupportedBandListUTRA_TDD768_constr_1, - asn_MBR_SupportedBandListUTRA_TDD768_1, - 1, /* Single element */ - &asn_SPC_SupportedBandListUTRA_TDD768_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SupportedBandUTRA-FDD.c b/lte/rrc/lib/asn/src/SupportedBandUTRA-FDD.c deleted file mode 100644 index 5373e4672..000000000 --- a/lte/rrc/lib/asn/src/SupportedBandUTRA-FDD.c +++ /dev/null @@ -1,208 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SupportedBandUTRA-FDD.h" - -int -SupportedBandUTRA_FDD_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -SupportedBandUTRA_FDD_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -SupportedBandUTRA_FDD_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - SupportedBandUTRA_FDD_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -SupportedBandUTRA_FDD_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - SupportedBandUTRA_FDD_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -SupportedBandUTRA_FDD_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - SupportedBandUTRA_FDD_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -SupportedBandUTRA_FDD_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - SupportedBandUTRA_FDD_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -SupportedBandUTRA_FDD_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - SupportedBandUTRA_FDD_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -SupportedBandUTRA_FDD_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - SupportedBandUTRA_FDD_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -SupportedBandUTRA_FDD_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - SupportedBandUTRA_FDD_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -SupportedBandUTRA_FDD_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - SupportedBandUTRA_FDD_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_SupportedBandUTRA_FDD_constr_1 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 0, 15 } /* (0..15,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_SupportedBandUTRA_FDD_value2enum_1[] = { - { 0, 5, "bandI" }, - { 1, 6, "bandII" }, - { 2, 7, "bandIII" }, - { 3, 6, "bandIV" }, - { 4, 5, "bandV" }, - { 5, 6, "bandVI" }, - { 6, 7, "bandVII" }, - { 7, 8, "bandVIII" }, - { 8, 6, "bandIX" }, - { 9, 5, "bandX" }, - { 10, 6, "bandXI" }, - { 11, 7, "bandXII" }, - { 12, 8, "bandXIII" }, - { 13, 7, "bandXIV" }, - { 14, 6, "bandXV" }, - { 15, 7, "bandXVI" }, - { 16, 12, "bandXVII-8a0" }, - { 17, 13, "bandXVIII-8a0" }, - { 18, 11, "bandXIX-8a0" }, - { 19, 10, "bandXX-8a0" }, - { 20, 11, "bandXXI-8a0" }, - { 21, 12, "bandXXII-8a0" }, - { 22, 13, "bandXXIII-8a0" }, - { 23, 12, "bandXXIV-8a0" }, - { 24, 11, "bandXXV-8a0" }, - { 25, 12, "bandXXVI-8a0" }, - { 26, 13, "bandXXVII-8a0" }, - { 27, 14, "bandXXVIII-8a0" }, - { 28, 12, "bandXXIX-8a0" }, - { 29, 11, "bandXXX-8a0" }, - { 30, 12, "bandXXXI-8a0" }, - { 31, 13, "bandXXXII-8a0" } - /* This list is extensible */ -}; -static unsigned int asn_MAP_SupportedBandUTRA_FDD_enum2value_1[] = { - 0, /* bandI(0) */ - 1, /* bandII(1) */ - 2, /* bandIII(2) */ - 3, /* bandIV(3) */ - 8, /* bandIX(8) */ - 4, /* bandV(4) */ - 5, /* bandVI(5) */ - 6, /* bandVII(6) */ - 7, /* bandVIII(7) */ - 9, /* bandX(9) */ - 10, /* bandXI(10) */ - 11, /* bandXII(11) */ - 12, /* bandXIII(12) */ - 13, /* bandXIV(13) */ - 18, /* bandXIX-8a0(18) */ - 14, /* bandXV(14) */ - 15, /* bandXVI(15) */ - 16, /* bandXVII-8a0(16) */ - 17, /* bandXVIII-8a0(17) */ - 19, /* bandXX-8a0(19) */ - 20, /* bandXXI-8a0(20) */ - 21, /* bandXXII-8a0(21) */ - 22, /* bandXXIII-8a0(22) */ - 23, /* bandXXIV-8a0(23) */ - 28, /* bandXXIX-8a0(28) */ - 24, /* bandXXV-8a0(24) */ - 25, /* bandXXVI-8a0(25) */ - 26, /* bandXXVII-8a0(26) */ - 27, /* bandXXVIII-8a0(27) */ - 29, /* bandXXX-8a0(29) */ - 30, /* bandXXXI-8a0(30) */ - 31 /* bandXXXII-8a0(31) */ - /* This list is extensible */ -}; -static asn_INTEGER_specifics_t asn_SPC_SupportedBandUTRA_FDD_specs_1 = { - asn_MAP_SupportedBandUTRA_FDD_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_SupportedBandUTRA_FDD_enum2value_1, /* N => "tag"; sorted by N */ - 32, /* Number of elements in the maps */ - 17, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_SupportedBandUTRA_FDD_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_SupportedBandUTRA_FDD = { - "SupportedBandUTRA-FDD", - "SupportedBandUTRA-FDD", - SupportedBandUTRA_FDD_free, - SupportedBandUTRA_FDD_print, - SupportedBandUTRA_FDD_constraint, - SupportedBandUTRA_FDD_decode_ber, - SupportedBandUTRA_FDD_encode_der, - SupportedBandUTRA_FDD_decode_xer, - SupportedBandUTRA_FDD_encode_xer, - SupportedBandUTRA_FDD_decode_uper, - SupportedBandUTRA_FDD_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SupportedBandUTRA_FDD_tags_1, - sizeof(asn_DEF_SupportedBandUTRA_FDD_tags_1) - /sizeof(asn_DEF_SupportedBandUTRA_FDD_tags_1[0]), /* 1 */ - asn_DEF_SupportedBandUTRA_FDD_tags_1, /* Same as above */ - sizeof(asn_DEF_SupportedBandUTRA_FDD_tags_1) - /sizeof(asn_DEF_SupportedBandUTRA_FDD_tags_1[0]), /* 1 */ - &asn_PER_type_SupportedBandUTRA_FDD_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_SupportedBandUTRA_FDD_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SupportedBandUTRA-TDD128.c b/lte/rrc/lib/asn/src/SupportedBandUTRA-TDD128.c deleted file mode 100644 index f7364e92a..000000000 --- a/lte/rrc/lib/asn/src/SupportedBandUTRA-TDD128.c +++ /dev/null @@ -1,176 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SupportedBandUTRA-TDD128.h" - -int -SupportedBandUTRA_TDD128_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -SupportedBandUTRA_TDD128_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -SupportedBandUTRA_TDD128_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - SupportedBandUTRA_TDD128_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -SupportedBandUTRA_TDD128_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - SupportedBandUTRA_TDD128_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -SupportedBandUTRA_TDD128_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - SupportedBandUTRA_TDD128_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -SupportedBandUTRA_TDD128_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - SupportedBandUTRA_TDD128_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -SupportedBandUTRA_TDD128_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - SupportedBandUTRA_TDD128_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -SupportedBandUTRA_TDD128_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - SupportedBandUTRA_TDD128_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -SupportedBandUTRA_TDD128_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - SupportedBandUTRA_TDD128_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -SupportedBandUTRA_TDD128_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - SupportedBandUTRA_TDD128_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_SupportedBandUTRA_TDD128_constr_1 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 0, 15 } /* (0..15,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_SupportedBandUTRA_TDD128_value2enum_1[] = { - { 0, 1, "a" }, - { 1, 1, "b" }, - { 2, 1, "c" }, - { 3, 1, "d" }, - { 4, 1, "e" }, - { 5, 1, "f" }, - { 6, 1, "g" }, - { 7, 1, "h" }, - { 8, 1, "i" }, - { 9, 1, "j" }, - { 10, 1, "k" }, - { 11, 1, "l" }, - { 12, 1, "m" }, - { 13, 1, "n" }, - { 14, 1, "o" }, - { 15, 1, "p" } - /* This list is extensible */ -}; -static unsigned int asn_MAP_SupportedBandUTRA_TDD128_enum2value_1[] = { - 0, /* a(0) */ - 1, /* b(1) */ - 2, /* c(2) */ - 3, /* d(3) */ - 4, /* e(4) */ - 5, /* f(5) */ - 6, /* g(6) */ - 7, /* h(7) */ - 8, /* i(8) */ - 9, /* j(9) */ - 10, /* k(10) */ - 11, /* l(11) */ - 12, /* m(12) */ - 13, /* n(13) */ - 14, /* o(14) */ - 15 /* p(15) */ - /* This list is extensible */ -}; -static asn_INTEGER_specifics_t asn_SPC_SupportedBandUTRA_TDD128_specs_1 = { - asn_MAP_SupportedBandUTRA_TDD128_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_SupportedBandUTRA_TDD128_enum2value_1, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 17, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_SupportedBandUTRA_TDD128_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_SupportedBandUTRA_TDD128 = { - "SupportedBandUTRA-TDD128", - "SupportedBandUTRA-TDD128", - SupportedBandUTRA_TDD128_free, - SupportedBandUTRA_TDD128_print, - SupportedBandUTRA_TDD128_constraint, - SupportedBandUTRA_TDD128_decode_ber, - SupportedBandUTRA_TDD128_encode_der, - SupportedBandUTRA_TDD128_decode_xer, - SupportedBandUTRA_TDD128_encode_xer, - SupportedBandUTRA_TDD128_decode_uper, - SupportedBandUTRA_TDD128_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SupportedBandUTRA_TDD128_tags_1, - sizeof(asn_DEF_SupportedBandUTRA_TDD128_tags_1) - /sizeof(asn_DEF_SupportedBandUTRA_TDD128_tags_1[0]), /* 1 */ - asn_DEF_SupportedBandUTRA_TDD128_tags_1, /* Same as above */ - sizeof(asn_DEF_SupportedBandUTRA_TDD128_tags_1) - /sizeof(asn_DEF_SupportedBandUTRA_TDD128_tags_1[0]), /* 1 */ - &asn_PER_type_SupportedBandUTRA_TDD128_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_SupportedBandUTRA_TDD128_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SupportedBandUTRA-TDD384.c b/lte/rrc/lib/asn/src/SupportedBandUTRA-TDD384.c deleted file mode 100644 index da31a6698..000000000 --- a/lte/rrc/lib/asn/src/SupportedBandUTRA-TDD384.c +++ /dev/null @@ -1,176 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SupportedBandUTRA-TDD384.h" - -int -SupportedBandUTRA_TDD384_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -SupportedBandUTRA_TDD384_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -SupportedBandUTRA_TDD384_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - SupportedBandUTRA_TDD384_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -SupportedBandUTRA_TDD384_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - SupportedBandUTRA_TDD384_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -SupportedBandUTRA_TDD384_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - SupportedBandUTRA_TDD384_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -SupportedBandUTRA_TDD384_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - SupportedBandUTRA_TDD384_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -SupportedBandUTRA_TDD384_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - SupportedBandUTRA_TDD384_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -SupportedBandUTRA_TDD384_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - SupportedBandUTRA_TDD384_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -SupportedBandUTRA_TDD384_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - SupportedBandUTRA_TDD384_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -SupportedBandUTRA_TDD384_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - SupportedBandUTRA_TDD384_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_SupportedBandUTRA_TDD384_constr_1 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 0, 15 } /* (0..15,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_SupportedBandUTRA_TDD384_value2enum_1[] = { - { 0, 1, "a" }, - { 1, 1, "b" }, - { 2, 1, "c" }, - { 3, 1, "d" }, - { 4, 1, "e" }, - { 5, 1, "f" }, - { 6, 1, "g" }, - { 7, 1, "h" }, - { 8, 1, "i" }, - { 9, 1, "j" }, - { 10, 1, "k" }, - { 11, 1, "l" }, - { 12, 1, "m" }, - { 13, 1, "n" }, - { 14, 1, "o" }, - { 15, 1, "p" } - /* This list is extensible */ -}; -static unsigned int asn_MAP_SupportedBandUTRA_TDD384_enum2value_1[] = { - 0, /* a(0) */ - 1, /* b(1) */ - 2, /* c(2) */ - 3, /* d(3) */ - 4, /* e(4) */ - 5, /* f(5) */ - 6, /* g(6) */ - 7, /* h(7) */ - 8, /* i(8) */ - 9, /* j(9) */ - 10, /* k(10) */ - 11, /* l(11) */ - 12, /* m(12) */ - 13, /* n(13) */ - 14, /* o(14) */ - 15 /* p(15) */ - /* This list is extensible */ -}; -static asn_INTEGER_specifics_t asn_SPC_SupportedBandUTRA_TDD384_specs_1 = { - asn_MAP_SupportedBandUTRA_TDD384_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_SupportedBandUTRA_TDD384_enum2value_1, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 17, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_SupportedBandUTRA_TDD384_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_SupportedBandUTRA_TDD384 = { - "SupportedBandUTRA-TDD384", - "SupportedBandUTRA-TDD384", - SupportedBandUTRA_TDD384_free, - SupportedBandUTRA_TDD384_print, - SupportedBandUTRA_TDD384_constraint, - SupportedBandUTRA_TDD384_decode_ber, - SupportedBandUTRA_TDD384_encode_der, - SupportedBandUTRA_TDD384_decode_xer, - SupportedBandUTRA_TDD384_encode_xer, - SupportedBandUTRA_TDD384_decode_uper, - SupportedBandUTRA_TDD384_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SupportedBandUTRA_TDD384_tags_1, - sizeof(asn_DEF_SupportedBandUTRA_TDD384_tags_1) - /sizeof(asn_DEF_SupportedBandUTRA_TDD384_tags_1[0]), /* 1 */ - asn_DEF_SupportedBandUTRA_TDD384_tags_1, /* Same as above */ - sizeof(asn_DEF_SupportedBandUTRA_TDD384_tags_1) - /sizeof(asn_DEF_SupportedBandUTRA_TDD384_tags_1[0]), /* 1 */ - &asn_PER_type_SupportedBandUTRA_TDD384_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_SupportedBandUTRA_TDD384_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SupportedBandUTRA-TDD768.c b/lte/rrc/lib/asn/src/SupportedBandUTRA-TDD768.c deleted file mode 100644 index 79802e964..000000000 --- a/lte/rrc/lib/asn/src/SupportedBandUTRA-TDD768.c +++ /dev/null @@ -1,176 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SupportedBandUTRA-TDD768.h" - -int -SupportedBandUTRA_TDD768_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -SupportedBandUTRA_TDD768_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -SupportedBandUTRA_TDD768_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - SupportedBandUTRA_TDD768_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -SupportedBandUTRA_TDD768_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - SupportedBandUTRA_TDD768_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -SupportedBandUTRA_TDD768_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - SupportedBandUTRA_TDD768_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -SupportedBandUTRA_TDD768_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - SupportedBandUTRA_TDD768_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -SupportedBandUTRA_TDD768_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - SupportedBandUTRA_TDD768_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -SupportedBandUTRA_TDD768_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - SupportedBandUTRA_TDD768_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -SupportedBandUTRA_TDD768_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - SupportedBandUTRA_TDD768_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -SupportedBandUTRA_TDD768_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - SupportedBandUTRA_TDD768_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_SupportedBandUTRA_TDD768_constr_1 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 0, 15 } /* (0..15,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_SupportedBandUTRA_TDD768_value2enum_1[] = { - { 0, 1, "a" }, - { 1, 1, "b" }, - { 2, 1, "c" }, - { 3, 1, "d" }, - { 4, 1, "e" }, - { 5, 1, "f" }, - { 6, 1, "g" }, - { 7, 1, "h" }, - { 8, 1, "i" }, - { 9, 1, "j" }, - { 10, 1, "k" }, - { 11, 1, "l" }, - { 12, 1, "m" }, - { 13, 1, "n" }, - { 14, 1, "o" }, - { 15, 1, "p" } - /* This list is extensible */ -}; -static unsigned int asn_MAP_SupportedBandUTRA_TDD768_enum2value_1[] = { - 0, /* a(0) */ - 1, /* b(1) */ - 2, /* c(2) */ - 3, /* d(3) */ - 4, /* e(4) */ - 5, /* f(5) */ - 6, /* g(6) */ - 7, /* h(7) */ - 8, /* i(8) */ - 9, /* j(9) */ - 10, /* k(10) */ - 11, /* l(11) */ - 12, /* m(12) */ - 13, /* n(13) */ - 14, /* o(14) */ - 15 /* p(15) */ - /* This list is extensible */ -}; -static asn_INTEGER_specifics_t asn_SPC_SupportedBandUTRA_TDD768_specs_1 = { - asn_MAP_SupportedBandUTRA_TDD768_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_SupportedBandUTRA_TDD768_enum2value_1, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 17, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_SupportedBandUTRA_TDD768_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_SupportedBandUTRA_TDD768 = { - "SupportedBandUTRA-TDD768", - "SupportedBandUTRA-TDD768", - SupportedBandUTRA_TDD768_free, - SupportedBandUTRA_TDD768_print, - SupportedBandUTRA_TDD768_constraint, - SupportedBandUTRA_TDD768_decode_ber, - SupportedBandUTRA_TDD768_encode_der, - SupportedBandUTRA_TDD768_decode_xer, - SupportedBandUTRA_TDD768_encode_xer, - SupportedBandUTRA_TDD768_decode_uper, - SupportedBandUTRA_TDD768_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SupportedBandUTRA_TDD768_tags_1, - sizeof(asn_DEF_SupportedBandUTRA_TDD768_tags_1) - /sizeof(asn_DEF_SupportedBandUTRA_TDD768_tags_1[0]), /* 1 */ - asn_DEF_SupportedBandUTRA_TDD768_tags_1, /* Same as above */ - sizeof(asn_DEF_SupportedBandUTRA_TDD768_tags_1) - /sizeof(asn_DEF_SupportedBandUTRA_TDD768_tags_1[0]), /* 1 */ - &asn_PER_type_SupportedBandUTRA_TDD768_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_SupportedBandUTRA_TDD768_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInfoListGERAN.c b/lte/rrc/lib/asn/src/SystemInfoListGERAN.c deleted file mode 100644 index 63576e582..000000000 --- a/lte/rrc/lib/asn/src/SystemInfoListGERAN.c +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInfoListGERAN.h" - -static int -memb_OCTET_STRING_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - size = st->size; - - if((size >= 1 && size <= 23)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_Member_constr_2 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 23 } /* (SIZE(1..23)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_SystemInfoListGERAN_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 10 } /* (SIZE(1..10)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SystemInfoListGERAN_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), - 0, - &asn_DEF_OCTET_STRING, - memb_OCTET_STRING_constraint_1, - &asn_PER_memb_Member_constr_2, - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_SystemInfoListGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_SystemInfoListGERAN_specs_1 = { - sizeof(struct SystemInfoListGERAN), - offsetof(struct SystemInfoListGERAN, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInfoListGERAN = { - "SystemInfoListGERAN", - "SystemInfoListGERAN", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInfoListGERAN_tags_1, - sizeof(asn_DEF_SystemInfoListGERAN_tags_1) - /sizeof(asn_DEF_SystemInfoListGERAN_tags_1[0]), /* 1 */ - asn_DEF_SystemInfoListGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInfoListGERAN_tags_1) - /sizeof(asn_DEF_SystemInfoListGERAN_tags_1[0]), /* 1 */ - &asn_PER_type_SystemInfoListGERAN_constr_1, - asn_MBR_SystemInfoListGERAN_1, - 1, /* Single element */ - &asn_SPC_SystemInfoListGERAN_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInformation-r8-IEs.c b/lte/rrc/lib/asn/src/SystemInformation-r8-IEs.c deleted file mode 100644 index 4b8affd4b..000000000 --- a/lte/rrc/lib/asn/src/SystemInformation-r8-IEs.c +++ /dev/null @@ -1,317 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInformation-r8-IEs.h" - -static int -memb_sib_TypeAndInfo_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - /* Determine the number of elements */ - size = _A_CSEQUENCE_FROM_VOID(sptr)->count; - - if((size >= 1 && size <= 32)) { - /* Perform validation of the inner elements */ - return td->check_constraints(td, sptr, ctfailcb, app_key); - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_Member_constr_3 = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 0, 9 } /* (0..9,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_sib_TypeAndInfo_constr_2 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_sib_TypeAndInfo_constr_2 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_Member_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformation_r8_IEs__sib_TypeAndInfo__Member, choice.sib2), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformationBlockType2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sib2" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformation_r8_IEs__sib_TypeAndInfo__Member, choice.sib3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformationBlockType3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sib3" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformation_r8_IEs__sib_TypeAndInfo__Member, choice.sib4), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformationBlockType4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sib4" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformation_r8_IEs__sib_TypeAndInfo__Member, choice.sib5), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformationBlockType5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sib5" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformation_r8_IEs__sib_TypeAndInfo__Member, choice.sib6), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformationBlockType6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sib6" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformation_r8_IEs__sib_TypeAndInfo__Member, choice.sib7), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformationBlockType7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sib7" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformation_r8_IEs__sib_TypeAndInfo__Member, choice.sib8), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformationBlockType8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sib8" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformation_r8_IEs__sib_TypeAndInfo__Member, choice.sib9), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformationBlockType9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sib9" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformation_r8_IEs__sib_TypeAndInfo__Member, choice.sib10), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformationBlockType10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sib10" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformation_r8_IEs__sib_TypeAndInfo__Member, choice.sib11), - (ASN_TAG_CLASS_CONTEXT | (9 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformationBlockType11, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sib11" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformation_r8_IEs__sib_TypeAndInfo__Member, choice.sib12_v920), - (ASN_TAG_CLASS_CONTEXT | (10 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformationBlockType12_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sib12-v920" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformation_r8_IEs__sib_TypeAndInfo__Member, choice.sib13_v920), - (ASN_TAG_CLASS_CONTEXT | (11 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformationBlockType13_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sib13-v920" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_Member_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sib2 at 1145 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* sib3 at 1146 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sib4 at 1147 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* sib5 at 1148 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* sib6 at 1149 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* sib7 at 1150 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* sib8 at 1151 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* sib9 at 1152 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* sib10 at 1153 */ - { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* sib11 at 1154 */ - { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* sib12-v920 at 1156 */ - { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 } /* sib13-v920 at 1158 */ -}; -static asn_CHOICE_specifics_t asn_SPC_Member_specs_3 = { - sizeof(struct SystemInformation_r8_IEs__sib_TypeAndInfo__Member), - offsetof(struct SystemInformation_r8_IEs__sib_TypeAndInfo__Member, _asn_ctx), - offsetof(struct SystemInformation_r8_IEs__sib_TypeAndInfo__Member, present), - sizeof(((struct SystemInformation_r8_IEs__sib_TypeAndInfo__Member *)0)->present), - asn_MAP_Member_tag2el_3, - 12, /* Count of tags in the map */ - 0, - 10 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_Member_3 = { - "CHOICE", - "CHOICE", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_Member_constr_3, - asn_MBR_Member_3, - 12, /* Elements count */ - &asn_SPC_Member_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_sib_TypeAndInfo_2[] = { - { ATF_POINTER, 0, 0, - -1 /* Ambiguous tag (CHOICE?) */, - 0, - &asn_DEF_Member_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_sib_TypeAndInfo_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_sib_TypeAndInfo_specs_2 = { - sizeof(struct SystemInformation_r8_IEs__sib_TypeAndInfo), - offsetof(struct SystemInformation_r8_IEs__sib_TypeAndInfo, _asn_ctx), - 2, /* XER encoding is XMLValueList */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_sib_TypeAndInfo_2 = { - "sib-TypeAndInfo", - "sib-TypeAndInfo", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_sib_TypeAndInfo_tags_2, - sizeof(asn_DEF_sib_TypeAndInfo_tags_2) - /sizeof(asn_DEF_sib_TypeAndInfo_tags_2[0]) - 1, /* 1 */ - asn_DEF_sib_TypeAndInfo_tags_2, /* Same as above */ - sizeof(asn_DEF_sib_TypeAndInfo_tags_2) - /sizeof(asn_DEF_sib_TypeAndInfo_tags_2[0]), /* 2 */ - &asn_PER_type_sib_TypeAndInfo_constr_2, - asn_MBR_sib_TypeAndInfo_2, - 1, /* Single element */ - &asn_SPC_sib_TypeAndInfo_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SystemInformation_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformation_r8_IEs, sib_TypeAndInfo), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_sib_TypeAndInfo_2, - memb_sib_TypeAndInfo_constraint_1, - &asn_PER_memb_sib_TypeAndInfo_constr_2, - 0, - "sib-TypeAndInfo" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformation_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformation_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_SystemInformation_r8_IEs_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_SystemInformation_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemInformation_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sib-TypeAndInfo at 1158 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1159 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemInformation_r8_IEs_specs_1 = { - sizeof(struct SystemInformation_r8_IEs), - offsetof(struct SystemInformation_r8_IEs, _asn_ctx), - asn_MAP_SystemInformation_r8_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_SystemInformation_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInformation_r8_IEs = { - "SystemInformation-r8-IEs", - "SystemInformation-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInformation_r8_IEs_tags_1, - sizeof(asn_DEF_SystemInformation_r8_IEs_tags_1) - /sizeof(asn_DEF_SystemInformation_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_SystemInformation_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInformation_r8_IEs_tags_1) - /sizeof(asn_DEF_SystemInformation_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemInformation_r8_IEs_1, - 2, /* Elements count */ - &asn_SPC_SystemInformation_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInformation-v8a0-IEs.c b/lte/rrc/lib/asn/src/SystemInformation-v8a0-IEs.c deleted file mode 100644 index e3baf49bf..000000000 --- a/lte/rrc/lib/asn/src/SystemInformation-v8a0-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInformation-v8a0-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct SystemInformation_v8a0_IEs__nonCriticalExtension), - offsetof(struct SystemInformation_v8a0_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SystemInformation_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct SystemInformation_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformation_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_SystemInformation_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_SystemInformation_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemInformation_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 1163 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1164 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemInformation_v8a0_IEs_specs_1 = { - sizeof(struct SystemInformation_v8a0_IEs), - offsetof(struct SystemInformation_v8a0_IEs, _asn_ctx), - asn_MAP_SystemInformation_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_SystemInformation_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInformation_v8a0_IEs = { - "SystemInformation-v8a0-IEs", - "SystemInformation-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInformation_v8a0_IEs_tags_1, - sizeof(asn_DEF_SystemInformation_v8a0_IEs_tags_1) - /sizeof(asn_DEF_SystemInformation_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_SystemInformation_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInformation_v8a0_IEs_tags_1) - /sizeof(asn_DEF_SystemInformation_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemInformation_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_SystemInformation_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInformation.c b/lte/rrc/lib/asn/src/SystemInformation.c deleted file mode 100644 index 0ea6d7cf8..000000000 --- a/lte/rrc/lib/asn/src/SystemInformation.c +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInformation.h" - -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_4 = { - sizeof(struct SystemInformation__criticalExtensions__criticalExtensionsFuture), - offsetof(struct SystemInformation__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_4 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_4, - sizeof(asn_DEF_criticalExtensionsFuture_tags_4) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_4[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_4, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_4) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_4[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformation__criticalExtensions, choice.systemInformation_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformation_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "systemInformation-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformation__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* systemInformation-r8 at 1139 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 1140 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = { - sizeof(struct SystemInformation__criticalExtensions), - offsetof(struct SystemInformation__criticalExtensions, _asn_ctx), - offsetof(struct SystemInformation__criticalExtensions, present), - sizeof(((struct SystemInformation__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_2, - asn_MBR_criticalExtensions_2, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SystemInformation_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformation, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_SystemInformation_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemInformation_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions at 1139 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemInformation_specs_1 = { - sizeof(struct SystemInformation), - offsetof(struct SystemInformation, _asn_ctx), - asn_MAP_SystemInformation_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInformation = { - "SystemInformation", - "SystemInformation", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInformation_tags_1, - sizeof(asn_DEF_SystemInformation_tags_1) - /sizeof(asn_DEF_SystemInformation_tags_1[0]), /* 1 */ - asn_DEF_SystemInformation_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInformation_tags_1) - /sizeof(asn_DEF_SystemInformation_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemInformation_1, - 1, /* Elements count */ - &asn_SPC_SystemInformation_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInformationBlockType1-v890-IEs.c b/lte/rrc/lib/asn/src/SystemInformationBlockType1-v890-IEs.c deleted file mode 100644 index d5b3d8a45..000000000 --- a/lte/rrc/lib/asn/src/SystemInformationBlockType1-v890-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInformationBlockType1-v890-IEs.h" - -static asn_TYPE_member_t asn_MBR_SystemInformationBlockType1_v890_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct SystemInformationBlockType1_v890_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType1_v890_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformationBlockType1_v920_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_SystemInformationBlockType1_v890_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_SystemInformationBlockType1_v890_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemInformationBlockType1_v890_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 1194 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1195 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemInformationBlockType1_v890_IEs_specs_1 = { - sizeof(struct SystemInformationBlockType1_v890_IEs), - offsetof(struct SystemInformationBlockType1_v890_IEs, _asn_ctx), - asn_MAP_SystemInformationBlockType1_v890_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_SystemInformationBlockType1_v890_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType1_v890_IEs = { - "SystemInformationBlockType1-v890-IEs", - "SystemInformationBlockType1-v890-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInformationBlockType1_v890_IEs_tags_1, - sizeof(asn_DEF_SystemInformationBlockType1_v890_IEs_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType1_v890_IEs_tags_1[0]), /* 1 */ - asn_DEF_SystemInformationBlockType1_v890_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInformationBlockType1_v890_IEs_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType1_v890_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemInformationBlockType1_v890_IEs_1, - 2, /* Elements count */ - &asn_SPC_SystemInformationBlockType1_v890_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInformationBlockType1-v920-IEs.c b/lte/rrc/lib/asn/src/SystemInformationBlockType1-v920-IEs.c deleted file mode 100644 index 726f538b2..000000000 --- a/lte/rrc/lib/asn/src/SystemInformationBlockType1-v920-IEs.c +++ /dev/null @@ -1,257 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInformationBlockType1-v920-IEs.h" - -static int -ims_EmergencySupport_r9_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -ims_EmergencySupport_r9_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -ims_EmergencySupport_r9_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ims_EmergencySupport_r9_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -ims_EmergencySupport_r9_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ims_EmergencySupport_r9_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -ims_EmergencySupport_r9_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ims_EmergencySupport_r9_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -ims_EmergencySupport_r9_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ims_EmergencySupport_r9_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -ims_EmergencySupport_r9_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ims_EmergencySupport_r9_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -ims_EmergencySupport_r9_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ims_EmergencySupport_r9_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -ims_EmergencySupport_r9_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ims_EmergencySupport_r9_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -ims_EmergencySupport_r9_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ims_EmergencySupport_r9_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_ims_EmergencySupport_r9_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_ims_EmergencySupport_r9_value2enum_2[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_ims_EmergencySupport_r9_enum2value_2[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_ims_EmergencySupport_r9_specs_2 = { - asn_MAP_ims_EmergencySupport_r9_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_ims_EmergencySupport_r9_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_ims_EmergencySupport_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ims_EmergencySupport_r9_2 = { - "ims-EmergencySupport-r9", - "ims-EmergencySupport-r9", - ims_EmergencySupport_r9_2_free, - ims_EmergencySupport_r9_2_print, - ims_EmergencySupport_r9_2_constraint, - ims_EmergencySupport_r9_2_decode_ber, - ims_EmergencySupport_r9_2_encode_der, - ims_EmergencySupport_r9_2_decode_xer, - ims_EmergencySupport_r9_2_encode_xer, - ims_EmergencySupport_r9_2_decode_uper, - ims_EmergencySupport_r9_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ims_EmergencySupport_r9_tags_2, - sizeof(asn_DEF_ims_EmergencySupport_r9_tags_2) - /sizeof(asn_DEF_ims_EmergencySupport_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_ims_EmergencySupport_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_ims_EmergencySupport_r9_tags_2) - /sizeof(asn_DEF_ims_EmergencySupport_r9_tags_2[0]), /* 2 */ - &asn_PER_type_ims_EmergencySupport_r9_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_ims_EmergencySupport_r9_specs_2 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_5 = { - sizeof(struct SystemInformationBlockType1_v920_IEs__nonCriticalExtension), - offsetof(struct SystemInformationBlockType1_v920_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_5 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_5, - sizeof(asn_DEF_nonCriticalExtension_tags_5) - /sizeof(asn_DEF_nonCriticalExtension_tags_5[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_5, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_5) - /sizeof(asn_DEF_nonCriticalExtension_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SystemInformationBlockType1_v920_IEs_1[] = { - { ATF_POINTER, 3, offsetof(struct SystemInformationBlockType1_v920_IEs, ims_EmergencySupport_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ims_EmergencySupport_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ims-EmergencySupport-r9" - }, - { ATF_POINTER, 2, offsetof(struct SystemInformationBlockType1_v920_IEs, cellSelectionInfo_v920), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellSelectionInfo_v920, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellSelectionInfo-v920" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType1_v920_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_nonCriticalExtension_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_SystemInformationBlockType1_v920_IEs_oms_1[] = { 0, 1, 2 }; -static ber_tlv_tag_t asn_DEF_SystemInformationBlockType1_v920_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemInformationBlockType1_v920_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ims-EmergencySupport-r9 at 1199 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cellSelectionInfo-v920 at 1200 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* nonCriticalExtension at 1201 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemInformationBlockType1_v920_IEs_specs_1 = { - sizeof(struct SystemInformationBlockType1_v920_IEs), - offsetof(struct SystemInformationBlockType1_v920_IEs, _asn_ctx), - asn_MAP_SystemInformationBlockType1_v920_IEs_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_SystemInformationBlockType1_v920_IEs_oms_1, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType1_v920_IEs = { - "SystemInformationBlockType1-v920-IEs", - "SystemInformationBlockType1-v920-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInformationBlockType1_v920_IEs_tags_1, - sizeof(asn_DEF_SystemInformationBlockType1_v920_IEs_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType1_v920_IEs_tags_1[0]), /* 1 */ - asn_DEF_SystemInformationBlockType1_v920_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInformationBlockType1_v920_IEs_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType1_v920_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemInformationBlockType1_v920_IEs_1, - 3, /* Elements count */ - &asn_SPC_SystemInformationBlockType1_v920_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInformationBlockType1.c b/lte/rrc/lib/asn/src/SystemInformationBlockType1.c deleted file mode 100644 index a64c19074..000000000 --- a/lte/rrc/lib/asn/src/SystemInformationBlockType1.c +++ /dev/null @@ -1,839 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInformationBlockType1.h" - -static int -cellBarred_6_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -cellBarred_6_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -cellBarred_6_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - cellBarred_6_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -cellBarred_6_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - cellBarred_6_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -cellBarred_6_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - cellBarred_6_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -cellBarred_6_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - cellBarred_6_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -cellBarred_6_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - cellBarred_6_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -cellBarred_6_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - cellBarred_6_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -cellBarred_6_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - cellBarred_6_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -cellBarred_6_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - cellBarred_6_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -intraFreqReselection_9_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -intraFreqReselection_9_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -intraFreqReselection_9_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - intraFreqReselection_9_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -intraFreqReselection_9_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - intraFreqReselection_9_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -intraFreqReselection_9_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - intraFreqReselection_9_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -intraFreqReselection_9_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - intraFreqReselection_9_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -intraFreqReselection_9_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - intraFreqReselection_9_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -intraFreqReselection_9_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - intraFreqReselection_9_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -intraFreqReselection_9_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - intraFreqReselection_9_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -intraFreqReselection_9_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - intraFreqReselection_9_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_q_RxLevMinOffset_constraint_14(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 8)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -si_WindowLength_21_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -si_WindowLength_21_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -si_WindowLength_21_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - si_WindowLength_21_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -si_WindowLength_21_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - si_WindowLength_21_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -si_WindowLength_21_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - si_WindowLength_21_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -si_WindowLength_21_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - si_WindowLength_21_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -si_WindowLength_21_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - si_WindowLength_21_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -si_WindowLength_21_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - si_WindowLength_21_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -si_WindowLength_21_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - si_WindowLength_21_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -si_WindowLength_21_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - si_WindowLength_21_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_freqBandIndicator_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 64)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_systemInfoValueTag_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 31)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_cellBarred_constr_6 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_intraFreqReselection_constr_9 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_q_RxLevMinOffset_constr_16 = { - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (1..8) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_si_WindowLength_constr_21 = { - { APC_CONSTRAINED, 3, 3, 0, 6 } /* (0..6) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_freqBandIndicator_constr_18 = { - { APC_CONSTRAINED, 6, 6, 1, 64 } /* (1..64) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_systemInfoValueTag_constr_29 = { - { APC_CONSTRAINED, 5, 5, 0, 31 } /* (0..31) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_cellBarred_value2enum_6[] = { - { 0, 6, "barred" }, - { 1, 9, "notBarred" } -}; -static unsigned int asn_MAP_cellBarred_enum2value_6[] = { - 0, /* barred(0) */ - 1 /* notBarred(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_cellBarred_specs_6 = { - asn_MAP_cellBarred_value2enum_6, /* "tag" => N; sorted by tag */ - asn_MAP_cellBarred_enum2value_6, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_cellBarred_tags_6[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cellBarred_6 = { - "cellBarred", - "cellBarred", - cellBarred_6_free, - cellBarred_6_print, - cellBarred_6_constraint, - cellBarred_6_decode_ber, - cellBarred_6_encode_der, - cellBarred_6_decode_xer, - cellBarred_6_encode_xer, - cellBarred_6_decode_uper, - cellBarred_6_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_cellBarred_tags_6, - sizeof(asn_DEF_cellBarred_tags_6) - /sizeof(asn_DEF_cellBarred_tags_6[0]) - 1, /* 1 */ - asn_DEF_cellBarred_tags_6, /* Same as above */ - sizeof(asn_DEF_cellBarred_tags_6) - /sizeof(asn_DEF_cellBarred_tags_6[0]), /* 2 */ - &asn_PER_type_cellBarred_constr_6, - 0, 0, /* Defined elsewhere */ - &asn_SPC_cellBarred_specs_6 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_intraFreqReselection_value2enum_9[] = { - { 0, 7, "allowed" }, - { 1, 10, "notAllowed" } -}; -static unsigned int asn_MAP_intraFreqReselection_enum2value_9[] = { - 0, /* allowed(0) */ - 1 /* notAllowed(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_intraFreqReselection_specs_9 = { - asn_MAP_intraFreqReselection_value2enum_9, /* "tag" => N; sorted by tag */ - asn_MAP_intraFreqReselection_enum2value_9, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_intraFreqReselection_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_intraFreqReselection_9 = { - "intraFreqReselection", - "intraFreqReselection", - intraFreqReselection_9_free, - intraFreqReselection_9_print, - intraFreqReselection_9_constraint, - intraFreqReselection_9_decode_ber, - intraFreqReselection_9_encode_der, - intraFreqReselection_9_decode_xer, - intraFreqReselection_9_encode_xer, - intraFreqReselection_9_decode_uper, - intraFreqReselection_9_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_intraFreqReselection_tags_9, - sizeof(asn_DEF_intraFreqReselection_tags_9) - /sizeof(asn_DEF_intraFreqReselection_tags_9[0]) - 1, /* 1 */ - asn_DEF_intraFreqReselection_tags_9, /* Same as above */ - sizeof(asn_DEF_intraFreqReselection_tags_9) - /sizeof(asn_DEF_intraFreqReselection_tags_9[0]), /* 2 */ - &asn_PER_type_intraFreqReselection_constr_9, - 0, 0, /* Defined elsewhere */ - &asn_SPC_intraFreqReselection_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_cellAccessRelatedInfo_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType1__cellAccessRelatedInfo, plmn_IdentityList), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PLMN_IdentityList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "plmn-IdentityList" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType1__cellAccessRelatedInfo, trackingAreaCode), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_TrackingAreaCode, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "trackingAreaCode" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType1__cellAccessRelatedInfo, cellIdentity), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellIdentity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellIdentity" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType1__cellAccessRelatedInfo, cellBarred), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_cellBarred_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellBarred" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType1__cellAccessRelatedInfo, intraFreqReselection), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_intraFreqReselection_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "intraFreqReselection" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType1__cellAccessRelatedInfo, csg_Indication), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csg-Indication" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType1__cellAccessRelatedInfo, csg_Identity), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CSG_Identity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csg-Identity" - }, -}; -static int asn_MAP_cellAccessRelatedInfo_oms_2[] = { 6 }; -static ber_tlv_tag_t asn_DEF_cellAccessRelatedInfo_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_cellAccessRelatedInfo_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* plmn-IdentityList at 1170 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* trackingAreaCode at 1171 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* cellIdentity at 1172 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* cellBarred at 1173 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* intraFreqReselection at 1174 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* csg-Indication at 1175 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* csg-Identity at 1176 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_cellAccessRelatedInfo_specs_2 = { - sizeof(struct SystemInformationBlockType1__cellAccessRelatedInfo), - offsetof(struct SystemInformationBlockType1__cellAccessRelatedInfo, _asn_ctx), - asn_MAP_cellAccessRelatedInfo_tag2el_2, - 7, /* Count of tags in the map */ - asn_MAP_cellAccessRelatedInfo_oms_2, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cellAccessRelatedInfo_2 = { - "cellAccessRelatedInfo", - "cellAccessRelatedInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_cellAccessRelatedInfo_tags_2, - sizeof(asn_DEF_cellAccessRelatedInfo_tags_2) - /sizeof(asn_DEF_cellAccessRelatedInfo_tags_2[0]) - 1, /* 1 */ - asn_DEF_cellAccessRelatedInfo_tags_2, /* Same as above */ - sizeof(asn_DEF_cellAccessRelatedInfo_tags_2) - /sizeof(asn_DEF_cellAccessRelatedInfo_tags_2[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_cellAccessRelatedInfo_2, - 7, /* Elements count */ - &asn_SPC_cellAccessRelatedInfo_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_cellSelectionInfo_14[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType1__cellSelectionInfo, q_RxLevMin), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Q_RxLevMin, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "q-RxLevMin" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType1__cellSelectionInfo, q_RxLevMinOffset), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_q_RxLevMinOffset_constraint_14, - &asn_PER_memb_q_RxLevMinOffset_constr_16, - 0, - "q-RxLevMinOffset" - }, -}; -static int asn_MAP_cellSelectionInfo_oms_14[] = { 1 }; -static ber_tlv_tag_t asn_DEF_cellSelectionInfo_tags_14[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_cellSelectionInfo_tag2el_14[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* q-RxLevMin at 1179 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* q-RxLevMinOffset at 1180 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_cellSelectionInfo_specs_14 = { - sizeof(struct SystemInformationBlockType1__cellSelectionInfo), - offsetof(struct SystemInformationBlockType1__cellSelectionInfo, _asn_ctx), - asn_MAP_cellSelectionInfo_tag2el_14, - 2, /* Count of tags in the map */ - asn_MAP_cellSelectionInfo_oms_14, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cellSelectionInfo_14 = { - "cellSelectionInfo", - "cellSelectionInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_cellSelectionInfo_tags_14, - sizeof(asn_DEF_cellSelectionInfo_tags_14) - /sizeof(asn_DEF_cellSelectionInfo_tags_14[0]) - 1, /* 1 */ - asn_DEF_cellSelectionInfo_tags_14, /* Same as above */ - sizeof(asn_DEF_cellSelectionInfo_tags_14) - /sizeof(asn_DEF_cellSelectionInfo_tags_14[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_cellSelectionInfo_14, - 2, /* Elements count */ - &asn_SPC_cellSelectionInfo_specs_14 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_si_WindowLength_value2enum_21[] = { - { 0, 3, "ms1" }, - { 1, 3, "ms2" }, - { 2, 3, "ms5" }, - { 3, 4, "ms10" }, - { 4, 4, "ms15" }, - { 5, 4, "ms20" }, - { 6, 4, "ms40" } -}; -static unsigned int asn_MAP_si_WindowLength_enum2value_21[] = { - 0, /* ms1(0) */ - 3, /* ms10(3) */ - 4, /* ms15(4) */ - 1, /* ms2(1) */ - 5, /* ms20(5) */ - 6, /* ms40(6) */ - 2 /* ms5(2) */ -}; -static asn_INTEGER_specifics_t asn_SPC_si_WindowLength_specs_21 = { - asn_MAP_si_WindowLength_value2enum_21, /* "tag" => N; sorted by tag */ - asn_MAP_si_WindowLength_enum2value_21, /* N => "tag"; sorted by N */ - 7, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_si_WindowLength_tags_21[] = { - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_si_WindowLength_21 = { - "si-WindowLength", - "si-WindowLength", - si_WindowLength_21_free, - si_WindowLength_21_print, - si_WindowLength_21_constraint, - si_WindowLength_21_decode_ber, - si_WindowLength_21_encode_der, - si_WindowLength_21_decode_xer, - si_WindowLength_21_encode_xer, - si_WindowLength_21_decode_uper, - si_WindowLength_21_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_si_WindowLength_tags_21, - sizeof(asn_DEF_si_WindowLength_tags_21) - /sizeof(asn_DEF_si_WindowLength_tags_21[0]) - 1, /* 1 */ - asn_DEF_si_WindowLength_tags_21, /* Same as above */ - sizeof(asn_DEF_si_WindowLength_tags_21) - /sizeof(asn_DEF_si_WindowLength_tags_21[0]), /* 2 */ - &asn_PER_type_si_WindowLength_constr_21, - 0, 0, /* Defined elsewhere */ - &asn_SPC_si_WindowLength_specs_21 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SystemInformationBlockType1_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType1, cellAccessRelatedInfo), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_cellAccessRelatedInfo_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellAccessRelatedInfo" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType1, cellSelectionInfo), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_cellSelectionInfo_14, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellSelectionInfo" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType1, p_Max), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_P_Max, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "p-Max" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType1, freqBandIndicator), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_freqBandIndicator_constraint_1, - &asn_PER_memb_freqBandIndicator_constr_18, - 0, - "freqBandIndicator" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType1, schedulingInfoList), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SchedulingInfoList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "schedulingInfoList" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType1, tdd_Config), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_TDD_Config, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "tdd-Config" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType1, si_WindowLength), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_si_WindowLength_21, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "si-WindowLength" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType1, systemInfoValueTag), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_systemInfoValueTag_constraint_1, - &asn_PER_memb_systemInfoValueTag_constr_29, - 0, - "systemInfoValueTag" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType1, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemInformationBlockType1_v890_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_SystemInformationBlockType1_oms_1[] = { 2, 5, 8 }; -static ber_tlv_tag_t asn_DEF_SystemInformationBlockType1_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemInformationBlockType1_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellAccessRelatedInfo at 1170 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cellSelectionInfo at 1179 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* p-Max at 1182 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* freqBandIndicator at 1183 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* schedulingInfoList at 1184 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* tdd-Config at 1185 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* si-WindowLength at 1187 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* systemInfoValueTag at 1189 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 } /* nonCriticalExtension at 1190 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemInformationBlockType1_specs_1 = { - sizeof(struct SystemInformationBlockType1), - offsetof(struct SystemInformationBlockType1, _asn_ctx), - asn_MAP_SystemInformationBlockType1_tag2el_1, - 9, /* Count of tags in the map */ - asn_MAP_SystemInformationBlockType1_oms_1, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType1 = { - "SystemInformationBlockType1", - "SystemInformationBlockType1", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInformationBlockType1_tags_1, - sizeof(asn_DEF_SystemInformationBlockType1_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType1_tags_1[0]), /* 1 */ - asn_DEF_SystemInformationBlockType1_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInformationBlockType1_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType1_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemInformationBlockType1_1, - 9, /* Elements count */ - &asn_SPC_SystemInformationBlockType1_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInformationBlockType10.c b/lte/rrc/lib/asn/src/SystemInformationBlockType10.c deleted file mode 100644 index 6997c3507..000000000 --- a/lte/rrc/lib/asn/src/SystemInformationBlockType10.c +++ /dev/null @@ -1,236 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInformationBlockType10.h" - -static int -memb_messageIdentifier_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_serialNumber_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_warningType_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - size = st->size; - - if((size == 2)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_warningSecurityInfo_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - size = st->size; - - if((size == 50)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_messageIdentifier_constr_2 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_serialNumber_constr_3 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_warningType_constr_4 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 2, 2 } /* (SIZE(2..2)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_warningSecurityInfo_constr_5 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 50, 50 } /* (SIZE(50..50)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SystemInformationBlockType10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType10, messageIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_messageIdentifier_constraint_1, - &asn_PER_memb_messageIdentifier_constr_2, - 0, - "messageIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType10, serialNumber), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_serialNumber_constraint_1, - &asn_PER_memb_serialNumber_constr_3, - 0, - "serialNumber" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType10, warningType), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_warningType_constraint_1, - &asn_PER_memb_warningType_constr_4, - 0, - "warningType" - }, - { ATF_POINTER, 2, offsetof(struct SystemInformationBlockType10, warningSecurityInfo), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_warningSecurityInfo_constraint_1, - &asn_PER_memb_warningSecurityInfo_constr_5, - 0, - "warningSecurityInfo" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType10, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, -}; -static int asn_MAP_SystemInformationBlockType10_oms_1[] = { 3, 4 }; -static ber_tlv_tag_t asn_DEF_SystemInformationBlockType10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemInformationBlockType10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* messageIdentifier at 1757 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* serialNumber at 1758 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* warningType at 1759 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* warningSecurityInfo at 1760 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* lateNonCriticalExtension at 1762 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemInformationBlockType10_specs_1 = { - sizeof(struct SystemInformationBlockType10), - offsetof(struct SystemInformationBlockType10, _asn_ctx), - asn_MAP_SystemInformationBlockType10_tag2el_1, - 5, /* Count of tags in the map */ - asn_MAP_SystemInformationBlockType10_oms_1, /* Optional members */ - 1, 1, /* Root/Additions */ - 3, /* Start extensions */ - 6 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType10 = { - "SystemInformationBlockType10", - "SystemInformationBlockType10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInformationBlockType10_tags_1, - sizeof(asn_DEF_SystemInformationBlockType10_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType10_tags_1[0]), /* 1 */ - asn_DEF_SystemInformationBlockType10_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInformationBlockType10_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemInformationBlockType10_1, - 5, /* Elements count */ - &asn_SPC_SystemInformationBlockType10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInformationBlockType11.c b/lte/rrc/lib/asn/src/SystemInformationBlockType11.c deleted file mode 100644 index 695bd49c2..000000000 --- a/lte/rrc/lib/asn/src/SystemInformationBlockType11.c +++ /dev/null @@ -1,394 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInformationBlockType11.h" - -static int -warningMessageSegmentType_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -warningMessageSegmentType_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -warningMessageSegmentType_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - warningMessageSegmentType_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -warningMessageSegmentType_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - warningMessageSegmentType_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -warningMessageSegmentType_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - warningMessageSegmentType_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -warningMessageSegmentType_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - warningMessageSegmentType_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -warningMessageSegmentType_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - warningMessageSegmentType_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -warningMessageSegmentType_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - warningMessageSegmentType_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -warningMessageSegmentType_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - warningMessageSegmentType_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -warningMessageSegmentType_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - warningMessageSegmentType_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_messageIdentifier_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_serialNumber_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_warningMessageSegmentNumber_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 63)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_dataCodingScheme_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - size = st->size; - - if((size == 1)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_warningMessageSegmentType_constr_4 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_messageIdentifier_constr_2 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_serialNumber_constr_3 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_warningMessageSegmentNumber_constr_7 = { - { APC_CONSTRAINED, 6, 6, 0, 63 } /* (0..63) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_dataCodingScheme_constr_9 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 1, 1 } /* (SIZE(1..1)) */, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_warningMessageSegmentType_value2enum_4[] = { - { 0, 14, "notLastSegment" }, - { 1, 11, "lastSegment" } -}; -static unsigned int asn_MAP_warningMessageSegmentType_enum2value_4[] = { - 1, /* lastSegment(1) */ - 0 /* notLastSegment(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_warningMessageSegmentType_specs_4 = { - asn_MAP_warningMessageSegmentType_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_warningMessageSegmentType_enum2value_4, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_warningMessageSegmentType_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_warningMessageSegmentType_4 = { - "warningMessageSegmentType", - "warningMessageSegmentType", - warningMessageSegmentType_4_free, - warningMessageSegmentType_4_print, - warningMessageSegmentType_4_constraint, - warningMessageSegmentType_4_decode_ber, - warningMessageSegmentType_4_encode_der, - warningMessageSegmentType_4_decode_xer, - warningMessageSegmentType_4_encode_xer, - warningMessageSegmentType_4_decode_uper, - warningMessageSegmentType_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_warningMessageSegmentType_tags_4, - sizeof(asn_DEF_warningMessageSegmentType_tags_4) - /sizeof(asn_DEF_warningMessageSegmentType_tags_4[0]) - 1, /* 1 */ - asn_DEF_warningMessageSegmentType_tags_4, /* Same as above */ - sizeof(asn_DEF_warningMessageSegmentType_tags_4) - /sizeof(asn_DEF_warningMessageSegmentType_tags_4[0]), /* 2 */ - &asn_PER_type_warningMessageSegmentType_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_warningMessageSegmentType_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SystemInformationBlockType11_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType11, messageIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_messageIdentifier_constraint_1, - &asn_PER_memb_messageIdentifier_constr_2, - 0, - "messageIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType11, serialNumber), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_serialNumber_constraint_1, - &asn_PER_memb_serialNumber_constr_3, - 0, - "serialNumber" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType11, warningMessageSegmentType), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_warningMessageSegmentType_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "warningMessageSegmentType" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType11, warningMessageSegmentNumber), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_warningMessageSegmentNumber_constraint_1, - &asn_PER_memb_warningMessageSegmentNumber_constr_7, - 0, - "warningMessageSegmentNumber" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType11, warningMessageSegment), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "warningMessageSegment" - }, - { ATF_POINTER, 2, offsetof(struct SystemInformationBlockType11, dataCodingScheme), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_dataCodingScheme_constraint_1, - &asn_PER_memb_dataCodingScheme_constr_9, - 0, - "dataCodingScheme" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType11, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, -}; -static int asn_MAP_SystemInformationBlockType11_oms_1[] = { 5, 6 }; -static ber_tlv_tag_t asn_DEF_SystemInformationBlockType11_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemInformationBlockType11_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* messageIdentifier at 1767 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* serialNumber at 1768 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* warningMessageSegmentType at 1769 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* warningMessageSegmentNumber at 1770 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* warningMessageSegment at 1771 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* dataCodingScheme at 1772 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* lateNonCriticalExtension at 1774 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemInformationBlockType11_specs_1 = { - sizeof(struct SystemInformationBlockType11), - offsetof(struct SystemInformationBlockType11, _asn_ctx), - asn_MAP_SystemInformationBlockType11_tag2el_1, - 7, /* Count of tags in the map */ - asn_MAP_SystemInformationBlockType11_oms_1, /* Optional members */ - 1, 1, /* Root/Additions */ - 5, /* Start extensions */ - 8 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType11 = { - "SystemInformationBlockType11", - "SystemInformationBlockType11", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInformationBlockType11_tags_1, - sizeof(asn_DEF_SystemInformationBlockType11_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType11_tags_1[0]), /* 1 */ - asn_DEF_SystemInformationBlockType11_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInformationBlockType11_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType11_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemInformationBlockType11_1, - 7, /* Elements count */ - &asn_SPC_SystemInformationBlockType11_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInformationBlockType12-r9.c b/lte/rrc/lib/asn/src/SystemInformationBlockType12-r9.c deleted file mode 100644 index bc2559c7e..000000000 --- a/lte/rrc/lib/asn/src/SystemInformationBlockType12-r9.c +++ /dev/null @@ -1,394 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInformationBlockType12-r9.h" - -static int -warningMessageSegmentType_r9_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -warningMessageSegmentType_r9_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -warningMessageSegmentType_r9_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - warningMessageSegmentType_r9_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -warningMessageSegmentType_r9_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - warningMessageSegmentType_r9_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -warningMessageSegmentType_r9_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - warningMessageSegmentType_r9_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -warningMessageSegmentType_r9_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - warningMessageSegmentType_r9_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -warningMessageSegmentType_r9_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - warningMessageSegmentType_r9_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -warningMessageSegmentType_r9_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - warningMessageSegmentType_r9_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -warningMessageSegmentType_r9_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - warningMessageSegmentType_r9_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -warningMessageSegmentType_r9_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - warningMessageSegmentType_r9_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_messageIdentifier_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_serialNumber_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_warningMessageSegmentNumber_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 63)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_dataCodingScheme_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - size = st->size; - - if((size == 1)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_warningMessageSegmentType_r9_constr_4 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_messageIdentifier_r9_constr_2 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_serialNumber_r9_constr_3 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_warningMessageSegmentNumber_r9_constr_7 = { - { APC_CONSTRAINED, 6, 6, 0, 63 } /* (0..63) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_dataCodingScheme_r9_constr_9 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 1, 1 } /* (SIZE(1..1)) */, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_warningMessageSegmentType_r9_value2enum_4[] = { - { 0, 14, "notLastSegment" }, - { 1, 11, "lastSegment" } -}; -static unsigned int asn_MAP_warningMessageSegmentType_r9_enum2value_4[] = { - 1, /* lastSegment(1) */ - 0 /* notLastSegment(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_warningMessageSegmentType_r9_specs_4 = { - asn_MAP_warningMessageSegmentType_r9_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_warningMessageSegmentType_r9_enum2value_4, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_warningMessageSegmentType_r9_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_warningMessageSegmentType_r9_4 = { - "warningMessageSegmentType-r9", - "warningMessageSegmentType-r9", - warningMessageSegmentType_r9_4_free, - warningMessageSegmentType_r9_4_print, - warningMessageSegmentType_r9_4_constraint, - warningMessageSegmentType_r9_4_decode_ber, - warningMessageSegmentType_r9_4_encode_der, - warningMessageSegmentType_r9_4_decode_xer, - warningMessageSegmentType_r9_4_encode_xer, - warningMessageSegmentType_r9_4_decode_uper, - warningMessageSegmentType_r9_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_warningMessageSegmentType_r9_tags_4, - sizeof(asn_DEF_warningMessageSegmentType_r9_tags_4) - /sizeof(asn_DEF_warningMessageSegmentType_r9_tags_4[0]) - 1, /* 1 */ - asn_DEF_warningMessageSegmentType_r9_tags_4, /* Same as above */ - sizeof(asn_DEF_warningMessageSegmentType_r9_tags_4) - /sizeof(asn_DEF_warningMessageSegmentType_r9_tags_4[0]), /* 2 */ - &asn_PER_type_warningMessageSegmentType_r9_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_warningMessageSegmentType_r9_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SystemInformationBlockType12_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType12_r9, messageIdentifier_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_messageIdentifier_r9_constraint_1, - &asn_PER_memb_messageIdentifier_r9_constr_2, - 0, - "messageIdentifier-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType12_r9, serialNumber_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_serialNumber_r9_constraint_1, - &asn_PER_memb_serialNumber_r9_constr_3, - 0, - "serialNumber-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType12_r9, warningMessageSegmentType_r9), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_warningMessageSegmentType_r9_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "warningMessageSegmentType-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType12_r9, warningMessageSegmentNumber_r9), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_warningMessageSegmentNumber_r9_constraint_1, - &asn_PER_memb_warningMessageSegmentNumber_r9_constr_7, - 0, - "warningMessageSegmentNumber-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType12_r9, warningMessageSegment_r9), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "warningMessageSegment-r9" - }, - { ATF_POINTER, 2, offsetof(struct SystemInformationBlockType12_r9, dataCodingScheme_r9), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_dataCodingScheme_r9_constraint_1, - &asn_PER_memb_dataCodingScheme_r9_constr_9, - 0, - "dataCodingScheme-r9" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType12_r9, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, -}; -static int asn_MAP_SystemInformationBlockType12_r9_oms_1[] = { 5, 6 }; -static ber_tlv_tag_t asn_DEF_SystemInformationBlockType12_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemInformationBlockType12_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* messageIdentifier-r9 at 1779 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* serialNumber-r9 at 1780 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* warningMessageSegmentType-r9 at 1781 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* warningMessageSegmentNumber-r9 at 1782 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* warningMessageSegment-r9 at 1783 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* dataCodingScheme-r9 at 1784 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* lateNonCriticalExtension at 1785 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemInformationBlockType12_r9_specs_1 = { - sizeof(struct SystemInformationBlockType12_r9), - offsetof(struct SystemInformationBlockType12_r9, _asn_ctx), - asn_MAP_SystemInformationBlockType12_r9_tag2el_1, - 7, /* Count of tags in the map */ - asn_MAP_SystemInformationBlockType12_r9_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - 6, /* Start extensions */ - 8 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType12_r9 = { - "SystemInformationBlockType12-r9", - "SystemInformationBlockType12-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInformationBlockType12_r9_tags_1, - sizeof(asn_DEF_SystemInformationBlockType12_r9_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType12_r9_tags_1[0]), /* 1 */ - asn_DEF_SystemInformationBlockType12_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInformationBlockType12_r9_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType12_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemInformationBlockType12_r9_1, - 7, /* Elements count */ - &asn_SPC_SystemInformationBlockType12_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInformationBlockType13-r9.c b/lte/rrc/lib/asn/src/SystemInformationBlockType13-r9.c deleted file mode 100644 index 37ef92bcb..000000000 --- a/lte/rrc/lib/asn/src/SystemInformationBlockType13-r9.c +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInformationBlockType13-r9.h" - -static asn_TYPE_member_t asn_MBR_SystemInformationBlockType13_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType13_r9, mbsfn_AreaInfoList_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MBSFN_AreaInfoList_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mbsfn-AreaInfoList-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType13_r9, notificationConfig_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MBMS_NotificationConfig_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "notificationConfig-r9" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType13_r9, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, -}; -static int asn_MAP_SystemInformationBlockType13_r9_oms_1[] = { 2 }; -static ber_tlv_tag_t asn_DEF_SystemInformationBlockType13_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemInformationBlockType13_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mbsfn-AreaInfoList-r9 at 1791 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* notificationConfig-r9 at 1792 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* lateNonCriticalExtension at 1793 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemInformationBlockType13_r9_specs_1 = { - sizeof(struct SystemInformationBlockType13_r9), - offsetof(struct SystemInformationBlockType13_r9, _asn_ctx), - asn_MAP_SystemInformationBlockType13_r9_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_SystemInformationBlockType13_r9_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - 2, /* Start extensions */ - 4 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType13_r9 = { - "SystemInformationBlockType13-r9", - "SystemInformationBlockType13-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInformationBlockType13_r9_tags_1, - sizeof(asn_DEF_SystemInformationBlockType13_r9_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType13_r9_tags_1[0]), /* 1 */ - asn_DEF_SystemInformationBlockType13_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInformationBlockType13_r9_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType13_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemInformationBlockType13_r9_1, - 3, /* Elements count */ - &asn_SPC_SystemInformationBlockType13_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInformationBlockType2.c b/lte/rrc/lib/asn/src/SystemInformationBlockType2.c deleted file mode 100644 index b15d3be2c..000000000 --- a/lte/rrc/lib/asn/src/SystemInformationBlockType2.c +++ /dev/null @@ -1,449 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInformationBlockType2.h" - -static int -ul_Bandwidth_10_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -ul_Bandwidth_10_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -ul_Bandwidth_10_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ul_Bandwidth_10_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -ul_Bandwidth_10_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ul_Bandwidth_10_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -ul_Bandwidth_10_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ul_Bandwidth_10_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -ul_Bandwidth_10_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ul_Bandwidth_10_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -ul_Bandwidth_10_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ul_Bandwidth_10_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -ul_Bandwidth_10_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ul_Bandwidth_10_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -ul_Bandwidth_10_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ul_Bandwidth_10_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -ul_Bandwidth_10_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ul_Bandwidth_10_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_ul_Bandwidth_constr_10 = { - { APC_CONSTRAINED, 3, 3, 0, 5 } /* (0..5) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_ac_BarringInfo_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType2__ac_BarringInfo, ac_BarringForEmergency), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ac-BarringForEmergency" - }, - { ATF_POINTER, 2, offsetof(struct SystemInformationBlockType2__ac_BarringInfo, ac_BarringForMO_Signalling), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AC_BarringConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ac-BarringForMO-Signalling" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType2__ac_BarringInfo, ac_BarringForMO_Data), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AC_BarringConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ac-BarringForMO-Data" - }, -}; -static int asn_MAP_ac_BarringInfo_oms_2[] = { 1, 2 }; -static ber_tlv_tag_t asn_DEF_ac_BarringInfo_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ac_BarringInfo_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ac-BarringForEmergency at 1467 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ac-BarringForMO-Signalling at 1468 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* ac-BarringForMO-Data at 1469 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ac_BarringInfo_specs_2 = { - sizeof(struct SystemInformationBlockType2__ac_BarringInfo), - offsetof(struct SystemInformationBlockType2__ac_BarringInfo, _asn_ctx), - asn_MAP_ac_BarringInfo_tag2el_2, - 3, /* Count of tags in the map */ - asn_MAP_ac_BarringInfo_oms_2, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ac_BarringInfo_2 = { - "ac-BarringInfo", - "ac-BarringInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ac_BarringInfo_tags_2, - sizeof(asn_DEF_ac_BarringInfo_tags_2) - /sizeof(asn_DEF_ac_BarringInfo_tags_2[0]) - 1, /* 1 */ - asn_DEF_ac_BarringInfo_tags_2, /* Same as above */ - sizeof(asn_DEF_ac_BarringInfo_tags_2) - /sizeof(asn_DEF_ac_BarringInfo_tags_2[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_ac_BarringInfo_2, - 3, /* Elements count */ - &asn_SPC_ac_BarringInfo_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_ul_Bandwidth_value2enum_10[] = { - { 0, 2, "n6" }, - { 1, 3, "n15" }, - { 2, 3, "n25" }, - { 3, 3, "n50" }, - { 4, 3, "n75" }, - { 5, 4, "n100" } -}; -static unsigned int asn_MAP_ul_Bandwidth_enum2value_10[] = { - 5, /* n100(5) */ - 1, /* n15(1) */ - 2, /* n25(2) */ - 3, /* n50(3) */ - 0, /* n6(0) */ - 4 /* n75(4) */ -}; -static asn_INTEGER_specifics_t asn_SPC_ul_Bandwidth_specs_10 = { - asn_MAP_ul_Bandwidth_value2enum_10, /* "tag" => N; sorted by tag */ - asn_MAP_ul_Bandwidth_enum2value_10, /* N => "tag"; sorted by N */ - 6, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_ul_Bandwidth_tags_10[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_ul_Bandwidth_10 = { - "ul-Bandwidth", - "ul-Bandwidth", - ul_Bandwidth_10_free, - ul_Bandwidth_10_print, - ul_Bandwidth_10_constraint, - ul_Bandwidth_10_decode_ber, - ul_Bandwidth_10_encode_der, - ul_Bandwidth_10_decode_xer, - ul_Bandwidth_10_encode_xer, - ul_Bandwidth_10_decode_uper, - ul_Bandwidth_10_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ul_Bandwidth_tags_10, - sizeof(asn_DEF_ul_Bandwidth_tags_10) - /sizeof(asn_DEF_ul_Bandwidth_tags_10[0]) - 1, /* 1 */ - asn_DEF_ul_Bandwidth_tags_10, /* Same as above */ - sizeof(asn_DEF_ul_Bandwidth_tags_10) - /sizeof(asn_DEF_ul_Bandwidth_tags_10[0]), /* 2 */ - &asn_PER_type_ul_Bandwidth_constr_10, - 0, 0, /* Defined elsewhere */ - &asn_SPC_ul_Bandwidth_specs_10 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_freqInfo_8[] = { - { ATF_POINTER, 2, offsetof(struct SystemInformationBlockType2__freqInfo, ul_CarrierFreq), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ARFCN_ValueEUTRA, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ul-CarrierFreq" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType2__freqInfo, ul_Bandwidth), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ul_Bandwidth_10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ul-Bandwidth" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType2__freqInfo, additionalSpectrumEmission), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AdditionalSpectrumEmission, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "additionalSpectrumEmission" - }, -}; -static int asn_MAP_freqInfo_oms_8[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_freqInfo_tags_8[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_freqInfo_tag2el_8[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ul-CarrierFreq at 1474 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ul-Bandwidth at 1475 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* additionalSpectrumEmission at 1478 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_freqInfo_specs_8 = { - sizeof(struct SystemInformationBlockType2__freqInfo), - offsetof(struct SystemInformationBlockType2__freqInfo, _asn_ctx), - asn_MAP_freqInfo_tag2el_8, - 3, /* Count of tags in the map */ - asn_MAP_freqInfo_oms_8, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_freqInfo_8 = { - "freqInfo", - "freqInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_freqInfo_tags_8, - sizeof(asn_DEF_freqInfo_tags_8) - /sizeof(asn_DEF_freqInfo_tags_8[0]) - 1, /* 1 */ - asn_DEF_freqInfo_tags_8, /* Same as above */ - sizeof(asn_DEF_freqInfo_tags_8) - /sizeof(asn_DEF_freqInfo_tags_8[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_freqInfo_8, - 3, /* Elements count */ - &asn_SPC_freqInfo_specs_8 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SystemInformationBlockType2_1[] = { - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType2, ac_BarringInfo), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_ac_BarringInfo_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ac-BarringInfo" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType2, radioResourceConfigCommon), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RadioResourceConfigCommonSIB, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "radioResourceConfigCommon" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType2, ue_TimersAndConstants), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UE_TimersAndConstants, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ue-TimersAndConstants" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType2, freqInfo), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - 0, - &asn_DEF_freqInfo_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "freqInfo" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType2, mbsfn_SubframeConfigList), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MBSFN_SubframeConfigList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mbsfn-SubframeConfigList" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType2, timeAlignmentTimerCommon), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_TimeAlignmentTimer, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "timeAlignmentTimerCommon" - }, - { ATF_POINTER, 4, offsetof(struct SystemInformationBlockType2, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 3, offsetof(struct SystemInformationBlockType2, ssac_BarringForMMTEL_Voice_r9), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AC_BarringConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ssac-BarringForMMTEL-Voice-r9" - }, - { ATF_POINTER, 2, offsetof(struct SystemInformationBlockType2, ssac_BarringForMMTEL_Video_r9), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AC_BarringConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ssac-BarringForMMTEL-Video-r9" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType2, ac_BarringForCSFB_r10), - (ASN_TAG_CLASS_CONTEXT | (9 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AC_BarringConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ac-BarringForCSFB-r10" - }, -}; -static int asn_MAP_SystemInformationBlockType2_oms_1[] = { 0, 4, 6, 7, 8, 9 }; -static ber_tlv_tag_t asn_DEF_SystemInformationBlockType2_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemInformationBlockType2_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ac-BarringInfo at 1467 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* radioResourceConfigCommon at 1471 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ue-TimersAndConstants at 1472 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* freqInfo at 1474 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* mbsfn-SubframeConfigList at 1479 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* timeAlignmentTimerCommon at 1480 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* lateNonCriticalExtension at 1481 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* ssac-BarringForMMTEL-Voice-r9 at 1482 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* ssac-BarringForMMTEL-Video-r9 at 1483 */ - { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 } /* ac-BarringForCSFB-r10 at 1484 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemInformationBlockType2_specs_1 = { - sizeof(struct SystemInformationBlockType2), - offsetof(struct SystemInformationBlockType2, _asn_ctx), - asn_MAP_SystemInformationBlockType2_tag2el_1, - 10, /* Count of tags in the map */ - asn_MAP_SystemInformationBlockType2_oms_1, /* Optional members */ - 6, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType2 = { - "SystemInformationBlockType2", - "SystemInformationBlockType2", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInformationBlockType2_tags_1, - sizeof(asn_DEF_SystemInformationBlockType2_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType2_tags_1[0]), /* 1 */ - asn_DEF_SystemInformationBlockType2_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInformationBlockType2_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType2_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemInformationBlockType2_1, - 10, /* Elements count */ - &asn_SPC_SystemInformationBlockType2_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInformationBlockType3.c b/lte/rrc/lib/asn/src/SystemInformationBlockType3.c deleted file mode 100644 index b14252568..000000000 --- a/lte/rrc/lib/asn/src/SystemInformationBlockType3.c +++ /dev/null @@ -1,1102 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInformationBlockType3.h" - -static int -q_Hyst_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -q_Hyst_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -q_Hyst_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - q_Hyst_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -q_Hyst_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - q_Hyst_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -q_Hyst_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - q_Hyst_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -q_Hyst_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - q_Hyst_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -q_Hyst_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - q_Hyst_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -q_Hyst_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - q_Hyst_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -q_Hyst_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - q_Hyst_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -q_Hyst_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - q_Hyst_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -sf_Medium_23_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -sf_Medium_23_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -sf_Medium_23_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - sf_Medium_23_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -sf_Medium_23_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - sf_Medium_23_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -sf_Medium_23_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - sf_Medium_23_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -sf_Medium_23_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - sf_Medium_23_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -sf_Medium_23_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - sf_Medium_23_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -sf_Medium_23_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - sf_Medium_23_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -sf_Medium_23_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - sf_Medium_23_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -sf_Medium_23_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - sf_Medium_23_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -sf_High_28_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -sf_High_28_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -sf_High_28_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - sf_High_28_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -sf_High_28_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - sf_High_28_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -sf_High_28_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - sf_High_28_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -sf_High_28_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - sf_High_28_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -sf_High_28_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - sf_High_28_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -sf_High_28_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - sf_High_28_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -sf_High_28_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - sf_High_28_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -sf_High_28_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - sf_High_28_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_q_Hyst_constr_3 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_sf_Medium_constr_23 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_sf_High_constr_28 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_q_Hyst_value2enum_3[] = { - { 0, 3, "dB0" }, - { 1, 3, "dB1" }, - { 2, 3, "dB2" }, - { 3, 3, "dB3" }, - { 4, 3, "dB4" }, - { 5, 3, "dB5" }, - { 6, 3, "dB6" }, - { 7, 3, "dB8" }, - { 8, 4, "dB10" }, - { 9, 4, "dB12" }, - { 10, 4, "dB14" }, - { 11, 4, "dB16" }, - { 12, 4, "dB18" }, - { 13, 4, "dB20" }, - { 14, 4, "dB22" }, - { 15, 4, "dB24" } -}; -static unsigned int asn_MAP_q_Hyst_enum2value_3[] = { - 0, /* dB0(0) */ - 1, /* dB1(1) */ - 8, /* dB10(8) */ - 9, /* dB12(9) */ - 10, /* dB14(10) */ - 11, /* dB16(11) */ - 12, /* dB18(12) */ - 2, /* dB2(2) */ - 13, /* dB20(13) */ - 14, /* dB22(14) */ - 15, /* dB24(15) */ - 3, /* dB3(3) */ - 4, /* dB4(4) */ - 5, /* dB5(5) */ - 6, /* dB6(6) */ - 7 /* dB8(7) */ -}; -static asn_INTEGER_specifics_t asn_SPC_q_Hyst_specs_3 = { - asn_MAP_q_Hyst_value2enum_3, /* "tag" => N; sorted by tag */ - asn_MAP_q_Hyst_enum2value_3, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_q_Hyst_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_q_Hyst_3 = { - "q-Hyst", - "q-Hyst", - q_Hyst_3_free, - q_Hyst_3_print, - q_Hyst_3_constraint, - q_Hyst_3_decode_ber, - q_Hyst_3_encode_der, - q_Hyst_3_decode_xer, - q_Hyst_3_encode_xer, - q_Hyst_3_decode_uper, - q_Hyst_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_q_Hyst_tags_3, - sizeof(asn_DEF_q_Hyst_tags_3) - /sizeof(asn_DEF_q_Hyst_tags_3[0]) - 1, /* 1 */ - asn_DEF_q_Hyst_tags_3, /* Same as above */ - sizeof(asn_DEF_q_Hyst_tags_3) - /sizeof(asn_DEF_q_Hyst_tags_3[0]), /* 2 */ - &asn_PER_type_q_Hyst_constr_3, - 0, 0, /* Defined elsewhere */ - &asn_SPC_q_Hyst_specs_3 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_sf_Medium_value2enum_23[] = { - { 0, 4, "dB-6" }, - { 1, 4, "dB-4" }, - { 2, 4, "dB-2" }, - { 3, 3, "dB0" } -}; -static unsigned int asn_MAP_sf_Medium_enum2value_23[] = { - 2, /* dB-2(2) */ - 1, /* dB-4(1) */ - 0, /* dB-6(0) */ - 3 /* dB0(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_sf_Medium_specs_23 = { - asn_MAP_sf_Medium_value2enum_23, /* "tag" => N; sorted by tag */ - asn_MAP_sf_Medium_enum2value_23, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_sf_Medium_tags_23[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_sf_Medium_23 = { - "sf-Medium", - "sf-Medium", - sf_Medium_23_free, - sf_Medium_23_print, - sf_Medium_23_constraint, - sf_Medium_23_decode_ber, - sf_Medium_23_encode_der, - sf_Medium_23_decode_xer, - sf_Medium_23_encode_xer, - sf_Medium_23_decode_uper, - sf_Medium_23_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_sf_Medium_tags_23, - sizeof(asn_DEF_sf_Medium_tags_23) - /sizeof(asn_DEF_sf_Medium_tags_23[0]) - 1, /* 1 */ - asn_DEF_sf_Medium_tags_23, /* Same as above */ - sizeof(asn_DEF_sf_Medium_tags_23) - /sizeof(asn_DEF_sf_Medium_tags_23[0]), /* 2 */ - &asn_PER_type_sf_Medium_constr_23, - 0, 0, /* Defined elsewhere */ - &asn_SPC_sf_Medium_specs_23 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_sf_High_value2enum_28[] = { - { 0, 4, "dB-6" }, - { 1, 4, "dB-4" }, - { 2, 4, "dB-2" }, - { 3, 3, "dB0" } -}; -static unsigned int asn_MAP_sf_High_enum2value_28[] = { - 2, /* dB-2(2) */ - 1, /* dB-4(1) */ - 0, /* dB-6(0) */ - 3 /* dB0(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_sf_High_specs_28 = { - asn_MAP_sf_High_value2enum_28, /* "tag" => N; sorted by tag */ - asn_MAP_sf_High_enum2value_28, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_sf_High_tags_28[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_sf_High_28 = { - "sf-High", - "sf-High", - sf_High_28_free, - sf_High_28_print, - sf_High_28_constraint, - sf_High_28_decode_ber, - sf_High_28_encode_der, - sf_High_28_decode_xer, - sf_High_28_encode_xer, - sf_High_28_decode_uper, - sf_High_28_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_sf_High_tags_28, - sizeof(asn_DEF_sf_High_tags_28) - /sizeof(asn_DEF_sf_High_tags_28[0]) - 1, /* 1 */ - asn_DEF_sf_High_tags_28, /* Same as above */ - sizeof(asn_DEF_sf_High_tags_28) - /sizeof(asn_DEF_sf_High_tags_28[0]), /* 2 */ - &asn_PER_type_sf_High_constr_28, - 0, 0, /* Defined elsewhere */ - &asn_SPC_sf_High_specs_28 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_q_HystSF_22[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars__q_HystSF, sf_Medium), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_sf_Medium_23, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sf-Medium" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars__q_HystSF, sf_High), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_sf_High_28, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sf-High" - }, -}; -static ber_tlv_tag_t asn_DEF_q_HystSF_tags_22[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_q_HystSF_tag2el_22[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sf-Medium at 1507 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* sf-High at 1509 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_q_HystSF_specs_22 = { - sizeof(struct SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars__q_HystSF), - offsetof(struct SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars__q_HystSF, _asn_ctx), - asn_MAP_q_HystSF_tag2el_22, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_q_HystSF_22 = { - "q-HystSF", - "q-HystSF", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_q_HystSF_tags_22, - sizeof(asn_DEF_q_HystSF_tags_22) - /sizeof(asn_DEF_q_HystSF_tags_22[0]) - 1, /* 1 */ - asn_DEF_q_HystSF_tags_22, /* Same as above */ - sizeof(asn_DEF_q_HystSF_tags_22) - /sizeof(asn_DEF_q_HystSF_tags_22[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_q_HystSF_22, - 2, /* Elements count */ - &asn_SPC_q_HystSF_specs_22 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_speedStateReselectionPars_20[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars, mobilityStateParameters), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MobilityStateParameters, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mobilityStateParameters" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars, q_HystSF), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_q_HystSF_22, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "q-HystSF" - }, -}; -static ber_tlv_tag_t asn_DEF_speedStateReselectionPars_tags_20[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_speedStateReselectionPars_tag2el_20[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mobilityStateParameters at 1504 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* q-HystSF at 1507 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_speedStateReselectionPars_specs_20 = { - sizeof(struct SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars), - offsetof(struct SystemInformationBlockType3__cellReselectionInfoCommon__speedStateReselectionPars, _asn_ctx), - asn_MAP_speedStateReselectionPars_tag2el_20, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_speedStateReselectionPars_20 = { - "speedStateReselectionPars", - "speedStateReselectionPars", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_speedStateReselectionPars_tags_20, - sizeof(asn_DEF_speedStateReselectionPars_tags_20) - /sizeof(asn_DEF_speedStateReselectionPars_tags_20[0]) - 1, /* 1 */ - asn_DEF_speedStateReselectionPars_tags_20, /* Same as above */ - sizeof(asn_DEF_speedStateReselectionPars_tags_20) - /sizeof(asn_DEF_speedStateReselectionPars_tags_20[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_speedStateReselectionPars_20, - 2, /* Elements count */ - &asn_SPC_speedStateReselectionPars_specs_20 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_cellReselectionInfoCommon_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType3__cellReselectionInfoCommon, q_Hyst), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_q_Hyst_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "q-Hyst" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType3__cellReselectionInfoCommon, speedStateReselectionPars), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_speedStateReselectionPars_20, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "speedStateReselectionPars" - }, -}; -static int asn_MAP_cellReselectionInfoCommon_oms_2[] = { 1 }; -static ber_tlv_tag_t asn_DEF_cellReselectionInfoCommon_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_cellReselectionInfoCommon_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* q-Hyst at 1501 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* speedStateReselectionPars at 1504 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_cellReselectionInfoCommon_specs_2 = { - sizeof(struct SystemInformationBlockType3__cellReselectionInfoCommon), - offsetof(struct SystemInformationBlockType3__cellReselectionInfoCommon, _asn_ctx), - asn_MAP_cellReselectionInfoCommon_tag2el_2, - 2, /* Count of tags in the map */ - asn_MAP_cellReselectionInfoCommon_oms_2, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cellReselectionInfoCommon_2 = { - "cellReselectionInfoCommon", - "cellReselectionInfoCommon", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_cellReselectionInfoCommon_tags_2, - sizeof(asn_DEF_cellReselectionInfoCommon_tags_2) - /sizeof(asn_DEF_cellReselectionInfoCommon_tags_2[0]) - 1, /* 1 */ - asn_DEF_cellReselectionInfoCommon_tags_2, /* Same as above */ - sizeof(asn_DEF_cellReselectionInfoCommon_tags_2) - /sizeof(asn_DEF_cellReselectionInfoCommon_tags_2[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_cellReselectionInfoCommon_2, - 2, /* Elements count */ - &asn_SPC_cellReselectionInfoCommon_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_cellReselectionServingFreqInfo_33[] = { - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType3__cellReselectionServingFreqInfo, s_NonIntraSearch), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThreshold, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "s-NonIntraSearch" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType3__cellReselectionServingFreqInfo, threshServingLow), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThreshold, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "threshServingLow" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType3__cellReselectionServingFreqInfo, cellReselectionPriority), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellReselectionPriority, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReselectionPriority" - }, -}; -static int asn_MAP_cellReselectionServingFreqInfo_oms_33[] = { 0 }; -static ber_tlv_tag_t asn_DEF_cellReselectionServingFreqInfo_tags_33[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_cellReselectionServingFreqInfo_tag2el_33[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* s-NonIntraSearch at 1514 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* threshServingLow at 1515 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* cellReselectionPriority at 1517 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_cellReselectionServingFreqInfo_specs_33 = { - sizeof(struct SystemInformationBlockType3__cellReselectionServingFreqInfo), - offsetof(struct SystemInformationBlockType3__cellReselectionServingFreqInfo, _asn_ctx), - asn_MAP_cellReselectionServingFreqInfo_tag2el_33, - 3, /* Count of tags in the map */ - asn_MAP_cellReselectionServingFreqInfo_oms_33, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cellReselectionServingFreqInfo_33 = { - "cellReselectionServingFreqInfo", - "cellReselectionServingFreqInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_cellReselectionServingFreqInfo_tags_33, - sizeof(asn_DEF_cellReselectionServingFreqInfo_tags_33) - /sizeof(asn_DEF_cellReselectionServingFreqInfo_tags_33[0]) - 1, /* 1 */ - asn_DEF_cellReselectionServingFreqInfo_tags_33, /* Same as above */ - sizeof(asn_DEF_cellReselectionServingFreqInfo_tags_33) - /sizeof(asn_DEF_cellReselectionServingFreqInfo_tags_33[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_cellReselectionServingFreqInfo_33, - 3, /* Elements count */ - &asn_SPC_cellReselectionServingFreqInfo_specs_33 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_intraFreqCellReselectionInfo_37[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType3__intraFreqCellReselectionInfo, q_RxLevMin), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Q_RxLevMin, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "q-RxLevMin" - }, - { ATF_POINTER, 3, offsetof(struct SystemInformationBlockType3__intraFreqCellReselectionInfo, p_Max), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_P_Max, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "p-Max" - }, - { ATF_POINTER, 2, offsetof(struct SystemInformationBlockType3__intraFreqCellReselectionInfo, s_IntraSearch), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThreshold, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "s-IntraSearch" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType3__intraFreqCellReselectionInfo, allowedMeasBandwidth), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AllowedMeasBandwidth, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "allowedMeasBandwidth" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType3__intraFreqCellReselectionInfo, presenceAntennaPort1), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PresenceAntennaPort1, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "presenceAntennaPort1" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType3__intraFreqCellReselectionInfo, neighCellConfig), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NeighCellConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "neighCellConfig" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType3__intraFreqCellReselectionInfo, t_ReselectionEUTRA), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_T_Reselection, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t-ReselectionEUTRA" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType3__intraFreqCellReselectionInfo, t_ReselectionEUTRA_SF), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SpeedStateScaleFactors, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t-ReselectionEUTRA-SF" - }, -}; -static int asn_MAP_intraFreqCellReselectionInfo_oms_37[] = { 1, 2, 3, 7 }; -static ber_tlv_tag_t asn_DEF_intraFreqCellReselectionInfo_tags_37[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_intraFreqCellReselectionInfo_tag2el_37[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* q-RxLevMin at 1519 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* p-Max at 1520 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* s-IntraSearch at 1521 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* allowedMeasBandwidth at 1522 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* presenceAntennaPort1 at 1523 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* neighCellConfig at 1524 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* t-ReselectionEUTRA at 1525 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* t-ReselectionEUTRA-SF at 1526 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_intraFreqCellReselectionInfo_specs_37 = { - sizeof(struct SystemInformationBlockType3__intraFreqCellReselectionInfo), - offsetof(struct SystemInformationBlockType3__intraFreqCellReselectionInfo, _asn_ctx), - asn_MAP_intraFreqCellReselectionInfo_tag2el_37, - 8, /* Count of tags in the map */ - asn_MAP_intraFreqCellReselectionInfo_oms_37, /* Optional members */ - 4, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_intraFreqCellReselectionInfo_37 = { - "intraFreqCellReselectionInfo", - "intraFreqCellReselectionInfo", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_intraFreqCellReselectionInfo_tags_37, - sizeof(asn_DEF_intraFreqCellReselectionInfo_tags_37) - /sizeof(asn_DEF_intraFreqCellReselectionInfo_tags_37[0]) - 1, /* 1 */ - asn_DEF_intraFreqCellReselectionInfo_tags_37, /* Same as above */ - sizeof(asn_DEF_intraFreqCellReselectionInfo_tags_37) - /sizeof(asn_DEF_intraFreqCellReselectionInfo_tags_37[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_intraFreqCellReselectionInfo_37, - 8, /* Elements count */ - &asn_SPC_intraFreqCellReselectionInfo_specs_37 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_s_IntraSearch_v920_47[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType3__s_IntraSearch_v920, s_IntraSearchP_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThreshold, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "s-IntraSearchP-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType3__s_IntraSearch_v920, s_IntraSearchQ_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThresholdQ_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "s-IntraSearchQ-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_s_IntraSearch_v920_tags_47[] = { - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_s_IntraSearch_v920_tag2el_47[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* s-IntraSearchP-r9 at 1530 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* s-IntraSearchQ-r9 at 1532 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_s_IntraSearch_v920_specs_47 = { - sizeof(struct SystemInformationBlockType3__s_IntraSearch_v920), - offsetof(struct SystemInformationBlockType3__s_IntraSearch_v920, _asn_ctx), - asn_MAP_s_IntraSearch_v920_tag2el_47, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_s_IntraSearch_v920_47 = { - "s-IntraSearch-v920", - "s-IntraSearch-v920", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_s_IntraSearch_v920_tags_47, - sizeof(asn_DEF_s_IntraSearch_v920_tags_47) - /sizeof(asn_DEF_s_IntraSearch_v920_tags_47[0]) - 1, /* 1 */ - asn_DEF_s_IntraSearch_v920_tags_47, /* Same as above */ - sizeof(asn_DEF_s_IntraSearch_v920_tags_47) - /sizeof(asn_DEF_s_IntraSearch_v920_tags_47[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_s_IntraSearch_v920_47, - 2, /* Elements count */ - &asn_SPC_s_IntraSearch_v920_specs_47 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_s_NonIntraSearch_v920_50[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType3__s_NonIntraSearch_v920, s_NonIntraSearchP_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThreshold, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "s-NonIntraSearchP-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType3__s_NonIntraSearch_v920, s_NonIntraSearchQ_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThresholdQ_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "s-NonIntraSearchQ-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_s_NonIntraSearch_v920_tags_50[] = { - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_s_NonIntraSearch_v920_tag2el_50[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* s-NonIntraSearchP-r9 at 1534 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* s-NonIntraSearchQ-r9 at 1536 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_s_NonIntraSearch_v920_specs_50 = { - sizeof(struct SystemInformationBlockType3__s_NonIntraSearch_v920), - offsetof(struct SystemInformationBlockType3__s_NonIntraSearch_v920, _asn_ctx), - asn_MAP_s_NonIntraSearch_v920_tag2el_50, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_s_NonIntraSearch_v920_50 = { - "s-NonIntraSearch-v920", - "s-NonIntraSearch-v920", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_s_NonIntraSearch_v920_tags_50, - sizeof(asn_DEF_s_NonIntraSearch_v920_tags_50) - /sizeof(asn_DEF_s_NonIntraSearch_v920_tags_50[0]) - 1, /* 1 */ - asn_DEF_s_NonIntraSearch_v920_tags_50, /* Same as above */ - sizeof(asn_DEF_s_NonIntraSearch_v920_tags_50) - /sizeof(asn_DEF_s_NonIntraSearch_v920_tags_50[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_s_NonIntraSearch_v920_50, - 2, /* Elements count */ - &asn_SPC_s_NonIntraSearch_v920_specs_50 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SystemInformationBlockType3_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType3, cellReselectionInfoCommon), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_cellReselectionInfoCommon_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReselectionInfoCommon" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType3, cellReselectionServingFreqInfo), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_cellReselectionServingFreqInfo_33, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReselectionServingFreqInfo" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType3, intraFreqCellReselectionInfo), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_intraFreqCellReselectionInfo_37, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "intraFreqCellReselectionInfo" - }, - { ATF_POINTER, 5, offsetof(struct SystemInformationBlockType3, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 4, offsetof(struct SystemInformationBlockType3, s_IntraSearch_v920), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - 0, - &asn_DEF_s_IntraSearch_v920_47, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "s-IntraSearch-v920" - }, - { ATF_POINTER, 3, offsetof(struct SystemInformationBlockType3, s_NonIntraSearch_v920), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - 0, - &asn_DEF_s_NonIntraSearch_v920_50, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "s-NonIntraSearch-v920" - }, - { ATF_POINTER, 2, offsetof(struct SystemInformationBlockType3, q_QualMin_r9), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Q_QualMin_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "q-QualMin-r9" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType3, threshServingLowQ_r9), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReselectionThresholdQ_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "threshServingLowQ-r9" - }, -}; -static int asn_MAP_SystemInformationBlockType3_oms_1[] = { 3, 4, 5, 6, 7 }; -static ber_tlv_tag_t asn_DEF_SystemInformationBlockType3_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemInformationBlockType3_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellReselectionInfoCommon at 1502 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cellReselectionServingFreqInfo at 1514 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* intraFreqCellReselectionInfo at 1519 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* lateNonCriticalExtension at 1528 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* s-IntraSearch-v920 at 1530 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* s-NonIntraSearch-v920 at 1534 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* q-QualMin-r9 at 1537 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* threshServingLowQ-r9 at 1538 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemInformationBlockType3_specs_1 = { - sizeof(struct SystemInformationBlockType3), - offsetof(struct SystemInformationBlockType3, _asn_ctx), - asn_MAP_SystemInformationBlockType3_tag2el_1, - 8, /* Count of tags in the map */ - asn_MAP_SystemInformationBlockType3_oms_1, /* Optional members */ - 5, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType3 = { - "SystemInformationBlockType3", - "SystemInformationBlockType3", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInformationBlockType3_tags_1, - sizeof(asn_DEF_SystemInformationBlockType3_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType3_tags_1[0]), /* 1 */ - asn_DEF_SystemInformationBlockType3_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInformationBlockType3_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType3_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemInformationBlockType3_1, - 8, /* Elements count */ - &asn_SPC_SystemInformationBlockType3_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInformationBlockType4.c b/lte/rrc/lib/asn/src/SystemInformationBlockType4.c deleted file mode 100644 index 307c2b872..000000000 --- a/lte/rrc/lib/asn/src/SystemInformationBlockType4.c +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInformationBlockType4.h" - -static asn_TYPE_member_t asn_MBR_SystemInformationBlockType4_1[] = { - { ATF_POINTER, 4, offsetof(struct SystemInformationBlockType4, intraFreqNeighCellList), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_IntraFreqNeighCellList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "intraFreqNeighCellList" - }, - { ATF_POINTER, 3, offsetof(struct SystemInformationBlockType4, intraFreqBlackCellList), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_IntraFreqBlackCellList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "intraFreqBlackCellList" - }, - { ATF_POINTER, 2, offsetof(struct SystemInformationBlockType4, csg_PhysCellIdRange), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellIdRange, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csg-PhysCellIdRange" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType4, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, -}; -static int asn_MAP_SystemInformationBlockType4_oms_1[] = { 0, 1, 2, 3 }; -static ber_tlv_tag_t asn_DEF_SystemInformationBlockType4_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemInformationBlockType4_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* intraFreqNeighCellList at 1543 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* intraFreqBlackCellList at 1544 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* csg-PhysCellIdRange at 1545 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* lateNonCriticalExtension at 1547 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemInformationBlockType4_specs_1 = { - sizeof(struct SystemInformationBlockType4), - offsetof(struct SystemInformationBlockType4, _asn_ctx), - asn_MAP_SystemInformationBlockType4_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_SystemInformationBlockType4_oms_1, /* Optional members */ - 3, 1, /* Root/Additions */ - 2, /* Start extensions */ - 5 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType4 = { - "SystemInformationBlockType4", - "SystemInformationBlockType4", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInformationBlockType4_tags_1, - sizeof(asn_DEF_SystemInformationBlockType4_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType4_tags_1[0]), /* 1 */ - asn_DEF_SystemInformationBlockType4_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInformationBlockType4_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType4_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemInformationBlockType4_1, - 4, /* Elements count */ - &asn_SPC_SystemInformationBlockType4_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInformationBlockType5.c b/lte/rrc/lib/asn/src/SystemInformationBlockType5.c deleted file mode 100644 index 1e8250144..000000000 --- a/lte/rrc/lib/asn/src/SystemInformationBlockType5.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInformationBlockType5.h" - -static asn_TYPE_member_t asn_MBR_SystemInformationBlockType5_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType5, interFreqCarrierFreqList), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_InterFreqCarrierFreqList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interFreqCarrierFreqList" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType5, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, -}; -static int asn_MAP_SystemInformationBlockType5_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_SystemInformationBlockType5_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemInformationBlockType5_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* interFreqCarrierFreqList at 1562 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* lateNonCriticalExtension at 1564 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemInformationBlockType5_specs_1 = { - sizeof(struct SystemInformationBlockType5), - offsetof(struct SystemInformationBlockType5, _asn_ctx), - asn_MAP_SystemInformationBlockType5_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_SystemInformationBlockType5_oms_1, /* Optional members */ - 0, 1, /* Root/Additions */ - 0, /* Start extensions */ - 3 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType5 = { - "SystemInformationBlockType5", - "SystemInformationBlockType5", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInformationBlockType5_tags_1, - sizeof(asn_DEF_SystemInformationBlockType5_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType5_tags_1[0]), /* 1 */ - asn_DEF_SystemInformationBlockType5_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInformationBlockType5_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType5_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemInformationBlockType5_1, - 2, /* Elements count */ - &asn_SPC_SystemInformationBlockType5_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInformationBlockType6.c b/lte/rrc/lib/asn/src/SystemInformationBlockType6.c deleted file mode 100644 index 0570458f8..000000000 --- a/lte/rrc/lib/asn/src/SystemInformationBlockType6.c +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInformationBlockType6.h" - -static asn_TYPE_member_t asn_MBR_SystemInformationBlockType6_1[] = { - { ATF_POINTER, 2, offsetof(struct SystemInformationBlockType6, carrierFreqListUTRA_FDD), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqListUTRA_FDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreqListUTRA-FDD" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType6, carrierFreqListUTRA_TDD), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqListUTRA_TDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreqListUTRA-TDD" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType6, t_ReselectionUTRA), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_T_Reselection, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t-ReselectionUTRA" - }, - { ATF_POINTER, 2, offsetof(struct SystemInformationBlockType6, t_ReselectionUTRA_SF), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SpeedStateScaleFactors, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t-ReselectionUTRA-SF" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType6, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, -}; -static int asn_MAP_SystemInformationBlockType6_oms_1[] = { 0, 1, 3, 4 }; -static ber_tlv_tag_t asn_DEF_SystemInformationBlockType6_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemInformationBlockType6_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreqListUTRA-FDD at 1602 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* carrierFreqListUTRA-TDD at 1603 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* t-ReselectionUTRA at 1604 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* t-ReselectionUTRA-SF at 1605 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* lateNonCriticalExtension at 1607 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemInformationBlockType6_specs_1 = { - sizeof(struct SystemInformationBlockType6), - offsetof(struct SystemInformationBlockType6, _asn_ctx), - asn_MAP_SystemInformationBlockType6_tag2el_1, - 5, /* Count of tags in the map */ - asn_MAP_SystemInformationBlockType6_oms_1, /* Optional members */ - 3, 1, /* Root/Additions */ - 3, /* Start extensions */ - 6 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType6 = { - "SystemInformationBlockType6", - "SystemInformationBlockType6", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInformationBlockType6_tags_1, - sizeof(asn_DEF_SystemInformationBlockType6_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType6_tags_1[0]), /* 1 */ - asn_DEF_SystemInformationBlockType6_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInformationBlockType6_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType6_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemInformationBlockType6_1, - 5, /* Elements count */ - &asn_SPC_SystemInformationBlockType6_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInformationBlockType7.c b/lte/rrc/lib/asn/src/SystemInformationBlockType7.c deleted file mode 100644 index 1638e783b..000000000 --- a/lte/rrc/lib/asn/src/SystemInformationBlockType7.c +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInformationBlockType7.h" - -static asn_TYPE_member_t asn_MBR_SystemInformationBlockType7_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType7, t_ReselectionGERAN), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_T_Reselection, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t-ReselectionGERAN" - }, - { ATF_POINTER, 3, offsetof(struct SystemInformationBlockType7, t_ReselectionGERAN_SF), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SpeedStateScaleFactors, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t-ReselectionGERAN-SF" - }, - { ATF_POINTER, 2, offsetof(struct SystemInformationBlockType7, carrierFreqsInfoList), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CarrierFreqsInfoListGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "carrierFreqsInfoList" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType7, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, -}; -static int asn_MAP_SystemInformationBlockType7_oms_1[] = { 1, 2, 3 }; -static ber_tlv_tag_t asn_DEF_SystemInformationBlockType7_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemInformationBlockType7_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* t-ReselectionGERAN at 1640 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* t-ReselectionGERAN-SF at 1641 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* carrierFreqsInfoList at 1642 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* lateNonCriticalExtension at 1644 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemInformationBlockType7_specs_1 = { - sizeof(struct SystemInformationBlockType7), - offsetof(struct SystemInformationBlockType7, _asn_ctx), - asn_MAP_SystemInformationBlockType7_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_SystemInformationBlockType7_oms_1, /* Optional members */ - 2, 1, /* Root/Additions */ - 2, /* Start extensions */ - 5 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType7 = { - "SystemInformationBlockType7", - "SystemInformationBlockType7", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInformationBlockType7_tags_1, - sizeof(asn_DEF_SystemInformationBlockType7_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType7_tags_1[0]), /* 1 */ - asn_DEF_SystemInformationBlockType7_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInformationBlockType7_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType7_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemInformationBlockType7_1, - 4, /* Elements count */ - &asn_SPC_SystemInformationBlockType7_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInformationBlockType8.c b/lte/rrc/lib/asn/src/SystemInformationBlockType8.c deleted file mode 100644 index 51445193f..000000000 --- a/lte/rrc/lib/asn/src/SystemInformationBlockType8.c +++ /dev/null @@ -1,505 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInformationBlockType8.h" - -static int -memb_longCodeState1XRTT_constraint_7(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 42)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -csfb_DualRxTxSupport_r10_17_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -csfb_DualRxTxSupport_r10_17_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -csfb_DualRxTxSupport_r10_17_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - csfb_DualRxTxSupport_r10_17_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -csfb_DualRxTxSupport_r10_17_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - csfb_DualRxTxSupport_r10_17_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -csfb_DualRxTxSupport_r10_17_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - csfb_DualRxTxSupport_r10_17_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -csfb_DualRxTxSupport_r10_17_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - csfb_DualRxTxSupport_r10_17_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -csfb_DualRxTxSupport_r10_17_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - csfb_DualRxTxSupport_r10_17_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -csfb_DualRxTxSupport_r10_17_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - csfb_DualRxTxSupport_r10_17_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -csfb_DualRxTxSupport_r10_17_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - csfb_DualRxTxSupport_r10_17_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -csfb_DualRxTxSupport_r10_17_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - csfb_DualRxTxSupport_r10_17_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_searchWindowSize_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_longCodeState1XRTT_constr_9 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 42, 42 } /* (SIZE(42..42)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_csfb_DualRxTxSupport_r10_constr_17 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_searchWindowSize_constr_3 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_parametersHRPD_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemInformationBlockType8__parametersHRPD, preRegistrationInfoHRPD), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PreRegistrationInfoHRPD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "preRegistrationInfoHRPD" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType8__parametersHRPD, cellReselectionParametersHRPD), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellReselectionParametersCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReselectionParametersHRPD" - }, -}; -static int asn_MAP_parametersHRPD_oms_4[] = { 1 }; -static ber_tlv_tag_t asn_DEF_parametersHRPD_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_parametersHRPD_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* preRegistrationInfoHRPD at 1667 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cellReselectionParametersHRPD at 1668 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_parametersHRPD_specs_4 = { - sizeof(struct SystemInformationBlockType8__parametersHRPD), - offsetof(struct SystemInformationBlockType8__parametersHRPD, _asn_ctx), - asn_MAP_parametersHRPD_tag2el_4, - 2, /* Count of tags in the map */ - asn_MAP_parametersHRPD_oms_4, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_parametersHRPD_4 = { - "parametersHRPD", - "parametersHRPD", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_parametersHRPD_tags_4, - sizeof(asn_DEF_parametersHRPD_tags_4) - /sizeof(asn_DEF_parametersHRPD_tags_4[0]) - 1, /* 1 */ - asn_DEF_parametersHRPD_tags_4, /* Same as above */ - sizeof(asn_DEF_parametersHRPD_tags_4) - /sizeof(asn_DEF_parametersHRPD_tags_4[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_parametersHRPD_4, - 2, /* Elements count */ - &asn_SPC_parametersHRPD_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_parameters1XRTT_7[] = { - { ATF_POINTER, 3, offsetof(struct SystemInformationBlockType8__parameters1XRTT, csfb_RegistrationParam1XRTT), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CSFB_RegistrationParam1XRTT, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csfb-RegistrationParam1XRTT" - }, - { ATF_POINTER, 2, offsetof(struct SystemInformationBlockType8__parameters1XRTT, longCodeState1XRTT), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_longCodeState1XRTT_constraint_7, - &asn_PER_memb_longCodeState1XRTT_constr_9, - 0, - "longCodeState1XRTT" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType8__parameters1XRTT, cellReselectionParameters1XRTT), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellReselectionParametersCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReselectionParameters1XRTT" - }, -}; -static int asn_MAP_parameters1XRTT_oms_7[] = { 0, 1, 2 }; -static ber_tlv_tag_t asn_DEF_parameters1XRTT_tags_7[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_parameters1XRTT_tag2el_7[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* csfb-RegistrationParam1XRTT at 1671 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* longCodeState1XRTT at 1672 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* cellReselectionParameters1XRTT at 1673 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_parameters1XRTT_specs_7 = { - sizeof(struct SystemInformationBlockType8__parameters1XRTT), - offsetof(struct SystemInformationBlockType8__parameters1XRTT, _asn_ctx), - asn_MAP_parameters1XRTT_tag2el_7, - 3, /* Count of tags in the map */ - asn_MAP_parameters1XRTT_oms_7, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_parameters1XRTT_7 = { - "parameters1XRTT", - "parameters1XRTT", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_parameters1XRTT_tags_7, - sizeof(asn_DEF_parameters1XRTT_tags_7) - /sizeof(asn_DEF_parameters1XRTT_tags_7[0]) - 1, /* 1 */ - asn_DEF_parameters1XRTT_tags_7, /* Same as above */ - sizeof(asn_DEF_parameters1XRTT_tags_7) - /sizeof(asn_DEF_parameters1XRTT_tags_7[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_parameters1XRTT_7, - 3, /* Elements count */ - &asn_SPC_parameters1XRTT_specs_7 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_csfb_DualRxTxSupport_r10_value2enum_17[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_csfb_DualRxTxSupport_r10_enum2value_17[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_csfb_DualRxTxSupport_r10_specs_17 = { - asn_MAP_csfb_DualRxTxSupport_r10_value2enum_17, /* "tag" => N; sorted by tag */ - asn_MAP_csfb_DualRxTxSupport_r10_enum2value_17, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_csfb_DualRxTxSupport_r10_tags_17[] = { - (ASN_TAG_CLASS_CONTEXT | (10 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_csfb_DualRxTxSupport_r10_17 = { - "csfb-DualRxTxSupport-r10", - "csfb-DualRxTxSupport-r10", - csfb_DualRxTxSupport_r10_17_free, - csfb_DualRxTxSupport_r10_17_print, - csfb_DualRxTxSupport_r10_17_constraint, - csfb_DualRxTxSupport_r10_17_decode_ber, - csfb_DualRxTxSupport_r10_17_encode_der, - csfb_DualRxTxSupport_r10_17_decode_xer, - csfb_DualRxTxSupport_r10_17_encode_xer, - csfb_DualRxTxSupport_r10_17_decode_uper, - csfb_DualRxTxSupport_r10_17_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_csfb_DualRxTxSupport_r10_tags_17, - sizeof(asn_DEF_csfb_DualRxTxSupport_r10_tags_17) - /sizeof(asn_DEF_csfb_DualRxTxSupport_r10_tags_17[0]) - 1, /* 1 */ - asn_DEF_csfb_DualRxTxSupport_r10_tags_17, /* Same as above */ - sizeof(asn_DEF_csfb_DualRxTxSupport_r10_tags_17) - /sizeof(asn_DEF_csfb_DualRxTxSupport_r10_tags_17[0]), /* 2 */ - &asn_PER_type_csfb_DualRxTxSupport_r10_constr_17, - 0, 0, /* Defined elsewhere */ - &asn_SPC_csfb_DualRxTxSupport_r10_specs_17 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SystemInformationBlockType8_1[] = { - { ATF_POINTER, 11, offsetof(struct SystemInformationBlockType8, systemTimeInfo), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SystemTimeInfoCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "systemTimeInfo" - }, - { ATF_POINTER, 10, offsetof(struct SystemInformationBlockType8, searchWindowSize), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_searchWindowSize_constraint_1, - &asn_PER_memb_searchWindowSize_constr_3, - 0, - "searchWindowSize" - }, - { ATF_POINTER, 9, offsetof(struct SystemInformationBlockType8, parametersHRPD), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - 0, - &asn_DEF_parametersHRPD_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "parametersHRPD" - }, - { ATF_POINTER, 8, offsetof(struct SystemInformationBlockType8, parameters1XRTT), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - 0, - &asn_DEF_parameters1XRTT_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "parameters1XRTT" - }, - { ATF_POINTER, 7, offsetof(struct SystemInformationBlockType8, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 6, offsetof(struct SystemInformationBlockType8, csfb_SupportForDualRxUEs_r9), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csfb-SupportForDualRxUEs-r9" - }, - { ATF_POINTER, 5, offsetof(struct SystemInformationBlockType8, cellReselectionParametersHRPD_v920), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellReselectionParametersCDMA2000_v920, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReselectionParametersHRPD-v920" - }, - { ATF_POINTER, 4, offsetof(struct SystemInformationBlockType8, cellReselectionParameters1XRTT_v920), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellReselectionParametersCDMA2000_v920, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellReselectionParameters1XRTT-v920" - }, - { ATF_POINTER, 3, offsetof(struct SystemInformationBlockType8, csfb_RegistrationParam1XRTT_v920), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CSFB_RegistrationParam1XRTT_v920, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csfb-RegistrationParam1XRTT-v920" - }, - { ATF_POINTER, 2, offsetof(struct SystemInformationBlockType8, ac_BarringConfig1XRTT_r9), - (ASN_TAG_CLASS_CONTEXT | (9 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AC_BarringConfig1XRTT_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ac-BarringConfig1XRTT-r9" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType8, csfb_DualRxTxSupport_r10), - (ASN_TAG_CLASS_CONTEXT | (10 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_csfb_DualRxTxSupport_r10_17, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csfb-DualRxTxSupport-r10" - }, -}; -static int asn_MAP_SystemInformationBlockType8_oms_1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; -static ber_tlv_tag_t asn_DEF_SystemInformationBlockType8_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemInformationBlockType8_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* systemTimeInfo at 1664 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* searchWindowSize at 1665 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* parametersHRPD at 1667 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* parameters1XRTT at 1671 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* lateNonCriticalExtension at 1675 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* csfb-SupportForDualRxUEs-r9 at 1676 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* cellReselectionParametersHRPD-v920 at 1677 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* cellReselectionParameters1XRTT-v920 at 1678 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* csfb-RegistrationParam1XRTT-v920 at 1679 */ - { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* ac-BarringConfig1XRTT-r9 at 1680 */ - { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 } /* csfb-DualRxTxSupport-r10 at 1681 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemInformationBlockType8_specs_1 = { - sizeof(struct SystemInformationBlockType8), - offsetof(struct SystemInformationBlockType8, _asn_ctx), - asn_MAP_SystemInformationBlockType8_tag2el_1, - 11, /* Count of tags in the map */ - asn_MAP_SystemInformationBlockType8_oms_1, /* Optional members */ - 11, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType8 = { - "SystemInformationBlockType8", - "SystemInformationBlockType8", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInformationBlockType8_tags_1, - sizeof(asn_DEF_SystemInformationBlockType8_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType8_tags_1[0]), /* 1 */ - asn_DEF_SystemInformationBlockType8_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInformationBlockType8_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType8_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemInformationBlockType8_1, - 11, /* Elements count */ - &asn_SPC_SystemInformationBlockType8_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemInformationBlockType9.c b/lte/rrc/lib/asn/src/SystemInformationBlockType9.c deleted file mode 100644 index 4a5c43e41..000000000 --- a/lte/rrc/lib/asn/src/SystemInformationBlockType9.c +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemInformationBlockType9.h" - -static int -memb_hnb_Name_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - size = st->size; - - if((size >= 1 && size <= 48)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_hnb_Name_constr_2 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 6, 6, 1, 48 } /* (SIZE(1..48)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_SystemInformationBlockType9_1[] = { - { ATF_POINTER, 2, offsetof(struct SystemInformationBlockType9, hnb_Name), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_hnb_Name_constraint_1, - &asn_PER_memb_hnb_Name_constr_2, - 0, - "hnb-Name" - }, - { ATF_POINTER, 1, offsetof(struct SystemInformationBlockType9, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, -}; -static int asn_MAP_SystemInformationBlockType9_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_SystemInformationBlockType9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemInformationBlockType9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* hnb-Name at 1750 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* lateNonCriticalExtension at 1752 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemInformationBlockType9_specs_1 = { - sizeof(struct SystemInformationBlockType9), - offsetof(struct SystemInformationBlockType9, _asn_ctx), - asn_MAP_SystemInformationBlockType9_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_SystemInformationBlockType9_oms_1, /* Optional members */ - 1, 1, /* Root/Additions */ - 0, /* Start extensions */ - 3 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemInformationBlockType9 = { - "SystemInformationBlockType9", - "SystemInformationBlockType9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemInformationBlockType9_tags_1, - sizeof(asn_DEF_SystemInformationBlockType9_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType9_tags_1[0]), /* 1 */ - asn_DEF_SystemInformationBlockType9_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemInformationBlockType9_tags_1) - /sizeof(asn_DEF_SystemInformationBlockType9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemInformationBlockType9_1, - 2, /* Elements count */ - &asn_SPC_SystemInformationBlockType9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/SystemTimeInfoCDMA2000.c b/lte/rrc/lib/asn/src/SystemTimeInfoCDMA2000.c deleted file mode 100644 index 84771449e..000000000 --- a/lte/rrc/lib/asn/src/SystemTimeInfoCDMA2000.c +++ /dev/null @@ -1,205 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/SystemTimeInfoCDMA2000.h" - -static int -memb_synchronousSystemTime_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 39)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_asynchronousSystemTime_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 49)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_synchronousSystemTime_constr_4 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 39, 39 } /* (SIZE(39..39)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_asynchronousSystemTime_constr_5 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 49, 49 } /* (SIZE(49..49)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_cdma_SystemTime_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_cdma_SystemTime_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemTimeInfoCDMA2000__cdma_SystemTime, choice.synchronousSystemTime), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_synchronousSystemTime_constraint_3, - &asn_PER_memb_synchronousSystemTime_constr_4, - 0, - "synchronousSystemTime" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemTimeInfoCDMA2000__cdma_SystemTime, choice.asynchronousSystemTime), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_asynchronousSystemTime_constraint_3, - &asn_PER_memb_asynchronousSystemTime_constr_5, - 0, - "asynchronousSystemTime" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_cdma_SystemTime_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* synchronousSystemTime at 3138 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* asynchronousSystemTime at 3139 */ -}; -static asn_CHOICE_specifics_t asn_SPC_cdma_SystemTime_specs_3 = { - sizeof(struct SystemTimeInfoCDMA2000__cdma_SystemTime), - offsetof(struct SystemTimeInfoCDMA2000__cdma_SystemTime, _asn_ctx), - offsetof(struct SystemTimeInfoCDMA2000__cdma_SystemTime, present), - sizeof(((struct SystemTimeInfoCDMA2000__cdma_SystemTime *)0)->present), - asn_MAP_cdma_SystemTime_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_cdma_SystemTime_3 = { - "cdma-SystemTime", - "cdma-SystemTime", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_cdma_SystemTime_constr_3, - asn_MBR_cdma_SystemTime_3, - 2, /* Elements count */ - &asn_SPC_cdma_SystemTime_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_SystemTimeInfoCDMA2000_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SystemTimeInfoCDMA2000, cdma_EUTRA_Synchronisation), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cdma-EUTRA-Synchronisation" - }, - { ATF_NOFLAGS, 0, offsetof(struct SystemTimeInfoCDMA2000, cdma_SystemTime), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_cdma_SystemTime_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cdma-SystemTime" - }, -}; -static ber_tlv_tag_t asn_DEF_SystemTimeInfoCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_SystemTimeInfoCDMA2000_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cdma-EUTRA-Synchronisation at 3136 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cdma-SystemTime at 3138 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_SystemTimeInfoCDMA2000_specs_1 = { - sizeof(struct SystemTimeInfoCDMA2000), - offsetof(struct SystemTimeInfoCDMA2000, _asn_ctx), - asn_MAP_SystemTimeInfoCDMA2000_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_SystemTimeInfoCDMA2000 = { - "SystemTimeInfoCDMA2000", - "SystemTimeInfoCDMA2000", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_SystemTimeInfoCDMA2000_tags_1, - sizeof(asn_DEF_SystemTimeInfoCDMA2000_tags_1) - /sizeof(asn_DEF_SystemTimeInfoCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_SystemTimeInfoCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_SystemTimeInfoCDMA2000_tags_1) - /sizeof(asn_DEF_SystemTimeInfoCDMA2000_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_SystemTimeInfoCDMA2000_1, - 2, /* Elements count */ - &asn_SPC_SystemTimeInfoCDMA2000_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/T-PollRetransmit.c b/lte/rrc/lib/asn/src/T-PollRetransmit.c deleted file mode 100644 index d08fb39e0..000000000 --- a/lte/rrc/lib/asn/src/T-PollRetransmit.c +++ /dev/null @@ -1,270 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/T-PollRetransmit.h" - -int -T_PollRetransmit_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -T_PollRetransmit_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -T_PollRetransmit_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - T_PollRetransmit_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -T_PollRetransmit_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - T_PollRetransmit_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -T_PollRetransmit_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - T_PollRetransmit_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -T_PollRetransmit_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - T_PollRetransmit_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -T_PollRetransmit_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - T_PollRetransmit_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -T_PollRetransmit_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - T_PollRetransmit_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -T_PollRetransmit_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - T_PollRetransmit_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -T_PollRetransmit_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - T_PollRetransmit_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_T_PollRetransmit_constr_1 = { - { APC_CONSTRAINED, 6, 6, 0, 63 } /* (0..63) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_T_PollRetransmit_value2enum_1[] = { - { 0, 3, "ms5" }, - { 1, 4, "ms10" }, - { 2, 4, "ms15" }, - { 3, 4, "ms20" }, - { 4, 4, "ms25" }, - { 5, 4, "ms30" }, - { 6, 4, "ms35" }, - { 7, 4, "ms40" }, - { 8, 4, "ms45" }, - { 9, 4, "ms50" }, - { 10, 4, "ms55" }, - { 11, 4, "ms60" }, - { 12, 4, "ms65" }, - { 13, 4, "ms70" }, - { 14, 4, "ms75" }, - { 15, 4, "ms80" }, - { 16, 4, "ms85" }, - { 17, 4, "ms90" }, - { 18, 4, "ms95" }, - { 19, 5, "ms100" }, - { 20, 5, "ms105" }, - { 21, 5, "ms110" }, - { 22, 5, "ms115" }, - { 23, 5, "ms120" }, - { 24, 5, "ms125" }, - { 25, 5, "ms130" }, - { 26, 5, "ms135" }, - { 27, 5, "ms140" }, - { 28, 5, "ms145" }, - { 29, 5, "ms150" }, - { 30, 5, "ms155" }, - { 31, 5, "ms160" }, - { 32, 5, "ms165" }, - { 33, 5, "ms170" }, - { 34, 5, "ms175" }, - { 35, 5, "ms180" }, - { 36, 5, "ms185" }, - { 37, 5, "ms190" }, - { 38, 5, "ms195" }, - { 39, 5, "ms200" }, - { 40, 5, "ms205" }, - { 41, 5, "ms210" }, - { 42, 5, "ms215" }, - { 43, 5, "ms220" }, - { 44, 5, "ms225" }, - { 45, 5, "ms230" }, - { 46, 5, "ms235" }, - { 47, 5, "ms240" }, - { 48, 5, "ms245" }, - { 49, 5, "ms250" }, - { 50, 5, "ms300" }, - { 51, 5, "ms350" }, - { 52, 5, "ms400" }, - { 53, 5, "ms450" }, - { 54, 5, "ms500" }, - { 55, 6, "spare9" }, - { 56, 6, "spare8" }, - { 57, 6, "spare7" }, - { 58, 6, "spare6" }, - { 59, 6, "spare5" }, - { 60, 6, "spare4" }, - { 61, 6, "spare3" }, - { 62, 6, "spare2" }, - { 63, 6, "spare1" } -}; -static unsigned int asn_MAP_T_PollRetransmit_enum2value_1[] = { - 1, /* ms10(1) */ - 19, /* ms100(19) */ - 20, /* ms105(20) */ - 21, /* ms110(21) */ - 22, /* ms115(22) */ - 23, /* ms120(23) */ - 24, /* ms125(24) */ - 25, /* ms130(25) */ - 26, /* ms135(26) */ - 27, /* ms140(27) */ - 28, /* ms145(28) */ - 2, /* ms15(2) */ - 29, /* ms150(29) */ - 30, /* ms155(30) */ - 31, /* ms160(31) */ - 32, /* ms165(32) */ - 33, /* ms170(33) */ - 34, /* ms175(34) */ - 35, /* ms180(35) */ - 36, /* ms185(36) */ - 37, /* ms190(37) */ - 38, /* ms195(38) */ - 3, /* ms20(3) */ - 39, /* ms200(39) */ - 40, /* ms205(40) */ - 41, /* ms210(41) */ - 42, /* ms215(42) */ - 43, /* ms220(43) */ - 44, /* ms225(44) */ - 45, /* ms230(45) */ - 46, /* ms235(46) */ - 47, /* ms240(47) */ - 48, /* ms245(48) */ - 4, /* ms25(4) */ - 49, /* ms250(49) */ - 5, /* ms30(5) */ - 50, /* ms300(50) */ - 6, /* ms35(6) */ - 51, /* ms350(51) */ - 7, /* ms40(7) */ - 52, /* ms400(52) */ - 8, /* ms45(8) */ - 53, /* ms450(53) */ - 0, /* ms5(0) */ - 9, /* ms50(9) */ - 54, /* ms500(54) */ - 10, /* ms55(10) */ - 11, /* ms60(11) */ - 12, /* ms65(12) */ - 13, /* ms70(13) */ - 14, /* ms75(14) */ - 15, /* ms80(15) */ - 16, /* ms85(16) */ - 17, /* ms90(17) */ - 18, /* ms95(18) */ - 63, /* spare1(63) */ - 62, /* spare2(62) */ - 61, /* spare3(61) */ - 60, /* spare4(60) */ - 59, /* spare5(59) */ - 58, /* spare6(58) */ - 57, /* spare7(57) */ - 56, /* spare8(56) */ - 55 /* spare9(55) */ -}; -static asn_INTEGER_specifics_t asn_SPC_T_PollRetransmit_specs_1 = { - asn_MAP_T_PollRetransmit_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_T_PollRetransmit_enum2value_1, /* N => "tag"; sorted by N */ - 64, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_T_PollRetransmit_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_T_PollRetransmit = { - "T-PollRetransmit", - "T-PollRetransmit", - T_PollRetransmit_free, - T_PollRetransmit_print, - T_PollRetransmit_constraint, - T_PollRetransmit_decode_ber, - T_PollRetransmit_encode_der, - T_PollRetransmit_decode_xer, - T_PollRetransmit_encode_xer, - T_PollRetransmit_decode_uper, - T_PollRetransmit_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_T_PollRetransmit_tags_1, - sizeof(asn_DEF_T_PollRetransmit_tags_1) - /sizeof(asn_DEF_T_PollRetransmit_tags_1[0]), /* 1 */ - asn_DEF_T_PollRetransmit_tags_1, /* Same as above */ - sizeof(asn_DEF_T_PollRetransmit_tags_1) - /sizeof(asn_DEF_T_PollRetransmit_tags_1[0]), /* 1 */ - &asn_PER_type_T_PollRetransmit_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_T_PollRetransmit_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/T-Reordering.c b/lte/rrc/lib/asn/src/T-Reordering.c deleted file mode 100644 index 62f2e79bc..000000000 --- a/lte/rrc/lib/asn/src/T-Reordering.c +++ /dev/null @@ -1,206 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/T-Reordering.h" - -int -T_Reordering_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -T_Reordering_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -T_Reordering_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - T_Reordering_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -T_Reordering_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - T_Reordering_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -T_Reordering_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - T_Reordering_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -T_Reordering_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - T_Reordering_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -T_Reordering_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - T_Reordering_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -T_Reordering_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - T_Reordering_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -T_Reordering_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - T_Reordering_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -T_Reordering_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - T_Reordering_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_T_Reordering_constr_1 = { - { APC_CONSTRAINED, 5, 5, 0, 31 } /* (0..31) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_T_Reordering_value2enum_1[] = { - { 0, 3, "ms0" }, - { 1, 3, "ms5" }, - { 2, 4, "ms10" }, - { 3, 4, "ms15" }, - { 4, 4, "ms20" }, - { 5, 4, "ms25" }, - { 6, 4, "ms30" }, - { 7, 4, "ms35" }, - { 8, 4, "ms40" }, - { 9, 4, "ms45" }, - { 10, 4, "ms50" }, - { 11, 4, "ms55" }, - { 12, 4, "ms60" }, - { 13, 4, "ms65" }, - { 14, 4, "ms70" }, - { 15, 4, "ms75" }, - { 16, 4, "ms80" }, - { 17, 4, "ms85" }, - { 18, 4, "ms90" }, - { 19, 4, "ms95" }, - { 20, 5, "ms100" }, - { 21, 5, "ms110" }, - { 22, 5, "ms120" }, - { 23, 5, "ms130" }, - { 24, 5, "ms140" }, - { 25, 5, "ms150" }, - { 26, 5, "ms160" }, - { 27, 5, "ms170" }, - { 28, 5, "ms180" }, - { 29, 5, "ms190" }, - { 30, 5, "ms200" }, - { 31, 6, "spare1" } -}; -static unsigned int asn_MAP_T_Reordering_enum2value_1[] = { - 0, /* ms0(0) */ - 2, /* ms10(2) */ - 20, /* ms100(20) */ - 21, /* ms110(21) */ - 22, /* ms120(22) */ - 23, /* ms130(23) */ - 24, /* ms140(24) */ - 3, /* ms15(3) */ - 25, /* ms150(25) */ - 26, /* ms160(26) */ - 27, /* ms170(27) */ - 28, /* ms180(28) */ - 29, /* ms190(29) */ - 4, /* ms20(4) */ - 30, /* ms200(30) */ - 5, /* ms25(5) */ - 6, /* ms30(6) */ - 7, /* ms35(7) */ - 8, /* ms40(8) */ - 9, /* ms45(9) */ - 1, /* ms5(1) */ - 10, /* ms50(10) */ - 11, /* ms55(11) */ - 12, /* ms60(12) */ - 13, /* ms65(13) */ - 14, /* ms70(14) */ - 15, /* ms75(15) */ - 16, /* ms80(16) */ - 17, /* ms85(17) */ - 18, /* ms90(18) */ - 19, /* ms95(19) */ - 31 /* spare1(31) */ -}; -static asn_INTEGER_specifics_t asn_SPC_T_Reordering_specs_1 = { - asn_MAP_T_Reordering_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_T_Reordering_enum2value_1, /* N => "tag"; sorted by N */ - 32, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_T_Reordering_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_T_Reordering = { - "T-Reordering", - "T-Reordering", - T_Reordering_free, - T_Reordering_print, - T_Reordering_constraint, - T_Reordering_decode_ber, - T_Reordering_encode_der, - T_Reordering_decode_xer, - T_Reordering_encode_xer, - T_Reordering_decode_uper, - T_Reordering_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_T_Reordering_tags_1, - sizeof(asn_DEF_T_Reordering_tags_1) - /sizeof(asn_DEF_T_Reordering_tags_1[0]), /* 1 */ - asn_DEF_T_Reordering_tags_1, /* Same as above */ - sizeof(asn_DEF_T_Reordering_tags_1) - /sizeof(asn_DEF_T_Reordering_tags_1[0]), /* 1 */ - &asn_PER_type_T_Reordering_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_T_Reordering_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/T-Reselection.c b/lte/rrc/lib/asn/src/T-Reselection.c deleted file mode 100644 index 16384d9fe..000000000 --- a/lte/rrc/lib/asn/src/T-Reselection.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/T-Reselection.h" - -int -T_Reselection_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -T_Reselection_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -T_Reselection_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - T_Reselection_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -T_Reselection_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - T_Reselection_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -T_Reselection_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - T_Reselection_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -T_Reselection_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - T_Reselection_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -T_Reselection_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - T_Reselection_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -T_Reselection_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - T_Reselection_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -T_Reselection_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - T_Reselection_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -T_Reselection_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - T_Reselection_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_T_Reselection_constr_1 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_T_Reselection_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_T_Reselection = { - "T-Reselection", - "T-Reselection", - T_Reselection_free, - T_Reselection_print, - T_Reselection_constraint, - T_Reselection_decode_ber, - T_Reselection_encode_der, - T_Reselection_decode_xer, - T_Reselection_encode_xer, - T_Reselection_decode_uper, - T_Reselection_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_T_Reselection_tags_1, - sizeof(asn_DEF_T_Reselection_tags_1) - /sizeof(asn_DEF_T_Reselection_tags_1[0]), /* 1 */ - asn_DEF_T_Reselection_tags_1, /* Same as above */ - sizeof(asn_DEF_T_Reselection_tags_1) - /sizeof(asn_DEF_T_Reselection_tags_1[0]), /* 1 */ - &asn_PER_type_T_Reselection_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/T-StatusProhibit.c b/lte/rrc/lib/asn/src/T-StatusProhibit.c deleted file mode 100644 index e2134193e..000000000 --- a/lte/rrc/lib/asn/src/T-StatusProhibit.c +++ /dev/null @@ -1,270 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/T-StatusProhibit.h" - -int -T_StatusProhibit_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -T_StatusProhibit_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -T_StatusProhibit_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - T_StatusProhibit_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -T_StatusProhibit_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - T_StatusProhibit_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -T_StatusProhibit_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - T_StatusProhibit_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -T_StatusProhibit_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - T_StatusProhibit_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -T_StatusProhibit_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - T_StatusProhibit_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -T_StatusProhibit_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - T_StatusProhibit_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -T_StatusProhibit_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - T_StatusProhibit_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -T_StatusProhibit_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - T_StatusProhibit_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_T_StatusProhibit_constr_1 = { - { APC_CONSTRAINED, 6, 6, 0, 63 } /* (0..63) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_T_StatusProhibit_value2enum_1[] = { - { 0, 3, "ms0" }, - { 1, 3, "ms5" }, - { 2, 4, "ms10" }, - { 3, 4, "ms15" }, - { 4, 4, "ms20" }, - { 5, 4, "ms25" }, - { 6, 4, "ms30" }, - { 7, 4, "ms35" }, - { 8, 4, "ms40" }, - { 9, 4, "ms45" }, - { 10, 4, "ms50" }, - { 11, 4, "ms55" }, - { 12, 4, "ms60" }, - { 13, 4, "ms65" }, - { 14, 4, "ms70" }, - { 15, 4, "ms75" }, - { 16, 4, "ms80" }, - { 17, 4, "ms85" }, - { 18, 4, "ms90" }, - { 19, 4, "ms95" }, - { 20, 5, "ms100" }, - { 21, 5, "ms105" }, - { 22, 5, "ms110" }, - { 23, 5, "ms115" }, - { 24, 5, "ms120" }, - { 25, 5, "ms125" }, - { 26, 5, "ms130" }, - { 27, 5, "ms135" }, - { 28, 5, "ms140" }, - { 29, 5, "ms145" }, - { 30, 5, "ms150" }, - { 31, 5, "ms155" }, - { 32, 5, "ms160" }, - { 33, 5, "ms165" }, - { 34, 5, "ms170" }, - { 35, 5, "ms175" }, - { 36, 5, "ms180" }, - { 37, 5, "ms185" }, - { 38, 5, "ms190" }, - { 39, 5, "ms195" }, - { 40, 5, "ms200" }, - { 41, 5, "ms205" }, - { 42, 5, "ms210" }, - { 43, 5, "ms215" }, - { 44, 5, "ms220" }, - { 45, 5, "ms225" }, - { 46, 5, "ms230" }, - { 47, 5, "ms235" }, - { 48, 5, "ms240" }, - { 49, 5, "ms245" }, - { 50, 5, "ms250" }, - { 51, 5, "ms300" }, - { 52, 5, "ms350" }, - { 53, 5, "ms400" }, - { 54, 5, "ms450" }, - { 55, 5, "ms500" }, - { 56, 6, "spare8" }, - { 57, 6, "spare7" }, - { 58, 6, "spare6" }, - { 59, 6, "spare5" }, - { 60, 6, "spare4" }, - { 61, 6, "spare3" }, - { 62, 6, "spare2" }, - { 63, 6, "spare1" } -}; -static unsigned int asn_MAP_T_StatusProhibit_enum2value_1[] = { - 0, /* ms0(0) */ - 2, /* ms10(2) */ - 20, /* ms100(20) */ - 21, /* ms105(21) */ - 22, /* ms110(22) */ - 23, /* ms115(23) */ - 24, /* ms120(24) */ - 25, /* ms125(25) */ - 26, /* ms130(26) */ - 27, /* ms135(27) */ - 28, /* ms140(28) */ - 29, /* ms145(29) */ - 3, /* ms15(3) */ - 30, /* ms150(30) */ - 31, /* ms155(31) */ - 32, /* ms160(32) */ - 33, /* ms165(33) */ - 34, /* ms170(34) */ - 35, /* ms175(35) */ - 36, /* ms180(36) */ - 37, /* ms185(37) */ - 38, /* ms190(38) */ - 39, /* ms195(39) */ - 4, /* ms20(4) */ - 40, /* ms200(40) */ - 41, /* ms205(41) */ - 42, /* ms210(42) */ - 43, /* ms215(43) */ - 44, /* ms220(44) */ - 45, /* ms225(45) */ - 46, /* ms230(46) */ - 47, /* ms235(47) */ - 48, /* ms240(48) */ - 49, /* ms245(49) */ - 5, /* ms25(5) */ - 50, /* ms250(50) */ - 6, /* ms30(6) */ - 51, /* ms300(51) */ - 7, /* ms35(7) */ - 52, /* ms350(52) */ - 8, /* ms40(8) */ - 53, /* ms400(53) */ - 9, /* ms45(9) */ - 54, /* ms450(54) */ - 1, /* ms5(1) */ - 10, /* ms50(10) */ - 55, /* ms500(55) */ - 11, /* ms55(11) */ - 12, /* ms60(12) */ - 13, /* ms65(13) */ - 14, /* ms70(14) */ - 15, /* ms75(15) */ - 16, /* ms80(16) */ - 17, /* ms85(17) */ - 18, /* ms90(18) */ - 19, /* ms95(19) */ - 63, /* spare1(63) */ - 62, /* spare2(62) */ - 61, /* spare3(61) */ - 60, /* spare4(60) */ - 59, /* spare5(59) */ - 58, /* spare6(58) */ - 57, /* spare7(57) */ - 56 /* spare8(56) */ -}; -static asn_INTEGER_specifics_t asn_SPC_T_StatusProhibit_specs_1 = { - asn_MAP_T_StatusProhibit_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_T_StatusProhibit_enum2value_1, /* N => "tag"; sorted by N */ - 64, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_T_StatusProhibit_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_T_StatusProhibit = { - "T-StatusProhibit", - "T-StatusProhibit", - T_StatusProhibit_free, - T_StatusProhibit_print, - T_StatusProhibit_constraint, - T_StatusProhibit_decode_ber, - T_StatusProhibit_encode_der, - T_StatusProhibit_decode_xer, - T_StatusProhibit_encode_xer, - T_StatusProhibit_decode_uper, - T_StatusProhibit_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_T_StatusProhibit_tags_1, - sizeof(asn_DEF_T_StatusProhibit_tags_1) - /sizeof(asn_DEF_T_StatusProhibit_tags_1[0]), /* 1 */ - asn_DEF_T_StatusProhibit_tags_1, /* Same as above */ - sizeof(asn_DEF_T_StatusProhibit_tags_1) - /sizeof(asn_DEF_T_StatusProhibit_tags_1[0]), /* 1 */ - &asn_PER_type_T_StatusProhibit_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_T_StatusProhibit_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/TDD-Config.c b/lte/rrc/lib/asn/src/TDD-Config.c deleted file mode 100644 index 5ad717f3c..000000000 --- a/lte/rrc/lib/asn/src/TDD-Config.c +++ /dev/null @@ -1,372 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/TDD-Config.h" - -static int -subframeAssignment_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -subframeAssignment_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -subframeAssignment_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - subframeAssignment_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -subframeAssignment_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - subframeAssignment_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -subframeAssignment_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - subframeAssignment_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -subframeAssignment_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - subframeAssignment_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -subframeAssignment_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - subframeAssignment_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -subframeAssignment_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - subframeAssignment_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -subframeAssignment_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - subframeAssignment_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -subframeAssignment_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - subframeAssignment_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -specialSubframePatterns_10_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -specialSubframePatterns_10_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -specialSubframePatterns_10_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - specialSubframePatterns_10_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -specialSubframePatterns_10_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - specialSubframePatterns_10_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -specialSubframePatterns_10_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - specialSubframePatterns_10_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -specialSubframePatterns_10_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - specialSubframePatterns_10_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -specialSubframePatterns_10_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - specialSubframePatterns_10_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -specialSubframePatterns_10_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - specialSubframePatterns_10_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -specialSubframePatterns_10_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - specialSubframePatterns_10_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -specialSubframePatterns_10_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - specialSubframePatterns_10_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_subframeAssignment_constr_2 = { - { APC_CONSTRAINED, 3, 3, 0, 6 } /* (0..6) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_specialSubframePatterns_constr_10 = { - { APC_CONSTRAINED, 4, 4, 0, 8 } /* (0..8) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_subframeAssignment_value2enum_2[] = { - { 0, 3, "sa0" }, - { 1, 3, "sa1" }, - { 2, 3, "sa2" }, - { 3, 3, "sa3" }, - { 4, 3, "sa4" }, - { 5, 3, "sa5" }, - { 6, 3, "sa6" } -}; -static unsigned int asn_MAP_subframeAssignment_enum2value_2[] = { - 0, /* sa0(0) */ - 1, /* sa1(1) */ - 2, /* sa2(2) */ - 3, /* sa3(3) */ - 4, /* sa4(4) */ - 5, /* sa5(5) */ - 6 /* sa6(6) */ -}; -static asn_INTEGER_specifics_t asn_SPC_subframeAssignment_specs_2 = { - asn_MAP_subframeAssignment_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_subframeAssignment_enum2value_2, /* N => "tag"; sorted by N */ - 7, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_subframeAssignment_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_subframeAssignment_2 = { - "subframeAssignment", - "subframeAssignment", - subframeAssignment_2_free, - subframeAssignment_2_print, - subframeAssignment_2_constraint, - subframeAssignment_2_decode_ber, - subframeAssignment_2_encode_der, - subframeAssignment_2_decode_xer, - subframeAssignment_2_encode_xer, - subframeAssignment_2_decode_uper, - subframeAssignment_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_subframeAssignment_tags_2, - sizeof(asn_DEF_subframeAssignment_tags_2) - /sizeof(asn_DEF_subframeAssignment_tags_2[0]) - 1, /* 1 */ - asn_DEF_subframeAssignment_tags_2, /* Same as above */ - sizeof(asn_DEF_subframeAssignment_tags_2) - /sizeof(asn_DEF_subframeAssignment_tags_2[0]), /* 2 */ - &asn_PER_type_subframeAssignment_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_subframeAssignment_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_specialSubframePatterns_value2enum_10[] = { - { 0, 4, "ssp0" }, - { 1, 4, "ssp1" }, - { 2, 4, "ssp2" }, - { 3, 4, "ssp3" }, - { 4, 4, "ssp4" }, - { 5, 4, "ssp5" }, - { 6, 4, "ssp6" }, - { 7, 4, "ssp7" }, - { 8, 4, "ssp8" } -}; -static unsigned int asn_MAP_specialSubframePatterns_enum2value_10[] = { - 0, /* ssp0(0) */ - 1, /* ssp1(1) */ - 2, /* ssp2(2) */ - 3, /* ssp3(3) */ - 4, /* ssp4(4) */ - 5, /* ssp5(5) */ - 6, /* ssp6(6) */ - 7, /* ssp7(7) */ - 8 /* ssp8(8) */ -}; -static asn_INTEGER_specifics_t asn_SPC_specialSubframePatterns_specs_10 = { - asn_MAP_specialSubframePatterns_value2enum_10, /* "tag" => N; sorted by tag */ - asn_MAP_specialSubframePatterns_enum2value_10, /* N => "tag"; sorted by N */ - 9, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_specialSubframePatterns_tags_10[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_specialSubframePatterns_10 = { - "specialSubframePatterns", - "specialSubframePatterns", - specialSubframePatterns_10_free, - specialSubframePatterns_10_print, - specialSubframePatterns_10_constraint, - specialSubframePatterns_10_decode_ber, - specialSubframePatterns_10_encode_der, - specialSubframePatterns_10_decode_xer, - specialSubframePatterns_10_encode_xer, - specialSubframePatterns_10_decode_uper, - specialSubframePatterns_10_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_specialSubframePatterns_tags_10, - sizeof(asn_DEF_specialSubframePatterns_tags_10) - /sizeof(asn_DEF_specialSubframePatterns_tags_10[0]) - 1, /* 1 */ - asn_DEF_specialSubframePatterns_tags_10, /* Same as above */ - sizeof(asn_DEF_specialSubframePatterns_tags_10) - /sizeof(asn_DEF_specialSubframePatterns_tags_10[0]), /* 2 */ - &asn_PER_type_specialSubframePatterns_constr_10, - 0, 0, /* Defined elsewhere */ - &asn_SPC_specialSubframePatterns_specs_10 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_TDD_Config_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct TDD_Config, subframeAssignment), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_subframeAssignment_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "subframeAssignment" - }, - { ATF_NOFLAGS, 0, offsetof(struct TDD_Config, specialSubframePatterns), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_specialSubframePatterns_10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "specialSubframePatterns" - }, -}; -static ber_tlv_tag_t asn_DEF_TDD_Config_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_TDD_Config_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* subframeAssignment at 2774 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* specialSubframePatterns at 2776 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_TDD_Config_specs_1 = { - sizeof(struct TDD_Config), - offsetof(struct TDD_Config, _asn_ctx), - asn_MAP_TDD_Config_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_TDD_Config = { - "TDD-Config", - "TDD-Config", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_TDD_Config_tags_1, - sizeof(asn_DEF_TDD_Config_tags_1) - /sizeof(asn_DEF_TDD_Config_tags_1[0]), /* 1 */ - asn_DEF_TDD_Config_tags_1, /* Same as above */ - sizeof(asn_DEF_TDD_Config_tags_1) - /sizeof(asn_DEF_TDD_Config_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_TDD_Config_1, - 2, /* Elements count */ - &asn_SPC_TDD_Config_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/TMGI-r9.c b/lte/rrc/lib/asn/src/TMGI-r9.c deleted file mode 100644 index 77cfa1e77..000000000 --- a/lte/rrc/lib/asn/src/TMGI-r9.c +++ /dev/null @@ -1,194 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/TMGI-r9.h" - -static int -memb_plmn_Index_r9_constraint_2(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 6)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_serviceId_r9_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - size = st->size; - - if((size == 3)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_plmn_Index_r9_constr_3 = { - { APC_CONSTRAINED, 3, 3, 1, 6 } /* (1..6) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_plmn_Id_r9_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_serviceId_r9_constr_5 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 3, 3 } /* (SIZE(3..3)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_plmn_Id_r9_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct TMGI_r9__plmn_Id_r9, choice.plmn_Index_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_plmn_Index_r9_constraint_2, - &asn_PER_memb_plmn_Index_r9_constr_3, - 0, - "plmn-Index-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct TMGI_r9__plmn_Id_r9, choice.explicitValue_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PLMN_Identity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "explicitValue-r9" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_plmn_Id_r9_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* plmn-Index-r9 at 4094 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* explicitValue-r9 at 4096 */ -}; -static asn_CHOICE_specifics_t asn_SPC_plmn_Id_r9_specs_2 = { - sizeof(struct TMGI_r9__plmn_Id_r9), - offsetof(struct TMGI_r9__plmn_Id_r9, _asn_ctx), - offsetof(struct TMGI_r9__plmn_Id_r9, present), - sizeof(((struct TMGI_r9__plmn_Id_r9 *)0)->present), - asn_MAP_plmn_Id_r9_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_plmn_Id_r9_2 = { - "plmn-Id-r9", - "plmn-Id-r9", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_plmn_Id_r9_constr_2, - asn_MBR_plmn_Id_r9_2, - 2, /* Elements count */ - &asn_SPC_plmn_Id_r9_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_TMGI_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct TMGI_r9, plmn_Id_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_plmn_Id_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "plmn-Id-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct TMGI_r9, serviceId_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_serviceId_r9_constraint_1, - &asn_PER_memb_serviceId_r9_constr_5, - 0, - "serviceId-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_TMGI_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_TMGI_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* plmn-Id-r9 at 4094 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* serviceId-r9 at 4097 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_TMGI_r9_specs_1 = { - sizeof(struct TMGI_r9), - offsetof(struct TMGI_r9, _asn_ctx), - asn_MAP_TMGI_r9_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_TMGI_r9 = { - "TMGI-r9", - "TMGI-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_TMGI_r9_tags_1, - sizeof(asn_DEF_TMGI_r9_tags_1) - /sizeof(asn_DEF_TMGI_r9_tags_1[0]), /* 1 */ - asn_DEF_TMGI_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_TMGI_r9_tags_1) - /sizeof(asn_DEF_TMGI_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_TMGI_r9_1, - 2, /* Elements count */ - &asn_SPC_TMGI_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/TPC-Index.c b/lte/rrc/lib/asn/src/TPC-Index.c deleted file mode 100644 index ea16670a8..000000000 --- a/lte/rrc/lib/asn/src/TPC-Index.c +++ /dev/null @@ -1,131 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/TPC-Index.h" - -static int -memb_indexOfFormat3_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_indexOfFormat3A_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 31)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_indexOfFormat3_constr_2 = { - { APC_CONSTRAINED, 4, 4, 1, 15 } /* (1..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_indexOfFormat3A_constr_3 = { - { APC_CONSTRAINED, 5, 5, 1, 31 } /* (1..31) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_TPC_Index_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_TPC_Index_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct TPC_Index, choice.indexOfFormat3), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_indexOfFormat3_constraint_1, - &asn_PER_memb_indexOfFormat3_constr_2, - 0, - "indexOfFormat3" - }, - { ATF_NOFLAGS, 0, offsetof(struct TPC_Index, choice.indexOfFormat3A), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_indexOfFormat3A_constraint_1, - &asn_PER_memb_indexOfFormat3A_constr_3, - 0, - "indexOfFormat3A" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_TPC_Index_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* indexOfFormat3 at 2794 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* indexOfFormat3A at 2795 */ -}; -static asn_CHOICE_specifics_t asn_SPC_TPC_Index_specs_1 = { - sizeof(struct TPC_Index), - offsetof(struct TPC_Index, _asn_ctx), - offsetof(struct TPC_Index, present), - sizeof(((struct TPC_Index *)0)->present), - asn_MAP_TPC_Index_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_TPC_Index = { - "TPC-Index", - "TPC-Index", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_TPC_Index_constr_1, - asn_MBR_TPC_Index_1, - 2, /* Elements count */ - &asn_SPC_TPC_Index_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/TPC-PDCCH-Config.c b/lte/rrc/lib/asn/src/TPC-PDCCH-Config.c deleted file mode 100644 index bbc238f14..000000000 --- a/lte/rrc/lib/asn/src/TPC-PDCCH-Config.c +++ /dev/null @@ -1,170 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/TPC-PDCCH-Config.h" - -static int -memb_tpc_RNTI_constraint_3(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_tpc_RNTI_constr_4 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_TPC_PDCCH_Config_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_setup_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct TPC_PDCCH_Config__setup, tpc_RNTI), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_tpc_RNTI_constraint_3, - &asn_PER_memb_tpc_RNTI_constr_4, - 0, - "tpc-RNTI" - }, - { ATF_NOFLAGS, 0, offsetof(struct TPC_PDCCH_Config__setup, tpc_Index), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_TPC_Index, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "tpc-Index" - }, -}; -static ber_tlv_tag_t asn_DEF_setup_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* tpc-RNTI at 2788 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* tpc-Index at 2790 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_3 = { - sizeof(struct TPC_PDCCH_Config__setup), - offsetof(struct TPC_PDCCH_Config__setup, _asn_ctx), - asn_MAP_setup_tag2el_3, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_3 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_3, - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]) - 1, /* 1 */ - asn_DEF_setup_tags_3, /* Same as above */ - sizeof(asn_DEF_setup_tags_3) - /sizeof(asn_DEF_setup_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_3, - 2, /* Elements count */ - &asn_SPC_setup_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_TPC_PDCCH_Config_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct TPC_PDCCH_Config, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct TPC_PDCCH_Config, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_TPC_PDCCH_Config_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 2786 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 2788 */ -}; -static asn_CHOICE_specifics_t asn_SPC_TPC_PDCCH_Config_specs_1 = { - sizeof(struct TPC_PDCCH_Config), - offsetof(struct TPC_PDCCH_Config, _asn_ctx), - offsetof(struct TPC_PDCCH_Config, present), - sizeof(((struct TPC_PDCCH_Config *)0)->present), - asn_MAP_TPC_PDCCH_Config_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_TPC_PDCCH_Config = { - "TPC-PDCCH-Config", - "TPC-PDCCH-Config", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_TPC_PDCCH_Config_constr_1, - asn_MBR_TPC_PDCCH_Config_1, - 2, /* Elements count */ - &asn_SPC_TPC_PDCCH_Config_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ThresholdCDMA2000.c b/lte/rrc/lib/asn/src/ThresholdCDMA2000.c deleted file mode 100644 index 56582c10b..000000000 --- a/lte/rrc/lib/asn/src/ThresholdCDMA2000.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ThresholdCDMA2000.h" - -int -ThresholdCDMA2000_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 63)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -ThresholdCDMA2000_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -ThresholdCDMA2000_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ThresholdCDMA2000_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -ThresholdCDMA2000_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ThresholdCDMA2000_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -ThresholdCDMA2000_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ThresholdCDMA2000_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -ThresholdCDMA2000_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ThresholdCDMA2000_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -ThresholdCDMA2000_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ThresholdCDMA2000_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -ThresholdCDMA2000_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ThresholdCDMA2000_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -ThresholdCDMA2000_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ThresholdCDMA2000_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -ThresholdCDMA2000_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ThresholdCDMA2000_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_ThresholdCDMA2000_constr_1 = { - { APC_CONSTRAINED, 6, 6, 0, 63 } /* (0..63) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_ThresholdCDMA2000_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ThresholdCDMA2000 = { - "ThresholdCDMA2000", - "ThresholdCDMA2000", - ThresholdCDMA2000_free, - ThresholdCDMA2000_print, - ThresholdCDMA2000_constraint, - ThresholdCDMA2000_decode_ber, - ThresholdCDMA2000_encode_der, - ThresholdCDMA2000_decode_xer, - ThresholdCDMA2000_encode_xer, - ThresholdCDMA2000_decode_uper, - ThresholdCDMA2000_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ThresholdCDMA2000_tags_1, - sizeof(asn_DEF_ThresholdCDMA2000_tags_1) - /sizeof(asn_DEF_ThresholdCDMA2000_tags_1[0]), /* 1 */ - asn_DEF_ThresholdCDMA2000_tags_1, /* Same as above */ - sizeof(asn_DEF_ThresholdCDMA2000_tags_1) - /sizeof(asn_DEF_ThresholdCDMA2000_tags_1[0]), /* 1 */ - &asn_PER_type_ThresholdCDMA2000_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/ThresholdEUTRA.c b/lte/rrc/lib/asn/src/ThresholdEUTRA.c deleted file mode 100644 index 559f8b69a..000000000 --- a/lte/rrc/lib/asn/src/ThresholdEUTRA.c +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ThresholdEUTRA.h" - -static asn_per_constraints_t asn_PER_type_ThresholdEUTRA_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_ThresholdEUTRA_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ThresholdEUTRA, choice.threshold_RSRP), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RSRP_Range, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "threshold-RSRP" - }, - { ATF_NOFLAGS, 0, offsetof(struct ThresholdEUTRA, choice.threshold_RSRQ), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RSRQ_Range, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "threshold-RSRQ" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_ThresholdEUTRA_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* threshold-RSRP at 3543 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* threshold-RSRQ at 3545 */ -}; -static asn_CHOICE_specifics_t asn_SPC_ThresholdEUTRA_specs_1 = { - sizeof(struct ThresholdEUTRA), - offsetof(struct ThresholdEUTRA, _asn_ctx), - offsetof(struct ThresholdEUTRA, present), - sizeof(((struct ThresholdEUTRA *)0)->present), - asn_MAP_ThresholdEUTRA_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_ThresholdEUTRA = { - "ThresholdEUTRA", - "ThresholdEUTRA", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_ThresholdEUTRA_constr_1, - asn_MBR_ThresholdEUTRA_1, - 2, /* Elements count */ - &asn_SPC_ThresholdEUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ThresholdGERAN.c b/lte/rrc/lib/asn/src/ThresholdGERAN.c deleted file mode 100644 index 82fe4cb9d..000000000 --- a/lte/rrc/lib/asn/src/ThresholdGERAN.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ThresholdGERAN.h" - -int -ThresholdGERAN_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 63)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static void -ThresholdGERAN_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeInteger.free_struct; - td->print_struct = asn_DEF_NativeInteger.print_struct; - td->ber_decoder = asn_DEF_NativeInteger.ber_decoder; - td->der_encoder = asn_DEF_NativeInteger.der_encoder; - td->xer_decoder = asn_DEF_NativeInteger.xer_decoder; - td->xer_encoder = asn_DEF_NativeInteger.xer_encoder; - td->uper_decoder = asn_DEF_NativeInteger.uper_decoder; - td->uper_encoder = asn_DEF_NativeInteger.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeInteger.per_constraints; - td->elements = asn_DEF_NativeInteger.elements; - td->elements_count = asn_DEF_NativeInteger.elements_count; - td->specifics = asn_DEF_NativeInteger.specifics; -} - -void -ThresholdGERAN_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - ThresholdGERAN_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -ThresholdGERAN_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - ThresholdGERAN_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -ThresholdGERAN_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - ThresholdGERAN_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -ThresholdGERAN_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - ThresholdGERAN_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -ThresholdGERAN_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - ThresholdGERAN_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -ThresholdGERAN_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - ThresholdGERAN_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -ThresholdGERAN_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - ThresholdGERAN_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -ThresholdGERAN_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - ThresholdGERAN_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_ThresholdGERAN_constr_1 = { - { APC_CONSTRAINED, 6, 6, 0, 63 } /* (0..63) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_ThresholdGERAN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ThresholdGERAN = { - "ThresholdGERAN", - "ThresholdGERAN", - ThresholdGERAN_free, - ThresholdGERAN_print, - ThresholdGERAN_constraint, - ThresholdGERAN_decode_ber, - ThresholdGERAN_encode_der, - ThresholdGERAN_decode_xer, - ThresholdGERAN_encode_xer, - ThresholdGERAN_decode_uper, - ThresholdGERAN_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ThresholdGERAN_tags_1, - sizeof(asn_DEF_ThresholdGERAN_tags_1) - /sizeof(asn_DEF_ThresholdGERAN_tags_1[0]), /* 1 */ - asn_DEF_ThresholdGERAN_tags_1, /* Same as above */ - sizeof(asn_DEF_ThresholdGERAN_tags_1) - /sizeof(asn_DEF_ThresholdGERAN_tags_1[0]), /* 1 */ - &asn_PER_type_ThresholdGERAN_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/ThresholdUTRA.c b/lte/rrc/lib/asn/src/ThresholdUTRA.c deleted file mode 100644 index 04c7c459e..000000000 --- a/lte/rrc/lib/asn/src/ThresholdUTRA.c +++ /dev/null @@ -1,131 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ThresholdUTRA.h" - -static int -memb_utra_RSCP_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -5 && value <= 91)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_utra_EcN0_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 49)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_utra_RSCP_constr_2 = { - { APC_CONSTRAINED, 7, 7, -5, 91 } /* (-5..91) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_utra_EcN0_constr_3 = { - { APC_CONSTRAINED, 6, 6, 0, 49 } /* (0..49) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_ThresholdUTRA_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_ThresholdUTRA_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ThresholdUTRA, choice.utra_RSCP), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_utra_RSCP_constraint_1, - &asn_PER_memb_utra_RSCP_constr_2, - 0, - "utra-RSCP" - }, - { ATF_NOFLAGS, 0, offsetof(struct ThresholdUTRA, choice.utra_EcN0), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_utra_EcN0_constraint_1, - &asn_PER_memb_utra_EcN0_constr_3, - 0, - "utra-EcN0" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_ThresholdUTRA_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* utra-RSCP at 3590 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* utra-EcN0 at 3591 */ -}; -static asn_CHOICE_specifics_t asn_SPC_ThresholdUTRA_specs_1 = { - sizeof(struct ThresholdUTRA), - offsetof(struct ThresholdUTRA, _asn_ctx), - offsetof(struct ThresholdUTRA, present), - sizeof(((struct ThresholdUTRA *)0)->present), - asn_MAP_ThresholdUTRA_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_ThresholdUTRA = { - "ThresholdUTRA", - "ThresholdUTRA", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_ThresholdUTRA_constr_1, - asn_MBR_ThresholdUTRA_1, - 2, /* Elements count */ - &asn_SPC_ThresholdUTRA_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/TimeAlignmentTimer.c b/lte/rrc/lib/asn/src/TimeAlignmentTimer.c deleted file mode 100644 index f2059fda6..000000000 --- a/lte/rrc/lib/asn/src/TimeAlignmentTimer.c +++ /dev/null @@ -1,158 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/TimeAlignmentTimer.h" - -int -TimeAlignmentTimer_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -TimeAlignmentTimer_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -TimeAlignmentTimer_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - TimeAlignmentTimer_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -TimeAlignmentTimer_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - TimeAlignmentTimer_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -TimeAlignmentTimer_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - TimeAlignmentTimer_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -TimeAlignmentTimer_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - TimeAlignmentTimer_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -TimeAlignmentTimer_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - TimeAlignmentTimer_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -TimeAlignmentTimer_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - TimeAlignmentTimer_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -TimeAlignmentTimer_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - TimeAlignmentTimer_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -TimeAlignmentTimer_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - TimeAlignmentTimer_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_TimeAlignmentTimer_constr_1 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_TimeAlignmentTimer_value2enum_1[] = { - { 0, 5, "sf500" }, - { 1, 5, "sf750" }, - { 2, 6, "sf1280" }, - { 3, 6, "sf1920" }, - { 4, 6, "sf2560" }, - { 5, 6, "sf5120" }, - { 6, 7, "sf10240" }, - { 7, 8, "infinity" } -}; -static unsigned int asn_MAP_TimeAlignmentTimer_enum2value_1[] = { - 7, /* infinity(7) */ - 6, /* sf10240(6) */ - 2, /* sf1280(2) */ - 3, /* sf1920(3) */ - 4, /* sf2560(4) */ - 0, /* sf500(0) */ - 5, /* sf5120(5) */ - 1 /* sf750(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_TimeAlignmentTimer_specs_1 = { - asn_MAP_TimeAlignmentTimer_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_TimeAlignmentTimer_enum2value_1, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_TimeAlignmentTimer_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_TimeAlignmentTimer = { - "TimeAlignmentTimer", - "TimeAlignmentTimer", - TimeAlignmentTimer_free, - TimeAlignmentTimer_print, - TimeAlignmentTimer_constraint, - TimeAlignmentTimer_decode_ber, - TimeAlignmentTimer_encode_der, - TimeAlignmentTimer_decode_xer, - TimeAlignmentTimer_encode_xer, - TimeAlignmentTimer_decode_uper, - TimeAlignmentTimer_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_TimeAlignmentTimer_tags_1, - sizeof(asn_DEF_TimeAlignmentTimer_tags_1) - /sizeof(asn_DEF_TimeAlignmentTimer_tags_1[0]), /* 1 */ - asn_DEF_TimeAlignmentTimer_tags_1, /* Same as above */ - sizeof(asn_DEF_TimeAlignmentTimer_tags_1) - /sizeof(asn_DEF_TimeAlignmentTimer_tags_1[0]), /* 1 */ - &asn_PER_type_TimeAlignmentTimer_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_TimeAlignmentTimer_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/TimeToTrigger.c b/lte/rrc/lib/asn/src/TimeToTrigger.c deleted file mode 100644 index 23ee2f9f8..000000000 --- a/lte/rrc/lib/asn/src/TimeToTrigger.c +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/TimeToTrigger.h" - -int -TimeToTrigger_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -TimeToTrigger_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -TimeToTrigger_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - TimeToTrigger_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -TimeToTrigger_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - TimeToTrigger_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -TimeToTrigger_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - TimeToTrigger_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -TimeToTrigger_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - TimeToTrigger_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -TimeToTrigger_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - TimeToTrigger_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -TimeToTrigger_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - TimeToTrigger_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -TimeToTrigger_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - TimeToTrigger_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -TimeToTrigger_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - TimeToTrigger_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_TimeToTrigger_constr_1 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_TimeToTrigger_value2enum_1[] = { - { 0, 3, "ms0" }, - { 1, 4, "ms40" }, - { 2, 4, "ms64" }, - { 3, 4, "ms80" }, - { 4, 5, "ms100" }, - { 5, 5, "ms128" }, - { 6, 5, "ms160" }, - { 7, 5, "ms256" }, - { 8, 5, "ms320" }, - { 9, 5, "ms480" }, - { 10, 5, "ms512" }, - { 11, 5, "ms640" }, - { 12, 6, "ms1024" }, - { 13, 6, "ms1280" }, - { 14, 6, "ms2560" }, - { 15, 6, "ms5120" } -}; -static unsigned int asn_MAP_TimeToTrigger_enum2value_1[] = { - 0, /* ms0(0) */ - 4, /* ms100(4) */ - 12, /* ms1024(12) */ - 5, /* ms128(5) */ - 13, /* ms1280(13) */ - 6, /* ms160(6) */ - 7, /* ms256(7) */ - 14, /* ms2560(14) */ - 8, /* ms320(8) */ - 1, /* ms40(1) */ - 9, /* ms480(9) */ - 10, /* ms512(10) */ - 15, /* ms5120(15) */ - 2, /* ms64(2) */ - 11, /* ms640(11) */ - 3 /* ms80(3) */ -}; -static asn_INTEGER_specifics_t asn_SPC_TimeToTrigger_specs_1 = { - asn_MAP_TimeToTrigger_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_TimeToTrigger_enum2value_1, /* N => "tag"; sorted by N */ - 16, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_TimeToTrigger_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_TimeToTrigger = { - "TimeToTrigger", - "TimeToTrigger", - TimeToTrigger_free, - TimeToTrigger_print, - TimeToTrigger_constraint, - TimeToTrigger_decode_ber, - TimeToTrigger_encode_der, - TimeToTrigger_decode_xer, - TimeToTrigger_encode_xer, - TimeToTrigger_decode_uper, - TimeToTrigger_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_TimeToTrigger_tags_1, - sizeof(asn_DEF_TimeToTrigger_tags_1) - /sizeof(asn_DEF_TimeToTrigger_tags_1[0]), /* 1 */ - asn_DEF_TimeToTrigger_tags_1, /* Same as above */ - sizeof(asn_DEF_TimeToTrigger_tags_1) - /sizeof(asn_DEF_TimeToTrigger_tags_1[0]), /* 1 */ - &asn_PER_type_TimeToTrigger_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_TimeToTrigger_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/TraceReference-r10.c b/lte/rrc/lib/asn/src/TraceReference-r10.c deleted file mode 100644 index 2ae1598e0..000000000 --- a/lte/rrc/lib/asn/src/TraceReference-r10.c +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/TraceReference-r10.h" - -static int -memb_traceId_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - size = st->size; - - if((size == 3)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_traceId_r10_constr_3 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 3, 3 } /* (SIZE(3..3)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_TraceReference_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct TraceReference_r10, plmn_Identity_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PLMN_Identity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "plmn-Identity-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct TraceReference_r10, traceId_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_traceId_r10_constraint_1, - &asn_PER_memb_traceId_r10_constr_3, - 0, - "traceId-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_TraceReference_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_TraceReference_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* plmn-Identity-r10 at 3712 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* traceId-r10 at 3713 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_TraceReference_r10_specs_1 = { - sizeof(struct TraceReference_r10), - offsetof(struct TraceReference_r10, _asn_ctx), - asn_MAP_TraceReference_r10_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_TraceReference_r10 = { - "TraceReference-r10", - "TraceReference-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_TraceReference_r10_tags_1, - sizeof(asn_DEF_TraceReference_r10_tags_1) - /sizeof(asn_DEF_TraceReference_r10_tags_1[0]), /* 1 */ - asn_DEF_TraceReference_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_TraceReference_r10_tags_1) - /sizeof(asn_DEF_TraceReference_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_TraceReference_r10_1, - 2, /* Elements count */ - &asn_SPC_TraceReference_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/TrackingAreaCode.c b/lte/rrc/lib/asn/src/TrackingAreaCode.c deleted file mode 100644 index e66bf01b4..000000000 --- a/lte/rrc/lib/asn/src/TrackingAreaCode.c +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/TrackingAreaCode.h" - -int -TrackingAreaCode_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 16)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using BIT_STRING, - * so here we adjust the DEF accordingly. - */ -static void -TrackingAreaCode_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_BIT_STRING.free_struct; - td->print_struct = asn_DEF_BIT_STRING.print_struct; - td->ber_decoder = asn_DEF_BIT_STRING.ber_decoder; - td->der_encoder = asn_DEF_BIT_STRING.der_encoder; - td->xer_decoder = asn_DEF_BIT_STRING.xer_decoder; - td->xer_encoder = asn_DEF_BIT_STRING.xer_encoder; - td->uper_decoder = asn_DEF_BIT_STRING.uper_decoder; - td->uper_encoder = asn_DEF_BIT_STRING.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_BIT_STRING.per_constraints; - td->elements = asn_DEF_BIT_STRING.elements; - td->elements_count = asn_DEF_BIT_STRING.elements_count; - td->specifics = asn_DEF_BIT_STRING.specifics; -} - -void -TrackingAreaCode_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - TrackingAreaCode_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -TrackingAreaCode_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - TrackingAreaCode_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -TrackingAreaCode_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - TrackingAreaCode_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -TrackingAreaCode_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - TrackingAreaCode_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -TrackingAreaCode_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - TrackingAreaCode_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -TrackingAreaCode_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - TrackingAreaCode_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -TrackingAreaCode_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - TrackingAreaCode_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -TrackingAreaCode_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - TrackingAreaCode_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_TrackingAreaCode_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 16, 16 } /* (SIZE(16..16)) */, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_TrackingAreaCode_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_TrackingAreaCode = { - "TrackingAreaCode", - "TrackingAreaCode", - TrackingAreaCode_free, - TrackingAreaCode_print, - TrackingAreaCode_constraint, - TrackingAreaCode_decode_ber, - TrackingAreaCode_encode_der, - TrackingAreaCode_decode_xer, - TrackingAreaCode_encode_xer, - TrackingAreaCode_decode_uper, - TrackingAreaCode_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_TrackingAreaCode_tags_1, - sizeof(asn_DEF_TrackingAreaCode_tags_1) - /sizeof(asn_DEF_TrackingAreaCode_tags_1[0]), /* 1 */ - asn_DEF_TrackingAreaCode_tags_1, /* Same as above */ - sizeof(asn_DEF_TrackingAreaCode_tags_1) - /sizeof(asn_DEF_TrackingAreaCode_tags_1[0]), /* 1 */ - &asn_PER_type_TrackingAreaCode_constr_1, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/lte/rrc/lib/asn/src/TrackingAreaCodeList-r10.c b/lte/rrc/lib/asn/src/TrackingAreaCodeList-r10.c deleted file mode 100644 index f701c0dde..000000000 --- a/lte/rrc/lib/asn/src/TrackingAreaCodeList-r10.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/TrackingAreaCodeList-r10.h" - -static asn_per_constraints_t asn_PER_type_TrackingAreaCodeList_r10_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (SIZE(1..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_TrackingAreaCodeList_r10_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)), - 0, - &asn_DEF_TrackingAreaCode, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_TrackingAreaCodeList_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_TrackingAreaCodeList_r10_specs_1 = { - sizeof(struct TrackingAreaCodeList_r10), - offsetof(struct TrackingAreaCodeList_r10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_TrackingAreaCodeList_r10 = { - "TrackingAreaCodeList-r10", - "TrackingAreaCodeList-r10", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_TrackingAreaCodeList_r10_tags_1, - sizeof(asn_DEF_TrackingAreaCodeList_r10_tags_1) - /sizeof(asn_DEF_TrackingAreaCodeList_r10_tags_1[0]), /* 1 */ - asn_DEF_TrackingAreaCodeList_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_TrackingAreaCodeList_r10_tags_1) - /sizeof(asn_DEF_TrackingAreaCodeList_r10_tags_1[0]), /* 1 */ - &asn_PER_type_TrackingAreaCodeList_r10_constr_1, - asn_MBR_TrackingAreaCodeList_r10_1, - 1, /* Single element */ - &asn_SPC_TrackingAreaCodeList_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UE-BasedNetwPerfMeasParameters-r10.c b/lte/rrc/lib/asn/src/UE-BasedNetwPerfMeasParameters-r10.c deleted file mode 100644 index 52f895503..000000000 --- a/lte/rrc/lib/asn/src/UE-BasedNetwPerfMeasParameters-r10.c +++ /dev/null @@ -1,346 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UE-BasedNetwPerfMeasParameters-r10.h" - -static int -loggedMeasurementsIdle_r10_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -loggedMeasurementsIdle_r10_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -loggedMeasurementsIdle_r10_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - loggedMeasurementsIdle_r10_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -loggedMeasurementsIdle_r10_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - loggedMeasurementsIdle_r10_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -loggedMeasurementsIdle_r10_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - loggedMeasurementsIdle_r10_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -loggedMeasurementsIdle_r10_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - loggedMeasurementsIdle_r10_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -loggedMeasurementsIdle_r10_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - loggedMeasurementsIdle_r10_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -loggedMeasurementsIdle_r10_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - loggedMeasurementsIdle_r10_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -loggedMeasurementsIdle_r10_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - loggedMeasurementsIdle_r10_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -loggedMeasurementsIdle_r10_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - loggedMeasurementsIdle_r10_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -standaloneGNSS_Location_r10_4_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -standaloneGNSS_Location_r10_4_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -standaloneGNSS_Location_r10_4_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - standaloneGNSS_Location_r10_4_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -standaloneGNSS_Location_r10_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - standaloneGNSS_Location_r10_4_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -standaloneGNSS_Location_r10_4_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - standaloneGNSS_Location_r10_4_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -standaloneGNSS_Location_r10_4_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - standaloneGNSS_Location_r10_4_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -standaloneGNSS_Location_r10_4_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - standaloneGNSS_Location_r10_4_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -standaloneGNSS_Location_r10_4_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - standaloneGNSS_Location_r10_4_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -standaloneGNSS_Location_r10_4_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - standaloneGNSS_Location_r10_4_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -standaloneGNSS_Location_r10_4_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - standaloneGNSS_Location_r10_4_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_loggedMeasurementsIdle_r10_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_standaloneGNSS_Location_r10_constr_4 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_loggedMeasurementsIdle_r10_value2enum_2[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_loggedMeasurementsIdle_r10_enum2value_2[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_loggedMeasurementsIdle_r10_specs_2 = { - asn_MAP_loggedMeasurementsIdle_r10_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_loggedMeasurementsIdle_r10_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_loggedMeasurementsIdle_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_loggedMeasurementsIdle_r10_2 = { - "loggedMeasurementsIdle-r10", - "loggedMeasurementsIdle-r10", - loggedMeasurementsIdle_r10_2_free, - loggedMeasurementsIdle_r10_2_print, - loggedMeasurementsIdle_r10_2_constraint, - loggedMeasurementsIdle_r10_2_decode_ber, - loggedMeasurementsIdle_r10_2_encode_der, - loggedMeasurementsIdle_r10_2_decode_xer, - loggedMeasurementsIdle_r10_2_encode_xer, - loggedMeasurementsIdle_r10_2_decode_uper, - loggedMeasurementsIdle_r10_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_loggedMeasurementsIdle_r10_tags_2, - sizeof(asn_DEF_loggedMeasurementsIdle_r10_tags_2) - /sizeof(asn_DEF_loggedMeasurementsIdle_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_loggedMeasurementsIdle_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_loggedMeasurementsIdle_r10_tags_2) - /sizeof(asn_DEF_loggedMeasurementsIdle_r10_tags_2[0]), /* 2 */ - &asn_PER_type_loggedMeasurementsIdle_r10_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_loggedMeasurementsIdle_r10_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_standaloneGNSS_Location_r10_value2enum_4[] = { - { 0, 9, "supported" } -}; -static unsigned int asn_MAP_standaloneGNSS_Location_r10_enum2value_4[] = { - 0 /* supported(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_standaloneGNSS_Location_r10_specs_4 = { - asn_MAP_standaloneGNSS_Location_r10_value2enum_4, /* "tag" => N; sorted by tag */ - asn_MAP_standaloneGNSS_Location_r10_enum2value_4, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_standaloneGNSS_Location_r10_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_standaloneGNSS_Location_r10_4 = { - "standaloneGNSS-Location-r10", - "standaloneGNSS-Location-r10", - standaloneGNSS_Location_r10_4_free, - standaloneGNSS_Location_r10_4_print, - standaloneGNSS_Location_r10_4_constraint, - standaloneGNSS_Location_r10_4_decode_ber, - standaloneGNSS_Location_r10_4_encode_der, - standaloneGNSS_Location_r10_4_decode_xer, - standaloneGNSS_Location_r10_4_encode_xer, - standaloneGNSS_Location_r10_4_decode_uper, - standaloneGNSS_Location_r10_4_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_standaloneGNSS_Location_r10_tags_4, - sizeof(asn_DEF_standaloneGNSS_Location_r10_tags_4) - /sizeof(asn_DEF_standaloneGNSS_Location_r10_tags_4[0]) - 1, /* 1 */ - asn_DEF_standaloneGNSS_Location_r10_tags_4, /* Same as above */ - sizeof(asn_DEF_standaloneGNSS_Location_r10_tags_4) - /sizeof(asn_DEF_standaloneGNSS_Location_r10_tags_4[0]), /* 2 */ - &asn_PER_type_standaloneGNSS_Location_r10_constr_4, - 0, 0, /* Defined elsewhere */ - &asn_SPC_standaloneGNSS_Location_r10_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UE_BasedNetwPerfMeasParameters_r10_1[] = { - { ATF_POINTER, 2, offsetof(struct UE_BasedNetwPerfMeasParameters_r10, loggedMeasurementsIdle_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_loggedMeasurementsIdle_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "loggedMeasurementsIdle-r10" - }, - { ATF_POINTER, 1, offsetof(struct UE_BasedNetwPerfMeasParameters_r10, standaloneGNSS_Location_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_standaloneGNSS_Location_r10_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "standaloneGNSS-Location-r10" - }, -}; -static int asn_MAP_UE_BasedNetwPerfMeasParameters_r10_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_UE_BasedNetwPerfMeasParameters_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UE_BasedNetwPerfMeasParameters_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* loggedMeasurementsIdle-r10 at 4009 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* standaloneGNSS-Location-r10 at 4010 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UE_BasedNetwPerfMeasParameters_r10_specs_1 = { - sizeof(struct UE_BasedNetwPerfMeasParameters_r10), - offsetof(struct UE_BasedNetwPerfMeasParameters_r10, _asn_ctx), - asn_MAP_UE_BasedNetwPerfMeasParameters_r10_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_UE_BasedNetwPerfMeasParameters_r10_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UE_BasedNetwPerfMeasParameters_r10 = { - "UE-BasedNetwPerfMeasParameters-r10", - "UE-BasedNetwPerfMeasParameters-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UE_BasedNetwPerfMeasParameters_r10_tags_1, - sizeof(asn_DEF_UE_BasedNetwPerfMeasParameters_r10_tags_1) - /sizeof(asn_DEF_UE_BasedNetwPerfMeasParameters_r10_tags_1[0]), /* 1 */ - asn_DEF_UE_BasedNetwPerfMeasParameters_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_UE_BasedNetwPerfMeasParameters_r10_tags_1) - /sizeof(asn_DEF_UE_BasedNetwPerfMeasParameters_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UE_BasedNetwPerfMeasParameters_r10_1, - 2, /* Elements count */ - &asn_SPC_UE_BasedNetwPerfMeasParameters_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UE-CapabilityRAT-Container.c b/lte/rrc/lib/asn/src/UE-CapabilityRAT-Container.c deleted file mode 100644 index 01ca711dc..000000000 --- a/lte/rrc/lib/asn/src/UE-CapabilityRAT-Container.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UE-CapabilityRAT-Container.h" - -static asn_TYPE_member_t asn_MBR_UE_CapabilityRAT_Container_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UE_CapabilityRAT_Container, rat_Type), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RAT_Type, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rat-Type" - }, - { ATF_NOFLAGS, 0, offsetof(struct UE_CapabilityRAT_Container, ueCapabilityRAT_Container), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ueCapabilityRAT-Container" - }, -}; -static ber_tlv_tag_t asn_DEF_UE_CapabilityRAT_Container_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UE_CapabilityRAT_Container_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rat-Type at 3720 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ueCapabilityRAT-Container at 3721 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UE_CapabilityRAT_Container_specs_1 = { - sizeof(struct UE_CapabilityRAT_Container), - offsetof(struct UE_CapabilityRAT_Container, _asn_ctx), - asn_MAP_UE_CapabilityRAT_Container_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UE_CapabilityRAT_Container = { - "UE-CapabilityRAT-Container", - "UE-CapabilityRAT-Container", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UE_CapabilityRAT_Container_tags_1, - sizeof(asn_DEF_UE_CapabilityRAT_Container_tags_1) - /sizeof(asn_DEF_UE_CapabilityRAT_Container_tags_1[0]), /* 1 */ - asn_DEF_UE_CapabilityRAT_Container_tags_1, /* Same as above */ - sizeof(asn_DEF_UE_CapabilityRAT_Container_tags_1) - /sizeof(asn_DEF_UE_CapabilityRAT_Container_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UE_CapabilityRAT_Container_1, - 2, /* Elements count */ - &asn_SPC_UE_CapabilityRAT_Container_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UE-CapabilityRAT-ContainerList.c b/lte/rrc/lib/asn/src/UE-CapabilityRAT-ContainerList.c deleted file mode 100644 index 31f518d8d..000000000 --- a/lte/rrc/lib/asn/src/UE-CapabilityRAT-ContainerList.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UE-CapabilityRAT-ContainerList.h" - -static asn_per_constraints_t asn_PER_type_UE_CapabilityRAT_ContainerList_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 0, 8 } /* (SIZE(0..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_UE_CapabilityRAT_ContainerList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_UE_CapabilityRAT_Container, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_UE_CapabilityRAT_ContainerList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_UE_CapabilityRAT_ContainerList_specs_1 = { - sizeof(struct UE_CapabilityRAT_ContainerList), - offsetof(struct UE_CapabilityRAT_ContainerList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_UE_CapabilityRAT_ContainerList = { - "UE-CapabilityRAT-ContainerList", - "UE-CapabilityRAT-ContainerList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UE_CapabilityRAT_ContainerList_tags_1, - sizeof(asn_DEF_UE_CapabilityRAT_ContainerList_tags_1) - /sizeof(asn_DEF_UE_CapabilityRAT_ContainerList_tags_1[0]), /* 1 */ - asn_DEF_UE_CapabilityRAT_ContainerList_tags_1, /* Same as above */ - sizeof(asn_DEF_UE_CapabilityRAT_ContainerList_tags_1) - /sizeof(asn_DEF_UE_CapabilityRAT_ContainerList_tags_1[0]), /* 1 */ - &asn_PER_type_UE_CapabilityRAT_ContainerList_constr_1, - asn_MBR_UE_CapabilityRAT_ContainerList_1, - 1, /* Single element */ - &asn_SPC_UE_CapabilityRAT_ContainerList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UE-CapabilityRequest.c b/lte/rrc/lib/asn/src/UE-CapabilityRequest.c deleted file mode 100644 index e1195fd4f..000000000 --- a/lte/rrc/lib/asn/src/UE-CapabilityRequest.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UE-CapabilityRequest.h" - -static asn_per_constraints_t asn_PER_type_UE_CapabilityRequest_constr_1 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 3, 3, 1, 8 } /* (SIZE(1..8)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_UE_CapabilityRequest_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), - 0, - &asn_DEF_RAT_Type, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static ber_tlv_tag_t asn_DEF_UE_CapabilityRequest_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_UE_CapabilityRequest_specs_1 = { - sizeof(struct UE_CapabilityRequest), - offsetof(struct UE_CapabilityRequest, _asn_ctx), - 1, /* XER encoding is XMLValueList */ -}; -asn_TYPE_descriptor_t asn_DEF_UE_CapabilityRequest = { - "UE-CapabilityRequest", - "UE-CapabilityRequest", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UE_CapabilityRequest_tags_1, - sizeof(asn_DEF_UE_CapabilityRequest_tags_1) - /sizeof(asn_DEF_UE_CapabilityRequest_tags_1[0]), /* 1 */ - asn_DEF_UE_CapabilityRequest_tags_1, /* Same as above */ - sizeof(asn_DEF_UE_CapabilityRequest_tags_1) - /sizeof(asn_DEF_UE_CapabilityRequest_tags_1[0]), /* 1 */ - &asn_PER_type_UE_CapabilityRequest_constr_1, - asn_MBR_UE_CapabilityRequest_1, - 1, /* Single element */ - &asn_SPC_UE_CapabilityRequest_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UE-EUTRA-Capability-v1020-IEs.c b/lte/rrc/lib/asn/src/UE-EUTRA-Capability-v1020-IEs.c deleted file mode 100644 index 601dd3b0d..000000000 --- a/lte/rrc/lib/asn/src/UE-EUTRA-Capability-v1020-IEs.c +++ /dev/null @@ -1,246 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UE-EUTRA-Capability-v1020-IEs.h" - -static int -memb_ue_Category_v1020_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 6 && value <= 8)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_featureGroupIndicators_v1020_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 32)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_ue_Category_v1020_constr_2 = { - { APC_CONSTRAINED, 2, 2, 6, 8 } /* (6..8) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_featureGroupIndicators_v1020_constr_6 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 32, 32 } /* (SIZE(32..32)) */, - 0, 0 /* No PER value map */ -}; -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_10[] = { - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_10 = { - sizeof(struct UE_EUTRA_Capability_v1020_IEs__nonCriticalExtension), - offsetof(struct UE_EUTRA_Capability_v1020_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_10 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_10, - sizeof(asn_DEF_nonCriticalExtension_tags_10) - /sizeof(asn_DEF_nonCriticalExtension_tags_10[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_10, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_10) - /sizeof(asn_DEF_nonCriticalExtension_tags_10[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_10 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UE_EUTRA_Capability_v1020_IEs_1[] = { - { ATF_POINTER, 9, offsetof(struct UE_EUTRA_Capability_v1020_IEs, ue_Category_v1020), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_ue_Category_v1020_constraint_1, - &asn_PER_memb_ue_Category_v1020_constr_2, - 0, - "ue-Category-v1020" - }, - { ATF_POINTER, 8, offsetof(struct UE_EUTRA_Capability_v1020_IEs, phyLayerParameters_v1020), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhyLayerParameters_v1020, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "phyLayerParameters-v1020" - }, - { ATF_POINTER, 7, offsetof(struct UE_EUTRA_Capability_v1020_IEs, rf_Parameters_v1020), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RF_Parameters_v1020, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rf-Parameters-v1020" - }, - { ATF_POINTER, 6, offsetof(struct UE_EUTRA_Capability_v1020_IEs, measParameters_v1020), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasParameters_v1020, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measParameters-v1020" - }, - { ATF_POINTER, 5, offsetof(struct UE_EUTRA_Capability_v1020_IEs, featureGroupIndicators_v1020), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_featureGroupIndicators_v1020_constraint_1, - &asn_PER_memb_featureGroupIndicators_v1020_constr_6, - 0, - "featureGroupIndicators-v1020" - }, - { ATF_POINTER, 4, offsetof(struct UE_EUTRA_Capability_v1020_IEs, interRAT_ParametersCDMA2000_v1020), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v1020, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interRAT-ParametersCDMA2000-v1020" - }, - { ATF_POINTER, 3, offsetof(struct UE_EUTRA_Capability_v1020_IEs, ue_BasedNetwPerfMeasParameters_r10), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UE_BasedNetwPerfMeasParameters_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ue-BasedNetwPerfMeasParameters-r10" - }, - { ATF_POINTER, 2, offsetof(struct UE_EUTRA_Capability_v1020_IEs, interRAT_ParametersUTRA_TDD_v1020), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_IRAT_ParametersUTRA_TDD_v1020, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interRAT-ParametersUTRA-TDD-v1020" - }, - { ATF_POINTER, 1, offsetof(struct UE_EUTRA_Capability_v1020_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - 0, - &asn_DEF_nonCriticalExtension_10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_UE_EUTRA_Capability_v1020_IEs_oms_1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8 }; -static ber_tlv_tag_t asn_DEF_UE_EUTRA_Capability_v1020_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UE_EUTRA_Capability_v1020_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ue-Category-v1020 at 3763 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* phyLayerParameters-v1020 at 3764 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* rf-Parameters-v1020 at 3765 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* measParameters-v1020 at 3766 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* featureGroupIndicators-v1020 at 3767 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* interRAT-ParametersCDMA2000-v1020 at 3768 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* ue-BasedNetwPerfMeasParameters-r10 at 3769 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* interRAT-ParametersUTRA-TDD-v1020 at 3770 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 } /* nonCriticalExtension at 3771 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UE_EUTRA_Capability_v1020_IEs_specs_1 = { - sizeof(struct UE_EUTRA_Capability_v1020_IEs), - offsetof(struct UE_EUTRA_Capability_v1020_IEs, _asn_ctx), - asn_MAP_UE_EUTRA_Capability_v1020_IEs_tag2el_1, - 9, /* Count of tags in the map */ - asn_MAP_UE_EUTRA_Capability_v1020_IEs_oms_1, /* Optional members */ - 9, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UE_EUTRA_Capability_v1020_IEs = { - "UE-EUTRA-Capability-v1020-IEs", - "UE-EUTRA-Capability-v1020-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UE_EUTRA_Capability_v1020_IEs_tags_1, - sizeof(asn_DEF_UE_EUTRA_Capability_v1020_IEs_tags_1) - /sizeof(asn_DEF_UE_EUTRA_Capability_v1020_IEs_tags_1[0]), /* 1 */ - asn_DEF_UE_EUTRA_Capability_v1020_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_UE_EUTRA_Capability_v1020_IEs_tags_1) - /sizeof(asn_DEF_UE_EUTRA_Capability_v1020_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UE_EUTRA_Capability_v1020_IEs_1, - 9, /* Elements count */ - &asn_SPC_UE_EUTRA_Capability_v1020_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UE-EUTRA-Capability-v920-IEs.c b/lte/rrc/lib/asn/src/UE-EUTRA-Capability-v920-IEs.c deleted file mode 100644 index 4d3b9fbf1..000000000 --- a/lte/rrc/lib/asn/src/UE-EUTRA-Capability-v920-IEs.c +++ /dev/null @@ -1,279 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UE-EUTRA-Capability-v920-IEs.h" - -static int -deviceType_r9_6_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -deviceType_r9_6_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -deviceType_r9_6_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - deviceType_r9_6_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -deviceType_r9_6_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - deviceType_r9_6_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -deviceType_r9_6_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - deviceType_r9_6_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -deviceType_r9_6_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - deviceType_r9_6_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -deviceType_r9_6_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - deviceType_r9_6_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -deviceType_r9_6_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - deviceType_r9_6_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -deviceType_r9_6_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - deviceType_r9_6_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -deviceType_r9_6_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - deviceType_r9_6_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_deviceType_r9_constr_6 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_deviceType_r9_value2enum_6[] = { - { 0, 22, "noBenFromBatConsumpOpt" } -}; -static unsigned int asn_MAP_deviceType_r9_enum2value_6[] = { - 0 /* noBenFromBatConsumpOpt(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_deviceType_r9_specs_6 = { - asn_MAP_deviceType_r9_value2enum_6, /* "tag" => N; sorted by tag */ - asn_MAP_deviceType_r9_enum2value_6, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_deviceType_r9_tags_6[] = { - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_deviceType_r9_6 = { - "deviceType-r9", - "deviceType-r9", - deviceType_r9_6_free, - deviceType_r9_6_print, - deviceType_r9_6_constraint, - deviceType_r9_6_decode_ber, - deviceType_r9_6_encode_der, - deviceType_r9_6_decode_xer, - deviceType_r9_6_encode_xer, - deviceType_r9_6_decode_uper, - deviceType_r9_6_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_deviceType_r9_tags_6, - sizeof(asn_DEF_deviceType_r9_tags_6) - /sizeof(asn_DEF_deviceType_r9_tags_6[0]) - 1, /* 1 */ - asn_DEF_deviceType_r9_tags_6, /* Same as above */ - sizeof(asn_DEF_deviceType_r9_tags_6) - /sizeof(asn_DEF_deviceType_r9_tags_6[0]), /* 2 */ - &asn_PER_type_deviceType_r9_constr_6, - 0, 0, /* Defined elsewhere */ - &asn_SPC_deviceType_r9_specs_6 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UE_EUTRA_Capability_v920_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UE_EUTRA_Capability_v920_IEs, phyLayerParameters_v920), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhyLayerParameters_v920, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "phyLayerParameters-v920" - }, - { ATF_NOFLAGS, 0, offsetof(struct UE_EUTRA_Capability_v920_IEs, interRAT_ParametersGERAN_v920), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_IRAT_ParametersGERAN_v920, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interRAT-ParametersGERAN-v920" - }, - { ATF_POINTER, 3, offsetof(struct UE_EUTRA_Capability_v920_IEs, interRAT_ParametersUTRA_v920), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_IRAT_ParametersUTRA_v920, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interRAT-ParametersUTRA-v920" - }, - { ATF_POINTER, 2, offsetof(struct UE_EUTRA_Capability_v920_IEs, interRAT_ParametersCDMA2000_v920), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_IRAT_ParametersCDMA2000_1XRTT_v920, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interRAT-ParametersCDMA2000-v920" - }, - { ATF_POINTER, 1, offsetof(struct UE_EUTRA_Capability_v920_IEs, deviceType_r9), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_deviceType_r9_6, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "deviceType-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct UE_EUTRA_Capability_v920_IEs, csg_ProximityIndicationParameters_r9), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CSG_ProximityIndicationParameters_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csg-ProximityIndicationParameters-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct UE_EUTRA_Capability_v920_IEs, neighCellSI_AcquisitionParameters_r9), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NeighCellSI_AcquisitionParameters_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "neighCellSI-AcquisitionParameters-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct UE_EUTRA_Capability_v920_IEs, son_Parameters_r9), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SON_Parameters_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "son-Parameters-r9" - }, - { ATF_POINTER, 1, offsetof(struct UE_EUTRA_Capability_v920_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UE_EUTRA_Capability_v940_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_UE_EUTRA_Capability_v920_IEs_oms_1[] = { 2, 3, 4, 8 }; -static ber_tlv_tag_t asn_DEF_UE_EUTRA_Capability_v920_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UE_EUTRA_Capability_v920_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* phyLayerParameters-v920 at 3746 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* interRAT-ParametersGERAN-v920 at 3747 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* interRAT-ParametersUTRA-v920 at 3748 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* interRAT-ParametersCDMA2000-v920 at 3749 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* deviceType-r9 at 3750 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* csg-ProximityIndicationParameters-r9 at 3751 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* neighCellSI-AcquisitionParameters-r9 at 3752 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* son-Parameters-r9 at 3753 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 } /* nonCriticalExtension at 3754 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UE_EUTRA_Capability_v920_IEs_specs_1 = { - sizeof(struct UE_EUTRA_Capability_v920_IEs), - offsetof(struct UE_EUTRA_Capability_v920_IEs, _asn_ctx), - asn_MAP_UE_EUTRA_Capability_v920_IEs_tag2el_1, - 9, /* Count of tags in the map */ - asn_MAP_UE_EUTRA_Capability_v920_IEs_oms_1, /* Optional members */ - 4, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UE_EUTRA_Capability_v920_IEs = { - "UE-EUTRA-Capability-v920-IEs", - "UE-EUTRA-Capability-v920-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UE_EUTRA_Capability_v920_IEs_tags_1, - sizeof(asn_DEF_UE_EUTRA_Capability_v920_IEs_tags_1) - /sizeof(asn_DEF_UE_EUTRA_Capability_v920_IEs_tags_1[0]), /* 1 */ - asn_DEF_UE_EUTRA_Capability_v920_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_UE_EUTRA_Capability_v920_IEs_tags_1) - /sizeof(asn_DEF_UE_EUTRA_Capability_v920_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UE_EUTRA_Capability_v920_IEs_1, - 9, /* Elements count */ - &asn_SPC_UE_EUTRA_Capability_v920_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UE-EUTRA-Capability-v940-IEs.c b/lte/rrc/lib/asn/src/UE-EUTRA-Capability-v940-IEs.c deleted file mode 100644 index 3dbba9ccc..000000000 --- a/lte/rrc/lib/asn/src/UE-EUTRA-Capability-v940-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UE-EUTRA-Capability-v940-IEs.h" - -static asn_TYPE_member_t asn_MBR_UE_EUTRA_Capability_v940_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct UE_EUTRA_Capability_v940_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct UE_EUTRA_Capability_v940_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UE_EUTRA_Capability_v1020_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_UE_EUTRA_Capability_v940_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_UE_EUTRA_Capability_v940_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UE_EUTRA_Capability_v940_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 3758 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 3759 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UE_EUTRA_Capability_v940_IEs_specs_1 = { - sizeof(struct UE_EUTRA_Capability_v940_IEs), - offsetof(struct UE_EUTRA_Capability_v940_IEs, _asn_ctx), - asn_MAP_UE_EUTRA_Capability_v940_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_UE_EUTRA_Capability_v940_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UE_EUTRA_Capability_v940_IEs = { - "UE-EUTRA-Capability-v940-IEs", - "UE-EUTRA-Capability-v940-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UE_EUTRA_Capability_v940_IEs_tags_1, - sizeof(asn_DEF_UE_EUTRA_Capability_v940_IEs_tags_1) - /sizeof(asn_DEF_UE_EUTRA_Capability_v940_IEs_tags_1[0]), /* 1 */ - asn_DEF_UE_EUTRA_Capability_v940_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_UE_EUTRA_Capability_v940_IEs_tags_1) - /sizeof(asn_DEF_UE_EUTRA_Capability_v940_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UE_EUTRA_Capability_v940_IEs_1, - 2, /* Elements count */ - &asn_SPC_UE_EUTRA_Capability_v940_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UE-EUTRA-Capability.c b/lte/rrc/lib/asn/src/UE-EUTRA-Capability.c deleted file mode 100644 index 70844b014..000000000 --- a/lte/rrc/lib/asn/src/UE-EUTRA-Capability.c +++ /dev/null @@ -1,323 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UE-EUTRA-Capability.h" - -static int -memb_ue_Category_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 5)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_featureGroupIndicators_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 32)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_ue_Category_constr_3 = { - { APC_CONSTRAINED, 3, 3, 1, 5 } /* (1..5) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_featureGroupIndicators_constr_8 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 32, 32 } /* (SIZE(32..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_interRAT_Parameters_9[] = { - { ATF_POINTER, 7, offsetof(struct UE_EUTRA_Capability__interRAT_Parameters, utraFDD), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_IRAT_ParametersUTRA_FDD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "utraFDD" - }, - { ATF_POINTER, 6, offsetof(struct UE_EUTRA_Capability__interRAT_Parameters, utraTDD128), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_IRAT_ParametersUTRA_TDD128, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "utraTDD128" - }, - { ATF_POINTER, 5, offsetof(struct UE_EUTRA_Capability__interRAT_Parameters, utraTDD384), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_IRAT_ParametersUTRA_TDD384, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "utraTDD384" - }, - { ATF_POINTER, 4, offsetof(struct UE_EUTRA_Capability__interRAT_Parameters, utraTDD768), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_IRAT_ParametersUTRA_TDD768, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "utraTDD768" - }, - { ATF_POINTER, 3, offsetof(struct UE_EUTRA_Capability__interRAT_Parameters, geran), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_IRAT_ParametersGERAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "geran" - }, - { ATF_POINTER, 2, offsetof(struct UE_EUTRA_Capability__interRAT_Parameters, cdma2000_HRPD), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_IRAT_ParametersCDMA2000_HRPD, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cdma2000-HRPD" - }, - { ATF_POINTER, 1, offsetof(struct UE_EUTRA_Capability__interRAT_Parameters, cdma2000_1xRTT), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_IRAT_ParametersCDMA2000_1XRTT, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cdma2000-1xRTT" - }, -}; -static int asn_MAP_interRAT_Parameters_oms_9[] = { 0, 1, 2, 3, 4, 5, 6 }; -static ber_tlv_tag_t asn_DEF_interRAT_Parameters_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_interRAT_Parameters_tag2el_9[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* utraFDD at 3734 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* utraTDD128 at 3735 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* utraTDD384 at 3736 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* utraTDD768 at 3737 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* geran at 3738 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* cdma2000-HRPD at 3739 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* cdma2000-1xRTT at 3740 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_interRAT_Parameters_specs_9 = { - sizeof(struct UE_EUTRA_Capability__interRAT_Parameters), - offsetof(struct UE_EUTRA_Capability__interRAT_Parameters, _asn_ctx), - asn_MAP_interRAT_Parameters_tag2el_9, - 7, /* Count of tags in the map */ - asn_MAP_interRAT_Parameters_oms_9, /* Optional members */ - 7, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_interRAT_Parameters_9 = { - "interRAT-Parameters", - "interRAT-Parameters", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_interRAT_Parameters_tags_9, - sizeof(asn_DEF_interRAT_Parameters_tags_9) - /sizeof(asn_DEF_interRAT_Parameters_tags_9[0]) - 1, /* 1 */ - asn_DEF_interRAT_Parameters_tags_9, /* Same as above */ - sizeof(asn_DEF_interRAT_Parameters_tags_9) - /sizeof(asn_DEF_interRAT_Parameters_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_interRAT_Parameters_9, - 7, /* Elements count */ - &asn_SPC_interRAT_Parameters_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UE_EUTRA_Capability_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UE_EUTRA_Capability, accessStratumRelease), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_AccessStratumRelease, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "accessStratumRelease" - }, - { ATF_NOFLAGS, 0, offsetof(struct UE_EUTRA_Capability, ue_Category), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_ue_Category_constraint_1, - &asn_PER_memb_ue_Category_constr_3, - 0, - "ue-Category" - }, - { ATF_NOFLAGS, 0, offsetof(struct UE_EUTRA_Capability, pdcp_Parameters), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PDCP_Parameters, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pdcp-Parameters" - }, - { ATF_NOFLAGS, 0, offsetof(struct UE_EUTRA_Capability, phyLayerParameters), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhyLayerParameters, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "phyLayerParameters" - }, - { ATF_NOFLAGS, 0, offsetof(struct UE_EUTRA_Capability, rf_Parameters), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RF_Parameters, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rf-Parameters" - }, - { ATF_NOFLAGS, 0, offsetof(struct UE_EUTRA_Capability, measParameters), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasParameters, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measParameters" - }, - { ATF_POINTER, 1, offsetof(struct UE_EUTRA_Capability, featureGroupIndicators), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_featureGroupIndicators_constraint_1, - &asn_PER_memb_featureGroupIndicators_constr_8, - 0, - "featureGroupIndicators" - }, - { ATF_NOFLAGS, 0, offsetof(struct UE_EUTRA_Capability, interRAT_Parameters), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - 0, - &asn_DEF_interRAT_Parameters_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interRAT-Parameters" - }, - { ATF_POINTER, 1, offsetof(struct UE_EUTRA_Capability, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UE_EUTRA_Capability_v920_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_UE_EUTRA_Capability_oms_1[] = { 6, 8 }; -static ber_tlv_tag_t asn_DEF_UE_EUTRA_Capability_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UE_EUTRA_Capability_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* accessStratumRelease at 3726 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ue-Category at 3727 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pdcp-Parameters at 3728 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* phyLayerParameters at 3729 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* rf-Parameters at 3730 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* measParameters at 3731 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* featureGroupIndicators at 3732 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* interRAT-Parameters at 3734 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 } /* nonCriticalExtension at 3742 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UE_EUTRA_Capability_specs_1 = { - sizeof(struct UE_EUTRA_Capability), - offsetof(struct UE_EUTRA_Capability, _asn_ctx), - asn_MAP_UE_EUTRA_Capability_tag2el_1, - 9, /* Count of tags in the map */ - asn_MAP_UE_EUTRA_Capability_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UE_EUTRA_Capability = { - "UE-EUTRA-Capability", - "UE-EUTRA-Capability", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UE_EUTRA_Capability_tags_1, - sizeof(asn_DEF_UE_EUTRA_Capability_tags_1) - /sizeof(asn_DEF_UE_EUTRA_Capability_tags_1[0]), /* 1 */ - asn_DEF_UE_EUTRA_Capability_tags_1, /* Same as above */ - sizeof(asn_DEF_UE_EUTRA_Capability_tags_1) - /sizeof(asn_DEF_UE_EUTRA_Capability_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UE_EUTRA_Capability_1, - 9, /* Elements count */ - &asn_SPC_UE_EUTRA_Capability_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UE-TimersAndConstants.c b/lte/rrc/lib/asn/src/UE-TimersAndConstants.c deleted file mode 100644 index 4618ab60d..000000000 --- a/lte/rrc/lib/asn/src/UE-TimersAndConstants.c +++ /dev/null @@ -1,1012 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UE-TimersAndConstants.h" - -static int -t300_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -t300_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -t300_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - t300_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -t300_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - t300_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -t300_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - t300_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -t300_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - t300_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -t300_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - t300_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -t300_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - t300_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -t300_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - t300_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -t300_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - t300_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -t301_11_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -t301_11_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -t301_11_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - t301_11_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -t301_11_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - t301_11_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -t301_11_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - t301_11_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -t301_11_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - t301_11_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -t301_11_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - t301_11_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -t301_11_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - t301_11_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -t301_11_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - t301_11_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -t301_11_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - t301_11_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -t310_20_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -t310_20_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -t310_20_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - t310_20_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -t310_20_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - t310_20_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -t310_20_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - t310_20_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -t310_20_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - t310_20_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -t310_20_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - t310_20_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -t310_20_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - t310_20_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -t310_20_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - t310_20_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -t310_20_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - t310_20_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -n310_28_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -n310_28_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -n310_28_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - n310_28_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -n310_28_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - n310_28_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -n310_28_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - n310_28_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -n310_28_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - n310_28_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -n310_28_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - n310_28_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -n310_28_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - n310_28_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -n310_28_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - n310_28_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -n310_28_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - n310_28_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -t311_37_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -t311_37_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -t311_37_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - t311_37_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -t311_37_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - t311_37_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -t311_37_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - t311_37_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -t311_37_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - t311_37_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -t311_37_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - t311_37_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -t311_37_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - t311_37_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -t311_37_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - t311_37_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -t311_37_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - t311_37_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -n311_45_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -n311_45_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -n311_45_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - n311_45_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -n311_45_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - n311_45_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -n311_45_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - n311_45_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -n311_45_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - n311_45_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -n311_45_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - n311_45_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -n311_45_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - n311_45_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -n311_45_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - n311_45_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -n311_45_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - n311_45_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_t300_constr_2 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_t301_constr_11 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_t310_constr_20 = { - { APC_CONSTRAINED, 3, 3, 0, 6 } /* (0..6) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_n310_constr_28 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_t311_constr_37 = { - { APC_CONSTRAINED, 3, 3, 0, 6 } /* (0..6) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_n311_constr_45 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_t300_value2enum_2[] = { - { 0, 5, "ms100" }, - { 1, 5, "ms200" }, - { 2, 5, "ms300" }, - { 3, 5, "ms400" }, - { 4, 5, "ms600" }, - { 5, 6, "ms1000" }, - { 6, 6, "ms1500" }, - { 7, 6, "ms2000" } -}; -static unsigned int asn_MAP_t300_enum2value_2[] = { - 0, /* ms100(0) */ - 5, /* ms1000(5) */ - 6, /* ms1500(6) */ - 1, /* ms200(1) */ - 7, /* ms2000(7) */ - 2, /* ms300(2) */ - 3, /* ms400(3) */ - 4 /* ms600(4) */ -}; -static asn_INTEGER_specifics_t asn_SPC_t300_specs_2 = { - asn_MAP_t300_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_t300_enum2value_2, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_t300_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_t300_2 = { - "t300", - "t300", - t300_2_free, - t300_2_print, - t300_2_constraint, - t300_2_decode_ber, - t300_2_encode_der, - t300_2_decode_xer, - t300_2_encode_xer, - t300_2_decode_uper, - t300_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_t300_tags_2, - sizeof(asn_DEF_t300_tags_2) - /sizeof(asn_DEF_t300_tags_2[0]) - 1, /* 1 */ - asn_DEF_t300_tags_2, /* Same as above */ - sizeof(asn_DEF_t300_tags_2) - /sizeof(asn_DEF_t300_tags_2[0]), /* 2 */ - &asn_PER_type_t300_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_t300_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_t301_value2enum_11[] = { - { 0, 5, "ms100" }, - { 1, 5, "ms200" }, - { 2, 5, "ms300" }, - { 3, 5, "ms400" }, - { 4, 5, "ms600" }, - { 5, 6, "ms1000" }, - { 6, 6, "ms1500" }, - { 7, 6, "ms2000" } -}; -static unsigned int asn_MAP_t301_enum2value_11[] = { - 0, /* ms100(0) */ - 5, /* ms1000(5) */ - 6, /* ms1500(6) */ - 1, /* ms200(1) */ - 7, /* ms2000(7) */ - 2, /* ms300(2) */ - 3, /* ms400(3) */ - 4 /* ms600(4) */ -}; -static asn_INTEGER_specifics_t asn_SPC_t301_specs_11 = { - asn_MAP_t301_value2enum_11, /* "tag" => N; sorted by tag */ - asn_MAP_t301_enum2value_11, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_t301_tags_11[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_t301_11 = { - "t301", - "t301", - t301_11_free, - t301_11_print, - t301_11_constraint, - t301_11_decode_ber, - t301_11_encode_der, - t301_11_decode_xer, - t301_11_encode_xer, - t301_11_decode_uper, - t301_11_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_t301_tags_11, - sizeof(asn_DEF_t301_tags_11) - /sizeof(asn_DEF_t301_tags_11[0]) - 1, /* 1 */ - asn_DEF_t301_tags_11, /* Same as above */ - sizeof(asn_DEF_t301_tags_11) - /sizeof(asn_DEF_t301_tags_11[0]), /* 2 */ - &asn_PER_type_t301_constr_11, - 0, 0, /* Defined elsewhere */ - &asn_SPC_t301_specs_11 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_t310_value2enum_20[] = { - { 0, 3, "ms0" }, - { 1, 4, "ms50" }, - { 2, 5, "ms100" }, - { 3, 5, "ms200" }, - { 4, 5, "ms500" }, - { 5, 6, "ms1000" }, - { 6, 6, "ms2000" } -}; -static unsigned int asn_MAP_t310_enum2value_20[] = { - 0, /* ms0(0) */ - 2, /* ms100(2) */ - 5, /* ms1000(5) */ - 3, /* ms200(3) */ - 6, /* ms2000(6) */ - 1, /* ms50(1) */ - 4 /* ms500(4) */ -}; -static asn_INTEGER_specifics_t asn_SPC_t310_specs_20 = { - asn_MAP_t310_value2enum_20, /* "tag" => N; sorted by tag */ - asn_MAP_t310_enum2value_20, /* N => "tag"; sorted by N */ - 7, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_t310_tags_20[] = { - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_t310_20 = { - "t310", - "t310", - t310_20_free, - t310_20_print, - t310_20_constraint, - t310_20_decode_ber, - t310_20_encode_der, - t310_20_decode_xer, - t310_20_encode_xer, - t310_20_decode_uper, - t310_20_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_t310_tags_20, - sizeof(asn_DEF_t310_tags_20) - /sizeof(asn_DEF_t310_tags_20[0]) - 1, /* 1 */ - asn_DEF_t310_tags_20, /* Same as above */ - sizeof(asn_DEF_t310_tags_20) - /sizeof(asn_DEF_t310_tags_20[0]), /* 2 */ - &asn_PER_type_t310_constr_20, - 0, 0, /* Defined elsewhere */ - &asn_SPC_t310_specs_20 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_n310_value2enum_28[] = { - { 0, 2, "n1" }, - { 1, 2, "n2" }, - { 2, 2, "n3" }, - { 3, 2, "n4" }, - { 4, 2, "n6" }, - { 5, 2, "n8" }, - { 6, 3, "n10" }, - { 7, 3, "n20" } -}; -static unsigned int asn_MAP_n310_enum2value_28[] = { - 0, /* n1(0) */ - 6, /* n10(6) */ - 1, /* n2(1) */ - 7, /* n20(7) */ - 2, /* n3(2) */ - 3, /* n4(3) */ - 4, /* n6(4) */ - 5 /* n8(5) */ -}; -static asn_INTEGER_specifics_t asn_SPC_n310_specs_28 = { - asn_MAP_n310_value2enum_28, /* "tag" => N; sorted by tag */ - asn_MAP_n310_enum2value_28, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_n310_tags_28[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_n310_28 = { - "n310", - "n310", - n310_28_free, - n310_28_print, - n310_28_constraint, - n310_28_decode_ber, - n310_28_encode_der, - n310_28_decode_xer, - n310_28_encode_xer, - n310_28_decode_uper, - n310_28_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_n310_tags_28, - sizeof(asn_DEF_n310_tags_28) - /sizeof(asn_DEF_n310_tags_28[0]) - 1, /* 1 */ - asn_DEF_n310_tags_28, /* Same as above */ - sizeof(asn_DEF_n310_tags_28) - /sizeof(asn_DEF_n310_tags_28[0]), /* 2 */ - &asn_PER_type_n310_constr_28, - 0, 0, /* Defined elsewhere */ - &asn_SPC_n310_specs_28 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_t311_value2enum_37[] = { - { 0, 6, "ms1000" }, - { 1, 6, "ms3000" }, - { 2, 6, "ms5000" }, - { 3, 7, "ms10000" }, - { 4, 7, "ms15000" }, - { 5, 7, "ms20000" }, - { 6, 7, "ms30000" } -}; -static unsigned int asn_MAP_t311_enum2value_37[] = { - 0, /* ms1000(0) */ - 3, /* ms10000(3) */ - 4, /* ms15000(4) */ - 5, /* ms20000(5) */ - 1, /* ms3000(1) */ - 6, /* ms30000(6) */ - 2 /* ms5000(2) */ -}; -static asn_INTEGER_specifics_t asn_SPC_t311_specs_37 = { - asn_MAP_t311_value2enum_37, /* "tag" => N; sorted by tag */ - asn_MAP_t311_enum2value_37, /* N => "tag"; sorted by N */ - 7, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_t311_tags_37[] = { - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_t311_37 = { - "t311", - "t311", - t311_37_free, - t311_37_print, - t311_37_constraint, - t311_37_decode_ber, - t311_37_encode_der, - t311_37_decode_xer, - t311_37_encode_xer, - t311_37_decode_uper, - t311_37_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_t311_tags_37, - sizeof(asn_DEF_t311_tags_37) - /sizeof(asn_DEF_t311_tags_37[0]) - 1, /* 1 */ - asn_DEF_t311_tags_37, /* Same as above */ - sizeof(asn_DEF_t311_tags_37) - /sizeof(asn_DEF_t311_tags_37[0]), /* 2 */ - &asn_PER_type_t311_constr_37, - 0, 0, /* Defined elsewhere */ - &asn_SPC_t311_specs_37 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_n311_value2enum_45[] = { - { 0, 2, "n1" }, - { 1, 2, "n2" }, - { 2, 2, "n3" }, - { 3, 2, "n4" }, - { 4, 2, "n5" }, - { 5, 2, "n6" }, - { 6, 2, "n8" }, - { 7, 3, "n10" } -}; -static unsigned int asn_MAP_n311_enum2value_45[] = { - 0, /* n1(0) */ - 7, /* n10(7) */ - 1, /* n2(1) */ - 2, /* n3(2) */ - 3, /* n4(3) */ - 4, /* n5(4) */ - 5, /* n6(5) */ - 6 /* n8(6) */ -}; -static asn_INTEGER_specifics_t asn_SPC_n311_specs_45 = { - asn_MAP_n311_value2enum_45, /* "tag" => N; sorted by tag */ - asn_MAP_n311_enum2value_45, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_n311_tags_45[] = { - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_n311_45 = { - "n311", - "n311", - n311_45_free, - n311_45_print, - n311_45_constraint, - n311_45_decode_ber, - n311_45_encode_der, - n311_45_decode_xer, - n311_45_encode_xer, - n311_45_decode_uper, - n311_45_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_n311_tags_45, - sizeof(asn_DEF_n311_tags_45) - /sizeof(asn_DEF_n311_tags_45[0]) - 1, /* 1 */ - asn_DEF_n311_tags_45, /* Same as above */ - sizeof(asn_DEF_n311_tags_45) - /sizeof(asn_DEF_n311_tags_45[0]), /* 2 */ - &asn_PER_type_n311_constr_45, - 0, 0, /* Defined elsewhere */ - &asn_SPC_n311_specs_45 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UE_TimersAndConstants_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UE_TimersAndConstants, t300), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_t300_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t300" - }, - { ATF_NOFLAGS, 0, offsetof(struct UE_TimersAndConstants, t301), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_t301_11, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t301" - }, - { ATF_NOFLAGS, 0, offsetof(struct UE_TimersAndConstants, t310), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_t310_20, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t310" - }, - { ATF_NOFLAGS, 0, offsetof(struct UE_TimersAndConstants, n310), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_n310_28, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "n310" - }, - { ATF_NOFLAGS, 0, offsetof(struct UE_TimersAndConstants, t311), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_t311_37, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t311" - }, - { ATF_NOFLAGS, 0, offsetof(struct UE_TimersAndConstants, n311), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_n311_45, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "n311" - }, -}; -static ber_tlv_tag_t asn_DEF_UE_TimersAndConstants_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UE_TimersAndConstants_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* t300 at 4016 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* t301 at 4019 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* t310 at 4022 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* n310 at 4024 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* t311 at 4026 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* n311 at 4029 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UE_TimersAndConstants_specs_1 = { - sizeof(struct UE_TimersAndConstants), - offsetof(struct UE_TimersAndConstants, _asn_ctx), - asn_MAP_UE_TimersAndConstants_tag2el_1, - 6, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 5, /* Start extensions */ - 7 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UE_TimersAndConstants = { - "UE-TimersAndConstants", - "UE-TimersAndConstants", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UE_TimersAndConstants_tags_1, - sizeof(asn_DEF_UE_TimersAndConstants_tags_1) - /sizeof(asn_DEF_UE_TimersAndConstants_tags_1[0]), /* 1 */ - asn_DEF_UE_TimersAndConstants_tags_1, /* Same as above */ - sizeof(asn_DEF_UE_TimersAndConstants_tags_1) - /sizeof(asn_DEF_UE_TimersAndConstants_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UE_TimersAndConstants_1, - 6, /* Elements count */ - &asn_SPC_UE_TimersAndConstants_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UECapabilityEnquiry-r8-IEs.c b/lte/rrc/lib/asn/src/UECapabilityEnquiry-r8-IEs.c deleted file mode 100644 index 9a3d7ce63..000000000 --- a/lte/rrc/lib/asn/src/UECapabilityEnquiry-r8-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UECapabilityEnquiry-r8-IEs.h" - -static asn_TYPE_member_t asn_MBR_UECapabilityEnquiry_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityEnquiry_r8_IEs, ue_CapabilityRequest), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UE_CapabilityRequest, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ue-CapabilityRequest" - }, - { ATF_POINTER, 1, offsetof(struct UECapabilityEnquiry_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UECapabilityEnquiry_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_UECapabilityEnquiry_r8_IEs_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_UECapabilityEnquiry_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UECapabilityEnquiry_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ue-CapabilityRequest at 1245 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1246 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UECapabilityEnquiry_r8_IEs_specs_1 = { - sizeof(struct UECapabilityEnquiry_r8_IEs), - offsetof(struct UECapabilityEnquiry_r8_IEs, _asn_ctx), - asn_MAP_UECapabilityEnquiry_r8_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_UECapabilityEnquiry_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UECapabilityEnquiry_r8_IEs = { - "UECapabilityEnquiry-r8-IEs", - "UECapabilityEnquiry-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UECapabilityEnquiry_r8_IEs_tags_1, - sizeof(asn_DEF_UECapabilityEnquiry_r8_IEs_tags_1) - /sizeof(asn_DEF_UECapabilityEnquiry_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_UECapabilityEnquiry_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_UECapabilityEnquiry_r8_IEs_tags_1) - /sizeof(asn_DEF_UECapabilityEnquiry_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UECapabilityEnquiry_r8_IEs_1, - 2, /* Elements count */ - &asn_SPC_UECapabilityEnquiry_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UECapabilityEnquiry-v8a0-IEs.c b/lte/rrc/lib/asn/src/UECapabilityEnquiry-v8a0-IEs.c deleted file mode 100644 index e05b90802..000000000 --- a/lte/rrc/lib/asn/src/UECapabilityEnquiry-v8a0-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UECapabilityEnquiry-v8a0-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct UECapabilityEnquiry_v8a0_IEs__nonCriticalExtension), - offsetof(struct UECapabilityEnquiry_v8a0_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UECapabilityEnquiry_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct UECapabilityEnquiry_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct UECapabilityEnquiry_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_UECapabilityEnquiry_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_UECapabilityEnquiry_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UECapabilityEnquiry_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 1250 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1251 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UECapabilityEnquiry_v8a0_IEs_specs_1 = { - sizeof(struct UECapabilityEnquiry_v8a0_IEs), - offsetof(struct UECapabilityEnquiry_v8a0_IEs, _asn_ctx), - asn_MAP_UECapabilityEnquiry_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_UECapabilityEnquiry_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UECapabilityEnquiry_v8a0_IEs = { - "UECapabilityEnquiry-v8a0-IEs", - "UECapabilityEnquiry-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UECapabilityEnquiry_v8a0_IEs_tags_1, - sizeof(asn_DEF_UECapabilityEnquiry_v8a0_IEs_tags_1) - /sizeof(asn_DEF_UECapabilityEnquiry_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_UECapabilityEnquiry_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_UECapabilityEnquiry_v8a0_IEs_tags_1) - /sizeof(asn_DEF_UECapabilityEnquiry_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UECapabilityEnquiry_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_UECapabilityEnquiry_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UECapabilityEnquiry.c b/lte/rrc/lib/asn/src/UECapabilityEnquiry.c deleted file mode 100644 index f08573e2b..000000000 --- a/lte/rrc/lib/asn/src/UECapabilityEnquiry.c +++ /dev/null @@ -1,254 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UECapabilityEnquiry.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_4 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityEnquiry__criticalExtensions__c1, choice.ueCapabilityEnquiry_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UECapabilityEnquiry_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ueCapabilityEnquiry-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityEnquiry__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityEnquiry__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityEnquiry__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ueCapabilityEnquiry-r8 at 1237 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 at 1238 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 1238 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 1238 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_4 = { - sizeof(struct UECapabilityEnquiry__criticalExtensions__c1), - offsetof(struct UECapabilityEnquiry__criticalExtensions__c1, _asn_ctx), - offsetof(struct UECapabilityEnquiry__criticalExtensions__c1, present), - sizeof(((struct UECapabilityEnquiry__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_4, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_4 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_4, - asn_MBR_c1_4, - 4, /* Elements count */ - &asn_SPC_c1_specs_4 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_9 = { - sizeof(struct UECapabilityEnquiry__criticalExtensions__criticalExtensionsFuture), - offsetof(struct UECapabilityEnquiry__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_9 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_9, - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_9, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityEnquiry__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityEnquiry__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 1237 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 1240 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct UECapabilityEnquiry__criticalExtensions), - offsetof(struct UECapabilityEnquiry__criticalExtensions, _asn_ctx), - offsetof(struct UECapabilityEnquiry__criticalExtensions, present), - sizeof(((struct UECapabilityEnquiry__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UECapabilityEnquiry_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityEnquiry, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityEnquiry, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_UECapabilityEnquiry_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UECapabilityEnquiry_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 1234 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 1239 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UECapabilityEnquiry_specs_1 = { - sizeof(struct UECapabilityEnquiry), - offsetof(struct UECapabilityEnquiry, _asn_ctx), - asn_MAP_UECapabilityEnquiry_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UECapabilityEnquiry = { - "UECapabilityEnquiry", - "UECapabilityEnquiry", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UECapabilityEnquiry_tags_1, - sizeof(asn_DEF_UECapabilityEnquiry_tags_1) - /sizeof(asn_DEF_UECapabilityEnquiry_tags_1[0]), /* 1 */ - asn_DEF_UECapabilityEnquiry_tags_1, /* Same as above */ - sizeof(asn_DEF_UECapabilityEnquiry_tags_1) - /sizeof(asn_DEF_UECapabilityEnquiry_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UECapabilityEnquiry_1, - 2, /* Elements count */ - &asn_SPC_UECapabilityEnquiry_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UECapabilityInformation-r8-IEs.c b/lte/rrc/lib/asn/src/UECapabilityInformation-r8-IEs.c deleted file mode 100644 index 950b2e784..000000000 --- a/lte/rrc/lib/asn/src/UECapabilityInformation-r8-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UECapabilityInformation-r8-IEs.h" - -static asn_TYPE_member_t asn_MBR_UECapabilityInformation_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityInformation_r8_IEs, ue_CapabilityRAT_ContainerList), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UE_CapabilityRAT_ContainerList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ue-CapabilityRAT-ContainerList" - }, - { ATF_POINTER, 1, offsetof(struct UECapabilityInformation_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UECapabilityInformation_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_UECapabilityInformation_r8_IEs_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_UECapabilityInformation_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UECapabilityInformation_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ue-CapabilityRAT-ContainerList at 1271 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1272 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UECapabilityInformation_r8_IEs_specs_1 = { - sizeof(struct UECapabilityInformation_r8_IEs), - offsetof(struct UECapabilityInformation_r8_IEs, _asn_ctx), - asn_MAP_UECapabilityInformation_r8_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_UECapabilityInformation_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UECapabilityInformation_r8_IEs = { - "UECapabilityInformation-r8-IEs", - "UECapabilityInformation-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UECapabilityInformation_r8_IEs_tags_1, - sizeof(asn_DEF_UECapabilityInformation_r8_IEs_tags_1) - /sizeof(asn_DEF_UECapabilityInformation_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_UECapabilityInformation_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_UECapabilityInformation_r8_IEs_tags_1) - /sizeof(asn_DEF_UECapabilityInformation_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UECapabilityInformation_r8_IEs_1, - 2, /* Elements count */ - &asn_SPC_UECapabilityInformation_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UECapabilityInformation-v8a0-IEs.c b/lte/rrc/lib/asn/src/UECapabilityInformation-v8a0-IEs.c deleted file mode 100644 index ed6784ff9..000000000 --- a/lte/rrc/lib/asn/src/UECapabilityInformation-v8a0-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UECapabilityInformation-v8a0-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct UECapabilityInformation_v8a0_IEs__nonCriticalExtension), - offsetof(struct UECapabilityInformation_v8a0_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UECapabilityInformation_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct UECapabilityInformation_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct UECapabilityInformation_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_UECapabilityInformation_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_UECapabilityInformation_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UECapabilityInformation_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 1276 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1277 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UECapabilityInformation_v8a0_IEs_specs_1 = { - sizeof(struct UECapabilityInformation_v8a0_IEs), - offsetof(struct UECapabilityInformation_v8a0_IEs, _asn_ctx), - asn_MAP_UECapabilityInformation_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_UECapabilityInformation_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UECapabilityInformation_v8a0_IEs = { - "UECapabilityInformation-v8a0-IEs", - "UECapabilityInformation-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UECapabilityInformation_v8a0_IEs_tags_1, - sizeof(asn_DEF_UECapabilityInformation_v8a0_IEs_tags_1) - /sizeof(asn_DEF_UECapabilityInformation_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_UECapabilityInformation_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_UECapabilityInformation_v8a0_IEs_tags_1) - /sizeof(asn_DEF_UECapabilityInformation_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UECapabilityInformation_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_UECapabilityInformation_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UECapabilityInformation.c b/lte/rrc/lib/asn/src/UECapabilityInformation.c deleted file mode 100644 index dbac85757..000000000 --- a/lte/rrc/lib/asn/src/UECapabilityInformation.c +++ /dev/null @@ -1,294 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UECapabilityInformation.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_4 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityInformation__criticalExtensions__c1, choice.ueCapabilityInformation_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UECapabilityInformation_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ueCapabilityInformation-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityInformation__criticalExtensions__c1, choice.spare7), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare7" - }, - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityInformation__criticalExtensions__c1, choice.spare6), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare6" - }, - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityInformation__criticalExtensions__c1, choice.spare5), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare5" - }, - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityInformation__criticalExtensions__c1, choice.spare4), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare4" - }, - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityInformation__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityInformation__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityInformation__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ueCapabilityInformation-r8 at 1261 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare7 at 1262 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare6 at 1263 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* spare5 at 1263 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* spare4 at 1263 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* spare3 at 1264 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* spare2 at 1264 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* spare1 at 1264 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_4 = { - sizeof(struct UECapabilityInformation__criticalExtensions__c1), - offsetof(struct UECapabilityInformation__criticalExtensions__c1, _asn_ctx), - offsetof(struct UECapabilityInformation__criticalExtensions__c1, present), - sizeof(((struct UECapabilityInformation__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_4, - 8, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_4 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_4, - asn_MBR_c1_4, - 8, /* Elements count */ - &asn_SPC_c1_specs_4 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_13[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_13 = { - sizeof(struct UECapabilityInformation__criticalExtensions__criticalExtensionsFuture), - offsetof(struct UECapabilityInformation__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_13 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_13, - sizeof(asn_DEF_criticalExtensionsFuture_tags_13) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_13[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_13, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_13) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_13[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_13 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityInformation__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityInformation__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_13, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 1261 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 1266 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct UECapabilityInformation__criticalExtensions), - offsetof(struct UECapabilityInformation__criticalExtensions, _asn_ctx), - offsetof(struct UECapabilityInformation__criticalExtensions, present), - sizeof(((struct UECapabilityInformation__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UECapabilityInformation_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityInformation, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct UECapabilityInformation, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_UECapabilityInformation_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UECapabilityInformation_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 1258 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 1265 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UECapabilityInformation_specs_1 = { - sizeof(struct UECapabilityInformation), - offsetof(struct UECapabilityInformation, _asn_ctx), - asn_MAP_UECapabilityInformation_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UECapabilityInformation = { - "UECapabilityInformation", - "UECapabilityInformation", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UECapabilityInformation_tags_1, - sizeof(asn_DEF_UECapabilityInformation_tags_1) - /sizeof(asn_DEF_UECapabilityInformation_tags_1[0]), /* 1 */ - asn_DEF_UECapabilityInformation_tags_1, /* Same as above */ - sizeof(asn_DEF_UECapabilityInformation_tags_1) - /sizeof(asn_DEF_UECapabilityInformation_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UECapabilityInformation_1, - 2, /* Elements count */ - &asn_SPC_UECapabilityInformation_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UEInformationRequest-r9-IEs.c b/lte/rrc/lib/asn/src/UEInformationRequest-r9-IEs.c deleted file mode 100644 index 2c9c0fa26..000000000 --- a/lte/rrc/lib/asn/src/UEInformationRequest-r9-IEs.c +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UEInformationRequest-r9-IEs.h" - -static asn_TYPE_member_t asn_MBR_UEInformationRequest_r9_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UEInformationRequest_r9_IEs, rach_ReportReq_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rach-ReportReq-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct UEInformationRequest_r9_IEs, rlf_ReportReq_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rlf-ReportReq-r9" - }, - { ATF_POINTER, 1, offsetof(struct UEInformationRequest_r9_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UEInformationRequest_v930_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_UEInformationRequest_r9_IEs_oms_1[] = { 2 }; -static ber_tlv_tag_t asn_DEF_UEInformationRequest_r9_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UEInformationRequest_r9_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rach-ReportReq-r9 at 1293 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rlf-ReportReq-r9 at 1294 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* nonCriticalExtension at 1295 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UEInformationRequest_r9_IEs_specs_1 = { - sizeof(struct UEInformationRequest_r9_IEs), - offsetof(struct UEInformationRequest_r9_IEs, _asn_ctx), - asn_MAP_UEInformationRequest_r9_IEs_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_UEInformationRequest_r9_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UEInformationRequest_r9_IEs = { - "UEInformationRequest-r9-IEs", - "UEInformationRequest-r9-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UEInformationRequest_r9_IEs_tags_1, - sizeof(asn_DEF_UEInformationRequest_r9_IEs_tags_1) - /sizeof(asn_DEF_UEInformationRequest_r9_IEs_tags_1[0]), /* 1 */ - asn_DEF_UEInformationRequest_r9_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_UEInformationRequest_r9_IEs_tags_1) - /sizeof(asn_DEF_UEInformationRequest_r9_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UEInformationRequest_r9_IEs_1, - 3, /* Elements count */ - &asn_SPC_UEInformationRequest_r9_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UEInformationRequest-r9.c b/lte/rrc/lib/asn/src/UEInformationRequest-r9.c deleted file mode 100644 index 132458938..000000000 --- a/lte/rrc/lib/asn/src/UEInformationRequest-r9.c +++ /dev/null @@ -1,254 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UEInformationRequest-r9.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_4 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct UEInformationRequest_r9__criticalExtensions__c1, choice.ueInformationRequest_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UEInformationRequest_r9_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ueInformationRequest-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct UEInformationRequest_r9__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct UEInformationRequest_r9__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct UEInformationRequest_r9__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ueInformationRequest-r9 at 1285 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 at 1286 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 1286 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 1286 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_4 = { - sizeof(struct UEInformationRequest_r9__criticalExtensions__c1), - offsetof(struct UEInformationRequest_r9__criticalExtensions__c1, _asn_ctx), - offsetof(struct UEInformationRequest_r9__criticalExtensions__c1, present), - sizeof(((struct UEInformationRequest_r9__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_4, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_4 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_4, - asn_MBR_c1_4, - 4, /* Elements count */ - &asn_SPC_c1_specs_4 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_9 = { - sizeof(struct UEInformationRequest_r9__criticalExtensions__criticalExtensionsFuture), - offsetof(struct UEInformationRequest_r9__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_9 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_9, - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_9, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct UEInformationRequest_r9__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct UEInformationRequest_r9__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 1285 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 1288 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct UEInformationRequest_r9__criticalExtensions), - offsetof(struct UEInformationRequest_r9__criticalExtensions, _asn_ctx), - offsetof(struct UEInformationRequest_r9__criticalExtensions, present), - sizeof(((struct UEInformationRequest_r9__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UEInformationRequest_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UEInformationRequest_r9, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct UEInformationRequest_r9, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_UEInformationRequest_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UEInformationRequest_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 1282 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 1287 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UEInformationRequest_r9_specs_1 = { - sizeof(struct UEInformationRequest_r9), - offsetof(struct UEInformationRequest_r9, _asn_ctx), - asn_MAP_UEInformationRequest_r9_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UEInformationRequest_r9 = { - "UEInformationRequest-r9", - "UEInformationRequest-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UEInformationRequest_r9_tags_1, - sizeof(asn_DEF_UEInformationRequest_r9_tags_1) - /sizeof(asn_DEF_UEInformationRequest_r9_tags_1[0]), /* 1 */ - asn_DEF_UEInformationRequest_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_UEInformationRequest_r9_tags_1) - /sizeof(asn_DEF_UEInformationRequest_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UEInformationRequest_r9_1, - 2, /* Elements count */ - &asn_SPC_UEInformationRequest_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UEInformationRequest-v1020-IEs.c b/lte/rrc/lib/asn/src/UEInformationRequest-v1020-IEs.c deleted file mode 100644 index 575f78594..000000000 --- a/lte/rrc/lib/asn/src/UEInformationRequest-v1020-IEs.c +++ /dev/null @@ -1,247 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UEInformationRequest-v1020-IEs.h" - -static int -logMeasReportReq_r10_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -logMeasReportReq_r10_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -logMeasReportReq_r10_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - logMeasReportReq_r10_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -logMeasReportReq_r10_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - logMeasReportReq_r10_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -logMeasReportReq_r10_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - logMeasReportReq_r10_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -logMeasReportReq_r10_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - logMeasReportReq_r10_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -logMeasReportReq_r10_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - logMeasReportReq_r10_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -logMeasReportReq_r10_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - logMeasReportReq_r10_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -logMeasReportReq_r10_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - logMeasReportReq_r10_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -logMeasReportReq_r10_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - logMeasReportReq_r10_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_logMeasReportReq_r10_constr_2 = { - { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_logMeasReportReq_r10_value2enum_2[] = { - { 0, 4, "true" } -}; -static unsigned int asn_MAP_logMeasReportReq_r10_enum2value_2[] = { - 0 /* true(0) */ -}; -static asn_INTEGER_specifics_t asn_SPC_logMeasReportReq_r10_specs_2 = { - asn_MAP_logMeasReportReq_r10_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_logMeasReportReq_r10_enum2value_2, /* N => "tag"; sorted by N */ - 1, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_logMeasReportReq_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_logMeasReportReq_r10_2 = { - "logMeasReportReq-r10", - "logMeasReportReq-r10", - logMeasReportReq_r10_2_free, - logMeasReportReq_r10_2_print, - logMeasReportReq_r10_2_constraint, - logMeasReportReq_r10_2_decode_ber, - logMeasReportReq_r10_2_encode_der, - logMeasReportReq_r10_2_decode_xer, - logMeasReportReq_r10_2_encode_xer, - logMeasReportReq_r10_2_decode_uper, - logMeasReportReq_r10_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_logMeasReportReq_r10_tags_2, - sizeof(asn_DEF_logMeasReportReq_r10_tags_2) - /sizeof(asn_DEF_logMeasReportReq_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_logMeasReportReq_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_logMeasReportReq_r10_tags_2) - /sizeof(asn_DEF_logMeasReportReq_r10_tags_2[0]), /* 2 */ - &asn_PER_type_logMeasReportReq_r10_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_logMeasReportReq_r10_specs_2 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_4[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_4 = { - sizeof(struct UEInformationRequest_v1020_IEs__nonCriticalExtension), - offsetof(struct UEInformationRequest_v1020_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_4 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_4, - sizeof(asn_DEF_nonCriticalExtension_tags_4) - /sizeof(asn_DEF_nonCriticalExtension_tags_4[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_4, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_4) - /sizeof(asn_DEF_nonCriticalExtension_tags_4[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_4 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UEInformationRequest_v1020_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct UEInformationRequest_v1020_IEs, logMeasReportReq_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_logMeasReportReq_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "logMeasReportReq-r10" - }, - { ATF_POINTER, 1, offsetof(struct UEInformationRequest_v1020_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_UEInformationRequest_v1020_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_UEInformationRequest_v1020_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UEInformationRequest_v1020_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* logMeasReportReq-r10 at 1304 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1305 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UEInformationRequest_v1020_IEs_specs_1 = { - sizeof(struct UEInformationRequest_v1020_IEs), - offsetof(struct UEInformationRequest_v1020_IEs, _asn_ctx), - asn_MAP_UEInformationRequest_v1020_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_UEInformationRequest_v1020_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UEInformationRequest_v1020_IEs = { - "UEInformationRequest-v1020-IEs", - "UEInformationRequest-v1020-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UEInformationRequest_v1020_IEs_tags_1, - sizeof(asn_DEF_UEInformationRequest_v1020_IEs_tags_1) - /sizeof(asn_DEF_UEInformationRequest_v1020_IEs_tags_1[0]), /* 1 */ - asn_DEF_UEInformationRequest_v1020_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_UEInformationRequest_v1020_IEs_tags_1) - /sizeof(asn_DEF_UEInformationRequest_v1020_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UEInformationRequest_v1020_IEs_1, - 2, /* Elements count */ - &asn_SPC_UEInformationRequest_v1020_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UEInformationRequest-v930-IEs.c b/lte/rrc/lib/asn/src/UEInformationRequest-v930-IEs.c deleted file mode 100644 index bf4c671c5..000000000 --- a/lte/rrc/lib/asn/src/UEInformationRequest-v930-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UEInformationRequest-v930-IEs.h" - -static asn_TYPE_member_t asn_MBR_UEInformationRequest_v930_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct UEInformationRequest_v930_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct UEInformationRequest_v930_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UEInformationRequest_v1020_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_UEInformationRequest_v930_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_UEInformationRequest_v930_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UEInformationRequest_v930_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 1299 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1300 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UEInformationRequest_v930_IEs_specs_1 = { - sizeof(struct UEInformationRequest_v930_IEs), - offsetof(struct UEInformationRequest_v930_IEs, _asn_ctx), - asn_MAP_UEInformationRequest_v930_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_UEInformationRequest_v930_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UEInformationRequest_v930_IEs = { - "UEInformationRequest-v930-IEs", - "UEInformationRequest-v930-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UEInformationRequest_v930_IEs_tags_1, - sizeof(asn_DEF_UEInformationRequest_v930_IEs_tags_1) - /sizeof(asn_DEF_UEInformationRequest_v930_IEs_tags_1[0]), /* 1 */ - asn_DEF_UEInformationRequest_v930_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_UEInformationRequest_v930_IEs_tags_1) - /sizeof(asn_DEF_UEInformationRequest_v930_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UEInformationRequest_v930_IEs_1, - 2, /* Elements count */ - &asn_SPC_UEInformationRequest_v930_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UEInformationResponse-r9-IEs.c b/lte/rrc/lib/asn/src/UEInformationResponse-r9-IEs.c deleted file mode 100644 index 99fd6b481..000000000 --- a/lte/rrc/lib/asn/src/UEInformationResponse-r9-IEs.c +++ /dev/null @@ -1,175 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UEInformationResponse-r9-IEs.h" - -static int -memb_numberOfPreamblesSent_r9_constraint_2(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 1 && value <= 200)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_numberOfPreamblesSent_r9_constr_3 = { - { APC_CONSTRAINED, 8, 8, 1, 200 } /* (1..200) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_rach_Report_r9_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct UEInformationResponse_r9_IEs__rach_Report_r9, numberOfPreamblesSent_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_numberOfPreamblesSent_r9_constraint_2, - &asn_PER_memb_numberOfPreamblesSent_r9_constr_3, - 0, - "numberOfPreamblesSent-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct UEInformationResponse_r9_IEs__rach_Report_r9, contentionDetected_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "contentionDetected-r9" - }, -}; -static ber_tlv_tag_t asn_DEF_rach_Report_r9_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_rach_Report_r9_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* numberOfPreamblesSent-r9 at 1322 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* contentionDetected-r9 at 1323 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_rach_Report_r9_specs_2 = { - sizeof(struct UEInformationResponse_r9_IEs__rach_Report_r9), - offsetof(struct UEInformationResponse_r9_IEs__rach_Report_r9, _asn_ctx), - asn_MAP_rach_Report_r9_tag2el_2, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_rach_Report_r9_2 = { - "rach-Report-r9", - "rach-Report-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_rach_Report_r9_tags_2, - sizeof(asn_DEF_rach_Report_r9_tags_2) - /sizeof(asn_DEF_rach_Report_r9_tags_2[0]) - 1, /* 1 */ - asn_DEF_rach_Report_r9_tags_2, /* Same as above */ - sizeof(asn_DEF_rach_Report_r9_tags_2) - /sizeof(asn_DEF_rach_Report_r9_tags_2[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_rach_Report_r9_2, - 2, /* Elements count */ - &asn_SPC_rach_Report_r9_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UEInformationResponse_r9_IEs_1[] = { - { ATF_POINTER, 3, offsetof(struct UEInformationResponse_r9_IEs, rach_Report_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - 0, - &asn_DEF_rach_Report_r9_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rach-Report-r9" - }, - { ATF_POINTER, 2, offsetof(struct UEInformationResponse_r9_IEs, rlf_Report_r9), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RLF_Report_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rlf-Report-r9" - }, - { ATF_POINTER, 1, offsetof(struct UEInformationResponse_r9_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UEInformationResponse_v930_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_UEInformationResponse_r9_IEs_oms_1[] = { 0, 1, 2 }; -static ber_tlv_tag_t asn_DEF_UEInformationResponse_r9_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UEInformationResponse_r9_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rach-Report-r9 at 1322 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rlf-Report-r9 at 1325 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* nonCriticalExtension at 1326 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UEInformationResponse_r9_IEs_specs_1 = { - sizeof(struct UEInformationResponse_r9_IEs), - offsetof(struct UEInformationResponse_r9_IEs, _asn_ctx), - asn_MAP_UEInformationResponse_r9_IEs_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_UEInformationResponse_r9_IEs_oms_1, /* Optional members */ - 3, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UEInformationResponse_r9_IEs = { - "UEInformationResponse-r9-IEs", - "UEInformationResponse-r9-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UEInformationResponse_r9_IEs_tags_1, - sizeof(asn_DEF_UEInformationResponse_r9_IEs_tags_1) - /sizeof(asn_DEF_UEInformationResponse_r9_IEs_tags_1[0]), /* 1 */ - asn_DEF_UEInformationResponse_r9_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_UEInformationResponse_r9_IEs_tags_1) - /sizeof(asn_DEF_UEInformationResponse_r9_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UEInformationResponse_r9_IEs_1, - 3, /* Elements count */ - &asn_SPC_UEInformationResponse_r9_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UEInformationResponse-r9.c b/lte/rrc/lib/asn/src/UEInformationResponse-r9.c deleted file mode 100644 index de707d73b..000000000 --- a/lte/rrc/lib/asn/src/UEInformationResponse-r9.c +++ /dev/null @@ -1,254 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UEInformationResponse-r9.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_4 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct UEInformationResponse_r9__criticalExtensions__c1, choice.ueInformationResponse_r9), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UEInformationResponse_r9_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ueInformationResponse-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct UEInformationResponse_r9__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct UEInformationResponse_r9__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct UEInformationResponse_r9__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ueInformationResponse-r9 at 1313 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 at 1314 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 1314 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 1314 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_4 = { - sizeof(struct UEInformationResponse_r9__criticalExtensions__c1), - offsetof(struct UEInformationResponse_r9__criticalExtensions__c1, _asn_ctx), - offsetof(struct UEInformationResponse_r9__criticalExtensions__c1, present), - sizeof(((struct UEInformationResponse_r9__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_4, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_4 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_4, - asn_MBR_c1_4, - 4, /* Elements count */ - &asn_SPC_c1_specs_4 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_9 = { - sizeof(struct UEInformationResponse_r9__criticalExtensions__criticalExtensionsFuture), - offsetof(struct UEInformationResponse_r9__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_9 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_9, - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_9, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_9) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct UEInformationResponse_r9__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_4, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct UEInformationResponse_r9__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 1313 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 1316 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_3 = { - sizeof(struct UEInformationResponse_r9__criticalExtensions), - offsetof(struct UEInformationResponse_r9__criticalExtensions, _asn_ctx), - offsetof(struct UEInformationResponse_r9__criticalExtensions, present), - sizeof(((struct UEInformationResponse_r9__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_3, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_3 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_3, - asn_MBR_criticalExtensions_3, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UEInformationResponse_r9_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UEInformationResponse_r9, rrc_TransactionIdentifier), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRC_TransactionIdentifier, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrc-TransactionIdentifier" - }, - { ATF_NOFLAGS, 0, offsetof(struct UEInformationResponse_r9, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_UEInformationResponse_r9_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UEInformationResponse_r9_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrc-TransactionIdentifier at 1310 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensions at 1315 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UEInformationResponse_r9_specs_1 = { - sizeof(struct UEInformationResponse_r9), - offsetof(struct UEInformationResponse_r9, _asn_ctx), - asn_MAP_UEInformationResponse_r9_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UEInformationResponse_r9 = { - "UEInformationResponse-r9", - "UEInformationResponse-r9", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UEInformationResponse_r9_tags_1, - sizeof(asn_DEF_UEInformationResponse_r9_tags_1) - /sizeof(asn_DEF_UEInformationResponse_r9_tags_1[0]), /* 1 */ - asn_DEF_UEInformationResponse_r9_tags_1, /* Same as above */ - sizeof(asn_DEF_UEInformationResponse_r9_tags_1) - /sizeof(asn_DEF_UEInformationResponse_r9_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UEInformationResponse_r9_1, - 2, /* Elements count */ - &asn_SPC_UEInformationResponse_r9_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UEInformationResponse-v1020-IEs.c b/lte/rrc/lib/asn/src/UEInformationResponse-v1020-IEs.c deleted file mode 100644 index 8fe01b668..000000000 --- a/lte/rrc/lib/asn/src/UEInformationResponse-v1020-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UEInformationResponse-v1020-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct UEInformationResponse_v1020_IEs__nonCriticalExtension), - offsetof(struct UEInformationResponse_v1020_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UEInformationResponse_v1020_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct UEInformationResponse_v1020_IEs, logMeasReport_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_LogMeasReport_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "logMeasReport-r10" - }, - { ATF_POINTER, 1, offsetof(struct UEInformationResponse_v1020_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_UEInformationResponse_v1020_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_UEInformationResponse_v1020_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UEInformationResponse_v1020_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* logMeasReport-r10 at 1335 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1336 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UEInformationResponse_v1020_IEs_specs_1 = { - sizeof(struct UEInformationResponse_v1020_IEs), - offsetof(struct UEInformationResponse_v1020_IEs, _asn_ctx), - asn_MAP_UEInformationResponse_v1020_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_UEInformationResponse_v1020_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UEInformationResponse_v1020_IEs = { - "UEInformationResponse-v1020-IEs", - "UEInformationResponse-v1020-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UEInformationResponse_v1020_IEs_tags_1, - sizeof(asn_DEF_UEInformationResponse_v1020_IEs_tags_1) - /sizeof(asn_DEF_UEInformationResponse_v1020_IEs_tags_1[0]), /* 1 */ - asn_DEF_UEInformationResponse_v1020_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_UEInformationResponse_v1020_IEs_tags_1) - /sizeof(asn_DEF_UEInformationResponse_v1020_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UEInformationResponse_v1020_IEs_1, - 2, /* Elements count */ - &asn_SPC_UEInformationResponse_v1020_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UEInformationResponse-v930-IEs.c b/lte/rrc/lib/asn/src/UEInformationResponse-v930-IEs.c deleted file mode 100644 index 5ecef3ab6..000000000 --- a/lte/rrc/lib/asn/src/UEInformationResponse-v930-IEs.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UEInformationResponse-v930-IEs.h" - -static asn_TYPE_member_t asn_MBR_UEInformationResponse_v930_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct UEInformationResponse_v930_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct UEInformationResponse_v930_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UEInformationResponse_v1020_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_UEInformationResponse_v930_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_UEInformationResponse_v930_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UEInformationResponse_v930_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 1330 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1331 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UEInformationResponse_v930_IEs_specs_1 = { - sizeof(struct UEInformationResponse_v930_IEs), - offsetof(struct UEInformationResponse_v930_IEs, _asn_ctx), - asn_MAP_UEInformationResponse_v930_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_UEInformationResponse_v930_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UEInformationResponse_v930_IEs = { - "UEInformationResponse-v930-IEs", - "UEInformationResponse-v930-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UEInformationResponse_v930_IEs_tags_1, - sizeof(asn_DEF_UEInformationResponse_v930_IEs_tags_1) - /sizeof(asn_DEF_UEInformationResponse_v930_IEs_tags_1[0]), /* 1 */ - asn_DEF_UEInformationResponse_v930_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_UEInformationResponse_v930_IEs_tags_1) - /sizeof(asn_DEF_UEInformationResponse_v930_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UEInformationResponse_v930_IEs_1, - 2, /* Elements count */ - &asn_SPC_UEInformationResponse_v930_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UERadioAccessCapabilityInformation-r8-IEs.c b/lte/rrc/lib/asn/src/UERadioAccessCapabilityInformation-r8-IEs.c deleted file mode 100644 index 968943e02..000000000 --- a/lte/rrc/lib/asn/src/UERadioAccessCapabilityInformation-r8-IEs.c +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#include "liblte/rrc/asn/UERadioAccessCapabilityInformation-r8-IEs.h" - -static int -memb_ue_RadioAccessCapabilityInfo_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_per_constraints_t asn_PER_memb_ue_RadioAccessCapabilityInfo_constr_2 GCC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, - 0, 0 /* No PER value map */ -}; -static const ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct nonCriticalExtension), - offsetof(struct nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UERadioAccessCapabilityInformation_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UERadioAccessCapabilityInformation_r8_IEs, ue_RadioAccessCapabilityInfo), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - memb_ue_RadioAccessCapabilityInfo_constraint_1, - &asn_PER_memb_ue_RadioAccessCapabilityInfo_constr_2, - 0, - "ue-RadioAccessCapabilityInfo" - }, - { ATF_POINTER, 1, offsetof(struct UERadioAccessCapabilityInformation_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static const int asn_MAP_UERadioAccessCapabilityInformation_r8_IEs_oms_1[] = { 1 }; -static const ber_tlv_tag_t asn_DEF_UERadioAccessCapabilityInformation_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_UERadioAccessCapabilityInformation_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ue-RadioAccessCapabilityInfo */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UERadioAccessCapabilityInformation_r8_IEs_specs_1 = { - sizeof(struct UERadioAccessCapabilityInformation_r8_IEs), - offsetof(struct UERadioAccessCapabilityInformation_r8_IEs, _asn_ctx), - asn_MAP_UERadioAccessCapabilityInformation_r8_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_UERadioAccessCapabilityInformation_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UERadioAccessCapabilityInformation_r8_IEs = { - "UERadioAccessCapabilityInformation-r8-IEs", - "UERadioAccessCapabilityInformation-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UERadioAccessCapabilityInformation_r8_IEs_tags_1, - sizeof(asn_DEF_UERadioAccessCapabilityInformation_r8_IEs_tags_1) - /sizeof(asn_DEF_UERadioAccessCapabilityInformation_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_UERadioAccessCapabilityInformation_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_UERadioAccessCapabilityInformation_r8_IEs_tags_1) - /sizeof(asn_DEF_UERadioAccessCapabilityInformation_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UERadioAccessCapabilityInformation_r8_IEs_1, - 2, /* Elements count */ - &asn_SPC_UERadioAccessCapabilityInformation_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UERadioAccessCapabilityInformation.c b/lte/rrc/lib/asn/src/UERadioAccessCapabilityInformation.c deleted file mode 100644 index 4ed07892a..000000000 --- a/lte/rrc/lib/asn/src/UERadioAccessCapabilityInformation.c +++ /dev/null @@ -1,283 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-InterNodeDefinitions" - * found in "EUTRA-InterNodeDefinitions.asn" - */ - -#include "liblte/rrc/asn/UERadioAccessCapabilityInformation.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_3 GCC_NOTUSED = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_2 GCC_NOTUSED = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.ueRadioAccessCapabilityInformation_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UERadioAccessCapabilityInformation_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ueRadioAccessCapabilityInformation-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare7), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare7" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare6), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare6" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare5), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare5" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare4), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare4" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_c1_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ueRadioAccessCapabilityInformation-r8 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare7 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare6 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* spare5 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* spare4 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* spare3 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* spare2 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* spare1 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_3 = { - sizeof(struct c1), - offsetof(struct c1, _asn_ctx), - offsetof(struct c1, present), - sizeof(((struct c1 *)0)->present), - asn_MAP_c1_tag2el_3, - 8, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_3 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_3, - asn_MBR_c1_3, - 8, /* Elements count */ - &asn_SPC_c1_specs_3 /* Additional specs */ -}; - -static const ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_12[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_12 = { - sizeof(struct criticalExtensionsFuture), - offsetof(struct criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_12 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_12, - sizeof(asn_DEF_criticalExtensionsFuture_tags_12) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_12[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_12, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_12) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_12[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_12 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_12, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = { - sizeof(struct criticalExtensions), - offsetof(struct criticalExtensions, _asn_ctx), - offsetof(struct criticalExtensions, present), - sizeof(((struct criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_2, - asn_MBR_criticalExtensions_2, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UERadioAccessCapabilityInformation_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UERadioAccessCapabilityInformation, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static const ber_tlv_tag_t asn_DEF_UERadioAccessCapabilityInformation_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_UERadioAccessCapabilityInformation_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UERadioAccessCapabilityInformation_specs_1 = { - sizeof(struct UERadioAccessCapabilityInformation), - offsetof(struct UERadioAccessCapabilityInformation, _asn_ctx), - asn_MAP_UERadioAccessCapabilityInformation_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UERadioAccessCapabilityInformation = { - "UERadioAccessCapabilityInformation", - "UERadioAccessCapabilityInformation", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UERadioAccessCapabilityInformation_tags_1, - sizeof(asn_DEF_UERadioAccessCapabilityInformation_tags_1) - /sizeof(asn_DEF_UERadioAccessCapabilityInformation_tags_1[0]), /* 1 */ - asn_DEF_UERadioAccessCapabilityInformation_tags_1, /* Same as above */ - sizeof(asn_DEF_UERadioAccessCapabilityInformation_tags_1) - /sizeof(asn_DEF_UERadioAccessCapabilityInformation_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UERadioAccessCapabilityInformation_1, - 1, /* Elements count */ - &asn_SPC_UERadioAccessCapabilityInformation_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UL-AM-RLC.c b/lte/rrc/lib/asn/src/UL-AM-RLC.c deleted file mode 100644 index 98282684a..000000000 --- a/lte/rrc/lib/asn/src/UL-AM-RLC.c +++ /dev/null @@ -1,241 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UL-AM-RLC.h" - -static int -maxRetxThreshold_5_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -maxRetxThreshold_5_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -maxRetxThreshold_5_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - maxRetxThreshold_5_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -maxRetxThreshold_5_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - maxRetxThreshold_5_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -maxRetxThreshold_5_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - maxRetxThreshold_5_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -maxRetxThreshold_5_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - maxRetxThreshold_5_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -maxRetxThreshold_5_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - maxRetxThreshold_5_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -maxRetxThreshold_5_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - maxRetxThreshold_5_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -maxRetxThreshold_5_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - maxRetxThreshold_5_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -maxRetxThreshold_5_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - maxRetxThreshold_5_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_maxRetxThreshold_constr_5 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_maxRetxThreshold_value2enum_5[] = { - { 0, 2, "t1" }, - { 1, 2, "t2" }, - { 2, 2, "t3" }, - { 3, 2, "t4" }, - { 4, 2, "t6" }, - { 5, 2, "t8" }, - { 6, 3, "t16" }, - { 7, 3, "t32" } -}; -static unsigned int asn_MAP_maxRetxThreshold_enum2value_5[] = { - 0, /* t1(0) */ - 6, /* t16(6) */ - 1, /* t2(1) */ - 2, /* t3(2) */ - 7, /* t32(7) */ - 3, /* t4(3) */ - 4, /* t6(4) */ - 5 /* t8(5) */ -}; -static asn_INTEGER_specifics_t asn_SPC_maxRetxThreshold_specs_5 = { - asn_MAP_maxRetxThreshold_value2enum_5, /* "tag" => N; sorted by tag */ - asn_MAP_maxRetxThreshold_enum2value_5, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_maxRetxThreshold_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_maxRetxThreshold_5 = { - "maxRetxThreshold", - "maxRetxThreshold", - maxRetxThreshold_5_free, - maxRetxThreshold_5_print, - maxRetxThreshold_5_constraint, - maxRetxThreshold_5_decode_ber, - maxRetxThreshold_5_encode_der, - maxRetxThreshold_5_decode_xer, - maxRetxThreshold_5_encode_xer, - maxRetxThreshold_5_decode_uper, - maxRetxThreshold_5_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_maxRetxThreshold_tags_5, - sizeof(asn_DEF_maxRetxThreshold_tags_5) - /sizeof(asn_DEF_maxRetxThreshold_tags_5[0]) - 1, /* 1 */ - asn_DEF_maxRetxThreshold_tags_5, /* Same as above */ - sizeof(asn_DEF_maxRetxThreshold_tags_5) - /sizeof(asn_DEF_maxRetxThreshold_tags_5[0]), /* 2 */ - &asn_PER_type_maxRetxThreshold_constr_5, - 0, 0, /* Defined elsewhere */ - &asn_SPC_maxRetxThreshold_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UL_AM_RLC_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UL_AM_RLC, t_PollRetransmit), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_T_PollRetransmit, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "t-PollRetransmit" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_AM_RLC, pollPDU), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PollPDU, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pollPDU" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_AM_RLC, pollByte), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PollByte, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pollByte" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_AM_RLC, maxRetxThreshold), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_maxRetxThreshold_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "maxRetxThreshold" - }, -}; -static ber_tlv_tag_t asn_DEF_UL_AM_RLC_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UL_AM_RLC_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* t-PollRetransmit at 2530 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* pollPDU at 2531 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pollByte at 2532 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* maxRetxThreshold at 2534 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UL_AM_RLC_specs_1 = { - sizeof(struct UL_AM_RLC), - offsetof(struct UL_AM_RLC, _asn_ctx), - asn_MAP_UL_AM_RLC_tag2el_1, - 4, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UL_AM_RLC = { - "UL-AM-RLC", - "UL-AM-RLC", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UL_AM_RLC_tags_1, - sizeof(asn_DEF_UL_AM_RLC_tags_1) - /sizeof(asn_DEF_UL_AM_RLC_tags_1[0]), /* 1 */ - asn_DEF_UL_AM_RLC_tags_1, /* Same as above */ - sizeof(asn_DEF_UL_AM_RLC_tags_1) - /sizeof(asn_DEF_UL_AM_RLC_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UL_AM_RLC_1, - 4, /* Elements count */ - &asn_SPC_UL_AM_RLC_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UL-CCCH-Message.c b/lte/rrc/lib/asn/src/UL-CCCH-Message.c deleted file mode 100644 index 83d18648b..000000000 --- a/lte/rrc/lib/asn/src/UL-CCCH-Message.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UL-CCCH-Message.h" - -static asn_TYPE_member_t asn_MBR_UL_CCCH_Message_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UL_CCCH_Message, message), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_UL_CCCH_MessageType, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "message" - }, -}; -static ber_tlv_tag_t asn_DEF_UL_CCCH_Message_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UL_CCCH_Message_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* message at 97 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UL_CCCH_Message_specs_1 = { - sizeof(struct UL_CCCH_Message), - offsetof(struct UL_CCCH_Message, _asn_ctx), - asn_MAP_UL_CCCH_Message_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UL_CCCH_Message = { - "UL-CCCH-Message", - "UL-CCCH-Message", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UL_CCCH_Message_tags_1, - sizeof(asn_DEF_UL_CCCH_Message_tags_1) - /sizeof(asn_DEF_UL_CCCH_Message_tags_1[0]), /* 1 */ - asn_DEF_UL_CCCH_Message_tags_1, /* Same as above */ - sizeof(asn_DEF_UL_CCCH_Message_tags_1) - /sizeof(asn_DEF_UL_CCCH_Message_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UL_CCCH_Message_1, - 1, /* Elements count */ - &asn_SPC_UL_CCCH_Message_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UL-CCCH-MessageType.c b/lte/rrc/lib/asn/src/UL-CCCH-MessageType.c deleted file mode 100644 index 7093b4d18..000000000 --- a/lte/rrc/lib/asn/src/UL-CCCH-MessageType.c +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UL-CCCH-MessageType.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_UL_CCCH_MessageType_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct UL_CCCH_MessageType__c1, choice.rrcConnectionReestablishmentRequest), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReestablishmentRequest, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionReestablishmentRequest" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_CCCH_MessageType__c1, choice.rrcConnectionRequest), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionRequest, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionRequest" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrcConnectionReestablishmentRequest at 101 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* rrcConnectionRequest at 103 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_2 = { - sizeof(struct UL_CCCH_MessageType__c1), - offsetof(struct UL_CCCH_MessageType__c1, _asn_ctx), - offsetof(struct UL_CCCH_MessageType__c1, present), - sizeof(((struct UL_CCCH_MessageType__c1 *)0)->present), - asn_MAP_c1_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_2 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_2, - asn_MBR_c1_2, - 2, /* Elements count */ - &asn_SPC_c1_specs_2 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_messageClassExtension_tags_5[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_messageClassExtension_specs_5 = { - sizeof(struct UL_CCCH_MessageType__messageClassExtension), - offsetof(struct UL_CCCH_MessageType__messageClassExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_messageClassExtension_5 = { - "messageClassExtension", - "messageClassExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_messageClassExtension_tags_5, - sizeof(asn_DEF_messageClassExtension_tags_5) - /sizeof(asn_DEF_messageClassExtension_tags_5[0]) - 1, /* 1 */ - asn_DEF_messageClassExtension_tags_5, /* Same as above */ - sizeof(asn_DEF_messageClassExtension_tags_5) - /sizeof(asn_DEF_messageClassExtension_tags_5[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_messageClassExtension_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UL_CCCH_MessageType_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UL_CCCH_MessageType, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_CCCH_MessageType, choice.messageClassExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_messageClassExtension_5, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "messageClassExtension" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_UL_CCCH_MessageType_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 101 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* messageClassExtension at 104 */ -}; -static asn_CHOICE_specifics_t asn_SPC_UL_CCCH_MessageType_specs_1 = { - sizeof(struct UL_CCCH_MessageType), - offsetof(struct UL_CCCH_MessageType, _asn_ctx), - offsetof(struct UL_CCCH_MessageType, present), - sizeof(((struct UL_CCCH_MessageType *)0)->present), - asn_MAP_UL_CCCH_MessageType_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_UL_CCCH_MessageType = { - "UL-CCCH-MessageType", - "UL-CCCH-MessageType", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_UL_CCCH_MessageType_constr_1, - asn_MBR_UL_CCCH_MessageType_1, - 2, /* Elements count */ - &asn_SPC_UL_CCCH_MessageType_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UL-CyclicPrefixLength.c b/lte/rrc/lib/asn/src/UL-CyclicPrefixLength.c deleted file mode 100644 index cbd16a7dd..000000000 --- a/lte/rrc/lib/asn/src/UL-CyclicPrefixLength.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UL-CyclicPrefixLength.h" - -int -UL_CyclicPrefixLength_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -UL_CyclicPrefixLength_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -void -UL_CyclicPrefixLength_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - UL_CyclicPrefixLength_1_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -int -UL_CyclicPrefixLength_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - UL_CyclicPrefixLength_1_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -asn_dec_rval_t -UL_CyclicPrefixLength_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - UL_CyclicPrefixLength_1_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -asn_enc_rval_t -UL_CyclicPrefixLength_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - UL_CyclicPrefixLength_1_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -asn_dec_rval_t -UL_CyclicPrefixLength_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - UL_CyclicPrefixLength_1_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -asn_enc_rval_t -UL_CyclicPrefixLength_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - UL_CyclicPrefixLength_1_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -asn_dec_rval_t -UL_CyclicPrefixLength_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - UL_CyclicPrefixLength_1_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -asn_enc_rval_t -UL_CyclicPrefixLength_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - UL_CyclicPrefixLength_1_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_UL_CyclicPrefixLength_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_UL_CyclicPrefixLength_value2enum_1[] = { - { 0, 4, "len1" }, - { 1, 4, "len2" } -}; -static unsigned int asn_MAP_UL_CyclicPrefixLength_enum2value_1[] = { - 0, /* len1(0) */ - 1 /* len2(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_UL_CyclicPrefixLength_specs_1 = { - asn_MAP_UL_CyclicPrefixLength_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_UL_CyclicPrefixLength_enum2value_1, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_UL_CyclicPrefixLength_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_UL_CyclicPrefixLength = { - "UL-CyclicPrefixLength", - "UL-CyclicPrefixLength", - UL_CyclicPrefixLength_free, - UL_CyclicPrefixLength_print, - UL_CyclicPrefixLength_constraint, - UL_CyclicPrefixLength_decode_ber, - UL_CyclicPrefixLength_encode_der, - UL_CyclicPrefixLength_decode_xer, - UL_CyclicPrefixLength_encode_xer, - UL_CyclicPrefixLength_decode_uper, - UL_CyclicPrefixLength_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UL_CyclicPrefixLength_tags_1, - sizeof(asn_DEF_UL_CyclicPrefixLength_tags_1) - /sizeof(asn_DEF_UL_CyclicPrefixLength_tags_1[0]), /* 1 */ - asn_DEF_UL_CyclicPrefixLength_tags_1, /* Same as above */ - sizeof(asn_DEF_UL_CyclicPrefixLength_tags_1) - /sizeof(asn_DEF_UL_CyclicPrefixLength_tags_1[0]), /* 1 */ - &asn_PER_type_UL_CyclicPrefixLength_constr_1, - 0, 0, /* Defined elsewhere */ - &asn_SPC_UL_CyclicPrefixLength_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UL-DCCH-Message.c b/lte/rrc/lib/asn/src/UL-DCCH-Message.c deleted file mode 100644 index bcac8250c..000000000 --- a/lte/rrc/lib/asn/src/UL-DCCH-Message.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UL-DCCH-Message.h" - -static asn_TYPE_member_t asn_MBR_UL_DCCH_Message_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_Message, message), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_UL_DCCH_MessageType, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "message" - }, -}; -static ber_tlv_tag_t asn_DEF_UL_DCCH_Message_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UL_DCCH_Message_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* message at 110 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UL_DCCH_Message_specs_1 = { - sizeof(struct UL_DCCH_Message), - offsetof(struct UL_DCCH_Message, _asn_ctx), - asn_MAP_UL_DCCH_Message_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UL_DCCH_Message = { - "UL-DCCH-Message", - "UL-DCCH-Message", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UL_DCCH_Message_tags_1, - sizeof(asn_DEF_UL_DCCH_Message_tags_1) - /sizeof(asn_DEF_UL_DCCH_Message_tags_1[0]), /* 1 */ - asn_DEF_UL_DCCH_Message_tags_1, /* Same as above */ - sizeof(asn_DEF_UL_DCCH_Message_tags_1) - /sizeof(asn_DEF_UL_DCCH_Message_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UL_DCCH_Message_1, - 1, /* Elements count */ - &asn_SPC_UL_DCCH_Message_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UL-DCCH-MessageType.c b/lte/rrc/lib/asn/src/UL-DCCH-MessageType.c deleted file mode 100644 index 6e73c4de0..000000000 --- a/lte/rrc/lib/asn/src/UL-DCCH-MessageType.c +++ /dev/null @@ -1,312 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UL-DCCH-MessageType.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_2 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_UL_DCCH_MessageType_constr_1 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_MessageType__c1, choice.csfbParametersRequestCDMA2000), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CSFBParametersRequestCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "csfbParametersRequestCDMA2000" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_MessageType__c1, choice.measurementReport), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasurementReport, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measurementReport" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_MessageType__c1, choice.rrcConnectionReconfigurationComplete), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReconfigurationComplete, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionReconfigurationComplete" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_MessageType__c1, choice.rrcConnectionReestablishmentComplete), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionReestablishmentComplete, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionReestablishmentComplete" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_MessageType__c1, choice.rrcConnectionSetupComplete), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RRCConnectionSetupComplete, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rrcConnectionSetupComplete" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_MessageType__c1, choice.securityModeComplete), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SecurityModeComplete, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "securityModeComplete" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_MessageType__c1, choice.securityModeFailure), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SecurityModeFailure, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "securityModeFailure" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_MessageType__c1, choice.ueCapabilityInformation), - (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UECapabilityInformation, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ueCapabilityInformation" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_MessageType__c1, choice.ulHandoverPreparationTransfer), - (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ULHandoverPreparationTransfer, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ulHandoverPreparationTransfer" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_MessageType__c1, choice.ulInformationTransfer), - (ASN_TAG_CLASS_CONTEXT | (9 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ULInformationTransfer, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ulInformationTransfer" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_MessageType__c1, choice.counterCheckResponse), - (ASN_TAG_CLASS_CONTEXT | (10 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CounterCheckResponse, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "counterCheckResponse" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_MessageType__c1, choice.ueInformationResponse_r9), - (ASN_TAG_CLASS_CONTEXT | (11 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UEInformationResponse_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ueInformationResponse-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_MessageType__c1, choice.proximityIndication_r9), - (ASN_TAG_CLASS_CONTEXT | (12 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProximityIndication_r9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "proximityIndication-r9" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_MessageType__c1, choice.rnReconfigurationComplete_r10), - (ASN_TAG_CLASS_CONTEXT | (13 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RNReconfigurationComplete_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "rnReconfigurationComplete-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_MessageType__c1, choice.mbmsCountingResponse_r10), - (ASN_TAG_CLASS_CONTEXT | (14 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MBMSCountingResponse_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mbmsCountingResponse-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_MessageType__c1, choice.interFreqRSTDMeasurementIndication_r10), - (ASN_TAG_CLASS_CONTEXT | (15 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_InterFreqRSTDMeasurementIndication_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "interFreqRSTDMeasurementIndication-r10" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* csfbParametersRequestCDMA2000 at 114 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measurementReport at 115 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* rrcConnectionReconfigurationComplete at 116 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* rrcConnectionReestablishmentComplete at 117 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* rrcConnectionSetupComplete at 118 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* securityModeComplete at 119 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* securityModeFailure at 120 */ - { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* ueCapabilityInformation at 121 */ - { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* ulHandoverPreparationTransfer at 122 */ - { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* ulInformationTransfer at 123 */ - { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* counterCheckResponse at 124 */ - { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 }, /* ueInformationResponse-r9 at 125 */ - { (ASN_TAG_CLASS_CONTEXT | (12 << 2)), 12, 0, 0 }, /* proximityIndication-r9 at 126 */ - { (ASN_TAG_CLASS_CONTEXT | (13 << 2)), 13, 0, 0 }, /* rnReconfigurationComplete-r10 at 127 */ - { (ASN_TAG_CLASS_CONTEXT | (14 << 2)), 14, 0, 0 }, /* mbmsCountingResponse-r10 at 128 */ - { (ASN_TAG_CLASS_CONTEXT | (15 << 2)), 15, 0, 0 } /* interFreqRSTDMeasurementIndication-r10 at 130 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_2 = { - sizeof(struct UL_DCCH_MessageType__c1), - offsetof(struct UL_DCCH_MessageType__c1, _asn_ctx), - offsetof(struct UL_DCCH_MessageType__c1, present), - sizeof(((struct UL_DCCH_MessageType__c1 *)0)->present), - asn_MAP_c1_tag2el_2, - 16, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_2 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_2, - asn_MBR_c1_2, - 16, /* Elements count */ - &asn_SPC_c1_specs_2 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_messageClassExtension_tags_19[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_messageClassExtension_specs_19 = { - sizeof(struct UL_DCCH_MessageType__messageClassExtension), - offsetof(struct UL_DCCH_MessageType__messageClassExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_messageClassExtension_19 = { - "messageClassExtension", - "messageClassExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_messageClassExtension_tags_19, - sizeof(asn_DEF_messageClassExtension_tags_19) - /sizeof(asn_DEF_messageClassExtension_tags_19[0]) - 1, /* 1 */ - asn_DEF_messageClassExtension_tags_19, /* Same as above */ - sizeof(asn_DEF_messageClassExtension_tags_19) - /sizeof(asn_DEF_messageClassExtension_tags_19[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_messageClassExtension_specs_19 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UL_DCCH_MessageType_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_MessageType, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_DCCH_MessageType, choice.messageClassExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_messageClassExtension_19, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "messageClassExtension" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_UL_DCCH_MessageType_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 114 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* messageClassExtension at 131 */ -}; -static asn_CHOICE_specifics_t asn_SPC_UL_DCCH_MessageType_specs_1 = { - sizeof(struct UL_DCCH_MessageType), - offsetof(struct UL_DCCH_MessageType, _asn_ctx), - offsetof(struct UL_DCCH_MessageType, present), - sizeof(((struct UL_DCCH_MessageType *)0)->present), - asn_MAP_UL_DCCH_MessageType_tag2el_1, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_UL_DCCH_MessageType = { - "UL-DCCH-MessageType", - "UL-DCCH-MessageType", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_UL_DCCH_MessageType_constr_1, - asn_MBR_UL_DCCH_MessageType_1, - 2, /* Elements count */ - &asn_SPC_UL_DCCH_MessageType_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UL-ReferenceSignalsPUSCH.c b/lte/rrc/lib/asn/src/UL-ReferenceSignalsPUSCH.c deleted file mode 100644 index e8fcd3ce3..000000000 --- a/lte/rrc/lib/asn/src/UL-ReferenceSignalsPUSCH.c +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UL-ReferenceSignalsPUSCH.h" - -static int -memb_groupAssignmentPUSCH_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 29)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_cyclicShift_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_groupAssignmentPUSCH_constr_3 = { - { APC_CONSTRAINED, 5, 5, 0, 29 } /* (0..29) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_cyclicShift_constr_5 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_UL_ReferenceSignalsPUSCH_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UL_ReferenceSignalsPUSCH, groupHoppingEnabled), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "groupHoppingEnabled" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_ReferenceSignalsPUSCH, groupAssignmentPUSCH), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_groupAssignmentPUSCH_constraint_1, - &asn_PER_memb_groupAssignmentPUSCH_constr_3, - 0, - "groupAssignmentPUSCH" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_ReferenceSignalsPUSCH, sequenceHoppingEnabled), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sequenceHoppingEnabled" - }, - { ATF_NOFLAGS, 0, offsetof(struct UL_ReferenceSignalsPUSCH, cyclicShift), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_cyclicShift_constraint_1, - &asn_PER_memb_cyclicShift_constr_5, - 0, - "cyclicShift" - }, -}; -static ber_tlv_tag_t asn_DEF_UL_ReferenceSignalsPUSCH_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UL_ReferenceSignalsPUSCH_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* groupHoppingEnabled at 2307 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* groupAssignmentPUSCH at 2308 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sequenceHoppingEnabled at 2309 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* cyclicShift at 2310 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UL_ReferenceSignalsPUSCH_specs_1 = { - sizeof(struct UL_ReferenceSignalsPUSCH), - offsetof(struct UL_ReferenceSignalsPUSCH, _asn_ctx), - asn_MAP_UL_ReferenceSignalsPUSCH_tag2el_1, - 4, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UL_ReferenceSignalsPUSCH = { - "UL-ReferenceSignalsPUSCH", - "UL-ReferenceSignalsPUSCH", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UL_ReferenceSignalsPUSCH_tags_1, - sizeof(asn_DEF_UL_ReferenceSignalsPUSCH_tags_1) - /sizeof(asn_DEF_UL_ReferenceSignalsPUSCH_tags_1[0]), /* 1 */ - asn_DEF_UL_ReferenceSignalsPUSCH_tags_1, /* Same as above */ - sizeof(asn_DEF_UL_ReferenceSignalsPUSCH_tags_1) - /sizeof(asn_DEF_UL_ReferenceSignalsPUSCH_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UL_ReferenceSignalsPUSCH_1, - 4, /* Elements count */ - &asn_SPC_UL_ReferenceSignalsPUSCH_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UL-UM-RLC.c b/lte/rrc/lib/asn/src/UL-UM-RLC.c deleted file mode 100644 index 5905f4ac1..000000000 --- a/lte/rrc/lib/asn/src/UL-UM-RLC.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UL-UM-RLC.h" - -static asn_TYPE_member_t asn_MBR_UL_UM_RLC_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UL_UM_RLC, sn_FieldLength), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SN_FieldLength, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "sn-FieldLength" - }, -}; -static ber_tlv_tag_t asn_DEF_UL_UM_RLC_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UL_UM_RLC_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* sn-FieldLength at 2544 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UL_UM_RLC_specs_1 = { - sizeof(struct UL_UM_RLC), - offsetof(struct UL_UM_RLC, _asn_ctx), - asn_MAP_UL_UM_RLC_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UL_UM_RLC = { - "UL-UM-RLC", - "UL-UM-RLC", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UL_UM_RLC_tags_1, - sizeof(asn_DEF_UL_UM_RLC_tags_1) - /sizeof(asn_DEF_UL_UM_RLC_tags_1[0]), /* 1 */ - asn_DEF_UL_UM_RLC_tags_1, /* Same as above */ - sizeof(asn_DEF_UL_UM_RLC_tags_1) - /sizeof(asn_DEF_UL_UM_RLC_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UL_UM_RLC_1, - 1, /* Elements count */ - &asn_SPC_UL_UM_RLC_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ULHandoverPreparationTransfer-r8-IEs.c b/lte/rrc/lib/asn/src/ULHandoverPreparationTransfer-r8-IEs.c deleted file mode 100644 index 38f922605..000000000 --- a/lte/rrc/lib/asn/src/ULHandoverPreparationTransfer-r8-IEs.c +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ULHandoverPreparationTransfer-r8-IEs.h" - -static int -memb_meid_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 56)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_meid_constr_3 = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 56, 56 } /* (SIZE(56..56)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_ULHandoverPreparationTransfer_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ULHandoverPreparationTransfer_r8_IEs, cdma2000_Type), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CDMA2000_Type, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cdma2000-Type" - }, - { ATF_POINTER, 1, offsetof(struct ULHandoverPreparationTransfer_r8_IEs, meid), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - memb_meid_constraint_1, - &asn_PER_memb_meid_constr_3, - 0, - "meid" - }, - { ATF_NOFLAGS, 0, offsetof(struct ULHandoverPreparationTransfer_r8_IEs, dedicatedInfo), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DedicatedInfoCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dedicatedInfo" - }, - { ATF_POINTER, 1, offsetof(struct ULHandoverPreparationTransfer_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ULHandoverPreparationTransfer_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_ULHandoverPreparationTransfer_r8_IEs_oms_1[] = { 1, 3 }; -static ber_tlv_tag_t asn_DEF_ULHandoverPreparationTransfer_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ULHandoverPreparationTransfer_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cdma2000-Type at 1428 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* meid at 1429 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* dedicatedInfo at 1430 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* nonCriticalExtension at 1431 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ULHandoverPreparationTransfer_r8_IEs_specs_1 = { - sizeof(struct ULHandoverPreparationTransfer_r8_IEs), - offsetof(struct ULHandoverPreparationTransfer_r8_IEs, _asn_ctx), - asn_MAP_ULHandoverPreparationTransfer_r8_IEs_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_ULHandoverPreparationTransfer_r8_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_ULHandoverPreparationTransfer_r8_IEs = { - "ULHandoverPreparationTransfer-r8-IEs", - "ULHandoverPreparationTransfer-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ULHandoverPreparationTransfer_r8_IEs_tags_1, - sizeof(asn_DEF_ULHandoverPreparationTransfer_r8_IEs_tags_1) - /sizeof(asn_DEF_ULHandoverPreparationTransfer_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_ULHandoverPreparationTransfer_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_ULHandoverPreparationTransfer_r8_IEs_tags_1) - /sizeof(asn_DEF_ULHandoverPreparationTransfer_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_ULHandoverPreparationTransfer_r8_IEs_1, - 4, /* Elements count */ - &asn_SPC_ULHandoverPreparationTransfer_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ULHandoverPreparationTransfer-v8a0-IEs.c b/lte/rrc/lib/asn/src/ULHandoverPreparationTransfer-v8a0-IEs.c deleted file mode 100644 index 3a7be982c..000000000 --- a/lte/rrc/lib/asn/src/ULHandoverPreparationTransfer-v8a0-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ULHandoverPreparationTransfer-v8a0-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct ULHandoverPreparationTransfer_v8a0_IEs__nonCriticalExtension), - offsetof(struct ULHandoverPreparationTransfer_v8a0_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ULHandoverPreparationTransfer_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct ULHandoverPreparationTransfer_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct ULHandoverPreparationTransfer_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_ULHandoverPreparationTransfer_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_ULHandoverPreparationTransfer_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ULHandoverPreparationTransfer_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 1435 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1436 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ULHandoverPreparationTransfer_v8a0_IEs_specs_1 = { - sizeof(struct ULHandoverPreparationTransfer_v8a0_IEs), - offsetof(struct ULHandoverPreparationTransfer_v8a0_IEs, _asn_ctx), - asn_MAP_ULHandoverPreparationTransfer_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_ULHandoverPreparationTransfer_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_ULHandoverPreparationTransfer_v8a0_IEs = { - "ULHandoverPreparationTransfer-v8a0-IEs", - "ULHandoverPreparationTransfer-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ULHandoverPreparationTransfer_v8a0_IEs_tags_1, - sizeof(asn_DEF_ULHandoverPreparationTransfer_v8a0_IEs_tags_1) - /sizeof(asn_DEF_ULHandoverPreparationTransfer_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_ULHandoverPreparationTransfer_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_ULHandoverPreparationTransfer_v8a0_IEs_tags_1) - /sizeof(asn_DEF_ULHandoverPreparationTransfer_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_ULHandoverPreparationTransfer_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_ULHandoverPreparationTransfer_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ULHandoverPreparationTransfer.c b/lte/rrc/lib/asn/src/ULHandoverPreparationTransfer.c deleted file mode 100644 index 6095d1956..000000000 --- a/lte/rrc/lib/asn/src/ULHandoverPreparationTransfer.c +++ /dev/null @@ -1,244 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ULHandoverPreparationTransfer.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_3 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct ULHandoverPreparationTransfer__criticalExtensions__c1, choice.ulHandoverPreparationTransfer_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ULHandoverPreparationTransfer_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ulHandoverPreparationTransfer-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct ULHandoverPreparationTransfer__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct ULHandoverPreparationTransfer__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct ULHandoverPreparationTransfer__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ulHandoverPreparationTransfer-r8 at 1420 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 at 1421 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 1421 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 1421 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_3 = { - sizeof(struct ULHandoverPreparationTransfer__criticalExtensions__c1), - offsetof(struct ULHandoverPreparationTransfer__criticalExtensions__c1, _asn_ctx), - offsetof(struct ULHandoverPreparationTransfer__criticalExtensions__c1, present), - sizeof(((struct ULHandoverPreparationTransfer__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_3, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_3 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_3, - asn_MBR_c1_3, - 4, /* Elements count */ - &asn_SPC_c1_specs_3 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_8[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_8 = { - sizeof(struct ULHandoverPreparationTransfer__criticalExtensions__criticalExtensionsFuture), - offsetof(struct ULHandoverPreparationTransfer__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_8 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_8, - sizeof(asn_DEF_criticalExtensionsFuture_tags_8) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_8[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_8, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_8) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_8[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_8 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct ULHandoverPreparationTransfer__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct ULHandoverPreparationTransfer__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 1420 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 1423 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = { - sizeof(struct ULHandoverPreparationTransfer__criticalExtensions), - offsetof(struct ULHandoverPreparationTransfer__criticalExtensions, _asn_ctx), - offsetof(struct ULHandoverPreparationTransfer__criticalExtensions, present), - sizeof(((struct ULHandoverPreparationTransfer__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_2, - asn_MBR_criticalExtensions_2, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ULHandoverPreparationTransfer_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ULHandoverPreparationTransfer, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_ULHandoverPreparationTransfer_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ULHandoverPreparationTransfer_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions at 1422 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ULHandoverPreparationTransfer_specs_1 = { - sizeof(struct ULHandoverPreparationTransfer), - offsetof(struct ULHandoverPreparationTransfer, _asn_ctx), - asn_MAP_ULHandoverPreparationTransfer_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_ULHandoverPreparationTransfer = { - "ULHandoverPreparationTransfer", - "ULHandoverPreparationTransfer", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ULHandoverPreparationTransfer_tags_1, - sizeof(asn_DEF_ULHandoverPreparationTransfer_tags_1) - /sizeof(asn_DEF_ULHandoverPreparationTransfer_tags_1[0]), /* 1 */ - asn_DEF_ULHandoverPreparationTransfer_tags_1, /* Same as above */ - sizeof(asn_DEF_ULHandoverPreparationTransfer_tags_1) - /sizeof(asn_DEF_ULHandoverPreparationTransfer_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_ULHandoverPreparationTransfer_1, - 1, /* Elements count */ - &asn_SPC_ULHandoverPreparationTransfer_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ULInformationTransfer-r8-IEs.c b/lte/rrc/lib/asn/src/ULInformationTransfer-r8-IEs.c deleted file mode 100644 index bb36bd6e6..000000000 --- a/lte/rrc/lib/asn/src/ULInformationTransfer-r8-IEs.c +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ULInformationTransfer-r8-IEs.h" - -static asn_per_constraints_t asn_PER_type_dedicatedInfoType_constr_2 = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_dedicatedInfoType_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct ULInformationTransfer_r8_IEs__dedicatedInfoType, choice.dedicatedInfoNAS), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DedicatedInfoNAS, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dedicatedInfoNAS" - }, - { ATF_NOFLAGS, 0, offsetof(struct ULInformationTransfer_r8_IEs__dedicatedInfoType, choice.dedicatedInfoCDMA2000_1XRTT), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DedicatedInfoCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dedicatedInfoCDMA2000-1XRTT" - }, - { ATF_NOFLAGS, 0, offsetof(struct ULInformationTransfer_r8_IEs__dedicatedInfoType, choice.dedicatedInfoCDMA2000_HRPD), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DedicatedInfoCDMA2000, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dedicatedInfoCDMA2000-HRPD" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_dedicatedInfoType_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* dedicatedInfoNAS at 1452 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* dedicatedInfoCDMA2000-1XRTT at 1453 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* dedicatedInfoCDMA2000-HRPD at 1455 */ -}; -static asn_CHOICE_specifics_t asn_SPC_dedicatedInfoType_specs_2 = { - sizeof(struct ULInformationTransfer_r8_IEs__dedicatedInfoType), - offsetof(struct ULInformationTransfer_r8_IEs__dedicatedInfoType, _asn_ctx), - offsetof(struct ULInformationTransfer_r8_IEs__dedicatedInfoType, present), - sizeof(((struct ULInformationTransfer_r8_IEs__dedicatedInfoType *)0)->present), - asn_MAP_dedicatedInfoType_tag2el_2, - 3, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_dedicatedInfoType_2 = { - "dedicatedInfoType", - "dedicatedInfoType", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_dedicatedInfoType_constr_2, - asn_MBR_dedicatedInfoType_2, - 3, /* Elements count */ - &asn_SPC_dedicatedInfoType_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ULInformationTransfer_r8_IEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ULInformationTransfer_r8_IEs, dedicatedInfoType), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_dedicatedInfoType_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "dedicatedInfoType" - }, - { ATF_POINTER, 1, offsetof(struct ULInformationTransfer_r8_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ULInformationTransfer_v8a0_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_ULInformationTransfer_r8_IEs_oms_1[] = { 1 }; -static ber_tlv_tag_t asn_DEF_ULInformationTransfer_r8_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ULInformationTransfer_r8_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* dedicatedInfoType at 1452 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1456 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ULInformationTransfer_r8_IEs_specs_1 = { - sizeof(struct ULInformationTransfer_r8_IEs), - offsetof(struct ULInformationTransfer_r8_IEs, _asn_ctx), - asn_MAP_ULInformationTransfer_r8_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_ULInformationTransfer_r8_IEs_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_ULInformationTransfer_r8_IEs = { - "ULInformationTransfer-r8-IEs", - "ULInformationTransfer-r8-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ULInformationTransfer_r8_IEs_tags_1, - sizeof(asn_DEF_ULInformationTransfer_r8_IEs_tags_1) - /sizeof(asn_DEF_ULInformationTransfer_r8_IEs_tags_1[0]), /* 1 */ - asn_DEF_ULInformationTransfer_r8_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_ULInformationTransfer_r8_IEs_tags_1) - /sizeof(asn_DEF_ULInformationTransfer_r8_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_ULInformationTransfer_r8_IEs_1, - 2, /* Elements count */ - &asn_SPC_ULInformationTransfer_r8_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ULInformationTransfer-v8a0-IEs.c b/lte/rrc/lib/asn/src/ULInformationTransfer-v8a0-IEs.c deleted file mode 100644 index 399aa3273..000000000 --- a/lte/rrc/lib/asn/src/ULInformationTransfer-v8a0-IEs.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ULInformationTransfer-v8a0-IEs.h" - -static ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_3 = { - sizeof(struct ULInformationTransfer_v8a0_IEs__nonCriticalExtension), - offsetof(struct ULInformationTransfer_v8a0_IEs__nonCriticalExtension, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_3 = { - "nonCriticalExtension", - "nonCriticalExtension", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_nonCriticalExtension_tags_3, - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]) - 1, /* 1 */ - asn_DEF_nonCriticalExtension_tags_3, /* Same as above */ - sizeof(asn_DEF_nonCriticalExtension_tags_3) - /sizeof(asn_DEF_nonCriticalExtension_tags_3[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_nonCriticalExtension_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ULInformationTransfer_v8a0_IEs_1[] = { - { ATF_POINTER, 2, offsetof(struct ULInformationTransfer_v8a0_IEs, lateNonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_OCTET_STRING, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "lateNonCriticalExtension" - }, - { ATF_POINTER, 1, offsetof(struct ULInformationTransfer_v8a0_IEs, nonCriticalExtension), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_nonCriticalExtension_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "nonCriticalExtension" - }, -}; -static int asn_MAP_ULInformationTransfer_v8a0_IEs_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_ULInformationTransfer_v8a0_IEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ULInformationTransfer_v8a0_IEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lateNonCriticalExtension at 1460 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nonCriticalExtension at 1461 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ULInformationTransfer_v8a0_IEs_specs_1 = { - sizeof(struct ULInformationTransfer_v8a0_IEs), - offsetof(struct ULInformationTransfer_v8a0_IEs, _asn_ctx), - asn_MAP_ULInformationTransfer_v8a0_IEs_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_ULInformationTransfer_v8a0_IEs_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_ULInformationTransfer_v8a0_IEs = { - "ULInformationTransfer-v8a0-IEs", - "ULInformationTransfer-v8a0-IEs", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ULInformationTransfer_v8a0_IEs_tags_1, - sizeof(asn_DEF_ULInformationTransfer_v8a0_IEs_tags_1) - /sizeof(asn_DEF_ULInformationTransfer_v8a0_IEs_tags_1[0]), /* 1 */ - asn_DEF_ULInformationTransfer_v8a0_IEs_tags_1, /* Same as above */ - sizeof(asn_DEF_ULInformationTransfer_v8a0_IEs_tags_1) - /sizeof(asn_DEF_ULInformationTransfer_v8a0_IEs_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_ULInformationTransfer_v8a0_IEs_1, - 2, /* Elements count */ - &asn_SPC_ULInformationTransfer_v8a0_IEs_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/ULInformationTransfer.c b/lte/rrc/lib/asn/src/ULInformationTransfer.c deleted file mode 100644 index 99506f65e..000000000 --- a/lte/rrc/lib/asn/src/ULInformationTransfer.c +++ /dev/null @@ -1,244 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/ULInformationTransfer.h" - -static asn_per_constraints_t asn_PER_type_c1_constr_3 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_2 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_c1_3[] = { - { ATF_NOFLAGS, 0, offsetof(struct ULInformationTransfer__criticalExtensions__c1, choice.ulInformationTransfer_r8), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ULInformationTransfer_r8_IEs, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "ulInformationTransfer-r8" - }, - { ATF_NOFLAGS, 0, offsetof(struct ULInformationTransfer__criticalExtensions__c1, choice.spare3), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare3" - }, - { ATF_NOFLAGS, 0, offsetof(struct ULInformationTransfer__criticalExtensions__c1, choice.spare2), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare2" - }, - { ATF_NOFLAGS, 0, offsetof(struct ULInformationTransfer__criticalExtensions__c1, choice.spare1), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "spare1" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_c1_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ulInformationTransfer-r8 at 1443 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 at 1444 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 at 1444 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 at 1444 */ -}; -static asn_CHOICE_specifics_t asn_SPC_c1_specs_3 = { - sizeof(struct ULInformationTransfer__criticalExtensions__c1), - offsetof(struct ULInformationTransfer__criticalExtensions__c1, _asn_ctx), - offsetof(struct ULInformationTransfer__criticalExtensions__c1, present), - sizeof(((struct ULInformationTransfer__criticalExtensions__c1 *)0)->present), - asn_MAP_c1_tag2el_3, - 4, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_c1_3 = { - "c1", - "c1", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_c1_constr_3, - asn_MBR_c1_3, - 4, /* Elements count */ - &asn_SPC_c1_specs_3 /* Additional specs */ -}; - -static ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_8[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_8 = { - sizeof(struct ULInformationTransfer__criticalExtensions__criticalExtensionsFuture), - offsetof(struct ULInformationTransfer__criticalExtensions__criticalExtensionsFuture, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_8 = { - "criticalExtensionsFuture", - "criticalExtensionsFuture", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_criticalExtensionsFuture_tags_8, - sizeof(asn_DEF_criticalExtensionsFuture_tags_8) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_8[0]) - 1, /* 1 */ - asn_DEF_criticalExtensionsFuture_tags_8, /* Same as above */ - sizeof(asn_DEF_criticalExtensionsFuture_tags_8) - /sizeof(asn_DEF_criticalExtensionsFuture_tags_8[0]), /* 2 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_criticalExtensionsFuture_specs_8 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = { - { ATF_NOFLAGS, 0, offsetof(struct ULInformationTransfer__criticalExtensions, choice.c1), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_c1_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c1" - }, - { ATF_NOFLAGS, 0, offsetof(struct ULInformationTransfer__criticalExtensions, choice.criticalExtensionsFuture), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_criticalExtensionsFuture_8, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensionsFuture" - }, -}; -static asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 at 1443 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture at 1446 */ -}; -static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = { - sizeof(struct ULInformationTransfer__criticalExtensions), - offsetof(struct ULInformationTransfer__criticalExtensions, _asn_ctx), - offsetof(struct ULInformationTransfer__criticalExtensions, present), - sizeof(((struct ULInformationTransfer__criticalExtensions *)0)->present), - asn_MAP_criticalExtensions_tag2el_2, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = { - "criticalExtensions", - "criticalExtensions", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_criticalExtensions_constr_2, - asn_MBR_criticalExtensions_2, - 2, /* Elements count */ - &asn_SPC_criticalExtensions_specs_2 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_ULInformationTransfer_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ULInformationTransfer, criticalExtensions), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_criticalExtensions_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "criticalExtensions" - }, -}; -static ber_tlv_tag_t asn_DEF_ULInformationTransfer_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_ULInformationTransfer_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions at 1445 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_ULInformationTransfer_specs_1 = { - sizeof(struct ULInformationTransfer), - offsetof(struct ULInformationTransfer, _asn_ctx), - asn_MAP_ULInformationTransfer_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_ULInformationTransfer = { - "ULInformationTransfer", - "ULInformationTransfer", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_ULInformationTransfer_tags_1, - sizeof(asn_DEF_ULInformationTransfer_tags_1) - /sizeof(asn_DEF_ULInformationTransfer_tags_1[0]), /* 1 */ - asn_DEF_ULInformationTransfer_tags_1, /* Same as above */ - sizeof(asn_DEF_ULInformationTransfer_tags_1) - /sizeof(asn_DEF_ULInformationTransfer_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_ULInformationTransfer_1, - 1, /* Elements count */ - &asn_SPC_ULInformationTransfer_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UplinkPowerControlCommon-v1020.c b/lte/rrc/lib/asn/src/UplinkPowerControlCommon-v1020.c deleted file mode 100644 index c32f841b8..000000000 --- a/lte/rrc/lib/asn/src/UplinkPowerControlCommon-v1020.c +++ /dev/null @@ -1,364 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UplinkPowerControlCommon-v1020.h" - -static int -deltaF_PUCCH_Format3_r10_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -deltaF_PUCCH_Format3_r10_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -deltaF_PUCCH_Format3_r10_2_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - deltaF_PUCCH_Format3_r10_2_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -deltaF_PUCCH_Format3_r10_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format3_r10_2_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format3_r10_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - deltaF_PUCCH_Format3_r10_2_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format3_r10_2_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format3_r10_2_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format3_r10_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - deltaF_PUCCH_Format3_r10_2_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format3_r10_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format3_r10_2_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format3_r10_2_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - deltaF_PUCCH_Format3_r10_2_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format3_r10_2_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - deltaF_PUCCH_Format3_r10_2_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -deltaF_PUCCH_Format1bCS_r10_11_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -deltaF_PUCCH_Format1bCS_r10_11_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -deltaF_PUCCH_Format1bCS_r10_11_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - deltaF_PUCCH_Format1bCS_r10_11_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -deltaF_PUCCH_Format1bCS_r10_11_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format1bCS_r10_11_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format1bCS_r10_11_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - deltaF_PUCCH_Format1bCS_r10_11_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format1bCS_r10_11_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format1bCS_r10_11_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format1bCS_r10_11_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - deltaF_PUCCH_Format1bCS_r10_11_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format1bCS_r10_11_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaF_PUCCH_Format1bCS_r10_11_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -deltaF_PUCCH_Format1bCS_r10_11_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - deltaF_PUCCH_Format1bCS_r10_11_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -deltaF_PUCCH_Format1bCS_r10_11_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - deltaF_PUCCH_Format1bCS_r10_11_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static asn_per_constraints_t asn_PER_type_deltaF_PUCCH_Format3_r10_constr_2 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_deltaF_PUCCH_Format1bCS_r10_constr_11 = { - { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_deltaF_PUCCH_Format3_r10_value2enum_2[] = { - { 0, 8, "deltaF-1" }, - { 1, 7, "deltaF0" }, - { 2, 7, "deltaF1" }, - { 3, 7, "deltaF2" }, - { 4, 7, "deltaF3" }, - { 5, 7, "deltaF4" }, - { 6, 7, "deltaF5" }, - { 7, 7, "deltaF6" } -}; -static unsigned int asn_MAP_deltaF_PUCCH_Format3_r10_enum2value_2[] = { - 0, /* deltaF-1(0) */ - 1, /* deltaF0(1) */ - 2, /* deltaF1(2) */ - 3, /* deltaF2(3) */ - 4, /* deltaF3(4) */ - 5, /* deltaF4(5) */ - 6, /* deltaF5(6) */ - 7 /* deltaF6(7) */ -}; -static asn_INTEGER_specifics_t asn_SPC_deltaF_PUCCH_Format3_r10_specs_2 = { - asn_MAP_deltaF_PUCCH_Format3_r10_value2enum_2, /* "tag" => N; sorted by tag */ - asn_MAP_deltaF_PUCCH_Format3_r10_enum2value_2, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_deltaF_PUCCH_Format3_r10_tags_2[] = { - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_deltaF_PUCCH_Format3_r10_2 = { - "deltaF-PUCCH-Format3-r10", - "deltaF-PUCCH-Format3-r10", - deltaF_PUCCH_Format3_r10_2_free, - deltaF_PUCCH_Format3_r10_2_print, - deltaF_PUCCH_Format3_r10_2_constraint, - deltaF_PUCCH_Format3_r10_2_decode_ber, - deltaF_PUCCH_Format3_r10_2_encode_der, - deltaF_PUCCH_Format3_r10_2_decode_xer, - deltaF_PUCCH_Format3_r10_2_encode_xer, - deltaF_PUCCH_Format3_r10_2_decode_uper, - deltaF_PUCCH_Format3_r10_2_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_deltaF_PUCCH_Format3_r10_tags_2, - sizeof(asn_DEF_deltaF_PUCCH_Format3_r10_tags_2) - /sizeof(asn_DEF_deltaF_PUCCH_Format3_r10_tags_2[0]) - 1, /* 1 */ - asn_DEF_deltaF_PUCCH_Format3_r10_tags_2, /* Same as above */ - sizeof(asn_DEF_deltaF_PUCCH_Format3_r10_tags_2) - /sizeof(asn_DEF_deltaF_PUCCH_Format3_r10_tags_2[0]), /* 2 */ - &asn_PER_type_deltaF_PUCCH_Format3_r10_constr_2, - 0, 0, /* Defined elsewhere */ - &asn_SPC_deltaF_PUCCH_Format3_r10_specs_2 /* Additional specs */ -}; - -static asn_INTEGER_enum_map_t asn_MAP_deltaF_PUCCH_Format1bCS_r10_value2enum_11[] = { - { 0, 7, "deltaF1" }, - { 1, 7, "deltaF2" }, - { 2, 6, "spare2" }, - { 3, 6, "spare1" } -}; -static unsigned int asn_MAP_deltaF_PUCCH_Format1bCS_r10_enum2value_11[] = { - 0, /* deltaF1(0) */ - 1, /* deltaF2(1) */ - 3, /* spare1(3) */ - 2 /* spare2(2) */ -}; -static asn_INTEGER_specifics_t asn_SPC_deltaF_PUCCH_Format1bCS_r10_specs_11 = { - asn_MAP_deltaF_PUCCH_Format1bCS_r10_value2enum_11, /* "tag" => N; sorted by tag */ - asn_MAP_deltaF_PUCCH_Format1bCS_r10_enum2value_11, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_deltaF_PUCCH_Format1bCS_r10_tags_11[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_deltaF_PUCCH_Format1bCS_r10_11 = { - "deltaF-PUCCH-Format1bCS-r10", - "deltaF-PUCCH-Format1bCS-r10", - deltaF_PUCCH_Format1bCS_r10_11_free, - deltaF_PUCCH_Format1bCS_r10_11_print, - deltaF_PUCCH_Format1bCS_r10_11_constraint, - deltaF_PUCCH_Format1bCS_r10_11_decode_ber, - deltaF_PUCCH_Format1bCS_r10_11_encode_der, - deltaF_PUCCH_Format1bCS_r10_11_decode_xer, - deltaF_PUCCH_Format1bCS_r10_11_encode_xer, - deltaF_PUCCH_Format1bCS_r10_11_decode_uper, - deltaF_PUCCH_Format1bCS_r10_11_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_deltaF_PUCCH_Format1bCS_r10_tags_11, - sizeof(asn_DEF_deltaF_PUCCH_Format1bCS_r10_tags_11) - /sizeof(asn_DEF_deltaF_PUCCH_Format1bCS_r10_tags_11[0]) - 1, /* 1 */ - asn_DEF_deltaF_PUCCH_Format1bCS_r10_tags_11, /* Same as above */ - sizeof(asn_DEF_deltaF_PUCCH_Format1bCS_r10_tags_11) - /sizeof(asn_DEF_deltaF_PUCCH_Format1bCS_r10_tags_11[0]), /* 2 */ - &asn_PER_type_deltaF_PUCCH_Format1bCS_r10_constr_11, - 0, 0, /* Defined elsewhere */ - &asn_SPC_deltaF_PUCCH_Format1bCS_r10_specs_11 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UplinkPowerControlCommon_v1020_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlCommon_v1020, deltaF_PUCCH_Format3_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_deltaF_PUCCH_Format3_r10_2, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "deltaF-PUCCH-Format3-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlCommon_v1020, deltaF_PUCCH_Format1bCS_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_deltaF_PUCCH_Format1bCS_r10_11, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "deltaF-PUCCH-Format1bCS-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_UplinkPowerControlCommon_v1020_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UplinkPowerControlCommon_v1020_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* deltaF-PUCCH-Format3-r10 at 2808 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* deltaF-PUCCH-Format1bCS-r10 at 2810 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UplinkPowerControlCommon_v1020_specs_1 = { - sizeof(struct UplinkPowerControlCommon_v1020), - offsetof(struct UplinkPowerControlCommon_v1020, _asn_ctx), - asn_MAP_UplinkPowerControlCommon_v1020_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UplinkPowerControlCommon_v1020 = { - "UplinkPowerControlCommon-v1020", - "UplinkPowerControlCommon-v1020", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UplinkPowerControlCommon_v1020_tags_1, - sizeof(asn_DEF_UplinkPowerControlCommon_v1020_tags_1) - /sizeof(asn_DEF_UplinkPowerControlCommon_v1020_tags_1[0]), /* 1 */ - asn_DEF_UplinkPowerControlCommon_v1020_tags_1, /* Same as above */ - sizeof(asn_DEF_UplinkPowerControlCommon_v1020_tags_1) - /sizeof(asn_DEF_UplinkPowerControlCommon_v1020_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UplinkPowerControlCommon_v1020_1, - 2, /* Elements count */ - &asn_SPC_UplinkPowerControlCommon_v1020_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UplinkPowerControlCommon.c b/lte/rrc/lib/asn/src/UplinkPowerControlCommon.c deleted file mode 100644 index e57c0e7c2..000000000 --- a/lte/rrc/lib/asn/src/UplinkPowerControlCommon.c +++ /dev/null @@ -1,341 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UplinkPowerControlCommon.h" - -static int -alpha_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -alpha_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -alpha_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - alpha_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -alpha_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - alpha_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -alpha_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - alpha_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -alpha_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - alpha_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -alpha_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - alpha_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -alpha_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - alpha_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -alpha_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - alpha_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -alpha_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - alpha_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_p0_NominalPUSCH_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -126 && value <= 24)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_p0_NominalPUCCH_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -127 && value <= -96)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_deltaPreambleMsg3_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -1 && value <= 6)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_alpha_constr_3 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_p0_NominalPUSCH_constr_2 = { - { APC_CONSTRAINED, 8, 8, -126, 24 } /* (-126..24) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_p0_NominalPUCCH_constr_12 = { - { APC_CONSTRAINED, 5, 5, -127, -96 } /* (-127..-96) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_deltaPreambleMsg3_constr_14 = { - { APC_CONSTRAINED, 3, 3, -1, 6 } /* (-1..6) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_alpha_value2enum_3[] = { - { 0, 3, "al0" }, - { 1, 4, "al04" }, - { 2, 4, "al05" }, - { 3, 4, "al06" }, - { 4, 4, "al07" }, - { 5, 4, "al08" }, - { 6, 4, "al09" }, - { 7, 3, "al1" } -}; -static unsigned int asn_MAP_alpha_enum2value_3[] = { - 0, /* al0(0) */ - 1, /* al04(1) */ - 2, /* al05(2) */ - 3, /* al06(3) */ - 4, /* al07(4) */ - 5, /* al08(5) */ - 6, /* al09(6) */ - 7 /* al1(7) */ -}; -static asn_INTEGER_specifics_t asn_SPC_alpha_specs_3 = { - asn_MAP_alpha_value2enum_3, /* "tag" => N; sorted by tag */ - asn_MAP_alpha_enum2value_3, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_alpha_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_alpha_3 = { - "alpha", - "alpha", - alpha_3_free, - alpha_3_print, - alpha_3_constraint, - alpha_3_decode_ber, - alpha_3_encode_der, - alpha_3_decode_xer, - alpha_3_encode_xer, - alpha_3_decode_uper, - alpha_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_alpha_tags_3, - sizeof(asn_DEF_alpha_tags_3) - /sizeof(asn_DEF_alpha_tags_3[0]) - 1, /* 1 */ - asn_DEF_alpha_tags_3, /* Same as above */ - sizeof(asn_DEF_alpha_tags_3) - /sizeof(asn_DEF_alpha_tags_3[0]), /* 2 */ - &asn_PER_type_alpha_constr_3, - 0, 0, /* Defined elsewhere */ - &asn_SPC_alpha_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UplinkPowerControlCommon_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlCommon, p0_NominalPUSCH), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_p0_NominalPUSCH_constraint_1, - &asn_PER_memb_p0_NominalPUSCH_constr_2, - 0, - "p0-NominalPUSCH" - }, - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlCommon, alpha), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_alpha_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "alpha" - }, - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlCommon, p0_NominalPUCCH), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_p0_NominalPUCCH_constraint_1, - &asn_PER_memb_p0_NominalPUCCH_constr_12, - 0, - "p0-NominalPUCCH" - }, - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlCommon, deltaFList_PUCCH), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DeltaFList_PUCCH, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "deltaFList-PUCCH" - }, - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlCommon, deltaPreambleMsg3), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_deltaPreambleMsg3_constraint_1, - &asn_PER_memb_deltaPreambleMsg3_constr_14, - 0, - "deltaPreambleMsg3" - }, -}; -static ber_tlv_tag_t asn_DEF_UplinkPowerControlCommon_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UplinkPowerControlCommon_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* p0-NominalPUSCH at 2800 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* alpha at 2801 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* p0-NominalPUCCH at 2802 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* deltaFList-PUCCH at 2803 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* deltaPreambleMsg3 at 2804 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UplinkPowerControlCommon_specs_1 = { - sizeof(struct UplinkPowerControlCommon), - offsetof(struct UplinkPowerControlCommon, _asn_ctx), - asn_MAP_UplinkPowerControlCommon_tag2el_1, - 5, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UplinkPowerControlCommon = { - "UplinkPowerControlCommon", - "UplinkPowerControlCommon", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UplinkPowerControlCommon_tags_1, - sizeof(asn_DEF_UplinkPowerControlCommon_tags_1) - /sizeof(asn_DEF_UplinkPowerControlCommon_tags_1[0]), /* 1 */ - asn_DEF_UplinkPowerControlCommon_tags_1, /* Same as above */ - sizeof(asn_DEF_UplinkPowerControlCommon_tags_1) - /sizeof(asn_DEF_UplinkPowerControlCommon_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UplinkPowerControlCommon_1, - 5, /* Elements count */ - &asn_SPC_UplinkPowerControlCommon_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UplinkPowerControlCommonSCell-r10.c b/lte/rrc/lib/asn/src/UplinkPowerControlCommonSCell-r10.c deleted file mode 100644 index 7b527daad..000000000 --- a/lte/rrc/lib/asn/src/UplinkPowerControlCommonSCell-r10.c +++ /dev/null @@ -1,251 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UplinkPowerControlCommonSCell-r10.h" - -static int -alpha_r10_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -alpha_r10_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -alpha_r10_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - alpha_r10_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -alpha_r10_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - alpha_r10_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -alpha_r10_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - alpha_r10_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -alpha_r10_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - alpha_r10_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -alpha_r10_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - alpha_r10_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -alpha_r10_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - alpha_r10_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -alpha_r10_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - alpha_r10_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -alpha_r10_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - alpha_r10_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_p0_NominalPUSCH_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -126 && value <= 24)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_alpha_r10_constr_3 = { - { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_p0_NominalPUSCH_r10_constr_2 = { - { APC_CONSTRAINED, 8, 8, -126, 24 } /* (-126..24) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_alpha_r10_value2enum_3[] = { - { 0, 3, "al0" }, - { 1, 4, "al04" }, - { 2, 4, "al05" }, - { 3, 4, "al06" }, - { 4, 4, "al07" }, - { 5, 4, "al08" }, - { 6, 4, "al09" }, - { 7, 3, "al1" } -}; -static unsigned int asn_MAP_alpha_r10_enum2value_3[] = { - 0, /* al0(0) */ - 1, /* al04(1) */ - 2, /* al05(2) */ - 3, /* al06(3) */ - 4, /* al07(4) */ - 5, /* al08(5) */ - 6, /* al09(6) */ - 7 /* al1(7) */ -}; -static asn_INTEGER_specifics_t asn_SPC_alpha_r10_specs_3 = { - asn_MAP_alpha_r10_value2enum_3, /* "tag" => N; sorted by tag */ - asn_MAP_alpha_r10_enum2value_3, /* N => "tag"; sorted by N */ - 8, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_alpha_r10_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_alpha_r10_3 = { - "alpha-r10", - "alpha-r10", - alpha_r10_3_free, - alpha_r10_3_print, - alpha_r10_3_constraint, - alpha_r10_3_decode_ber, - alpha_r10_3_encode_der, - alpha_r10_3_decode_xer, - alpha_r10_3_encode_xer, - alpha_r10_3_decode_uper, - alpha_r10_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_alpha_r10_tags_3, - sizeof(asn_DEF_alpha_r10_tags_3) - /sizeof(asn_DEF_alpha_r10_tags_3[0]) - 1, /* 1 */ - asn_DEF_alpha_r10_tags_3, /* Same as above */ - sizeof(asn_DEF_alpha_r10_tags_3) - /sizeof(asn_DEF_alpha_r10_tags_3[0]), /* 2 */ - &asn_PER_type_alpha_r10_constr_3, - 0, 0, /* Defined elsewhere */ - &asn_SPC_alpha_r10_specs_3 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UplinkPowerControlCommonSCell_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlCommonSCell_r10, p0_NominalPUSCH_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_p0_NominalPUSCH_r10_constraint_1, - &asn_PER_memb_p0_NominalPUSCH_r10_constr_2, - 0, - "p0-NominalPUSCH-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlCommonSCell_r10, alpha_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_alpha_r10_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "alpha-r10" - }, -}; -static ber_tlv_tag_t asn_DEF_UplinkPowerControlCommonSCell_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UplinkPowerControlCommonSCell_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* p0-NominalPUSCH-r10 at 2814 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* alpha-r10 at 2815 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UplinkPowerControlCommonSCell_r10_specs_1 = { - sizeof(struct UplinkPowerControlCommonSCell_r10), - offsetof(struct UplinkPowerControlCommonSCell_r10, _asn_ctx), - asn_MAP_UplinkPowerControlCommonSCell_r10_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UplinkPowerControlCommonSCell_r10 = { - "UplinkPowerControlCommonSCell-r10", - "UplinkPowerControlCommonSCell-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UplinkPowerControlCommonSCell_r10_tags_1, - sizeof(asn_DEF_UplinkPowerControlCommonSCell_r10_tags_1) - /sizeof(asn_DEF_UplinkPowerControlCommonSCell_r10_tags_1[0]), /* 1 */ - asn_DEF_UplinkPowerControlCommonSCell_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_UplinkPowerControlCommonSCell_r10_tags_1) - /sizeof(asn_DEF_UplinkPowerControlCommonSCell_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UplinkPowerControlCommonSCell_r10_1, - 2, /* Elements count */ - &asn_SPC_UplinkPowerControlCommonSCell_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UplinkPowerControlDedicated-v1020.c b/lte/rrc/lib/asn/src/UplinkPowerControlDedicated-v1020.c deleted file mode 100644 index 8e0649f6a..000000000 --- a/lte/rrc/lib/asn/src/UplinkPowerControlDedicated-v1020.c +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UplinkPowerControlDedicated-v1020.h" - -static int -memb_pSRS_OffsetAp_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_pSRS_OffsetAp_r10_constr_3 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_UplinkPowerControlDedicated_v1020_1[] = { - { ATF_POINTER, 2, offsetof(struct UplinkPowerControlDedicated_v1020, deltaTxD_OffsetListPUCCH_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_DeltaTxD_OffsetListPUCCH_r10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "deltaTxD-OffsetListPUCCH-r10" - }, - { ATF_POINTER, 1, offsetof(struct UplinkPowerControlDedicated_v1020, pSRS_OffsetAp_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_pSRS_OffsetAp_r10_constraint_1, - &asn_PER_memb_pSRS_OffsetAp_r10_constr_3, - 0, - "pSRS-OffsetAp-r10" - }, -}; -static int asn_MAP_UplinkPowerControlDedicated_v1020_oms_1[] = { 0, 1 }; -static ber_tlv_tag_t asn_DEF_UplinkPowerControlDedicated_v1020_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UplinkPowerControlDedicated_v1020_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* deltaTxD-OffsetListPUCCH-r10 at 2828 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* pSRS-OffsetAp-r10 at 2829 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UplinkPowerControlDedicated_v1020_specs_1 = { - sizeof(struct UplinkPowerControlDedicated_v1020), - offsetof(struct UplinkPowerControlDedicated_v1020, _asn_ctx), - asn_MAP_UplinkPowerControlDedicated_v1020_tag2el_1, - 2, /* Count of tags in the map */ - asn_MAP_UplinkPowerControlDedicated_v1020_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UplinkPowerControlDedicated_v1020 = { - "UplinkPowerControlDedicated-v1020", - "UplinkPowerControlDedicated-v1020", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UplinkPowerControlDedicated_v1020_tags_1, - sizeof(asn_DEF_UplinkPowerControlDedicated_v1020_tags_1) - /sizeof(asn_DEF_UplinkPowerControlDedicated_v1020_tags_1[0]), /* 1 */ - asn_DEF_UplinkPowerControlDedicated_v1020_tags_1, /* Same as above */ - sizeof(asn_DEF_UplinkPowerControlDedicated_v1020_tags_1) - /sizeof(asn_DEF_UplinkPowerControlDedicated_v1020_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UplinkPowerControlDedicated_v1020_1, - 2, /* Elements count */ - &asn_SPC_UplinkPowerControlDedicated_v1020_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UplinkPowerControlDedicated.c b/lte/rrc/lib/asn/src/UplinkPowerControlDedicated.c deleted file mode 100644 index 869215e83..000000000 --- a/lte/rrc/lib/asn/src/UplinkPowerControlDedicated.c +++ /dev/null @@ -1,359 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UplinkPowerControlDedicated.h" - -static int -deltaMCS_Enabled_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -deltaMCS_Enabled_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -deltaMCS_Enabled_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - deltaMCS_Enabled_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -deltaMCS_Enabled_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - deltaMCS_Enabled_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -deltaMCS_Enabled_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - deltaMCS_Enabled_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -deltaMCS_Enabled_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaMCS_Enabled_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -deltaMCS_Enabled_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - deltaMCS_Enabled_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -deltaMCS_Enabled_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaMCS_Enabled_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -deltaMCS_Enabled_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - deltaMCS_Enabled_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -deltaMCS_Enabled_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - deltaMCS_Enabled_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_p0_UE_PUSCH_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -8 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_p0_UE_PUCCH_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -8 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_pSRS_Offset_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_deltaMCS_Enabled_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_p0_UE_PUSCH_constr_2 = { - { APC_CONSTRAINED, 4, 4, -8, 7 } /* (-8..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_p0_UE_PUCCH_constr_7 = { - { APC_CONSTRAINED, 4, 4, -8, 7 } /* (-8..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_pSRS_Offset_constr_8 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_deltaMCS_Enabled_value2enum_3[] = { - { 0, 3, "en0" }, - { 1, 3, "en1" } -}; -static unsigned int asn_MAP_deltaMCS_Enabled_enum2value_3[] = { - 0, /* en0(0) */ - 1 /* en1(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_deltaMCS_Enabled_specs_3 = { - asn_MAP_deltaMCS_Enabled_value2enum_3, /* "tag" => N; sorted by tag */ - asn_MAP_deltaMCS_Enabled_enum2value_3, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_deltaMCS_Enabled_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_deltaMCS_Enabled_3 = { - "deltaMCS-Enabled", - "deltaMCS-Enabled", - deltaMCS_Enabled_3_free, - deltaMCS_Enabled_3_print, - deltaMCS_Enabled_3_constraint, - deltaMCS_Enabled_3_decode_ber, - deltaMCS_Enabled_3_encode_der, - deltaMCS_Enabled_3_decode_xer, - deltaMCS_Enabled_3_encode_xer, - deltaMCS_Enabled_3_decode_uper, - deltaMCS_Enabled_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_deltaMCS_Enabled_tags_3, - sizeof(asn_DEF_deltaMCS_Enabled_tags_3) - /sizeof(asn_DEF_deltaMCS_Enabled_tags_3[0]) - 1, /* 1 */ - asn_DEF_deltaMCS_Enabled_tags_3, /* Same as above */ - sizeof(asn_DEF_deltaMCS_Enabled_tags_3) - /sizeof(asn_DEF_deltaMCS_Enabled_tags_3[0]), /* 2 */ - &asn_PER_type_deltaMCS_Enabled_constr_3, - 0, 0, /* Defined elsewhere */ - &asn_SPC_deltaMCS_Enabled_specs_3 /* Additional specs */ -}; - -static int asn_DFL_9_set_4(int set_value, void **sptr) { - FilterCoefficient_t *st = *sptr; - - if(!st) { - if(!set_value) return -1; /* Not a default value */ - st = (*sptr = CALLOC(1, sizeof(*st))); - if(!st) return -1; - } - - if(set_value) { - /* Install default value 4 */ - *st = 4; - return 0; - } else { - /* Test default value 4 */ - return (*st == 4); - } -} -static asn_TYPE_member_t asn_MBR_UplinkPowerControlDedicated_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlDedicated, p0_UE_PUSCH), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_p0_UE_PUSCH_constraint_1, - &asn_PER_memb_p0_UE_PUSCH_constr_2, - 0, - "p0-UE-PUSCH" - }, - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlDedicated, deltaMCS_Enabled), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_deltaMCS_Enabled_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "deltaMCS-Enabled" - }, - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlDedicated, accumulationEnabled), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "accumulationEnabled" - }, - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlDedicated, p0_UE_PUCCH), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_p0_UE_PUCCH_constraint_1, - &asn_PER_memb_p0_UE_PUCCH_constr_7, - 0, - "p0-UE-PUCCH" - }, - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlDedicated, pSRS_Offset), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_pSRS_Offset_constraint_1, - &asn_PER_memb_pSRS_Offset_constr_8, - 0, - "pSRS-Offset" - }, - { ATF_POINTER, 1, offsetof(struct UplinkPowerControlDedicated, filterCoefficient), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_FilterCoefficient, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - asn_DFL_9_set_4, /* DEFAULT 4 */ - "filterCoefficient" - }, -}; -static int asn_MAP_UplinkPowerControlDedicated_oms_1[] = { 5 }; -static ber_tlv_tag_t asn_DEF_UplinkPowerControlDedicated_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UplinkPowerControlDedicated_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* p0-UE-PUSCH at 2819 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* deltaMCS-Enabled at 2820 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* accumulationEnabled at 2821 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* p0-UE-PUCCH at 2822 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* pSRS-Offset at 2823 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* filterCoefficient at 2824 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UplinkPowerControlDedicated_specs_1 = { - sizeof(struct UplinkPowerControlDedicated), - offsetof(struct UplinkPowerControlDedicated, _asn_ctx), - asn_MAP_UplinkPowerControlDedicated_tag2el_1, - 6, /* Count of tags in the map */ - asn_MAP_UplinkPowerControlDedicated_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UplinkPowerControlDedicated = { - "UplinkPowerControlDedicated", - "UplinkPowerControlDedicated", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UplinkPowerControlDedicated_tags_1, - sizeof(asn_DEF_UplinkPowerControlDedicated_tags_1) - /sizeof(asn_DEF_UplinkPowerControlDedicated_tags_1[0]), /* 1 */ - asn_DEF_UplinkPowerControlDedicated_tags_1, /* Same as above */ - sizeof(asn_DEF_UplinkPowerControlDedicated_tags_1) - /sizeof(asn_DEF_UplinkPowerControlDedicated_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UplinkPowerControlDedicated_1, - 6, /* Elements count */ - &asn_SPC_UplinkPowerControlDedicated_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/UplinkPowerControlDedicatedSCell-r10.c b/lte/rrc/lib/asn/src/UplinkPowerControlDedicatedSCell-r10.c deleted file mode 100644 index 2ce14a810..000000000 --- a/lte/rrc/lib/asn/src/UplinkPowerControlDedicatedSCell-r10.c +++ /dev/null @@ -1,508 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-RRC-Definitions" - * found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn" - * `asn1c -gen-PER -fcompound-names -fnative-types` - */ - -#include "liblte/rrc/asn/UplinkPowerControlDedicatedSCell-r10.h" - -static int -deltaMCS_Enabled_r10_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -deltaMCS_Enabled_r10_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -deltaMCS_Enabled_r10_3_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - deltaMCS_Enabled_r10_3_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -deltaMCS_Enabled_r10_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - deltaMCS_Enabled_r10_3_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -deltaMCS_Enabled_r10_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - deltaMCS_Enabled_r10_3_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -deltaMCS_Enabled_r10_3_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaMCS_Enabled_r10_3_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -deltaMCS_Enabled_r10_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - deltaMCS_Enabled_r10_3_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -deltaMCS_Enabled_r10_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - deltaMCS_Enabled_r10_3_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -deltaMCS_Enabled_r10_3_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - deltaMCS_Enabled_r10_3_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -deltaMCS_Enabled_r10_3_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - deltaMCS_Enabled_r10_3_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -pathlossReferenceLinking_r10_10_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - /* Replace with underlying type checker */ - td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; - return td->check_constraints(td, sptr, ctfailcb, app_key); -} - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static void -pathlossReferenceLinking_r10_10_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { - td->free_struct = asn_DEF_NativeEnumerated.free_struct; - td->print_struct = asn_DEF_NativeEnumerated.print_struct; - td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; - td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; - td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; - td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; - td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; - td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; - if(!td->per_constraints) - td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; - td->elements = asn_DEF_NativeEnumerated.elements; - td->elements_count = asn_DEF_NativeEnumerated.elements_count; - /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ -} - -static void -pathlossReferenceLinking_r10_10_free(asn_TYPE_descriptor_t *td, - void *struct_ptr, int contents_only) { - pathlossReferenceLinking_r10_10_inherit_TYPE_descriptor(td); - td->free_struct(td, struct_ptr, contents_only); -} - -static int -pathlossReferenceLinking_r10_10_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, - int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { - pathlossReferenceLinking_r10_10_inherit_TYPE_descriptor(td); - return td->print_struct(td, struct_ptr, ilevel, cb, app_key); -} - -static asn_dec_rval_t -pathlossReferenceLinking_r10_10_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const void *bufptr, size_t size, int tag_mode) { - pathlossReferenceLinking_r10_10_inherit_TYPE_descriptor(td); - return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); -} - -static asn_enc_rval_t -pathlossReferenceLinking_r10_10_encode_der(asn_TYPE_descriptor_t *td, - void *structure, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - pathlossReferenceLinking_r10_10_inherit_TYPE_descriptor(td); - return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); -} - -static asn_dec_rval_t -pathlossReferenceLinking_r10_10_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **structure, const char *opt_mname, const void *bufptr, size_t size) { - pathlossReferenceLinking_r10_10_inherit_TYPE_descriptor(td); - return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); -} - -static asn_enc_rval_t -pathlossReferenceLinking_r10_10_encode_xer(asn_TYPE_descriptor_t *td, void *structure, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - pathlossReferenceLinking_r10_10_inherit_TYPE_descriptor(td); - return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); -} - -static asn_dec_rval_t -pathlossReferenceLinking_r10_10_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) { - pathlossReferenceLinking_r10_10_inherit_TYPE_descriptor(td); - return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data); -} - -static asn_enc_rval_t -pathlossReferenceLinking_r10_10_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, - void *structure, asn_per_outp_t *per_out) { - pathlossReferenceLinking_r10_10_inherit_TYPE_descriptor(td); - return td->uper_encoder(td, constraints, structure, per_out); -} - -static int -memb_p0_UE_PUSCH_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= -8 && value <= 7)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_pSRS_Offset_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_pSRS_OffsetAp_r10_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 15)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_type_deltaMCS_Enabled_r10_constr_3 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_type_pathlossReferenceLinking_r10_constr_10 = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_p0_UE_PUSCH_r10_constr_2 = { - { APC_CONSTRAINED, 4, 4, -8, 7 } /* (-8..7) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_pSRS_Offset_r10_constr_7 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_pSRS_OffsetAp_r10_constr_8 = { - { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_INTEGER_enum_map_t asn_MAP_deltaMCS_Enabled_r10_value2enum_3[] = { - { 0, 3, "en0" }, - { 1, 3, "en1" } -}; -static unsigned int asn_MAP_deltaMCS_Enabled_r10_enum2value_3[] = { - 0, /* en0(0) */ - 1 /* en1(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_deltaMCS_Enabled_r10_specs_3 = { - asn_MAP_deltaMCS_Enabled_r10_value2enum_3, /* "tag" => N; sorted by tag */ - asn_MAP_deltaMCS_Enabled_r10_enum2value_3, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_deltaMCS_Enabled_r10_tags_3[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_deltaMCS_Enabled_r10_3 = { - "deltaMCS-Enabled-r10", - "deltaMCS-Enabled-r10", - deltaMCS_Enabled_r10_3_free, - deltaMCS_Enabled_r10_3_print, - deltaMCS_Enabled_r10_3_constraint, - deltaMCS_Enabled_r10_3_decode_ber, - deltaMCS_Enabled_r10_3_encode_der, - deltaMCS_Enabled_r10_3_decode_xer, - deltaMCS_Enabled_r10_3_encode_xer, - deltaMCS_Enabled_r10_3_decode_uper, - deltaMCS_Enabled_r10_3_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_deltaMCS_Enabled_r10_tags_3, - sizeof(asn_DEF_deltaMCS_Enabled_r10_tags_3) - /sizeof(asn_DEF_deltaMCS_Enabled_r10_tags_3[0]) - 1, /* 1 */ - asn_DEF_deltaMCS_Enabled_r10_tags_3, /* Same as above */ - sizeof(asn_DEF_deltaMCS_Enabled_r10_tags_3) - /sizeof(asn_DEF_deltaMCS_Enabled_r10_tags_3[0]), /* 2 */ - &asn_PER_type_deltaMCS_Enabled_r10_constr_3, - 0, 0, /* Defined elsewhere */ - &asn_SPC_deltaMCS_Enabled_r10_specs_3 /* Additional specs */ -}; - -static int asn_DFL_9_set_4(int set_value, void **sptr) { - FilterCoefficient_t *st = *sptr; - - if(!st) { - if(!set_value) return -1; /* Not a default value */ - st = (*sptr = CALLOC(1, sizeof(*st))); - if(!st) return -1; - } - - if(set_value) { - /* Install default value 4 */ - *st = 4; - return 0; - } else { - /* Test default value 4 */ - return (*st == 4); - } -} -static asn_INTEGER_enum_map_t asn_MAP_pathlossReferenceLinking_r10_value2enum_10[] = { - { 0, 5, "pCell" }, - { 1, 5, "sCell" } -}; -static unsigned int asn_MAP_pathlossReferenceLinking_r10_enum2value_10[] = { - 0, /* pCell(0) */ - 1 /* sCell(1) */ -}; -static asn_INTEGER_specifics_t asn_SPC_pathlossReferenceLinking_r10_specs_10 = { - asn_MAP_pathlossReferenceLinking_r10_value2enum_10, /* "tag" => N; sorted by tag */ - asn_MAP_pathlossReferenceLinking_r10_enum2value_10, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static ber_tlv_tag_t asn_DEF_pathlossReferenceLinking_r10_tags_10[] = { - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_pathlossReferenceLinking_r10_10 = { - "pathlossReferenceLinking-r10", - "pathlossReferenceLinking-r10", - pathlossReferenceLinking_r10_10_free, - pathlossReferenceLinking_r10_10_print, - pathlossReferenceLinking_r10_10_constraint, - pathlossReferenceLinking_r10_10_decode_ber, - pathlossReferenceLinking_r10_10_encode_der, - pathlossReferenceLinking_r10_10_decode_xer, - pathlossReferenceLinking_r10_10_encode_xer, - pathlossReferenceLinking_r10_10_decode_uper, - pathlossReferenceLinking_r10_10_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_pathlossReferenceLinking_r10_tags_10, - sizeof(asn_DEF_pathlossReferenceLinking_r10_tags_10) - /sizeof(asn_DEF_pathlossReferenceLinking_r10_tags_10[0]) - 1, /* 1 */ - asn_DEF_pathlossReferenceLinking_r10_tags_10, /* Same as above */ - sizeof(asn_DEF_pathlossReferenceLinking_r10_tags_10) - /sizeof(asn_DEF_pathlossReferenceLinking_r10_tags_10[0]), /* 2 */ - &asn_PER_type_pathlossReferenceLinking_r10_constr_10, - 0, 0, /* Defined elsewhere */ - &asn_SPC_pathlossReferenceLinking_r10_specs_10 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_UplinkPowerControlDedicatedSCell_r10_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlDedicatedSCell_r10, p0_UE_PUSCH_r10), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_p0_UE_PUSCH_r10_constraint_1, - &asn_PER_memb_p0_UE_PUSCH_r10_constr_2, - 0, - "p0-UE-PUSCH-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlDedicatedSCell_r10, deltaMCS_Enabled_r10), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_deltaMCS_Enabled_r10_3, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "deltaMCS-Enabled-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlDedicatedSCell_r10, accumulationEnabled_r10), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BOOLEAN, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "accumulationEnabled-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlDedicatedSCell_r10, pSRS_Offset_r10), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_pSRS_Offset_r10_constraint_1, - &asn_PER_memb_pSRS_Offset_r10_constr_7, - 0, - "pSRS-Offset-r10" - }, - { ATF_POINTER, 2, offsetof(struct UplinkPowerControlDedicatedSCell_r10, pSRS_OffsetAp_r10), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - memb_pSRS_OffsetAp_r10_constraint_1, - &asn_PER_memb_pSRS_OffsetAp_r10_constr_8, - 0, - "pSRS-OffsetAp-r10" - }, - { ATF_POINTER, 1, offsetof(struct UplinkPowerControlDedicatedSCell_r10, filterCoefficient_r10), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_FilterCoefficient, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - asn_DFL_9_set_4, /* DEFAULT 4 */ - "filterCoefficient-r10" - }, - { ATF_NOFLAGS, 0, offsetof(struct UplinkPowerControlDedicatedSCell_r10, pathlossReferenceLinking_r10), - (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_pathlossReferenceLinking_r10_10, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "pathlossReferenceLinking-r10" - }, -}; -static int asn_MAP_UplinkPowerControlDedicatedSCell_r10_oms_1[] = { 4, 5 }; -static ber_tlv_tag_t asn_DEF_UplinkPowerControlDedicatedSCell_r10_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_UplinkPowerControlDedicatedSCell_r10_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* p0-UE-PUSCH-r10 at 2833 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* deltaMCS-Enabled-r10 at 2834 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* accumulationEnabled-r10 at 2835 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* pSRS-Offset-r10 at 2836 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* pSRS-OffsetAp-r10 at 2837 */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* filterCoefficient-r10 at 2838 */ - { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* pathlossReferenceLinking-r10 at 2839 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_UplinkPowerControlDedicatedSCell_r10_specs_1 = { - sizeof(struct UplinkPowerControlDedicatedSCell_r10), - offsetof(struct UplinkPowerControlDedicatedSCell_r10, _asn_ctx), - asn_MAP_UplinkPowerControlDedicatedSCell_r10_tag2el_1, - 7, /* Count of tags in the map */ - asn_MAP_UplinkPowerControlDedicatedSCell_r10_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_UplinkPowerControlDedicatedSCell_r10 = { - "UplinkPowerControlDedicatedSCell-r10", - "UplinkPowerControlDedicatedSCell-r10", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_UplinkPowerControlDedicatedSCell_r10_tags_1, - sizeof(asn_DEF_UplinkPowerControlDedicatedSCell_r10_tags_1) - /sizeof(asn_DEF_UplinkPowerControlDedicatedSCell_r10_tags_1[0]), /* 1 */ - asn_DEF_UplinkPowerControlDedicatedSCell_r10_tags_1, /* Same as above */ - sizeof(asn_DEF_UplinkPowerControlDedicatedSCell_r10_tags_1) - /sizeof(asn_DEF_UplinkPowerControlDedicatedSCell_r10_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_UplinkPowerControlDedicatedSCell_r10_1, - 7, /* Elements count */ - &asn_SPC_UplinkPowerControlDedicatedSCell_r10_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/VarMeasConfig.c b/lte/rrc/lib/asn/src/VarMeasConfig.c deleted file mode 100644 index 38968022a..000000000 --- a/lte/rrc/lib/asn/src/VarMeasConfig.c +++ /dev/null @@ -1,237 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-UE-Variables" - * found in "EUTRA-UE-Variables.asn" - */ - -#include "liblte/rrc/asn/VarMeasConfig.h" - -static asn_per_constraints_t asn_PER_type_speedStatePars_constr_7 GCC_NOTUSED = { - { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_setup_9[] = { - { ATF_NOFLAGS, 0, offsetof(struct setup, mobilityStateParameters), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MobilityStateParameters, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "mobilityStateParameters" - }, - { ATF_NOFLAGS, 0, offsetof(struct setup, timeToTrigger_SF), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SpeedStateScaleFactors, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "timeToTrigger-SF" - }, -}; -static const ber_tlv_tag_t asn_DEF_setup_tags_9[] = { - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_setup_tag2el_9[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mobilityStateParameters */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* timeToTrigger-SF */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_9 = { - sizeof(struct setup), - offsetof(struct setup, _asn_ctx), - asn_MAP_setup_tag2el_9, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_setup_9 = { - "setup", - "setup", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_setup_tags_9, - sizeof(asn_DEF_setup_tags_9) - /sizeof(asn_DEF_setup_tags_9[0]) - 1, /* 1 */ - asn_DEF_setup_tags_9, /* Same as above */ - sizeof(asn_DEF_setup_tags_9) - /sizeof(asn_DEF_setup_tags_9[0]), /* 2 */ - 0, /* No PER visible constraints */ - asn_MBR_setup_9, - 2, /* Elements count */ - &asn_SPC_setup_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_speedStatePars_7[] = { - { ATF_NOFLAGS, 0, offsetof(struct speedStatePars, choice.release), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NULL, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "release" - }, - { ATF_NOFLAGS, 0, offsetof(struct speedStatePars, choice.setup), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - 0, - &asn_DEF_setup_9, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "setup" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_speedStatePars_tag2el_7[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */ -}; -static asn_CHOICE_specifics_t asn_SPC_speedStatePars_specs_7 = { - sizeof(struct speedStatePars), - offsetof(struct speedStatePars, _asn_ctx), - offsetof(struct speedStatePars, present), - sizeof(((struct speedStatePars *)0)->present), - asn_MAP_speedStatePars_tag2el_7, - 2, /* Count of tags in the map */ - 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_speedStatePars_7 = { - "speedStatePars", - "speedStatePars", - CHOICE_free, - CHOICE_print, - CHOICE_constraint, - CHOICE_decode_ber, - CHOICE_encode_der, - CHOICE_decode_xer, - CHOICE_encode_xer, - CHOICE_decode_uper, - CHOICE_encode_uper, - CHOICE_outmost_tag, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - &asn_PER_type_speedStatePars_constr_7, - asn_MBR_speedStatePars_7, - 2, /* Elements count */ - &asn_SPC_speedStatePars_specs_7 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_VarMeasConfig_1[] = { - { ATF_POINTER, 6, offsetof(struct VarMeasConfig, measIdList), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasIdToAddModList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measIdList" - }, - { ATF_POINTER, 5, offsetof(struct VarMeasConfig, measObjectList), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasObjectToAddModList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measObjectList" - }, - { ATF_POINTER, 4, offsetof(struct VarMeasConfig, reportConfigList), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ReportConfigToAddModList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "reportConfigList" - }, - { ATF_POINTER, 3, offsetof(struct VarMeasConfig, quantityConfig), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_QuantityConfig, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "quantityConfig" - }, - { ATF_POINTER, 2, offsetof(struct VarMeasConfig, s_Measure), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RSRP_Range, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "s-Measure" - }, - { ATF_POINTER, 1, offsetof(struct VarMeasConfig, speedStatePars), - (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_speedStatePars_7, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "speedStatePars" - }, -}; -static const int asn_MAP_VarMeasConfig_oms_1[] = { 0, 1, 2, 3, 4, 5 }; -static const ber_tlv_tag_t asn_DEF_VarMeasConfig_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_VarMeasConfig_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measIdList */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measObjectList */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* reportConfigList */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* quantityConfig */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* s-Measure */ - { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* speedStatePars */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_VarMeasConfig_specs_1 = { - sizeof(struct VarMeasConfig), - offsetof(struct VarMeasConfig, _asn_ctx), - asn_MAP_VarMeasConfig_tag2el_1, - 6, /* Count of tags in the map */ - asn_MAP_VarMeasConfig_oms_1, /* Optional members */ - 6, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_VarMeasConfig = { - "VarMeasConfig", - "VarMeasConfig", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_VarMeasConfig_tags_1, - sizeof(asn_DEF_VarMeasConfig_tags_1) - /sizeof(asn_DEF_VarMeasConfig_tags_1[0]), /* 1 */ - asn_DEF_VarMeasConfig_tags_1, /* Same as above */ - sizeof(asn_DEF_VarMeasConfig_tags_1) - /sizeof(asn_DEF_VarMeasConfig_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_VarMeasConfig_1, - 6, /* Elements count */ - &asn_SPC_VarMeasConfig_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/VarMeasReport.c b/lte/rrc/lib/asn/src/VarMeasReport.c deleted file mode 100644 index 2678ae6fc..000000000 --- a/lte/rrc/lib/asn/src/VarMeasReport.c +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-UE-Variables" - * found in "EUTRA-UE-Variables.asn" - */ - -#include "liblte/rrc/asn/VarMeasReport.h" - -static asn_TYPE_member_t asn_MBR_VarMeasReport_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct VarMeasReport, measId), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_MeasId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "measId" - }, - { ATF_POINTER, 1, offsetof(struct VarMeasReport, cellsTriggeredList), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellsTriggeredList, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellsTriggeredList" - }, - { ATF_NOFLAGS, 0, offsetof(struct VarMeasReport, numberOfReportsSent), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "numberOfReportsSent" - }, -}; -static const int asn_MAP_VarMeasReport_oms_1[] = { 1 }; -static const ber_tlv_tag_t asn_DEF_VarMeasReport_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_VarMeasReport_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measId */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cellsTriggeredList */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* numberOfReportsSent */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_VarMeasReport_specs_1 = { - sizeof(struct VarMeasReport), - offsetof(struct VarMeasReport, _asn_ctx), - asn_MAP_VarMeasReport_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_VarMeasReport_oms_1, /* Optional members */ - 1, 0, /* Root/Additions */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_VarMeasReport = { - "VarMeasReport", - "VarMeasReport", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_VarMeasReport_tags_1, - sizeof(asn_DEF_VarMeasReport_tags_1) - /sizeof(asn_DEF_VarMeasReport_tags_1[0]), /* 1 */ - asn_DEF_VarMeasReport_tags_1, /* Same as above */ - sizeof(asn_DEF_VarMeasReport_tags_1) - /sizeof(asn_DEF_VarMeasReport_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_VarMeasReport_1, - 3, /* Elements count */ - &asn_SPC_VarMeasReport_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/VarMeasReportList.c b/lte/rrc/lib/asn/src/VarMeasReportList.c deleted file mode 100644 index 5dabedb64..000000000 --- a/lte/rrc/lib/asn/src/VarMeasReportList.c +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-UE-Variables" - * found in "EUTRA-UE-Variables.asn" - */ - -#include "liblte/rrc/asn/VarMeasReportList.h" - -static asn_per_constraints_t asn_PER_type_VarMeasReportList_constr_1 GCC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_VarMeasReportList_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_VarMeasReport, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_VarMeasReportList_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_VarMeasReportList_specs_1 = { - sizeof(struct VarMeasReportList), - offsetof(struct VarMeasReportList, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_VarMeasReportList = { - "VarMeasReportList", - "VarMeasReportList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - SEQUENCE_OF_decode_uper, - SEQUENCE_OF_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_VarMeasReportList_tags_1, - sizeof(asn_DEF_VarMeasReportList_tags_1) - /sizeof(asn_DEF_VarMeasReportList_tags_1[0]), /* 1 */ - asn_DEF_VarMeasReportList_tags_1, /* Same as above */ - sizeof(asn_DEF_VarMeasReportList_tags_1) - /sizeof(asn_DEF_VarMeasReportList_tags_1[0]), /* 1 */ - &asn_PER_type_VarMeasReportList_constr_1, - asn_MBR_VarMeasReportList_1, - 1, /* Single element */ - &asn_SPC_VarMeasReportList_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/VarShortMAC-Input.c b/lte/rrc/lib/asn/src/VarShortMAC-Input.c deleted file mode 100644 index dd3dcd39d..000000000 --- a/lte/rrc/lib/asn/src/VarShortMAC-Input.c +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) - * From ASN.1 module "EUTRA-UE-Variables" - * found in "EUTRA-UE-Variables.asn" - */ - -#include "liblte/rrc/asn/VarShortMAC-Input.h" - -static asn_TYPE_member_t asn_MBR_VarShortMAC_Input_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct VarShortMAC_Input, cellIdentity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CellIdentity, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "cellIdentity" - }, - { ATF_NOFLAGS, 0, offsetof(struct VarShortMAC_Input, physCellId), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PhysCellId, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "physCellId" - }, - { ATF_NOFLAGS, 0, offsetof(struct VarShortMAC_Input, c_RNTI), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_C_RNTI, - 0, /* Defer constraints checking to the member type */ - 0, /* No PER visible constraints */ - 0, - "c-RNTI" - }, -}; -static const ber_tlv_tag_t asn_DEF_VarShortMAC_Input_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_VarShortMAC_Input_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellIdentity */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* physCellId */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* c-RNTI */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_VarShortMAC_Input_specs_1 = { - sizeof(struct VarShortMAC_Input), - offsetof(struct VarShortMAC_Input, _asn_ctx), - asn_MAP_VarShortMAC_Input_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_VarShortMAC_Input = { - "VarShortMAC-Input", - "VarShortMAC-Input", - SEQUENCE_free, - SEQUENCE_print, - SEQUENCE_constraint, - SEQUENCE_decode_ber, - SEQUENCE_encode_der, - SEQUENCE_decode_xer, - SEQUENCE_encode_xer, - SEQUENCE_decode_uper, - SEQUENCE_encode_uper, - 0, /* Use generic outmost tag fetcher */ - asn_DEF_VarShortMAC_Input_tags_1, - sizeof(asn_DEF_VarShortMAC_Input_tags_1) - /sizeof(asn_DEF_VarShortMAC_Input_tags_1[0]), /* 1 */ - asn_DEF_VarShortMAC_Input_tags_1, /* Same as above */ - sizeof(asn_DEF_VarShortMAC_Input_tags_1) - /sizeof(asn_DEF_VarShortMAC_Input_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - asn_MBR_VarShortMAC_Input_1, - 3, /* Elements count */ - &asn_SPC_VarShortMAC_Input_specs_1 /* Additional specs */ -}; - diff --git a/lte/rrc/lib/asn/src/asn_SEQUENCE_OF.c b/lte/rrc/lib/asn/src/asn_SEQUENCE_OF.c deleted file mode 100644 index c54c2c956..000000000 --- a/lte/rrc/lib/asn/src/asn_SEQUENCE_OF.c +++ /dev/null @@ -1,41 +0,0 @@ -/*- - * Copyright (c) 2003, 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include - -typedef A_SEQUENCE_OF(void) asn_sequence; - -void -asn_sequence_del(void *asn_sequence_of_x, int number, int _do_free) { - asn_sequence *as = (asn_sequence *)asn_sequence_of_x; - - if(as) { - void *ptr; - int n; - - if(number < 0 || number >= as->count) - return; /* Nothing to delete */ - - if(_do_free && as->free) { - ptr = as->array[number]; - } else { - ptr = 0; - } - - /* - * Shift all elements to the left to hide the gap. - */ - --as->count; - for(n = number; n < as->count; n++) - as->array[n] = as->array[n+1]; - - /* - * Invoke the third-party function only when the state - * of the parent structure is consistent. - */ - if(ptr) as->free(ptr); - } -} - diff --git a/lte/rrc/lib/asn/src/asn_SET_OF.c b/lte/rrc/lib/asn/src/asn_SET_OF.c deleted file mode 100644 index 942828459..000000000 --- a/lte/rrc/lib/asn/src/asn_SET_OF.c +++ /dev/null @@ -1,89 +0,0 @@ -/*- - * Copyright (c) 2003, 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include - -/* - * Add another element into the set. - */ -int -asn_set_add(void *asn_set_of_x, void *ptr) { - asn_anonymous_set_ *as = _A_SET_FROM_VOID(asn_set_of_x); - - if(as == 0 || ptr == 0) { - errno = EINVAL; /* Invalid arguments */ - return -1; - } - - /* - * Make sure there's enough space to insert an element. - */ - ASN_DEBUG("SET ADD: count %d, size %d",as->count,as->size); - - if(as->count == as->size) { - int _newsize = as->size ? (as->size << 1) : 4; - void *_new_arr; - _new_arr = REALLOC(as->array, _newsize * sizeof(as->array[0])); - if(_new_arr) { - as->array = (void **)_new_arr; - as->size = _newsize; - } else { - /* ENOMEM */ - return -1; - } - } - - as->array[as->count++] = ptr; - - return 0; -} - -void -asn_set_del(void *asn_set_of_x, int number, int _do_free) { - asn_anonymous_set_ *as = _A_SET_FROM_VOID(asn_set_of_x); - - if(as) { - void *ptr; - if(number < 0 || number >= as->count) - return; - - if(_do_free && as->free) { - ptr = as->array[number]; - } else { - ptr = 0; - } - - as->array[number] = as->array[--as->count]; - - /* - * Invoke the third-party function only when the state - * of the parent structure is consistent. - */ - if(ptr) as->free(ptr); - } -} - -/* - * Free the contents of the set, do not free the set itself. - */ -void -asn_set_empty(void *asn_set_of_x) { - asn_anonymous_set_ *as = _A_SET_FROM_VOID(asn_set_of_x); - - if(as) { - if(as->array) { - if(as->free) { - while(as->count--) - as->free(as->array[as->count]); - } - FREEMEM(as->array); - as->array = 0; - } - as->count = 0; - as->size = 0; - } - -} - diff --git a/lte/rrc/lib/asn/src/asn_codecs_prim.c b/lte/rrc/lib/asn/src/asn_codecs_prim.c deleted file mode 100644 index 00c33dc28..000000000 --- a/lte/rrc/lib/asn/src/asn_codecs_prim.c +++ /dev/null @@ -1,294 +0,0 @@ -/*- - * Copyright (c) 2003, 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include - -/* - * Decode an always-primitive type. - */ -asn_dec_rval_t -ber_decode_primitive(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *td, - void **sptr, const void *buf_ptr, size_t size, int tag_mode) { - ASN__PRIMITIVE_TYPE_t *st = (ASN__PRIMITIVE_TYPE_t *)*sptr; - asn_dec_rval_t rval; - ber_tlv_len_t length; - - /* - * If the structure is not there, allocate it. - */ - if(st == NULL) { - st = (ASN__PRIMITIVE_TYPE_t *)CALLOC(1, sizeof(*st)); - if(st == NULL) _ASN_DECODE_FAILED; - *sptr = (void *)st; - } - - ASN_DEBUG("Decoding %s as plain primitive (tm=%d)", - td->name, tag_mode); - - /* - * Check tags and extract value length. - */ - rval = ber_check_tags(opt_codec_ctx, td, 0, buf_ptr, size, - tag_mode, 0, &length, 0); - if(rval.code != RC_OK) - return rval; - - ASN_DEBUG("%s length is %d bytes", td->name, (int)length); - - /* - * Make sure we have this length. - */ - buf_ptr = ((const char *)buf_ptr) + rval.consumed; - size -= rval.consumed; - if(length > (ber_tlv_len_t)size) { - rval.code = RC_WMORE; - rval.consumed = 0; - return rval; - } - - st->size = (int)length; - /* The following better be optimized away. */ - if(sizeof(st->size) != sizeof(length) - && (ber_tlv_len_t)st->size != length) { - st->size = 0; - _ASN_DECODE_FAILED; - } - - st->buf = (uint8_t *)MALLOC(length + 1); - if(!st->buf) { - st->size = 0; - _ASN_DECODE_FAILED; - } - - memcpy(st->buf, buf_ptr, length); - st->buf[length] = '\0'; /* Just in case */ - - rval.code = RC_OK; - rval.consumed += length; - - ASN_DEBUG("Took %ld/%ld bytes to encode %s", - (long)rval.consumed, - (long)length, td->name); - - return rval; -} - -/* - * Encode an always-primitive type using DER. - */ -asn_enc_rval_t -der_encode_primitive(asn_TYPE_descriptor_t *td, void *sptr, - int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_enc_rval_t erval; - ASN__PRIMITIVE_TYPE_t *st = (ASN__PRIMITIVE_TYPE_t *)sptr; - - ASN_DEBUG("%s %s as a primitive type (tm=%d)", - cb?"Encoding":"Estimating", td->name, tag_mode); - - erval.encoded = der_write_tags(td, st->size, tag_mode, 0, tag, - cb, app_key); - ASN_DEBUG("%s wrote tags %d", td->name, (int)erval.encoded); - if(erval.encoded == -1) { - erval.failed_type = td; - erval.structure_ptr = sptr; - return erval; - } - - if(cb && st->buf) { - if(cb(st->buf, st->size, app_key) < 0) { - erval.encoded = -1; - erval.failed_type = td; - erval.structure_ptr = sptr; - return erval; - } - } else { - assert(st->buf || st->size == 0); - } - - erval.encoded += st->size; - _ASN_ENCODED_OK(erval); -} - -void -ASN__PRIMITIVE_TYPE_free(asn_TYPE_descriptor_t *td, void *sptr, - int contents_only) { - ASN__PRIMITIVE_TYPE_t *st = (ASN__PRIMITIVE_TYPE_t *)sptr; - - if(!td || !sptr) - return; - - ASN_DEBUG("Freeing %s as a primitive type", td->name); - - if(st->buf) - FREEMEM(st->buf); - - if(!contents_only) - FREEMEM(st); -} - - -/* - * Local internal type passed around as an argument. - */ -struct xdp_arg_s { - asn_TYPE_descriptor_t *type_descriptor; - void *struct_key; - xer_primitive_body_decoder_f *prim_body_decoder; - int decoded_something; - int want_more; -}; - - -static int -xer_decode__unexpected_tag(void *key, const void *chunk_buf, size_t chunk_size) { - struct xdp_arg_s *arg = (struct xdp_arg_s *)key; - enum xer_pbd_rval bret; - - if(arg->decoded_something) { - if(xer_is_whitespace(chunk_buf, chunk_size)) - return 0; /* Skip it. */ - /* - * Decoding was done once already. Prohibit doing it again. - */ - return -1; - } - - bret = arg->prim_body_decoder(arg->type_descriptor, - arg->struct_key, chunk_buf, chunk_size); - switch(bret) { - case XPBD_SYSTEM_FAILURE: - case XPBD_DECODER_LIMIT: - case XPBD_BROKEN_ENCODING: - break; - case XPBD_BODY_CONSUMED: - /* Tag decoded successfully */ - arg->decoded_something = 1; - /* Fall through */ - case XPBD_NOT_BODY_IGNORE: /* Safe to proceed further */ - return 0; - } - - return -1; -} - -static ssize_t -xer_decode__body(void *key, const void *chunk_buf, size_t chunk_size, int have_more) { - struct xdp_arg_s *arg = (struct xdp_arg_s *)key; - enum xer_pbd_rval bret; - - if(arg->decoded_something) { - if(xer_is_whitespace(chunk_buf, chunk_size)) - return chunk_size; - /* - * Decoding was done once already. Prohibit doing it again. - */ - return -1; - } - - if(!have_more) { - /* - * If we've received something like "1", we can't really - * tell whether it is really `1` or `123`, until we know - * that there is no more data coming. - * The have_more argument will be set to 1 once something - * like this is available to the caller of this callback: - * "1want_more = 1; - return -1; - } - - bret = arg->prim_body_decoder(arg->type_descriptor, - arg->struct_key, chunk_buf, chunk_size); - switch(bret) { - case XPBD_SYSTEM_FAILURE: - case XPBD_DECODER_LIMIT: - case XPBD_BROKEN_ENCODING: - break; - case XPBD_BODY_CONSUMED: - /* Tag decoded successfully */ - arg->decoded_something = 1; - /* Fall through */ - case XPBD_NOT_BODY_IGNORE: /* Safe to proceed further */ - return chunk_size; - } - - return -1; -} - - -asn_dec_rval_t -xer_decode_primitive(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *td, - void **sptr, - size_t struct_size, - const char *opt_mname, - const void *buf_ptr, size_t size, - xer_primitive_body_decoder_f *prim_body_decoder -) { - const char *xml_tag = opt_mname ? opt_mname : td->xml_tag; - asn_struct_ctx_t s_ctx; - struct xdp_arg_s s_arg; - asn_dec_rval_t rc; - - /* - * Create the structure if does not exist. - */ - if(!*sptr) { - *sptr = CALLOC(1, struct_size); - if(!*sptr) _ASN_DECODE_FAILED; - } - - memset(&s_ctx, 0, sizeof(s_ctx)); - s_arg.type_descriptor = td; - s_arg.struct_key = *sptr; - s_arg.prim_body_decoder = prim_body_decoder; - s_arg.decoded_something = 0; - s_arg.want_more = 0; - - rc = xer_decode_general(opt_codec_ctx, &s_ctx, &s_arg, - xml_tag, buf_ptr, size, - xer_decode__unexpected_tag, xer_decode__body); - switch(rc.code) { - case RC_OK: - if(!s_arg.decoded_something) { - char ch; - ASN_DEBUG("Primitive body is not recognized, " - "supplying empty one"); - /* - * Decoding opportunity has come and gone. - * Where's the result? - * Try to feed with empty body, see if it eats it. - */ - if(prim_body_decoder(s_arg.type_descriptor, - s_arg.struct_key, &ch, 0) - != XPBD_BODY_CONSUMED) { - /* - * This decoder does not like empty stuff. - */ - _ASN_DECODE_FAILED; - } - } - break; - case RC_WMORE: - /* - * Redo the whole thing later. - * We don't have a context to save intermediate parsing state. - */ - rc.consumed = 0; - break; - case RC_FAIL: - rc.consumed = 0; - if(s_arg.want_more) - rc.code = RC_WMORE; - else - _ASN_DECODE_FAILED; - break; - } - return rc; -} - diff --git a/lte/rrc/lib/asn/src/ber_decoder.c b/lte/rrc/lib/asn/src/ber_decoder.c deleted file mode 100644 index 3dd50904d..000000000 --- a/lte/rrc/lib/asn/src/ber_decoder.c +++ /dev/null @@ -1,283 +0,0 @@ -/*- - * Copyright (c) 2003, 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include - -#undef ADVANCE -#define ADVANCE(num_bytes) do { \ - size_t num = num_bytes; \ - ptr = ((const char *)ptr) + num; \ - size -= num; \ - consumed_myself += num; \ - } while(0) -#undef RETURN -#define RETURN(_code) do { \ - asn_dec_rval_t rval; \ - rval.code = _code; \ - if(opt_ctx) opt_ctx->step = step; /* Save context */ \ - if(_code == RC_OK || opt_ctx) \ - rval.consumed = consumed_myself; \ - else \ - rval.consumed = 0; /* Context-free */ \ - return rval; \ - } while(0) - -/* - * The BER decoder of any type. - */ -asn_dec_rval_t -ber_decode(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *type_descriptor, - void **struct_ptr, const void *ptr, size_t size) { - asn_codec_ctx_t s_codec_ctx; - - /* - * Stack checker requires that the codec context - * must be allocated on the stack. - */ - if(opt_codec_ctx) { - if(opt_codec_ctx->max_stack_size) { - s_codec_ctx = *opt_codec_ctx; - opt_codec_ctx = &s_codec_ctx; - } - } else { - /* If context is not given, be security-conscious anyway */ - memset(&s_codec_ctx, 0, sizeof(s_codec_ctx)); - s_codec_ctx.max_stack_size = _ASN_DEFAULT_STACK_MAX; - opt_codec_ctx = &s_codec_ctx; - } - - /* - * Invoke type-specific decoder. - */ - return type_descriptor->ber_decoder(opt_codec_ctx, type_descriptor, - struct_ptr, /* Pointer to the destination structure */ - ptr, size, /* Buffer and its size */ - 0 /* Default tag mode is 0 */ - ); -} - -/* - * Check the set of >> tags matches the definition. - */ -asn_dec_rval_t -ber_check_tags(asn_codec_ctx_t *opt_codec_ctx, - asn_TYPE_descriptor_t *td, asn_struct_ctx_t *opt_ctx, - const void *ptr, size_t size, int tag_mode, int last_tag_form, - ber_tlv_len_t *last_length, int *opt_tlv_form) { - ssize_t consumed_myself = 0; - ssize_t tag_len; - ssize_t len_len; - ber_tlv_tag_t tlv_tag; - ber_tlv_len_t tlv_len; - ber_tlv_len_t limit_len = -1; - int expect_00_terminators = 0; - int tlv_constr = -1; /* If CHOICE, opt_tlv_form is not given */ - int step = opt_ctx ? opt_ctx->step : 0; /* Where we left previously */ - int tagno; - - /* - * Make sure we didn't exceed the maximum stack size. - */ - if(_ASN_STACK_OVERFLOW_CHECK(opt_codec_ctx)) - RETURN(RC_FAIL); - - /* - * So what does all this implicit skip stuff mean? - * Imagine two types, - * A ::= [5] IMPLICIT T - * B ::= [2] EXPLICIT T - * Where T is defined as - * T ::= [4] IMPLICIT SEQUENCE { ... } - * - * Let's say, we are starting to decode type A, given the - * following TLV stream: <5> <0>. What does this mean? - * It means that the type A contains type T which is, - * in turn, empty. - * Remember though, that we are still in A. We cannot - * just pass control to the type T decoder. Why? Because - * the type T decoder expects <4> <0>, not <5> <0>. - * So, we must make sure we are going to receive <5> while - * still in A, then pass control to the T decoder, indicating - * that the tag <4> was implicitly skipped. The decoder of T - * hence will be prepared to treat <4> as valid tag, and decode - * it appropriately. - */ - - tagno = step /* Continuing where left previously */ - + (tag_mode==1?-1:0) - ; - ASN_DEBUG("ber_check_tags(%s, size=%ld, tm=%d, step=%d, tagno=%d)", - td->name, (long)size, tag_mode, step, tagno); - /* assert(td->tags_count >= 1) May not be the case for CHOICE or ANY */ - - if(tag_mode == 0 && tagno == td->tags_count) { - /* - * This must be the _untagged_ ANY type, - * which outermost tag isn't known in advance. - * Fetch the tag and length separately. - */ - tag_len = ber_fetch_tag(ptr, size, &tlv_tag); - switch(tag_len) { - case -1: RETURN(RC_FAIL); - case 0: RETURN(RC_WMORE); - } - tlv_constr = BER_TLV_CONSTRUCTED(ptr); - len_len = ber_fetch_length(tlv_constr, - (const char *)ptr + tag_len, size - tag_len, &tlv_len); - switch(len_len) { - case -1: RETURN(RC_FAIL); - case 0: RETURN(RC_WMORE); - } - ASN_DEBUG("Advancing %ld in ANY case", - (long)(tag_len + len_len)); - ADVANCE(tag_len + len_len); - } else { - assert(tagno < td->tags_count); /* At least one loop */ - } - for((void)tagno; tagno < td->tags_count; tagno++, step++) { - - /* - * Fetch and process T from TLV. - */ - tag_len = ber_fetch_tag(ptr, size, &tlv_tag); - ASN_DEBUG("Fetching tag from {%p,%ld}: " - "len %ld, step %d, tagno %d got %s", - ptr, (long)size, - (long)tag_len, step, tagno, - ber_tlv_tag_string(tlv_tag)); - switch(tag_len) { - case -1: RETURN(RC_FAIL); - case 0: RETURN(RC_WMORE); - } - - tlv_constr = BER_TLV_CONSTRUCTED(ptr); - - /* - * If {I}, don't check anything. - * If {I,B,C}, check B and C unless we're at I. - */ - if(tag_mode != 0 && step == 0) { - /* - * We don't expect tag to match here. - * It's just because we don't know how the tag - * is supposed to look like. - */ - } else { - assert(tagno >= 0); /* Guaranteed by the code above */ - if(tlv_tag != td->tags[tagno]) { - /* - * Unexpected tag. Too bad. - */ - ASN_DEBUG("Expected: %s, " - "expectation failed (tn=%d, tm=%d)", - ber_tlv_tag_string(td->tags[tagno]), - tagno, tag_mode - ); - RETURN(RC_FAIL); - } - } - - /* - * Attention: if there are more tags expected, - * ensure that the current tag is presented - * in constructed form (it contains other tags!). - * If this one is the last one, check that the tag form - * matches the one given in descriptor. - */ - if(tagno < (td->tags_count - 1)) { - if(tlv_constr == 0) { - ASN_DEBUG("tlv_constr = %d, expfail", - tlv_constr); - RETURN(RC_FAIL); - } - } else { - if(last_tag_form != tlv_constr - && last_tag_form != -1) { - ASN_DEBUG("last_tag_form %d != %d", - last_tag_form, tlv_constr); - RETURN(RC_FAIL); - } - } - - /* - * Fetch and process L from TLV. - */ - len_len = ber_fetch_length(tlv_constr, - (const char *)ptr + tag_len, size - tag_len, &tlv_len); - ASN_DEBUG("Fetchinig len = %ld", (long)len_len); - switch(len_len) { - case -1: RETURN(RC_FAIL); - case 0: RETURN(RC_WMORE); - } - - /* - * FIXME - * As of today, the chain of tags - * must either contain several indefinite length TLVs, - * or several definite length ones. - * No mixing is allowed. - */ - if(tlv_len == -1) { - /* - * Indefinite length. - */ - if(limit_len == -1) { - expect_00_terminators++; - } else { - ASN_DEBUG("Unexpected indefinite length " - "in a chain of definite lengths"); - RETURN(RC_FAIL); - } - ADVANCE(tag_len + len_len); - continue; - } else { - if(expect_00_terminators) { - ASN_DEBUG("Unexpected definite length " - "in a chain of indefinite lengths"); - RETURN(RC_FAIL); - } - } - - /* - * Check that multiple TLVs specify ever decreasing length, - * which is consistent. - */ - if(limit_len == -1) { - limit_len = tlv_len + tag_len + len_len; - if(limit_len < 0) { - /* Too great tlv_len value? */ - RETURN(RC_FAIL); - } - } else if(limit_len != tlv_len + tag_len + len_len) { - /* - * Inner TLV specifies length which is inconsistent - * with the outer TLV's length value. - */ - ASN_DEBUG("Outer TLV is %ld and inner is %ld", - (long)limit_len, (long)tlv_len); - RETURN(RC_FAIL); - } - - ADVANCE(tag_len + len_len); - - limit_len -= (tag_len + len_len); - if((ssize_t)size > limit_len) { - /* - * Make sure that we won't consume more bytes - * from the parent frame than the inferred limit. - */ - size = limit_len; - } - } - - if(opt_tlv_form) - *opt_tlv_form = tlv_constr; - if(expect_00_terminators) - *last_length = -expect_00_terminators; - else - *last_length = tlv_len; - - RETURN(RC_OK); -} diff --git a/lte/rrc/lib/asn/src/ber_tlv_length.c b/lte/rrc/lib/asn/src/ber_tlv_length.c deleted file mode 100644 index b50f883a1..000000000 --- a/lte/rrc/lib/asn/src/ber_tlv_length.c +++ /dev/null @@ -1,178 +0,0 @@ -/*- - * Copyright (c) 2003, 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include -#include - -ssize_t -ber_fetch_length(int _is_constructed, const void *bufptr, size_t size, - ber_tlv_len_t *len_r) { - const uint8_t *buf = (const uint8_t *)bufptr; - unsigned oct; - - if(size == 0) - return 0; /* Want more */ - - oct = *(const uint8_t *)buf; - if((oct & 0x80) == 0) { - /* - * Short definite length. - */ - *len_r = oct; /* & 0x7F */ - return 1; - } else { - ber_tlv_len_t len; - size_t skipped; - - if(_is_constructed && oct == 0x80) { - *len_r = -1; /* Indefinite length */ - return 1; - } - - if(oct == 0xff) { - /* Reserved in standard for future use. */ - return -1; - } - - oct &= 0x7F; /* Leave only the 7 LS bits */ - for(len = 0, buf++, skipped = 1; - oct && (++skipped <= size); buf++, oct--) { - - len = (len << 8) | *buf; - if(len < 0 - || (len >> ((8 * sizeof(len)) - 8) && oct > 1)) { - /* - * Too large length value. - */ - return -1; - } - } - - if(oct == 0) { - ber_tlv_len_t lenplusepsilon = (size_t)len + 1024; - /* - * Here length may be very close or equal to 2G. - * However, the arithmetics used in some decoders - * may add some (small) quantities to the length, - * to check the resulting value against some limits. - * This may result in integer wrap-around, which - * we try to avoid by checking it earlier here. - */ - if(lenplusepsilon < 0) { - /* Too large length value */ - return -1; - } - - *len_r = len; - return skipped; - } - - return 0; /* Want more */ - } - -} - -ssize_t -ber_skip_length(asn_codec_ctx_t *opt_codec_ctx, - int _is_constructed, const void *ptr, size_t size) { - ber_tlv_len_t vlen; /* Length of V in TLV */ - ssize_t tl; /* Length of L in TLV */ - ssize_t ll; /* Length of L in TLV */ - size_t skip; - - /* - * Make sure we didn't exceed the maximum stack size. - */ - if(_ASN_STACK_OVERFLOW_CHECK(opt_codec_ctx)) - return -1; - - /* - * Determine the size of L in TLV. - */ - ll = ber_fetch_length(_is_constructed, ptr, size, &vlen); - if(ll <= 0) return ll; - - /* - * Definite length. - */ - if(vlen >= 0) { - skip = ll + vlen; - if(skip > size) - return 0; /* Want more */ - return skip; - } - - /* - * Indefinite length! - */ - ASN_DEBUG("Skipping indefinite length"); - for(skip = ll, ptr = ((const char *)ptr) + ll, size -= ll;;) { - ber_tlv_tag_t tag; - - /* Fetch the tag */ - tl = ber_fetch_tag(ptr, size, &tag); - if(tl <= 0) return tl; - - ll = ber_skip_length(opt_codec_ctx, - BER_TLV_CONSTRUCTED(ptr), - ((const char *)ptr) + tl, size - tl); - if(ll <= 0) return ll; - - skip += tl + ll; - - /* - * This may be the end of the indefinite length structure, - * two consecutive 0 octets. - * Check if it is true. - */ - if(((const uint8_t *)ptr)[0] == 0 - && ((const uint8_t *)ptr)[1] == 0) - return skip; - - ptr = ((const char *)ptr) + tl + ll; - size -= tl + ll; - } - - /* UNREACHABLE */ -} - -size_t -der_tlv_length_serialize(ber_tlv_len_t len, void *bufp, size_t size) { - size_t required_size; /* Size of len encoding */ - uint8_t *buf = (uint8_t *)bufp; - uint8_t *end; - size_t i; - - if(len <= 127) { - /* Encoded in 1 octet */ - if(size) *buf = (uint8_t)len; - return 1; - } - - /* - * Compute the size of the subsequent bytes. - */ - for(required_size = 1, i = 8; i < 8 * sizeof(len); i += 8) { - if(len >> i) - required_size++; - else - break; - } - - if(size <= required_size) - return required_size + 1; - - *buf++ = (uint8_t)(0x80 | required_size); /* Length of the encoding */ - - /* - * Produce the len encoding, space permitting. - */ - end = buf + required_size; - for(i -= 8; buf < end; i -= 8, buf++) - *buf = (uint8_t)(len >> i); - - return required_size + 1; -} - diff --git a/lte/rrc/lib/asn/src/ber_tlv_tag.c b/lte/rrc/lib/asn/src/ber_tlv_tag.c deleted file mode 100644 index 662410f2d..000000000 --- a/lte/rrc/lib/asn/src/ber_tlv_tag.c +++ /dev/null @@ -1,142 +0,0 @@ -/*- - * Copyright (c) 2003, 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include - -ssize_t -ber_fetch_tag(const void *ptr, size_t size, ber_tlv_tag_t *tag_r) { - ber_tlv_tag_t val; - ber_tlv_tag_t tclass; - size_t skipped; - - if(size == 0) - return 0; - - val = *(const uint8_t *)ptr; - tclass = (val >> 6); - if((val &= 0x1F) != 0x1F) { - /* - * Simple form: everything encoded in a single octet. - * Tag Class is encoded using two least significant bits. - */ - *tag_r = (val << 2) | tclass; - return 1; - } - - /* - * Each octet contains 7 bits of useful information. - * The MSB is 0 if it is the last octet of the tag. - */ - for(val = 0, ptr = ((const char *)ptr) + 1, skipped = 2; - skipped <= size; - ptr = ((const char *)ptr) + 1, skipped++) { - unsigned int oct = *(const uint8_t *)ptr; - if(oct & 0x80) { - val = (val << 7) | (oct & 0x7F); - /* - * Make sure there are at least 9 bits spare - * at the MS side of a value. - */ - if(val >> ((8 * sizeof(val)) - 9)) { - /* - * We would not be able to accomodate - * any more tag bits. - */ - return -1; - } - } else { - val = (val << 7) | oct; - *tag_r = (val << 2) | tclass; - return skipped; - } - } - - return 0; /* Want more */ -} - -ssize_t -ber_tlv_tag_fwrite(ber_tlv_tag_t tag, FILE *f) { - char buf[sizeof("[APPLICATION ]") + 32]; - ssize_t ret; - - ret = ber_tlv_tag_snprint(tag, buf, sizeof(buf)); - if(ret >= (ssize_t)sizeof(buf) || ret < 2) { - errno = EPERM; - return -1; - } - - return fwrite(buf, 1, ret, f); -} - -ssize_t -ber_tlv_tag_snprint(ber_tlv_tag_t tag, char *buf, size_t size) { - char *type = 0; - int ret; - - switch(tag & 0x3) { - case ASN_TAG_CLASS_UNIVERSAL: type = "UNIVERSAL "; break; - case ASN_TAG_CLASS_APPLICATION: type = "APPLICATION "; break; - case ASN_TAG_CLASS_CONTEXT: type = ""; break; - case ASN_TAG_CLASS_PRIVATE: type = "PRIVATE "; break; - } - - ret = snprintf(buf, size, "[%s%u]", type, ((unsigned)tag) >> 2); - if(ret <= 0 && size) buf[0] = '\0'; /* against broken libc's */ - - return ret; -} - -char * -ber_tlv_tag_string(ber_tlv_tag_t tag) { - static char buf[sizeof("[APPLICATION ]") + 32]; - - (void)ber_tlv_tag_snprint(tag, buf, sizeof(buf)); - - return buf; -} - - -size_t -ber_tlv_tag_serialize(ber_tlv_tag_t tag, void *bufp, size_t size) { - int tclass = BER_TAG_CLASS(tag); - ber_tlv_tag_t tval = BER_TAG_VALUE(tag); - uint8_t *buf = (uint8_t *)bufp; - uint8_t *end; - size_t required_size; - size_t i; - - if(tval <= 30) { - /* Encoded in 1 octet */ - if(size) buf[0] = (tclass << 6) | tval; - return 1; - } else if(size) { - *buf++ = (tclass << 6) | 0x1F; - size--; - } - - /* - * Compute the size of the subsequent bytes. - */ - for(required_size = 1, i = 7; i < 8 * sizeof(tval); i += 7) { - if(tval >> i) - required_size++; - else - break; - } - - if(size < required_size) - return required_size + 1; - - /* - * Fill in the buffer, space permitting. - */ - end = buf + required_size - 1; - for(i -= 7; buf < end; i -= 7, buf++) - *buf = 0x80 | ((tval >> i) & 0x7F); - *buf = (tval & 0x7F); /* Last octet without high bit */ - - return required_size + 1; -} - diff --git a/lte/rrc/lib/asn/src/constr_CHOICE.c b/lte/rrc/lib/asn/src/constr_CHOICE.c deleted file mode 100644 index 47675f277..000000000 --- a/lte/rrc/lib/asn/src/constr_CHOICE.c +++ /dev/null @@ -1,1110 +0,0 @@ -/* - * Copyright (c) 2003, 2004, 2005, 2006, 2007 Lev Walkin . - * All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include -#include - -/* - * Number of bytes left for this structure. - * (ctx->left) indicates the number of bytes _transferred_ for the structure. - * (size) contains the number of bytes in the buffer passed. - */ -#define LEFT ((size<(size_t)ctx->left)?size:(size_t)ctx->left) - -/* - * If the subprocessor function returns with an indication that it wants - * more data, it may well be a fatal decoding problem, because the - * size is constrained by the 's L, even if the buffer size allows - * reading more data. - * For example, consider the buffer containing the following TLVs: - * ... - * The TLV length clearly indicates that one byte is expected in V, but - * if the V processor returns with "want more data" even if the buffer - * contains way more data than the V processor have seen. - */ -#define SIZE_VIOLATION (ctx->left >= 0 && (size_t)ctx->left <= size) - -/* - * This macro "eats" the part of the buffer which is definitely "consumed", - * i.e. was correctly converted into local representation or rightfully skipped. - */ -#undef ADVANCE -#define ADVANCE(num_bytes) do { \ - size_t num = num_bytes; \ - ptr = ((const char *)ptr) + num;\ - size -= num; \ - if(ctx->left >= 0) \ - ctx->left -= num; \ - consumed_myself += num; \ - } while(0) - -/* - * Switch to the next phase of parsing. - */ -#undef NEXT_PHASE -#define NEXT_PHASE(ctx) do { \ - ctx->phase++; \ - ctx->step = 0; \ - } while(0) - -/* - * Return a standardized complex structure. - */ -#undef RETURN -#define RETURN(_code) do { \ - rval.code = _code; \ - rval.consumed = consumed_myself;\ - return rval; \ - } while(0) - -/* - * See the definitions. - */ -static int _fetch_present_idx(const void *struct_ptr, int off, int size); -static void _set_present_idx(void *sptr, int offset, int size, int pres); - -/* - * Tags are canonically sorted in the tag to member table. - */ -static int -_search4tag(const void *ap, const void *bp) { - const asn_TYPE_tag2member_t *a = (const asn_TYPE_tag2member_t *)ap; - const asn_TYPE_tag2member_t *b = (const asn_TYPE_tag2member_t *)bp; - - int a_class = BER_TAG_CLASS(a->el_tag); - int b_class = BER_TAG_CLASS(b->el_tag); - - if(a_class == b_class) { - ber_tlv_tag_t a_value = BER_TAG_VALUE(a->el_tag); - ber_tlv_tag_t b_value = BER_TAG_VALUE(b->el_tag); - - if(a_value == b_value) - return 0; - else if(a_value < b_value) - return -1; - else - return 1; - } else if(a_class < b_class) { - return -1; - } else { - return 1; - } -} - -/* - * The decoder of the CHOICE type. - */ -asn_dec_rval_t -CHOICE_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **struct_ptr, const void *ptr, size_t size, int tag_mode) { - /* - * Bring closer parts of structure description. - */ - asn_CHOICE_specifics_t *specs = (asn_CHOICE_specifics_t *)td->specifics; - asn_TYPE_member_t *elements = td->elements; - - /* - * Parts of the structure being constructed. - */ - void *st = *struct_ptr; /* Target structure. */ - asn_struct_ctx_t *ctx; /* Decoder context */ - - ber_tlv_tag_t tlv_tag; /* T from TLV */ - ssize_t tag_len; /* Length of TLV's T */ - asn_dec_rval_t rval; /* Return code from subparsers */ - - ssize_t consumed_myself = 0; /* Consumed bytes from ptr */ - - ASN_DEBUG("Decoding %s as CHOICE", td->name); - - /* - * Create the target structure if it is not present already. - */ - if(st == 0) { - st = *struct_ptr = CALLOC(1, specs->struct_size); - if(st == 0) { - RETURN(RC_FAIL); - } - } - - /* - * Restore parsing context. - */ - ctx = (asn_struct_ctx_t *)((char *)st + specs->ctx_offset); - - /* - * Start to parse where left previously - */ - switch(ctx->phase) { - case 0: - /* - * PHASE 0. - * Check that the set of tags associated with given structure - * perfectly fits our expectations. - */ - - if(tag_mode || td->tags_count) { - rval = ber_check_tags(opt_codec_ctx, td, ctx, ptr, size, - tag_mode, -1, &ctx->left, 0); - if(rval.code != RC_OK) { - ASN_DEBUG("%s tagging check failed: %d", - td->name, rval.code); - return rval; - } - - if(ctx->left >= 0) { - /* ?Substracted below! */ - ctx->left += rval.consumed; - } - ADVANCE(rval.consumed); - } else { - ctx->left = -1; - } - - NEXT_PHASE(ctx); - - ASN_DEBUG("Structure consumes %ld bytes, buffer %ld", - (long)ctx->left, (long)size); - - /* Fall through */ - case 1: - /* - * Fetch the T from TLV. - */ - tag_len = ber_fetch_tag(ptr, LEFT, &tlv_tag); - ASN_DEBUG("In %s CHOICE tag length %d", td->name, (int)tag_len); - switch(tag_len) { - case 0: if(!SIZE_VIOLATION) RETURN(RC_WMORE); - /* Fall through */ - case -1: RETURN(RC_FAIL); - } - - do { - asn_TYPE_tag2member_t *t2m; - asn_TYPE_tag2member_t key; - - key.el_tag = tlv_tag; - t2m = (asn_TYPE_tag2member_t *)bsearch(&key, - specs->tag2el, specs->tag2el_count, - sizeof(specs->tag2el[0]), _search4tag); - if(t2m) { - /* - * Found the element corresponding to the tag. - */ - NEXT_PHASE(ctx); - ctx->step = t2m->el_no; - break; - } else if(specs->ext_start == -1) { - ASN_DEBUG("Unexpected tag %s " - "in non-extensible CHOICE %s", - ber_tlv_tag_string(tlv_tag), td->name); - RETURN(RC_FAIL); - } else { - /* Skip this tag */ - ssize_t skip; - - ASN_DEBUG("Skipping unknown tag %s", - ber_tlv_tag_string(tlv_tag)); - - skip = ber_skip_length(opt_codec_ctx, - BER_TLV_CONSTRUCTED(ptr), - (const char *)ptr + tag_len, - LEFT - tag_len); - - switch(skip) { - case 0: if(!SIZE_VIOLATION) RETURN(RC_WMORE); - /* Fall through */ - case -1: RETURN(RC_FAIL); - } - - ADVANCE(skip + tag_len); - RETURN(RC_OK); - } - } while(0); - - case 2: - /* - * PHASE 2. - * Read in the element. - */ - do { - asn_TYPE_member_t *elm;/* CHOICE's element */ - void *memb_ptr; /* Pointer to the member */ - void **memb_ptr2; /* Pointer to that pointer */ - - elm = &elements[ctx->step]; - - /* - * Compute the position of the member inside a structure, - * and also a type of containment (it may be contained - * as pointer or using inline inclusion). - */ - if(elm->flags & ATF_POINTER) { - /* Member is a pointer to another structure */ - memb_ptr2 = (void **)((char *)st + elm->memb_offset); - } else { - /* - * A pointer to a pointer - * holding the start of the structure - */ - memb_ptr = (char *)st + elm->memb_offset; - memb_ptr2 = &memb_ptr; - } - /* Set presence to be able to free it properly at any time */ - _set_present_idx(st, specs->pres_offset, - specs->pres_size, ctx->step + 1); - /* - * Invoke the member fetch routine according to member's type - */ - rval = elm->type->ber_decoder(opt_codec_ctx, elm->type, - memb_ptr2, ptr, LEFT, elm->tag_mode); - switch(rval.code) { - case RC_OK: - break; - case RC_WMORE: /* More data expected */ - if(!SIZE_VIOLATION) { - ADVANCE(rval.consumed); - RETURN(RC_WMORE); - } - RETURN(RC_FAIL); - case RC_FAIL: /* Fatal error */ - RETURN(rval.code); - } /* switch(rval) */ - - ADVANCE(rval.consumed); - } while(0); - - NEXT_PHASE(ctx); - - /* Fall through */ - case 3: - ASN_DEBUG("CHOICE %s Leftover: %ld, size = %ld, tm=%d, tc=%d", - td->name, (long)ctx->left, (long)size, - tag_mode, td->tags_count); - - if(ctx->left > 0) { - /* - * The type must be fully decoded - * by the CHOICE member-specific decoder. - */ - RETURN(RC_FAIL); - } - - if(ctx->left == -1 - && !(tag_mode || td->tags_count)) { - /* - * This is an untagged CHOICE. - * It doesn't contain nothing - * except for the member itself, including all its tags. - * The decoding is completed. - */ - NEXT_PHASE(ctx); - break; - } - - /* - * Read in the "end of data chunks"'s. - */ - while(ctx->left < 0) { - ssize_t tl; - - tl = ber_fetch_tag(ptr, LEFT, &tlv_tag); - switch(tl) { - case 0: if(!SIZE_VIOLATION) RETURN(RC_WMORE); - /* Fall through */ - case -1: RETURN(RC_FAIL); - } - - /* - * Expected <0><0>... - */ - if(((const uint8_t *)ptr)[0] == 0) { - if(LEFT < 2) { - if(SIZE_VIOLATION) - RETURN(RC_FAIL); - else - RETURN(RC_WMORE); - } else if(((const uint8_t *)ptr)[1] == 0) { - /* - * Correctly finished with <0><0>. - */ - ADVANCE(2); - ctx->left++; - continue; - } - } else { - ASN_DEBUG("Unexpected continuation in %s", - td->name); - RETURN(RC_FAIL); - } - - /* UNREACHABLE */ - } - - NEXT_PHASE(ctx); - case 4: - /* No meaningful work here */ - break; - } - - RETURN(RC_OK); -} - -asn_enc_rval_t -CHOICE_encode_der(asn_TYPE_descriptor_t *td, void *sptr, - int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_CHOICE_specifics_t *specs = (asn_CHOICE_specifics_t *)td->specifics; - asn_TYPE_member_t *elm; /* CHOICE element */ - asn_enc_rval_t erval; - void *memb_ptr; - size_t computed_size = 0; - int present; - - if(!sptr) _ASN_ENCODE_FAILED; - - ASN_DEBUG("%s %s as CHOICE", - cb?"Encoding":"Estimating", td->name); - - present = _fetch_present_idx(sptr, - specs->pres_offset, specs->pres_size); - - /* - * If the structure was not initialized, it cannot be encoded: - * can't deduce what to encode in the choice type. - */ - if(present <= 0 || present > td->elements_count) { - if(present == 0 && td->elements_count == 0) { - /* The CHOICE is empty?! */ - erval.encoded = 0; - _ASN_ENCODED_OK(erval); - } - _ASN_ENCODE_FAILED; - } - - /* - * Seek over the present member of the structure. - */ - elm = &td->elements[present-1]; - if(elm->flags & ATF_POINTER) { - memb_ptr = *(void **)((char *)sptr + elm->memb_offset); - if(memb_ptr == 0) { - if(elm->optional) { - erval.encoded = 0; - _ASN_ENCODED_OK(erval); - } - /* Mandatory element absent */ - _ASN_ENCODE_FAILED; - } - } else { - memb_ptr = (void *)((char *)sptr + elm->memb_offset); - } - - /* - * If the CHOICE itself is tagged EXPLICIT: - * T ::= [2] EXPLICIT CHOICE { ... } - * Then emit the appropriate tags. - */ - if(tag_mode == 1 || td->tags_count) { - /* - * For this, we need to pre-compute the member. - */ - ssize_t ret; - - /* Encode member with its tag */ - erval = elm->type->der_encoder(elm->type, memb_ptr, - elm->tag_mode, elm->tag, 0, 0); - if(erval.encoded == -1) - return erval; - - /* Encode CHOICE with parent or my own tag */ - ret = der_write_tags(td, erval.encoded, tag_mode, 1, tag, - cb, app_key); - if(ret == -1) - _ASN_ENCODE_FAILED; - computed_size += ret; - } - - /* - * Encode the single underlying member. - */ - erval = elm->type->der_encoder(elm->type, memb_ptr, - elm->tag_mode, elm->tag, cb, app_key); - if(erval.encoded == -1) - return erval; - - ASN_DEBUG("Encoded CHOICE member in %ld bytes (+%ld)", - (long)erval.encoded, (long)computed_size); - - erval.encoded += computed_size; - - return erval; -} - -ber_tlv_tag_t -CHOICE_outmost_tag(asn_TYPE_descriptor_t *td, const void *ptr, int tag_mode, ber_tlv_tag_t tag) { - asn_CHOICE_specifics_t *specs = (asn_CHOICE_specifics_t *)td->specifics; - int present; - - assert(tag_mode == 0); (void)tag_mode; - assert(tag == 0); (void)tag; - - /* - * Figure out which CHOICE element is encoded. - */ - present = _fetch_present_idx(ptr, specs->pres_offset, specs->pres_size); - - if(present > 0 || present <= td->elements_count) { - asn_TYPE_member_t *elm = &td->elements[present-1]; - const void *memb_ptr; - - if(elm->flags & ATF_POINTER) { - memb_ptr = *(const void * const *) - ((const char *)ptr + elm->memb_offset); - } else { - memb_ptr = (const void *) - ((const char *)ptr + elm->memb_offset); - } - - return asn_TYPE_outmost_tag(elm->type, memb_ptr, - elm->tag_mode, elm->tag); - } else { - return (ber_tlv_tag_t)-1; - } -} - -int -CHOICE_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - asn_CHOICE_specifics_t *specs = (asn_CHOICE_specifics_t *)td->specifics; - int present; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - /* - * Figure out which CHOICE element is encoded. - */ - present = _fetch_present_idx(sptr, specs->pres_offset,specs->pres_size); - if(present > 0 && present <= td->elements_count) { - asn_TYPE_member_t *elm = &td->elements[present-1]; - const void *memb_ptr; - - if(elm->flags & ATF_POINTER) { - memb_ptr = *(const void * const *)((const char *)sptr + elm->memb_offset); - if(!memb_ptr) { - if(elm->optional) - return 0; - _ASN_CTFAIL(app_key, td, sptr, - "%s: mandatory CHOICE element %s absent (%s:%d)", - td->name, elm->name, __FILE__, __LINE__); - return -1; - } - } else { - memb_ptr = (const void *)((const char *)sptr + elm->memb_offset); - } - - if(elm->memb_constraints) { - return elm->memb_constraints(elm->type, memb_ptr, - ctfailcb, app_key); - } else { - int ret = elm->type->check_constraints(elm->type, - memb_ptr, ctfailcb, app_key); - /* - * Cannot inherit it eralier: - * need to make sure we get the updated version. - */ - elm->memb_constraints = elm->type->check_constraints; - return ret; - } - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: no CHOICE element given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -#undef XER_ADVANCE -#define XER_ADVANCE(num_bytes) do { \ - size_t num = num_bytes; \ - buf_ptr = ((const char *)buf_ptr) + num;\ - size -= num; \ - consumed_myself += num; \ - } while(0) - -/* - * Decode the XER (XML) data. - */ -asn_dec_rval_t -CHOICE_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **struct_ptr, const char *opt_mname, - const void *buf_ptr, size_t size) { - /* - * Bring closer parts of structure description. - */ - asn_CHOICE_specifics_t *specs = (asn_CHOICE_specifics_t *)td->specifics; - const char *xml_tag = opt_mname ? opt_mname : td->xml_tag; - - /* - * Parts of the structure being constructed. - */ - void *st = *struct_ptr; /* Target structure. */ - asn_struct_ctx_t *ctx; /* Decoder context */ - - asn_dec_rval_t rval; /* Return value of a decoder */ - ssize_t consumed_myself = 0; /* Consumed bytes from ptr */ - int edx; /* Element index */ - - /* - * Create the target structure if it is not present already. - */ - if(st == 0) { - st = *struct_ptr = CALLOC(1, specs->struct_size); - if(st == 0) RETURN(RC_FAIL); - } - - /* - * Restore parsing context. - */ - ctx = (asn_struct_ctx_t *)((char *)st + specs->ctx_offset); - if(ctx->phase == 0 && !*xml_tag) - ctx->phase = 1; /* Skip the outer tag checking phase */ - - /* - * Phases of XER/XML processing: - * Phase 0: Check that the opening tag matches our expectations. - * Phase 1: Processing body and reacting on closing tag. - * Phase 2: Processing inner type. - * Phase 3: Only waiting for closing tag. - * Phase 4: Skipping unknown extensions. - * Phase 5: PHASED OUT - */ - for(edx = ctx->step; ctx->phase <= 4;) { - pxer_chunk_type_e ch_type; /* XER chunk type */ - ssize_t ch_size; /* Chunk size */ - xer_check_tag_e tcv; /* Tag check value */ - asn_TYPE_member_t *elm; - - /* - * Go inside the member. - */ - if(ctx->phase == 2) { - asn_dec_rval_t tmprval; - void *memb_ptr; /* Pointer to the member */ - void **memb_ptr2; /* Pointer to that pointer */ - - elm = &td->elements[edx]; - - if(elm->flags & ATF_POINTER) { - /* Member is a pointer to another structure */ - memb_ptr2 = (void **)((char *)st - + elm->memb_offset); - } else { - memb_ptr = (char *)st + elm->memb_offset; - memb_ptr2 = &memb_ptr; - } - - /* Start/Continue decoding the inner member */ - tmprval = elm->type->xer_decoder(opt_codec_ctx, - elm->type, memb_ptr2, elm->name, - buf_ptr, size); - XER_ADVANCE(tmprval.consumed); - ASN_DEBUG("XER/CHOICE: itdf: [%s] code=%d", - elm->type->name, tmprval.code); - if(tmprval.code != RC_OK) - RETURN(tmprval.code); - assert(_fetch_present_idx(st, - specs->pres_offset, specs->pres_size) == 0); - /* Record what we've got */ - _set_present_idx(st, - specs->pres_offset, specs->pres_size, edx + 1); - ctx->phase = 3; - /* Fall through */ - } - - /* No need to wait for closing tag; special mode. */ - if(ctx->phase == 3 && !*xml_tag) { - ctx->phase = 5; /* Phase out */ - RETURN(RC_OK); - } - - /* - * Get the next part of the XML stream. - */ - ch_size = xer_next_token(&ctx->context, buf_ptr, size, &ch_type); - switch(ch_size) { - case -1: RETURN(RC_FAIL); - case 0: RETURN(RC_WMORE); - default: - switch(ch_type) { - case PXER_COMMENT: /* Got XML comment */ - case PXER_TEXT: /* Ignore free-standing text */ - XER_ADVANCE(ch_size); /* Skip silently */ - continue; - case PXER_TAG: - break; /* Check the rest down there */ - } - } - - tcv = xer_check_tag(buf_ptr, ch_size, xml_tag); - ASN_DEBUG("XER/CHOICE checked [%c%c%c%c] vs [%s], tcv=%d", - ch_size>0?((const uint8_t *)buf_ptr)[0]:'?', - ch_size>1?((const uint8_t *)buf_ptr)[1]:'?', - ch_size>2?((const uint8_t *)buf_ptr)[2]:'?', - ch_size>3?((const uint8_t *)buf_ptr)[3]:'?', - xml_tag, tcv); - - /* Skip the extensions section */ - if(ctx->phase == 4) { - ASN_DEBUG("skip_unknown(%d, %ld)", - tcv, (long)ctx->left); - switch(xer_skip_unknown(tcv, &ctx->left)) { - case -1: - ctx->phase = 5; - RETURN(RC_FAIL); - continue; - case 1: - ctx->phase = 3; - /* Fall through */ - case 0: - XER_ADVANCE(ch_size); - continue; - case 2: - ctx->phase = 3; - break; - } - } - - switch(tcv) { - case XCT_BOTH: - break; /* No CHOICE? */ - case XCT_CLOSING: - if(ctx->phase != 3) - break; - XER_ADVANCE(ch_size); - ctx->phase = 5; /* Phase out */ - RETURN(RC_OK); - case XCT_OPENING: - if(ctx->phase == 0) { - XER_ADVANCE(ch_size); - ctx->phase = 1; /* Processing body phase */ - continue; - } - /* Fall through */ - case XCT_UNKNOWN_OP: - case XCT_UNKNOWN_BO: - - if(ctx->phase != 1) - break; /* Really unexpected */ - - /* - * Search which inner member corresponds to this tag. - */ - for(edx = 0; edx < td->elements_count; edx++) { - elm = &td->elements[edx]; - tcv = xer_check_tag(buf_ptr,ch_size,elm->name); - switch(tcv) { - case XCT_BOTH: - case XCT_OPENING: - /* - * Process this member. - */ - ctx->step = edx; - ctx->phase = 2; - break; - case XCT_UNKNOWN_OP: - case XCT_UNKNOWN_BO: - continue; - default: - edx = td->elements_count; - break; /* Phase out */ - } - break; - } - if(edx != td->elements_count) - continue; - - /* It is expected extension */ - if(specs->ext_start != -1) { - ASN_DEBUG("Got anticipated extension"); - /* - * Check for (XCT_BOTH or XCT_UNKNOWN_BO) - * By using a mask. Only record a pure - * tags. - */ - if(tcv & XCT_CLOSING) { - /* Found without body */ - ctx->phase = 3; /* Terminating */ - } else { - ctx->left = 1; - ctx->phase = 4; /* Skip ...'s */ - } - XER_ADVANCE(ch_size); - continue; - } - - /* Fall through */ - default: - break; - } - - ASN_DEBUG("Unexpected XML tag [%c%c%c%c] in CHOICE [%s]" - " (ph=%d, tag=%s)", - ch_size>0?((const uint8_t *)buf_ptr)[0]:'?', - ch_size>1?((const uint8_t *)buf_ptr)[1]:'?', - ch_size>2?((const uint8_t *)buf_ptr)[2]:'?', - ch_size>3?((const uint8_t *)buf_ptr)[3]:'?', - td->name, ctx->phase, xml_tag); - break; - } - - ctx->phase = 5; /* Phase out, just in case */ - RETURN(RC_FAIL); -} - - -asn_enc_rval_t -CHOICE_encode_xer(asn_TYPE_descriptor_t *td, void *sptr, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_CHOICE_specifics_t *specs=(asn_CHOICE_specifics_t *)td->specifics; - asn_enc_rval_t er; - int present; - - if(!sptr) - _ASN_ENCODE_FAILED; - - /* - * Figure out which CHOICE element is encoded. - */ - present = _fetch_present_idx(sptr, specs->pres_offset,specs->pres_size); - - if(present <= 0 || present > td->elements_count) { - _ASN_ENCODE_FAILED; - } else { - asn_enc_rval_t tmper; - asn_TYPE_member_t *elm = &td->elements[present-1]; - void *memb_ptr; - const char *mname = elm->name; - unsigned int mlen = strlen(mname); - - if(elm->flags & ATF_POINTER) { - memb_ptr = *(void **)((char *)sptr + elm->memb_offset); - if(!memb_ptr) _ASN_ENCODE_FAILED; - } else { - memb_ptr = (void *)((char *)sptr + elm->memb_offset); - } - - er.encoded = 0; - - if(!(flags & XER_F_CANONICAL)) _i_ASN_TEXT_INDENT(1, ilevel); - _ASN_CALLBACK3("<", 1, mname, mlen, ">", 1); - - tmper = elm->type->xer_encoder(elm->type, memb_ptr, - ilevel + 1, flags, cb, app_key); - if(tmper.encoded == -1) return tmper; - - _ASN_CALLBACK3("", 1); - - er.encoded += 5 + (2 * mlen) + tmper.encoded; - } - - if(!(flags & XER_F_CANONICAL)) _i_ASN_TEXT_INDENT(1, ilevel - 1); - - _ASN_ENCODED_OK(er); -cb_failed: - _ASN_ENCODE_FAILED; -} - -asn_dec_rval_t -CHOICE_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd) { - asn_CHOICE_specifics_t *specs = (asn_CHOICE_specifics_t *)td->specifics; - asn_dec_rval_t rv; - asn_per_constraint_t *ct; - asn_TYPE_member_t *elm; /* CHOICE's element */ - void *memb_ptr; - void **memb_ptr2; - void *st = *sptr; - int value; - - if(_ASN_STACK_OVERFLOW_CHECK(opt_codec_ctx)) - _ASN_DECODE_FAILED; - - /* - * Create the target structure if it is not present already. - */ - if(!st) { - st = *sptr = CALLOC(1, specs->struct_size); - if(!st) _ASN_DECODE_FAILED; - } - - if(constraints) ct = &constraints->value; - else if(td->per_constraints) ct = &td->per_constraints->value; - else ct = 0; - - if(ct && ct->flags & APC_EXTENSIBLE) { - value = per_get_few_bits(pd, 1); - if(value < 0) _ASN_DECODE_STARVED; - if(value) ct = 0; /* Not restricted */ - } - - if(ct && ct->range_bits >= 0) { - value = per_get_few_bits(pd, ct->range_bits); - if(value < 0) _ASN_DECODE_STARVED; - ASN_DEBUG("CHOICE %s got index %d in range %d", - td->name, value, ct->range_bits); - if(value > ct->upper_bound) - _ASN_DECODE_FAILED; - } else { - if(specs->ext_start == -1) - _ASN_DECODE_FAILED; - value = uper_get_nsnnwn(pd); - if(value < 0) _ASN_DECODE_STARVED; - value += specs->ext_start; - if(value >= td->elements_count) - _ASN_DECODE_FAILED; - } - - /* Adjust if canonical order is different from natural order */ - if(specs->canonical_order) - value = specs->canonical_order[value]; - - /* Set presence to be able to free it later */ - _set_present_idx(st, specs->pres_offset, specs->pres_size, value + 1); - - elm = &td->elements[value]; - if(elm->flags & ATF_POINTER) { - /* Member is a pointer to another structure */ - memb_ptr2 = (void **)((char *)st + elm->memb_offset); - } else { - memb_ptr = (char *)st + elm->memb_offset; - memb_ptr2 = &memb_ptr; - } - ASN_DEBUG("Discovered CHOICE %s encodes %s", td->name, elm->name); - - if(ct && ct->range_bits >= 0) { - rv = elm->type->uper_decoder(opt_codec_ctx, elm->type, - elm->per_constraints, memb_ptr2, pd); - } else { - rv = uper_open_type_get(opt_codec_ctx, elm->type, - elm->per_constraints, memb_ptr2, pd); - } - - if(rv.code != RC_OK) - ASN_DEBUG("Failed to decode %s in %s (CHOICE) %d", - elm->name, td->name, rv.code); - return rv; -} - -asn_enc_rval_t -CHOICE_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void *sptr, asn_per_outp_t *po) { - asn_CHOICE_specifics_t *specs = (asn_CHOICE_specifics_t *)td->specifics; - asn_TYPE_member_t *elm; /* CHOICE's element */ - asn_per_constraint_t *ct; - void *memb_ptr; - int present; - - if(!sptr) _ASN_ENCODE_FAILED; - - ASN_DEBUG("Encoding %s as CHOICE", td->name); - - if(constraints) ct = &constraints->value; - else if(td->per_constraints) ct = &td->per_constraints->value; - else ct = 0; - - present = _fetch_present_idx(sptr, - specs->pres_offset, specs->pres_size); - - /* - * If the structure was not initialized properly, it cannot be encoded: - * can't deduce what to encode in the choice type. - */ - if(present <= 0 || present > td->elements_count) - _ASN_ENCODE_FAILED; - else - present--; - - /* Adjust if canonical order is different from natural order */ - if(specs->canonical_order) - present = specs->canonical_order[present]; - - ASN_DEBUG("Encoding %s CHOICE element %d", td->name, present); - - if(ct && ct->range_bits >= 0) { - if(present < ct->lower_bound - || present > ct->upper_bound) { - if(ct->flags & APC_EXTENSIBLE) { - if(per_put_few_bits(po, 1, 1)) - _ASN_ENCODE_FAILED; - } else { - _ASN_ENCODE_FAILED; - } - ct = 0; - } - } - if(ct && ct->flags & APC_EXTENSIBLE) - if(per_put_few_bits(po, 0, 1)) - _ASN_ENCODE_FAILED; - - elm = &td->elements[present]; - if(elm->flags & ATF_POINTER) { - /* Member is a pointer to another structure */ - memb_ptr = *(void **)((char *)sptr + elm->memb_offset); - if(!memb_ptr) _ASN_ENCODE_FAILED; - } else { - memb_ptr = (char *)sptr + elm->memb_offset; - } - - if(ct && ct->range_bits >= 0) { - if(per_put_few_bits(po, present, ct->range_bits)) - _ASN_ENCODE_FAILED; - - return elm->type->uper_encoder(elm->type, elm->per_constraints, - memb_ptr, po); - } else { - asn_enc_rval_t rval; - if(specs->ext_start == -1) - _ASN_ENCODE_FAILED; - if(uper_put_nsnnwn(po, present - specs->ext_start)) - _ASN_ENCODE_FAILED; - if(uper_open_type_put(elm->type, elm->per_constraints, - memb_ptr, po)) - _ASN_ENCODE_FAILED; - rval.encoded = 0; - _ASN_ENCODED_OK(rval); - } -} - - -int -CHOICE_print(asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_CHOICE_specifics_t *specs = (asn_CHOICE_specifics_t *)td->specifics; - int present; - - if(!sptr) return (cb("", 8, app_key) < 0) ? -1 : 0; - - /* - * Figure out which CHOICE element is encoded. - */ - present = _fetch_present_idx(sptr, specs->pres_offset,specs->pres_size); - - /* - * Print that element. - */ - if(present > 0 && present <= td->elements_count) { - asn_TYPE_member_t *elm = &td->elements[present-1]; - const void *memb_ptr; - - if(elm->flags & ATF_POINTER) { - memb_ptr = *(const void * const *)((const char *)sptr + elm->memb_offset); - if(!memb_ptr) return (cb("", 8, app_key) < 0) ? -1 : 0; - } else { - memb_ptr = (const void *)((const char *)sptr + elm->memb_offset); - } - - /* Print member's name and stuff */ - if(0) { - if(cb(elm->name, strlen(elm->name), app_key) < 0 - || cb(": ", 2, app_key) < 0) - return -1; - } - - return elm->type->print_struct(elm->type, memb_ptr, ilevel, - cb, app_key); - } else { - return (cb("", 8, app_key) < 0) ? -1 : 0; - } -} - -void -CHOICE_free(asn_TYPE_descriptor_t *td, void *ptr, int contents_only) { - asn_CHOICE_specifics_t *specs = (asn_CHOICE_specifics_t *)td->specifics; - int present; - - if(!td || !ptr) - return; - - ASN_DEBUG("Freeing %s as CHOICE", td->name); - - /* - * Figure out which CHOICE element is encoded. - */ - present = _fetch_present_idx(ptr, specs->pres_offset, specs->pres_size); - - /* - * Free that element. - */ - if(present > 0 && present <= td->elements_count) { - asn_TYPE_member_t *elm = &td->elements[present-1]; - void *memb_ptr; - - if(elm->flags & ATF_POINTER) { - memb_ptr = *(void **)((char *)ptr + elm->memb_offset); - if(memb_ptr) - ASN_STRUCT_FREE(*elm->type, memb_ptr); - } else { - memb_ptr = (void *)((char *)ptr + elm->memb_offset); - ASN_STRUCT_FREE_CONTENTS_ONLY(*elm->type, memb_ptr); - } - } - - if(!contents_only) { - FREEMEM(ptr); - } -} - - -/* - * The following functions functions offer protection against -fshort-enums, - * compatible with little- and big-endian machines. - * If assertion is triggered, either disable -fshort-enums, or add an entry - * here with the ->pres_size of your target stracture. - * Unless the target structure is packed, the ".present" member - * is guaranteed to be aligned properly. ASN.1 compiler itself does not - * produce packed code. - */ -static int -_fetch_present_idx(const void *struct_ptr, int pres_offset, int pres_size) { - const void *present_ptr; - int present; - - present_ptr = ((const char *)struct_ptr) + pres_offset; - - switch(pres_size) { - case sizeof(int): present = *(const int *)present_ptr; break; - case sizeof(short): present = *(const short *)present_ptr; break; - case sizeof(char): present = *(const char *)present_ptr; break; - default: - /* ANSI C mandates enum to be equivalent to integer */ - assert(pres_size != sizeof(int)); - return 0; /* If not aborted, pass back safe value */ - } - - return present; -} - -static void -_set_present_idx(void *struct_ptr, int pres_offset, int pres_size, int present) { - void *present_ptr; - present_ptr = ((char *)struct_ptr) + pres_offset; - - switch(pres_size) { - case sizeof(int): *(int *)present_ptr = present; break; - case sizeof(short): *(short *)present_ptr = present; break; - case sizeof(char): *(char *)present_ptr = present; break; - default: - /* ANSI C mandates enum to be equivalent to integer */ - assert(pres_size != sizeof(int)); - } -} diff --git a/lte/rrc/lib/asn/src/constr_SEQUENCE.c b/lte/rrc/lib/asn/src/constr_SEQUENCE.c deleted file mode 100644 index 47b658565..000000000 --- a/lte/rrc/lib/asn/src/constr_SEQUENCE.c +++ /dev/null @@ -1,1423 +0,0 @@ -/*- - * Copyright (c) 2003, 2004, 2005, 2006, 2007 Lev Walkin . - * All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include -#include - -/* - * Number of bytes left for this structure. - * (ctx->left) indicates the number of bytes _transferred_ for the structure. - * (size) contains the number of bytes in the buffer passed. - */ -#define LEFT ((size<(size_t)ctx->left)?size:(size_t)ctx->left) - -/* - * If the subprocessor function returns with an indication that it wants - * more data, it may well be a fatal decoding problem, because the - * size is constrained by the 's L, even if the buffer size allows - * reading more data. - * For example, consider the buffer containing the following TLVs: - * ... - * The TLV length clearly indicates that one byte is expected in V, but - * if the V processor returns with "want more data" even if the buffer - * contains way more data than the V processor have seen. - */ -#define SIZE_VIOLATION (ctx->left >= 0 && (size_t)ctx->left <= size) - -/* - * This macro "eats" the part of the buffer which is definitely "consumed", - * i.e. was correctly converted into local representation or rightfully skipped. - */ -#undef ADVANCE -#define ADVANCE(num_bytes) do { \ - size_t num = num_bytes; \ - ptr = ((const char *)ptr) + num;\ - size -= num; \ - if(ctx->left >= 0) \ - ctx->left -= num; \ - consumed_myself += num; \ - } while(0) - -/* - * Switch to the next phase of parsing. - */ -#undef NEXT_PHASE -#undef PHASE_OUT -#define NEXT_PHASE(ctx) do { \ - ctx->phase++; \ - ctx->step = 0; \ - } while(0) -#define PHASE_OUT(ctx) do { ctx->phase = 10; } while(0) - -/* - * Return a standardized complex structure. - */ -#undef RETURN -#define RETURN(_code) do { \ - rval.code = _code; \ - rval.consumed = consumed_myself;\ - return rval; \ - } while(0) - -/* - * Check whether we are inside the extensions group. - */ -#define IN_EXTENSION_GROUP(specs, memb_idx) \ - ( ((memb_idx) > (specs)->ext_after) \ - &&((memb_idx) < (specs)->ext_before)) - - -/* - * Tags are canonically sorted in the tag2element map. - */ -static int -_t2e_cmp(const void *ap, const void *bp) { - const asn_TYPE_tag2member_t *a = (const asn_TYPE_tag2member_t *)ap; - const asn_TYPE_tag2member_t *b = (const asn_TYPE_tag2member_t *)bp; - - int a_class = BER_TAG_CLASS(a->el_tag); - int b_class = BER_TAG_CLASS(b->el_tag); - - if(a_class == b_class) { - ber_tlv_tag_t a_value = BER_TAG_VALUE(a->el_tag); - ber_tlv_tag_t b_value = BER_TAG_VALUE(b->el_tag); - - if(a_value == b_value) { - if(a->el_no > b->el_no) - return 1; - /* - * Important: we do not check - * for a->el_no <= b->el_no! - */ - return 0; - } else if(a_value < b_value) - return -1; - else - return 1; - } else if(a_class < b_class) { - return -1; - } else { - return 1; - } -} - - -/* - * The decoder of the SEQUENCE type. - */ -asn_dec_rval_t -SEQUENCE_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **struct_ptr, const void *ptr, size_t size, int tag_mode) { - /* - * Bring closer parts of structure description. - */ - asn_SEQUENCE_specifics_t *specs = (asn_SEQUENCE_specifics_t *)td->specifics; - asn_TYPE_member_t *elements = td->elements; - - /* - * Parts of the structure being constructed. - */ - void *st = *struct_ptr; /* Target structure. */ - asn_struct_ctx_t *ctx; /* Decoder context */ - - ber_tlv_tag_t tlv_tag; /* T from TLV */ - asn_dec_rval_t rval; /* Return code from subparsers */ - - ssize_t consumed_myself = 0; /* Consumed bytes from ptr */ - int edx; /* SEQUENCE element's index */ - - ASN_DEBUG("Decoding %s as SEQUENCE", td->name); - - /* - * Create the target structure if it is not present already. - */ - if(st == 0) { - st = *struct_ptr = CALLOC(1, specs->struct_size); - if(st == 0) { - RETURN(RC_FAIL); - } - } - - /* - * Restore parsing context. - */ - ctx = (asn_struct_ctx_t *)((char *)st + specs->ctx_offset); - - /* - * Start to parse where left previously - */ - switch(ctx->phase) { - case 0: - /* - * PHASE 0. - * Check that the set of tags associated with given structure - * perfectly fits our expectations. - */ - - rval = ber_check_tags(opt_codec_ctx, td, ctx, ptr, size, - tag_mode, 1, &ctx->left, 0); - if(rval.code != RC_OK) { - ASN_DEBUG("%s tagging check failed: %d", - td->name, rval.code); - return rval; - } - - if(ctx->left >= 0) - ctx->left += rval.consumed; /* ?Substracted below! */ - ADVANCE(rval.consumed); - - NEXT_PHASE(ctx); - - ASN_DEBUG("Structure consumes %ld bytes, buffer %ld", - (long)ctx->left, (long)size); - - /* Fall through */ - case 1: - /* - * PHASE 1. - * From the place where we've left it previously, - * try to decode the next member from the list of - * this structure's elements. - * (ctx->step) stores the member being processed - * between invocations and the microphase {0,1} of parsing - * that member: - * step = ( * 2 + ). - */ - for(edx = (ctx->step >> 1); edx < td->elements_count; - edx++, ctx->step = (ctx->step & ~1) + 2) { - void *memb_ptr; /* Pointer to the member */ - void **memb_ptr2; /* Pointer to that pointer */ - ssize_t tag_len; /* Length of TLV's T */ - int opt_edx_end; /* Next non-optional element */ - int use_bsearch; - int n; - - if(ctx->step & 1) - goto microphase2; - - /* - * MICROPHASE 1: Synchronize decoding. - */ - ASN_DEBUG("In %s SEQUENCE left %d, edx=%d flags=%d" - " opt=%d ec=%d", - td->name, (int)ctx->left, edx, - elements[edx].flags, elements[edx].optional, - td->elements_count); - - if(ctx->left == 0 /* No more stuff is expected */ - && ( - /* Explicit OPTIONAL specification reaches the end */ - (edx + elements[edx].optional - == td->elements_count) - || - /* All extensions are optional */ - (IN_EXTENSION_GROUP(specs, edx) - && specs->ext_before > td->elements_count) - ) - ) { - ASN_DEBUG("End of SEQUENCE %s", td->name); - /* - * Found the legitimate end of the structure. - */ - PHASE_OUT(ctx); - RETURN(RC_OK); - } - - /* - * Fetch the T from TLV. - */ - tag_len = ber_fetch_tag(ptr, LEFT, &tlv_tag); - ASN_DEBUG("Current tag in %s SEQUENCE for element %d " - "(%s) is %s encoded in %d bytes, of frame %ld", - td->name, edx, elements[edx].name, - ber_tlv_tag_string(tlv_tag), (int)tag_len, (long)LEFT); - switch(tag_len) { - case 0: if(!SIZE_VIOLATION) RETURN(RC_WMORE); - /* Fall through */ - case -1: RETURN(RC_FAIL); - } - - if(ctx->left < 0 && ((const uint8_t *)ptr)[0] == 0) { - if(LEFT < 2) { - if(SIZE_VIOLATION) - RETURN(RC_FAIL); - else - RETURN(RC_WMORE); - } else if(((const uint8_t *)ptr)[1] == 0) { - ASN_DEBUG("edx = %d, opt = %d, ec=%d", - edx, elements[edx].optional, - td->elements_count); - if((edx + elements[edx].optional - == td->elements_count) - || (IN_EXTENSION_GROUP(specs, edx) - && specs->ext_before - > td->elements_count)) { - /* - * Yeah, baby! Found the terminator - * of the indefinite length structure. - */ - /* - * Proceed to the canonical - * finalization function. - * No advancing is necessary. - */ - goto phase3; - } - } - } - - /* - * Find the next available type with this tag. - */ - use_bsearch = 0; - opt_edx_end = edx + elements[edx].optional + 1; - if(opt_edx_end > td->elements_count) - opt_edx_end = td->elements_count; /* Cap */ - else if(opt_edx_end - edx > 8) { - /* Limit the scope of linear search... */ - opt_edx_end = edx + 8; - use_bsearch = 1; - /* ... and resort to bsearch() */ - } - for(n = edx; n < opt_edx_end; n++) { - if(BER_TAGS_EQUAL(tlv_tag, elements[n].tag)) { - /* - * Found element corresponding to the tag - * being looked at. - * Reposition over the right element. - */ - edx = n; - ctx->step = 1 + 2 * edx; /* Remember! */ - goto microphase2; - } else if(elements[n].flags & ATF_OPEN_TYPE) { - /* - * This is the ANY type, which may bear - * any flag whatsoever. - */ - edx = n; - ctx->step = 1 + 2 * edx; /* Remember! */ - goto microphase2; - } else if(elements[n].tag == (ber_tlv_tag_t)-1) { - use_bsearch = 1; - break; - } - } - if(use_bsearch) { - /* - * Resort to a binary search over - * sorted array of tags. - */ - asn_TYPE_tag2member_t *t2m; - asn_TYPE_tag2member_t key; - key.el_tag = tlv_tag; - key.el_no = edx; - t2m = (asn_TYPE_tag2member_t *)bsearch(&key, - specs->tag2el, specs->tag2el_count, - sizeof(specs->tag2el[0]), _t2e_cmp); - if(t2m) { - asn_TYPE_tag2member_t *best = 0; - asn_TYPE_tag2member_t *t2m_f, *t2m_l; - int edx_max = edx + elements[edx].optional; - /* - * Rewind to the first element with that tag, - * `cause bsearch() does not guarantee order. - */ - t2m_f = t2m + t2m->toff_first; - t2m_l = t2m + t2m->toff_last; - for(t2m = t2m_f; t2m <= t2m_l; t2m++) { - if(t2m->el_no > edx_max) break; - if(t2m->el_no < edx) continue; - best = t2m; - } - if(best) { - edx = best->el_no; - ctx->step = 1 + 2 * edx; - goto microphase2; - } - } - n = opt_edx_end; - } - if(n == opt_edx_end) { - /* - * If tag is unknown, it may be either - * an unknown (thus, incorrect) tag, - * or an extension (...), - * or an end of the indefinite-length structure. - */ - if(!IN_EXTENSION_GROUP(specs, - edx + elements[edx].optional)) { - ASN_DEBUG("Unexpected tag %s (at %d)", - ber_tlv_tag_string(tlv_tag), edx); - ASN_DEBUG("Expected tag %s (%s)%s", - ber_tlv_tag_string(elements[edx].tag), - elements[edx].name, - elements[edx].optional - ?" or alternatives":""); - RETURN(RC_FAIL); - } else { - /* Skip this tag */ - ssize_t skip; - edx += elements[edx].optional; - - ASN_DEBUG("Skipping unexpected %s (at %d)", - ber_tlv_tag_string(tlv_tag), edx); - skip = ber_skip_length(opt_codec_ctx, - BER_TLV_CONSTRUCTED(ptr), - (const char *)ptr + tag_len, - LEFT - tag_len); - ASN_DEBUG("Skip length %d in %s", - (int)skip, td->name); - switch(skip) { - case 0: if(!SIZE_VIOLATION) RETURN(RC_WMORE); - /* Fall through */ - case -1: RETURN(RC_FAIL); - } - - ADVANCE(skip + tag_len); - ctx->step -= 2; - edx--; - continue; /* Try again with the next tag */ - } - } - - /* - * MICROPHASE 2: Invoke the member-specific decoder. - */ - ctx->step |= 1; /* Confirm entering next microphase */ - microphase2: - ASN_DEBUG("Inside SEQUENCE %s MF2", td->name); - - /* - * Compute the position of the member inside a structure, - * and also a type of containment (it may be contained - * as pointer or using inline inclusion). - */ - if(elements[edx].flags & ATF_POINTER) { - /* Member is a pointer to another structure */ - memb_ptr2 = (void **)((char *)st + elements[edx].memb_offset); - } else { - /* - * A pointer to a pointer - * holding the start of the structure - */ - memb_ptr = (char *)st + elements[edx].memb_offset; - memb_ptr2 = &memb_ptr; - } - /* - * Invoke the member fetch routine according to member's type - */ - rval = elements[edx].type->ber_decoder(opt_codec_ctx, - elements[edx].type, - memb_ptr2, ptr, LEFT, - elements[edx].tag_mode); - ASN_DEBUG("In %s SEQUENCE decoded %d %s of %d " - "in %d bytes rval.code %d, size=%d", - td->name, edx, elements[edx].type->name, - (int)LEFT, (int)rval.consumed, rval.code, (int)size); - switch(rval.code) { - case RC_OK: - break; - case RC_WMORE: /* More data expected */ - if(!SIZE_VIOLATION) { - ADVANCE(rval.consumed); - RETURN(RC_WMORE); - } - ASN_DEBUG("Size violation (c->l=%ld <= s=%ld)", - (long)ctx->left, (long)size); - /* Fall through */ - case RC_FAIL: /* Fatal error */ - RETURN(RC_FAIL); - } /* switch(rval) */ - - ADVANCE(rval.consumed); - } /* for(all structure members) */ - - phase3: - ctx->phase = 3; - case 3: /* 00 and other tags expected */ - case 4: /* only 00's expected */ - - ASN_DEBUG("SEQUENCE %s Leftover: %ld, size = %ld", - td->name, (long)ctx->left, (long)size); - - /* - * Skip everything until the end of the SEQUENCE. - */ - while(ctx->left) { - ssize_t tl, ll; - - tl = ber_fetch_tag(ptr, LEFT, &tlv_tag); - switch(tl) { - case 0: if(!SIZE_VIOLATION) RETURN(RC_WMORE); - /* Fall through */ - case -1: RETURN(RC_FAIL); - } - - /* - * If expected <0><0>... - */ - if(ctx->left < 0 - && ((const uint8_t *)ptr)[0] == 0) { - if(LEFT < 2) { - if(SIZE_VIOLATION) - RETURN(RC_FAIL); - else - RETURN(RC_WMORE); - } else if(((const uint8_t *)ptr)[1] == 0) { - /* - * Correctly finished with <0><0>. - */ - ADVANCE(2); - ctx->left++; - ctx->phase = 4; - continue; - } - } - - if(!IN_EXTENSION_GROUP(specs, td->elements_count) - || ctx->phase == 4) { - ASN_DEBUG("Unexpected continuation " - "of a non-extensible type " - "%s (SEQUENCE): %s", - td->name, - ber_tlv_tag_string(tlv_tag)); - RETURN(RC_FAIL); - } - - ll = ber_skip_length(opt_codec_ctx, - BER_TLV_CONSTRUCTED(ptr), - (const char *)ptr + tl, LEFT - tl); - switch(ll) { - case 0: if(!SIZE_VIOLATION) RETURN(RC_WMORE); - /* Fall through */ - case -1: RETURN(RC_FAIL); - } - - ADVANCE(tl + ll); - } - - PHASE_OUT(ctx); - } - - RETURN(RC_OK); -} - - -/* - * The DER encoder of the SEQUENCE type. - */ -asn_enc_rval_t -SEQUENCE_encode_der(asn_TYPE_descriptor_t *td, - void *sptr, int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - size_t computed_size = 0; - asn_enc_rval_t erval; - ssize_t ret; - int edx; - - ASN_DEBUG("%s %s as SEQUENCE", - cb?"Encoding":"Estimating", td->name); - - /* - * Gather the length of the underlying members sequence. - */ - for(edx = 0; edx < td->elements_count; edx++) { - asn_TYPE_member_t *elm = &td->elements[edx]; - void *memb_ptr; - if(elm->flags & ATF_POINTER) { - memb_ptr = *(void **)((char *)sptr + elm->memb_offset); - if(!memb_ptr) { - if(elm->optional) continue; - /* Mandatory element is missing */ - _ASN_ENCODE_FAILED; - } - } else { - memb_ptr = (void *)((char *)sptr + elm->memb_offset); - } - erval = elm->type->der_encoder(elm->type, memb_ptr, - elm->tag_mode, elm->tag, - 0, 0); - if(erval.encoded == -1) - return erval; - computed_size += erval.encoded; - ASN_DEBUG("Member %d %s estimated %ld bytes", - edx, elm->name, (long)erval.encoded); - } - - /* - * Encode the TLV for the sequence itself. - */ - ret = der_write_tags(td, computed_size, tag_mode, 1, tag, cb, app_key); - ASN_DEBUG("Wrote tags: %ld (+%ld)", (long)ret, (long)computed_size); - if(ret == -1) - _ASN_ENCODE_FAILED; - erval.encoded = computed_size + ret; - - if(!cb) _ASN_ENCODED_OK(erval); - - /* - * Encode all members. - */ - for(edx = 0; edx < td->elements_count; edx++) { - asn_TYPE_member_t *elm = &td->elements[edx]; - asn_enc_rval_t tmperval; - void *memb_ptr; - - if(elm->flags & ATF_POINTER) { - memb_ptr = *(void **)((char *)sptr + elm->memb_offset); - if(!memb_ptr) continue; - } else { - memb_ptr = (void *)((char *)sptr + elm->memb_offset); - } - tmperval = elm->type->der_encoder(elm->type, memb_ptr, - elm->tag_mode, elm->tag, - cb, app_key); - if(tmperval.encoded == -1) - return tmperval; - computed_size -= tmperval.encoded; - ASN_DEBUG("Member %d %s of SEQUENCE %s encoded in %ld bytes", - edx, elm->name, td->name, (long)tmperval.encoded); - } - - if(computed_size != 0) - /* - * Encoded size is not equal to the computed size. - */ - _ASN_ENCODE_FAILED; - - _ASN_ENCODED_OK(erval); -} - - -#undef XER_ADVANCE -#define XER_ADVANCE(num_bytes) do { \ - size_t num = num_bytes; \ - buf_ptr = ((const char *)buf_ptr) + num;\ - size -= num; \ - consumed_myself += num; \ - } while(0) - -/* - * Decode the XER (XML) data. - */ -asn_dec_rval_t -SEQUENCE_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **struct_ptr, const char *opt_mname, - const void *buf_ptr, size_t size) { - /* - * Bring closer parts of structure description. - */ - asn_SEQUENCE_specifics_t *specs - = (asn_SEQUENCE_specifics_t *)td->specifics; - asn_TYPE_member_t *elements = td->elements; - const char *xml_tag = opt_mname ? opt_mname : td->xml_tag; - - /* - * ... and parts of the structure being constructed. - */ - void *st = *struct_ptr; /* Target structure. */ - asn_struct_ctx_t *ctx; /* Decoder context */ - - asn_dec_rval_t rval; /* Return value from a decoder */ - ssize_t consumed_myself = 0; /* Consumed bytes from ptr */ - int edx; /* Element index */ - int edx_end; - - /* - * Create the target structure if it is not present already. - */ - if(st == 0) { - st = *struct_ptr = CALLOC(1, specs->struct_size); - if(st == 0) RETURN(RC_FAIL); - } - - /* - * Restore parsing context. - */ - ctx = (asn_struct_ctx_t *)((char *)st + specs->ctx_offset); - - - /* - * Phases of XER/XML processing: - * Phase 0: Check that the opening tag matches our expectations. - * Phase 1: Processing body and reacting on closing tag. - * Phase 2: Processing inner type. - * Phase 3: Skipping unknown extensions. - * Phase 4: PHASED OUT - */ - for(edx = ctx->step; ctx->phase <= 3;) { - pxer_chunk_type_e ch_type; /* XER chunk type */ - ssize_t ch_size; /* Chunk size */ - xer_check_tag_e tcv; /* Tag check value */ - asn_TYPE_member_t *elm; - int n; - - /* - * Go inside the inner member of a sequence. - */ - if(ctx->phase == 2) { - asn_dec_rval_t tmprval; - void *memb_ptr; /* Pointer to the member */ - void **memb_ptr2; /* Pointer to that pointer */ - - elm = &td->elements[edx]; - - if(elm->flags & ATF_POINTER) { - /* Member is a pointer to another structure */ - memb_ptr2 = (void **)((char *)st - + elm->memb_offset); - } else { - memb_ptr = (char *)st + elm->memb_offset; - memb_ptr2 = &memb_ptr; - } - - /* Invoke the inner type decoder, m.b. multiple times */ - tmprval = elm->type->xer_decoder(opt_codec_ctx, - elm->type, memb_ptr2, elm->name, - buf_ptr, size); - XER_ADVANCE(tmprval.consumed); - if(tmprval.code != RC_OK) - RETURN(tmprval.code); - ctx->phase = 1; /* Back to body processing */ - ctx->step = ++edx; - ASN_DEBUG("XER/SEQUENCE phase => %d, step => %d", - ctx->phase, ctx->step); - /* Fall through */ - } - - /* - * Get the next part of the XML stream. - */ - ch_size = xer_next_token(&ctx->context, buf_ptr, size, - &ch_type); - switch(ch_size) { - case -1: RETURN(RC_FAIL); - case 0: RETURN(RC_WMORE); - default: - switch(ch_type) { - case PXER_COMMENT: /* Got XML comment */ - case PXER_TEXT: /* Ignore free-standing text */ - XER_ADVANCE(ch_size); /* Skip silently */ - continue; - case PXER_TAG: - break; /* Check the rest down there */ - } - } - - tcv = xer_check_tag(buf_ptr, ch_size, xml_tag); - ASN_DEBUG("XER/SEQUENCE: tcv = %d, ph=%d [%s]", - tcv, ctx->phase, xml_tag); - - /* Skip the extensions section */ - if(ctx->phase == 3) { - switch(xer_skip_unknown(tcv, &ctx->left)) { - case -1: - ctx->phase = 4; - RETURN(RC_FAIL); - case 0: - XER_ADVANCE(ch_size); - continue; - case 1: - XER_ADVANCE(ch_size); - ctx->phase = 1; - continue; - case 2: - ctx->phase = 1; - break; - } - } - - switch(tcv) { - case XCT_CLOSING: - if(ctx->phase == 0) break; - ctx->phase = 0; - /* Fall through */ - case XCT_BOTH: - if(ctx->phase == 0) { - if(edx >= td->elements_count - || - /* Explicit OPTIONAL specs reaches the end */ - (edx + elements[edx].optional - == td->elements_count) - || - /* All extensions are optional */ - (IN_EXTENSION_GROUP(specs, edx) - && specs->ext_before - > td->elements_count) - ) { - XER_ADVANCE(ch_size); - ctx->phase = 4; /* Phase out */ - RETURN(RC_OK); - } else { - ASN_DEBUG("Premature end of XER SEQUENCE"); - RETURN(RC_FAIL); - } - } - /* Fall through */ - case XCT_OPENING: - if(ctx->phase == 0) { - XER_ADVANCE(ch_size); - ctx->phase = 1; /* Processing body phase */ - continue; - } - /* Fall through */ - case XCT_UNKNOWN_OP: - case XCT_UNKNOWN_BO: - - ASN_DEBUG("XER/SEQUENCE: tcv=%d, ph=%d, edx=%d", - tcv, ctx->phase, edx); - if(ctx->phase != 1) { - break; /* Really unexpected */ - } - - if(edx < td->elements_count) { - /* - * Search which member corresponds to this tag. - */ - edx_end = edx + elements[edx].optional + 1; - if(edx_end > td->elements_count) - edx_end = td->elements_count; - for(n = edx; n < edx_end; n++) { - elm = &td->elements[n]; - tcv = xer_check_tag(buf_ptr, - ch_size, elm->name); - switch(tcv) { - case XCT_BOTH: - case XCT_OPENING: - /* - * Process this member. - */ - ctx->step = edx = n; - ctx->phase = 2; - break; - case XCT_UNKNOWN_OP: - case XCT_UNKNOWN_BO: - continue; - default: - n = edx_end; - break; /* Phase out */ - } - break; - } - if(n != edx_end) - continue; - } else { - ASN_DEBUG("Out of defined members: %d/%d", - edx, td->elements_count); - } - - /* It is expected extension */ - if(IN_EXTENSION_GROUP(specs, - edx + (edx < td->elements_count - ? elements[edx].optional : 0))) { - ASN_DEBUG("Got anticipated extension at %d", - edx); - /* - * Check for (XCT_BOTH or XCT_UNKNOWN_BO) - * By using a mask. Only record a pure - * tags. - */ - if(tcv & XCT_CLOSING) { - /* Found without body */ - } else { - ctx->left = 1; - ctx->phase = 3; /* Skip ...'s */ - } - XER_ADVANCE(ch_size); - continue; - } - - /* Fall through */ - default: - break; - } - - ASN_DEBUG("Unexpected XML tag in SEQUENCE [%c%c%c%c%c%c]", - size>0?((const char *)buf_ptr)[0]:'.', - size>1?((const char *)buf_ptr)[1]:'.', - size>2?((const char *)buf_ptr)[2]:'.', - size>3?((const char *)buf_ptr)[3]:'.', - size>4?((const char *)buf_ptr)[4]:'.', - size>5?((const char *)buf_ptr)[5]:'.'); - break; - } - - ctx->phase = 4; /* "Phase out" on hard failure */ - RETURN(RC_FAIL); -} - -asn_enc_rval_t -SEQUENCE_encode_xer(asn_TYPE_descriptor_t *td, void *sptr, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_enc_rval_t er; - int xcan = (flags & XER_F_CANONICAL); - int edx; - - if(!sptr) - _ASN_ENCODE_FAILED; - - er.encoded = 0; - - for(edx = 0; edx < td->elements_count; edx++) { - asn_enc_rval_t tmper; - asn_TYPE_member_t *elm = &td->elements[edx]; - void *memb_ptr; - const char *mname = elm->name; - unsigned int mlen = strlen(mname); - - if(elm->flags & ATF_POINTER) { - memb_ptr = *(void **)((char *)sptr + elm->memb_offset); - if(!memb_ptr) { - if(elm->optional) - continue; - /* Mandatory element is missing */ - _ASN_ENCODE_FAILED; - } - } else { - memb_ptr = (void *)((char *)sptr + elm->memb_offset); - } - - if(!xcan) _i_ASN_TEXT_INDENT(1, ilevel); - _ASN_CALLBACK3("<", 1, mname, mlen, ">", 1); - - /* Print the member itself */ - tmper = elm->type->xer_encoder(elm->type, memb_ptr, - ilevel + 1, flags, cb, app_key); - if(tmper.encoded == -1) return tmper; - - _ASN_CALLBACK3("", 1); - er.encoded += 5 + (2 * mlen) + tmper.encoded; - } - - if(!xcan) _i_ASN_TEXT_INDENT(1, ilevel - 1); - - _ASN_ENCODED_OK(er); -cb_failed: - _ASN_ENCODE_FAILED; -} - -int -SEQUENCE_print(asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, - asn_app_consume_bytes_f *cb, void *app_key) { - int edx; - int ret; - - if(!sptr) return (cb("", 8, app_key) < 0) ? -1 : 0; - - /* Dump preamble */ - if(cb(td->name, strlen(td->name), app_key) < 0 - || cb(" ::= {", 6, app_key) < 0) - return -1; - - for(edx = 0; edx < td->elements_count; edx++) { - asn_TYPE_member_t *elm = &td->elements[edx]; - const void *memb_ptr; - - if(elm->flags & ATF_POINTER) { - memb_ptr = *(const void * const *)((const char *)sptr + elm->memb_offset); - if(!memb_ptr) { - if(elm->optional) continue; - /* Print line */ - /* Fall through */ - } - } else { - memb_ptr = (const void *)((const char *)sptr + elm->memb_offset); - } - - /* Indentation */ - _i_INDENT(1); - - /* Print the member's name and stuff */ - if(cb(elm->name, strlen(elm->name), app_key) < 0 - || cb(": ", 2, app_key) < 0) - return -1; - - /* Print the member itself */ - ret = elm->type->print_struct(elm->type, memb_ptr, ilevel + 1, - cb, app_key); - if(ret) return ret; - } - - ilevel--; - _i_INDENT(1); - - return (cb("}", 1, app_key) < 0) ? -1 : 0; -} - -void -SEQUENCE_free(asn_TYPE_descriptor_t *td, void *sptr, int contents_only) { - int edx; - - if(!td || !sptr) - return; - - ASN_DEBUG("Freeing %s as SEQUENCE", td->name); - - for(edx = 0; edx < td->elements_count; edx++) { - asn_TYPE_member_t *elm = &td->elements[edx]; - void *memb_ptr; - if(elm->flags & ATF_POINTER) { - memb_ptr = *(void **)((char *)sptr + elm->memb_offset); - if(memb_ptr) - ASN_STRUCT_FREE(*elm->type, memb_ptr); - } else { - memb_ptr = (void *)((char *)sptr + elm->memb_offset); - ASN_STRUCT_FREE_CONTENTS_ONLY(*elm->type, memb_ptr); - } - } - - if(!contents_only) { - FREEMEM(sptr); - } -} - -int -SEQUENCE_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - int edx; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - /* - * Iterate over structure members and check their validity. - */ - for(edx = 0; edx < td->elements_count; edx++) { - asn_TYPE_member_t *elm = &td->elements[edx]; - const void *memb_ptr; - - if(elm->flags & ATF_POINTER) { - memb_ptr = *(const void * const *)((const char *)sptr + elm->memb_offset); - if(!memb_ptr) { - if(elm->optional) - continue; - _ASN_CTFAIL(app_key, td, sptr, - "%s: mandatory element %s absent (%s:%d)", - td->name, elm->name, __FILE__, __LINE__); - return -1; - } - } else { - memb_ptr = (const void *)((const char *)sptr + elm->memb_offset); - } - - if(elm->memb_constraints) { - int ret = elm->memb_constraints(elm->type, memb_ptr, - ctfailcb, app_key); - if(ret) return ret; - } else { - int ret = elm->type->check_constraints(elm->type, - memb_ptr, ctfailcb, app_key); - if(ret) return ret; - /* - * Cannot inherit it earlier: - * need to make sure we get the updated version. - */ - elm->memb_constraints = elm->type->check_constraints; - } - } - - return 0; -} - -asn_dec_rval_t -SEQUENCE_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd) { - asn_SEQUENCE_specifics_t *specs = (asn_SEQUENCE_specifics_t *)td->specifics; - void *st = *sptr; /* Target structure. */ - int extpresent; /* Extension additions are present */ - uint8_t *opres; /* Presence of optional root members */ - asn_per_data_t opmd; - asn_dec_rval_t rv; - int edx; - - (void)constraints; - - if(_ASN_STACK_OVERFLOW_CHECK(opt_codec_ctx)) - _ASN_DECODE_FAILED; - - if(!st) { - st = *sptr = CALLOC(1, specs->struct_size); - if(!st) _ASN_DECODE_FAILED; - } - - ASN_DEBUG("Decoding %s as SEQUENCE (UPER)", td->name); - - /* Handle extensions */ - if(specs->ext_before >= 0) { - extpresent = per_get_few_bits(pd, 1); - if(extpresent < 0) _ASN_DECODE_STARVED; - } else { - extpresent = 0; - } - - /* Prepare a place and read-in the presence bitmap */ - memset(&opmd, 0, sizeof(opmd)); - if(specs->roms_count) { - opres = (uint8_t *)MALLOC(((specs->roms_count + 7) >> 3) + 1); - if(!opres) _ASN_DECODE_FAILED; - /* Get the presence map */ - if(per_get_many_bits(pd, opres, 0, specs->roms_count)) { - FREEMEM(opres); - _ASN_DECODE_STARVED; - } - opmd.buffer = opres; - opmd.nbits = specs->roms_count; - ASN_DEBUG("Read in presence bitmap for %s of %d bits (%x..)", - td->name, specs->roms_count, *opres); - } else { - opres = 0; - } - - /* - * Get the sequence ROOT elements. - */ - for(edx = 0; edx < td->elements_count; edx++) { - asn_TYPE_member_t *elm = &td->elements[edx]; - void *memb_ptr; /* Pointer to the member */ - void **memb_ptr2; /* Pointer to that pointer */ - - if(IN_EXTENSION_GROUP(specs, edx)) - continue; - - /* Fetch the pointer to this member */ - if(elm->flags & ATF_POINTER) { - memb_ptr2 = (void **)((char *)st + elm->memb_offset); - } else { - memb_ptr = (char *)st + elm->memb_offset; - memb_ptr2 = &memb_ptr; - } - - /* Deal with optionality */ - if(elm->optional) { - int present = per_get_few_bits(&opmd, 1); - ASN_DEBUG("Member %s->%s is optional, p=%d (%d->%d)", - td->name, elm->name, present, - (int)opmd.nboff, (int)opmd.nbits); - if(present == 0) { - /* This element is not present */ - if(elm->default_value) { - /* Fill-in DEFAULT */ - if(elm->default_value(1, memb_ptr2)) { - FREEMEM(opres); - _ASN_DECODE_FAILED; - } - ASN_DEBUG("Filled-in default"); - } - /* The member is just not present */ - continue; - } - /* Fall through */ - } - - /* Fetch the member from the stream */ - ASN_DEBUG("Decoding member %s in %s", elm->name, td->name); - rv = elm->type->uper_decoder(opt_codec_ctx, elm->type, - elm->per_constraints, memb_ptr2, pd); - if(rv.code != RC_OK) { - ASN_DEBUG("Failed decode %s in %s", - elm->name, td->name); - FREEMEM(opres); - return rv; - } - } - - /* Optionality map is not needed anymore */ - FREEMEM(opres); - - /* - * Deal with extensions. - */ - if(extpresent) { - ssize_t bmlength; - uint8_t *epres; /* Presence of extension members */ - asn_per_data_t epmd; - - bmlength = uper_get_nslength(pd); - if(bmlength < 0) _ASN_DECODE_STARVED; - - ASN_DEBUG("Extensions %d present in %s", bmlength, td->name); - - epres = (uint8_t *)MALLOC((bmlength + 15) >> 3); - if(!epres) _ASN_DECODE_STARVED; - - /* Get the extensions map */ - if(per_get_many_bits(pd, epres, 0, bmlength)) - _ASN_DECODE_STARVED; - - memset(&epmd, 0, sizeof(epmd)); - epmd.buffer = epres; - epmd.nbits = bmlength; - ASN_DEBUG("Read in extensions bitmap for %s of %d bits (%x..)", - td->name, bmlength, *epres); - - /* Go over extensions and read them in */ - for(edx = specs->ext_after + 1; edx < td->elements_count; edx++) { - asn_TYPE_member_t *elm = &td->elements[edx]; - void *memb_ptr; /* Pointer to the member */ - void **memb_ptr2; /* Pointer to that pointer */ - int present; - - if(!IN_EXTENSION_GROUP(specs, edx)) { - ASN_DEBUG("%d is not extension", edx); - continue; - } - - /* Fetch the pointer to this member */ - if(elm->flags & ATF_POINTER) { - memb_ptr2 = (void **)((char *)st + elm->memb_offset); - } else { - memb_ptr = (void *)((char *)st + elm->memb_offset); - memb_ptr2 = &memb_ptr; - } - - present = per_get_few_bits(&epmd, 1); - if(present <= 0) { - if(present < 0) break; /* No more extensions */ - continue; - } - - ASN_DEBUG("Decoding member %s in %s %p", elm->name, td->name, *memb_ptr2); - rv = uper_open_type_get(opt_codec_ctx, elm->type, - elm->per_constraints, memb_ptr2, pd); - if(rv.code != RC_OK) { - FREEMEM(epres); - return rv; - } - } - - /* Skip over overflow extensions which aren't present - * in this system's version of the protocol */ - for(;;) { - ASN_DEBUG("Getting overflow extensions"); - switch(per_get_few_bits(&epmd, 1)) { - case -1: break; - case 0: continue; - default: - if(uper_open_type_skip(opt_codec_ctx, pd)) { - FREEMEM(epres); - _ASN_DECODE_STARVED; - } - } - break; - } - - FREEMEM(epres); - } - - /* Fill DEFAULT members in extensions */ - for(edx = specs->roms_count; edx < specs->roms_count - + specs->aoms_count; edx++) { - asn_TYPE_member_t *elm = &td->elements[edx]; - void **memb_ptr2; /* Pointer to member pointer */ - - if(!elm->default_value) continue; - - /* Fetch the pointer to this member */ - if(elm->flags & ATF_POINTER) { - memb_ptr2 = (void **)((char *)st - + elm->memb_offset); - if(*memb_ptr2) continue; - } else { - continue; /* Extensions are all optionals */ - } - - /* Set default value */ - if(elm->default_value(1, memb_ptr2)) { - _ASN_DECODE_FAILED; - } - } - - rv.consumed = 0; - rv.code = RC_OK; - return rv; -} - -static int -SEQUENCE_handle_extensions(asn_TYPE_descriptor_t *td, void *sptr, - asn_per_outp_t *po1, asn_per_outp_t *po2) { - asn_SEQUENCE_specifics_t *specs - = (asn_SEQUENCE_specifics_t *)td->specifics; - int exts_present = 0; - int exts_count = 0; - int edx; - - if(specs->ext_before < 0) - return 0; - - /* Find out which extensions are present */ - for(edx = specs->ext_after + 1; edx < td->elements_count; edx++) { - asn_TYPE_member_t *elm = &td->elements[edx]; - void *memb_ptr; /* Pointer to the member */ - void **memb_ptr2; /* Pointer to that pointer */ - int present; - - if(!IN_EXTENSION_GROUP(specs, edx)) { - ASN_DEBUG("%s (@%d) is not extension", elm->type->name, edx); - continue; - } - - /* Fetch the pointer to this member */ - if(elm->flags & ATF_POINTER) { - memb_ptr2 = (void **)((char *)sptr + elm->memb_offset); - present = (*memb_ptr2 != 0); - } else { - memb_ptr = (void *)((char *)sptr + elm->memb_offset); - memb_ptr2 = &memb_ptr; - present = 1; - } - - ASN_DEBUG("checking %s (@%d) present => %d", - elm->type->name, edx, present); - exts_count++; - exts_present += present; - - /* Encode as presence marker */ - if(po1 && per_put_few_bits(po1, present, 1)) - return -1; - /* Encode as open type field */ - if(po2 && present && uper_open_type_put(elm->type, - elm->per_constraints, *memb_ptr2, po2)) - return -1; - - } - - return exts_present ? exts_count : 0; -} - -asn_enc_rval_t -SEQUENCE_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void *sptr, asn_per_outp_t *po) { - asn_SEQUENCE_specifics_t *specs - = (asn_SEQUENCE_specifics_t *)td->specifics; - asn_enc_rval_t er; - int n_extensions; - int edx; - int i; - - (void)constraints; - - if(!sptr) - _ASN_ENCODE_FAILED; - - er.encoded = 0; - - ASN_DEBUG("Encoding %s as SEQUENCE (UPER)", td->name); - - - /* - * X.691#18.1 Whether structure is extensible - * and whether to encode extensions - */ - if(specs->ext_before >= 0) { - n_extensions = SEQUENCE_handle_extensions(td, sptr, 0, 0); - per_put_few_bits(po, n_extensions ? 1 : 0, 1); - } else { - n_extensions = 0; /* There are no extensions to encode */ - } - - /* Encode a presence bitmap */ - for(i = 0; i < specs->roms_count; i++) { - asn_TYPE_member_t *elm; - void *memb_ptr; /* Pointer to the member */ - void **memb_ptr2; /* Pointer to that pointer */ - int present; - - edx = specs->oms[i]; - elm = &td->elements[edx]; - - /* Fetch the pointer to this member */ - if(elm->flags & ATF_POINTER) { - memb_ptr2 = (void **)((char *)sptr + elm->memb_offset); - present = (*memb_ptr2 != 0); - } else { - memb_ptr = (void *)((char *)sptr + elm->memb_offset); - memb_ptr2 = &memb_ptr; - present = 1; - } - - /* Eliminate default values */ - if(present && elm->default_value - && elm->default_value(0, memb_ptr2) == 1) - present = 0; - - ASN_DEBUG("Element %s %s %s->%s is %s", - elm->flags & ATF_POINTER ? "ptr" : "inline", - elm->default_value ? "def" : "wtv", - td->name, elm->name, present ? "present" : "absent"); - if(per_put_few_bits(po, present, 1)) - _ASN_ENCODE_FAILED; - } - - /* - * Encode the sequence ROOT elements. - */ - ASN_DEBUG("ext_after = %d, ec = %d, eb = %d", specs->ext_after, td->elements_count, specs->ext_before); - for(edx = 0; edx < ((specs->ext_after < 0) - ? td->elements_count : specs->ext_before - 1); edx++) { - - asn_TYPE_member_t *elm = &td->elements[edx]; - void *memb_ptr; /* Pointer to the member */ - void **memb_ptr2; /* Pointer to that pointer */ - - if(IN_EXTENSION_GROUP(specs, edx)) - continue; - - ASN_DEBUG("About to encode %s", elm->type->name); - - /* Fetch the pointer to this member */ - if(elm->flags & ATF_POINTER) { - memb_ptr2 = (void **)((char *)sptr + elm->memb_offset); - if(!*memb_ptr2) { - ASN_DEBUG("Element %s %d not present", - elm->name, edx); - if(elm->optional) - continue; - /* Mandatory element is missing */ - _ASN_ENCODE_FAILED; - } - } else { - memb_ptr = (void *)((char *)sptr + elm->memb_offset); - memb_ptr2 = &memb_ptr; - } - - /* Eliminate default values */ - if(elm->default_value && elm->default_value(0, memb_ptr2) == 1) - continue; - - ASN_DEBUG("Encoding %s->%s", td->name, elm->name); - er = elm->type->uper_encoder(elm->type, elm->per_constraints, - *memb_ptr2, po); - if(er.encoded == -1) - return er; - } - - /* No extensions to encode */ - if(!n_extensions) _ASN_ENCODED_OK(er); - - ASN_DEBUG("Length of %d bit-map", n_extensions); - /* #18.8. Write down the presence bit-map length. */ - if(uper_put_nslength(po, n_extensions)) - _ASN_ENCODE_FAILED; - - ASN_DEBUG("Bit-map of %d elements", n_extensions); - /* #18.7. Encoding the extensions presence bit-map. */ - /* TODO: act upon NOTE in #18.7 for canonical PER */ - if(SEQUENCE_handle_extensions(td, sptr, po, 0) != n_extensions) - _ASN_ENCODE_FAILED; - - ASN_DEBUG("Writing %d extensions", n_extensions); - /* #18.9. Encode extensions as open type fields. */ - if(SEQUENCE_handle_extensions(td, sptr, 0, po) != n_extensions) - _ASN_ENCODE_FAILED; - - _ASN_ENCODED_OK(er); -} - diff --git a/lte/rrc/lib/asn/src/constr_SEQUENCE_OF.c b/lte/rrc/lib/asn/src/constr_SEQUENCE_OF.c deleted file mode 100644 index 46b7a4b71..000000000 --- a/lte/rrc/lib/asn/src/constr_SEQUENCE_OF.c +++ /dev/null @@ -1,208 +0,0 @@ -/*- - * Copyright (c) 2003, 2004, 2006 Lev Walkin . - * All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include -#include - -/* - * The DER encoder of the SEQUENCE OF type. - */ -asn_enc_rval_t -SEQUENCE_OF_encode_der(asn_TYPE_descriptor_t *td, void *ptr, - int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_TYPE_member_t *elm = td->elements; - asn_anonymous_sequence_ *list = _A_SEQUENCE_FROM_VOID(ptr); - size_t computed_size = 0; - ssize_t encoding_size = 0; - asn_enc_rval_t erval; - int edx; - - ASN_DEBUG("Estimating size of SEQUENCE OF %s", td->name); - - /* - * Gather the length of the underlying members sequence. - */ - for(edx = 0; edx < list->count; edx++) { - void *memb_ptr = list->array[edx]; - if(!memb_ptr) continue; - erval = elm->type->der_encoder(elm->type, memb_ptr, - 0, elm->tag, - 0, 0); - if(erval.encoded == -1) - return erval; - computed_size += erval.encoded; - } - - /* - * Encode the TLV for the sequence itself. - */ - encoding_size = der_write_tags(td, computed_size, tag_mode, 1, tag, - cb, app_key); - if(encoding_size == -1) { - erval.encoded = -1; - erval.failed_type = td; - erval.structure_ptr = ptr; - return erval; - } - - computed_size += encoding_size; - if(!cb) { - erval.encoded = computed_size; - _ASN_ENCODED_OK(erval); - } - - ASN_DEBUG("Encoding members of SEQUENCE OF %s", td->name); - - /* - * Encode all members. - */ - for(edx = 0; edx < list->count; edx++) { - void *memb_ptr = list->array[edx]; - if(!memb_ptr) continue; - erval = elm->type->der_encoder(elm->type, memb_ptr, - 0, elm->tag, - cb, app_key); - if(erval.encoded == -1) - return erval; - encoding_size += erval.encoded; - } - - if(computed_size != (size_t)encoding_size) { - /* - * Encoded size is not equal to the computed size. - */ - erval.encoded = -1; - erval.failed_type = td; - erval.structure_ptr = ptr; - } else { - erval.encoded = computed_size; - erval.structure_ptr = 0; - erval.failed_type = 0; - } - - return erval; -} - -asn_enc_rval_t -SEQUENCE_OF_encode_xer(asn_TYPE_descriptor_t *td, void *sptr, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_enc_rval_t er; - asn_SET_OF_specifics_t *specs = (asn_SET_OF_specifics_t *)td->specifics; - asn_TYPE_member_t *elm = td->elements; - asn_anonymous_sequence_ *list = _A_SEQUENCE_FROM_VOID(sptr); - const char *mname = specs->as_XMLValueList - ? 0 : ((*elm->name) ? elm->name : elm->type->xml_tag); - unsigned int mlen = mname ? strlen(mname) : 0; - int xcan = (flags & XER_F_CANONICAL); - int i; - - if(!sptr) _ASN_ENCODE_FAILED; - - er.encoded = 0; - - for(i = 0; i < list->count; i++) { - asn_enc_rval_t tmper; - void *memb_ptr = list->array[i]; - if(!memb_ptr) continue; - - if(mname) { - if(!xcan) _i_ASN_TEXT_INDENT(1, ilevel); - _ASN_CALLBACK3("<", 1, mname, mlen, ">", 1); - } - - tmper = elm->type->xer_encoder(elm->type, memb_ptr, - ilevel + 1, flags, cb, app_key); - if(tmper.encoded == -1) return tmper; - if(tmper.encoded == 0 && specs->as_XMLValueList) { - const char *name = elm->type->xml_tag; - size_t len = strlen(name); - if(!xcan) _i_ASN_TEXT_INDENT(1, ilevel + 1); - _ASN_CALLBACK3("<", 1, name, len, "/>", 2); - } - - if(mname) { - _ASN_CALLBACK3("", 1); - er.encoded += 5; - } - - er.encoded += (2 * mlen) + tmper.encoded; - } - - if(!xcan) _i_ASN_TEXT_INDENT(1, ilevel - 1); - - _ASN_ENCODED_OK(er); -cb_failed: - _ASN_ENCODE_FAILED; -} - -asn_enc_rval_t -SEQUENCE_OF_encode_uper(asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void *sptr, asn_per_outp_t *po) { - asn_anonymous_sequence_ *list; - asn_per_constraint_t *ct; - asn_enc_rval_t er; - asn_TYPE_member_t *elm = td->elements; - int seq; - - if(!sptr) _ASN_ENCODE_FAILED; - list = _A_SEQUENCE_FROM_VOID(sptr); - - er.encoded = 0; - - ASN_DEBUG("Encoding %s as SEQUENCE OF (%d)", td->name, list->count); - - if(constraints) ct = &constraints->size; - else if(td->per_constraints) ct = &td->per_constraints->size; - else ct = 0; - - /* If extensible constraint, check if size is in root */ - if(ct) { - int not_in_root = (list->count < ct->lower_bound - || list->count > ct->upper_bound); - ASN_DEBUG("lb %ld ub %ld %s", - ct->lower_bound, ct->upper_bound, - ct->flags & APC_EXTENSIBLE ? "ext" : "fix"); - if(ct->flags & APC_EXTENSIBLE) { - /* Declare whether size is in extension root */ - if(per_put_few_bits(po, not_in_root, 1)) - _ASN_ENCODE_FAILED; - if(not_in_root) ct = 0; - } else if(not_in_root && ct->effective_bits >= 0) - _ASN_ENCODE_FAILED; - } - - if(ct && ct->effective_bits >= 0) { - /* X.691, #19.5: No length determinant */ - if(per_put_few_bits(po, list->count - ct->lower_bound, - ct->effective_bits)) - _ASN_ENCODE_FAILED; - } - - for(seq = -1; seq < list->count;) { - ssize_t mayEncode; - if(seq < 0) seq = 0; - if(ct && ct->effective_bits >= 0) { - mayEncode = list->count; - } else { - mayEncode = uper_put_length(po, list->count - seq); - if(mayEncode < 0) _ASN_ENCODE_FAILED; - } - - while(mayEncode--) { - void *memb_ptr = list->array[seq++]; - if(!memb_ptr) _ASN_ENCODE_FAILED; - er = elm->type->uper_encoder(elm->type, - elm->per_constraints, memb_ptr, po); - if(er.encoded == -1) - _ASN_ENCODE_FAILED; - } - } - - _ASN_ENCODED_OK(er); -} - diff --git a/lte/rrc/lib/asn/src/constr_SET_OF.c b/lte/rrc/lib/asn/src/constr_SET_OF.c deleted file mode 100644 index 8591d7e11..000000000 --- a/lte/rrc/lib/asn/src/constr_SET_OF.c +++ /dev/null @@ -1,953 +0,0 @@ -/*- - * Copyright (c) 2003, 2004, 2005 Lev Walkin . - * All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include -#include - -/* - * Number of bytes left for this structure. - * (ctx->left) indicates the number of bytes _transferred_ for the structure. - * (size) contains the number of bytes in the buffer passed. - */ -#define LEFT ((size<(size_t)ctx->left)?size:(size_t)ctx->left) - -/* - * If the subprocessor function returns with an indication that it wants - * more data, it may well be a fatal decoding problem, because the - * size is constrained by the 's L, even if the buffer size allows - * reading more data. - * For example, consider the buffer containing the following TLVs: - * ... - * The TLV length clearly indicates that one byte is expected in V, but - * if the V processor returns with "want more data" even if the buffer - * contains way more data than the V processor have seen. - */ -#define SIZE_VIOLATION (ctx->left >= 0 && (size_t)ctx->left <= size) - -/* - * This macro "eats" the part of the buffer which is definitely "consumed", - * i.e. was correctly converted into local representation or rightfully skipped. - */ -#undef ADVANCE -#define ADVANCE(num_bytes) do { \ - size_t num = num_bytes; \ - ptr = ((const char *)ptr) + num;\ - size -= num; \ - if(ctx->left >= 0) \ - ctx->left -= num; \ - consumed_myself += num; \ - } while(0) - -/* - * Switch to the next phase of parsing. - */ -#undef NEXT_PHASE -#undef PHASE_OUT -#define NEXT_PHASE(ctx) do { \ - ctx->phase++; \ - ctx->step = 0; \ - } while(0) -#define PHASE_OUT(ctx) do { ctx->phase = 10; } while(0) - -/* - * Return a standardized complex structure. - */ -#undef RETURN -#define RETURN(_code) do { \ - rval.code = _code; \ - rval.consumed = consumed_myself;\ - return rval; \ - } while(0) - -/* - * The decoder of the SET OF type. - */ -asn_dec_rval_t -SET_OF_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **struct_ptr, const void *ptr, size_t size, int tag_mode) { - /* - * Bring closer parts of structure description. - */ - asn_SET_OF_specifics_t *specs = (asn_SET_OF_specifics_t *)td->specifics; - asn_TYPE_member_t *elm = td->elements; /* Single one */ - - /* - * Parts of the structure being constructed. - */ - void *st = *struct_ptr; /* Target structure. */ - asn_struct_ctx_t *ctx; /* Decoder context */ - - ber_tlv_tag_t tlv_tag; /* T from TLV */ - asn_dec_rval_t rval; /* Return code from subparsers */ - - ssize_t consumed_myself = 0; /* Consumed bytes from ptr */ - - ASN_DEBUG("Decoding %s as SET OF", td->name); - - /* - * Create the target structure if it is not present already. - */ - if(st == 0) { - st = *struct_ptr = CALLOC(1, specs->struct_size); - if(st == 0) { - RETURN(RC_FAIL); - } - } - - /* - * Restore parsing context. - */ - ctx = (asn_struct_ctx_t *)((char *)st + specs->ctx_offset); - - /* - * Start to parse where left previously - */ - switch(ctx->phase) { - case 0: - /* - * PHASE 0. - * Check that the set of tags associated with given structure - * perfectly fits our expectations. - */ - - rval = ber_check_tags(opt_codec_ctx, td, ctx, ptr, size, - tag_mode, 1, &ctx->left, 0); - if(rval.code != RC_OK) { - ASN_DEBUG("%s tagging check failed: %d", - td->name, rval.code); - return rval; - } - - if(ctx->left >= 0) - ctx->left += rval.consumed; /* ?Substracted below! */ - ADVANCE(rval.consumed); - - ASN_DEBUG("Structure consumes %ld bytes, " - "buffer %ld", (long)ctx->left, (long)size); - - NEXT_PHASE(ctx); - /* Fall through */ - case 1: - /* - * PHASE 1. - * From the place where we've left it previously, - * try to decode the next item. - */ - for(;; ctx->step = 0) { - ssize_t tag_len; /* Length of TLV's T */ - - if(ctx->step & 1) - goto microphase2; - - /* - * MICROPHASE 1: Synchronize decoding. - */ - - if(ctx->left == 0) { - ASN_DEBUG("End of SET OF %s", td->name); - /* - * No more things to decode. - * Exit out of here. - */ - PHASE_OUT(ctx); - RETURN(RC_OK); - } - - /* - * Fetch the T from TLV. - */ - tag_len = ber_fetch_tag(ptr, LEFT, &tlv_tag); - switch(tag_len) { - case 0: if(!SIZE_VIOLATION) RETURN(RC_WMORE); - /* Fall through */ - case -1: RETURN(RC_FAIL); - } - - if(ctx->left < 0 && ((const uint8_t *)ptr)[0] == 0) { - if(LEFT < 2) { - if(SIZE_VIOLATION) - RETURN(RC_FAIL); - else - RETURN(RC_WMORE); - } else if(((const uint8_t *)ptr)[1] == 0) { - /* - * Found the terminator of the - * indefinite length structure. - */ - break; - } - } - - /* Outmost tag may be unknown and cannot be fetched/compared */ - if(elm->tag != (ber_tlv_tag_t)-1) { - if(BER_TAGS_EQUAL(tlv_tag, elm->tag)) { - /* - * The new list member of expected type has arrived. - */ - } else { - ASN_DEBUG("Unexpected tag %s fixed SET OF %s", - ber_tlv_tag_string(tlv_tag), td->name); - ASN_DEBUG("%s SET OF has tag %s", - td->name, ber_tlv_tag_string(elm->tag)); - RETURN(RC_FAIL); - } - } - - /* - * MICROPHASE 2: Invoke the member-specific decoder. - */ - ctx->step |= 1; /* Confirm entering next microphase */ - microphase2: - - /* - * Invoke the member fetch routine according to member's type - */ - rval = elm->type->ber_decoder(opt_codec_ctx, - elm->type, &ctx->ptr, ptr, LEFT, 0); - ASN_DEBUG("In %s SET OF %s code %d consumed %d", - td->name, elm->type->name, - rval.code, (int)rval.consumed); - switch(rval.code) { - case RC_OK: - { - asn_anonymous_set_ *list = _A_SET_FROM_VOID(st); - if(ASN_SET_ADD(list, ctx->ptr) != 0) - RETURN(RC_FAIL); - else - ctx->ptr = 0; - } - break; - case RC_WMORE: /* More data expected */ - if(!SIZE_VIOLATION) { - ADVANCE(rval.consumed); - RETURN(RC_WMORE); - } - /* Fall through */ - case RC_FAIL: /* Fatal error */ - ASN_STRUCT_FREE(*elm->type, ctx->ptr); - ctx->ptr = 0; - RETURN(RC_FAIL); - } /* switch(rval) */ - - ADVANCE(rval.consumed); - } /* for(all list members) */ - - NEXT_PHASE(ctx); - case 2: - /* - * Read in all "end of content" TLVs. - */ - while(ctx->left < 0) { - if(LEFT < 2) { - if(LEFT > 0 && ((const char *)ptr)[0] != 0) { - /* Unexpected tag */ - RETURN(RC_FAIL); - } else { - RETURN(RC_WMORE); - } - } - if(((const char *)ptr)[0] == 0 - && ((const char *)ptr)[1] == 0) { - ADVANCE(2); - ctx->left++; - } else { - RETURN(RC_FAIL); - } - } - - PHASE_OUT(ctx); - } - - RETURN(RC_OK); -} - -/* - * Internally visible buffer holding a single encoded element. - */ -struct _el_buffer { - uint8_t *buf; - size_t length; - size_t size; -}; -/* Append bytes to the above structure */ -static int _el_addbytes(const void *buffer, size_t size, void *el_buf_ptr) { - struct _el_buffer *el_buf = (struct _el_buffer *)el_buf_ptr; - - if(el_buf->length + size > el_buf->size) - return -1; - - memcpy(el_buf->buf + el_buf->length, buffer, size); - - el_buf->length += size; - return 0; -} -static int _el_buf_cmp(const void *ap, const void *bp) { - const struct _el_buffer *a = (const struct _el_buffer *)ap; - const struct _el_buffer *b = (const struct _el_buffer *)bp; - int ret; - size_t common_len; - - if(a->length < b->length) - common_len = a->length; - else - common_len = b->length; - - ret = memcmp(a->buf, b->buf, common_len); - if(ret == 0) { - if(a->length < b->length) - ret = -1; - else if(a->length > b->length) - ret = 1; - } - - return ret; -} - -/* - * The DER encoder of the SET OF type. - */ -asn_enc_rval_t -SET_OF_encode_der(asn_TYPE_descriptor_t *td, void *ptr, - int tag_mode, ber_tlv_tag_t tag, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_TYPE_member_t *elm = td->elements; - asn_TYPE_descriptor_t *elm_type = elm->type; - der_type_encoder_f *der_encoder = elm_type->der_encoder; - asn_anonymous_set_ *list = _A_SET_FROM_VOID(ptr); - size_t computed_size = 0; - ssize_t encoding_size = 0; - struct _el_buffer *encoded_els; - ssize_t eels_count = 0; - size_t max_encoded_len = 1; - asn_enc_rval_t erval; - int ret; - int edx; - - ASN_DEBUG("Estimating size for SET OF %s", td->name); - - /* - * Gather the length of the underlying members sequence. - */ - for(edx = 0; edx < list->count; edx++) { - void *memb_ptr = list->array[edx]; - if(!memb_ptr) continue; - erval = der_encoder(elm_type, memb_ptr, 0, elm->tag, 0, 0); - if(erval.encoded == -1) - return erval; - computed_size += erval.encoded; - - /* Compute maximum encoding's size */ - if(max_encoded_len < (size_t)erval.encoded) - max_encoded_len = erval.encoded; - } - - /* - * Encode the TLV for the sequence itself. - */ - encoding_size = der_write_tags(td, computed_size, tag_mode, 1, tag, - cb, app_key); - if(encoding_size == -1) { - erval.encoded = -1; - erval.failed_type = td; - erval.structure_ptr = ptr; - return erval; - } - computed_size += encoding_size; - - if(!cb || list->count == 0) { - erval.encoded = computed_size; - _ASN_ENCODED_OK(erval); - } - - /* - * DER mandates dynamic sorting of the SET OF elements - * according to their encodings. Build an array of the - * encoded elements. - */ - encoded_els = (struct _el_buffer *)MALLOC( - list->count * sizeof(encoded_els[0])); - if(encoded_els == NULL) { - erval.encoded = -1; - erval.failed_type = td; - erval.structure_ptr = ptr; - return erval; - } - - ASN_DEBUG("Encoding members of %s SET OF", td->name); - - /* - * Encode all members. - */ - for(edx = 0; edx < list->count; edx++) { - void *memb_ptr = list->array[edx]; - struct _el_buffer *encoded_el = &encoded_els[eels_count]; - - if(!memb_ptr) continue; - - /* - * Prepare space for encoding. - */ - encoded_el->buf = (uint8_t *)MALLOC(max_encoded_len); - if(encoded_el->buf) { - encoded_el->length = 0; - encoded_el->size = max_encoded_len; - } else { - for(edx--; edx >= 0; edx--) - FREEMEM(encoded_els[edx].buf); - FREEMEM(encoded_els); - erval.encoded = -1; - erval.failed_type = td; - erval.structure_ptr = ptr; - return erval; - } - - /* - * Encode the member into the prepared space. - */ - erval = der_encoder(elm_type, memb_ptr, 0, elm->tag, - _el_addbytes, encoded_el); - if(erval.encoded == -1) { - for(; edx >= 0; edx--) - FREEMEM(encoded_els[edx].buf); - FREEMEM(encoded_els); - return erval; - } - encoding_size += erval.encoded; - eels_count++; - } - - /* - * Sort the encoded elements according to their encoding. - */ - qsort(encoded_els, eels_count, sizeof(encoded_els[0]), _el_buf_cmp); - - /* - * Report encoded elements to the application. - * Dispose of temporary sorted members table. - */ - ret = 0; - for(edx = 0; edx < eels_count; edx++) { - struct _el_buffer *encoded_el = &encoded_els[edx]; - /* Report encoded chunks to the application */ - if(ret == 0 - && cb(encoded_el->buf, encoded_el->length, app_key) < 0) - ret = -1; - FREEMEM(encoded_el->buf); - } - FREEMEM(encoded_els); - - if(ret || computed_size != (size_t)encoding_size) { - /* - * Standard callback failed, or - * encoded size is not equal to the computed size. - */ - erval.encoded = -1; - erval.failed_type = td; - erval.structure_ptr = ptr; - } else { - erval.encoded = computed_size; - } - - _ASN_ENCODED_OK(erval); -} - -#undef XER_ADVANCE -#define XER_ADVANCE(num_bytes) do { \ - size_t num = num_bytes; \ - buf_ptr = ((const char *)buf_ptr) + num;\ - size -= num; \ - consumed_myself += num; \ - } while(0) - -/* - * Decode the XER (XML) data. - */ -asn_dec_rval_t -SET_OF_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **struct_ptr, const char *opt_mname, - const void *buf_ptr, size_t size) { - /* - * Bring closer parts of structure description. - */ - asn_SET_OF_specifics_t *specs = (asn_SET_OF_specifics_t *)td->specifics; - asn_TYPE_member_t *element = td->elements; - const char *elm_tag; - const char *xml_tag = opt_mname ? opt_mname : td->xml_tag; - - /* - * ... and parts of the structure being constructed. - */ - void *st = *struct_ptr; /* Target structure. */ - asn_struct_ctx_t *ctx; /* Decoder context */ - - asn_dec_rval_t rval; /* Return value from a decoder */ - ssize_t consumed_myself = 0; /* Consumed bytes from ptr */ - - /* - * Create the target structure if it is not present already. - */ - if(st == 0) { - st = *struct_ptr = CALLOC(1, specs->struct_size); - if(st == 0) RETURN(RC_FAIL); - } - - /* Which tag is expected for the downstream */ - if(specs->as_XMLValueList) { - elm_tag = (specs->as_XMLValueList == 1) ? 0 : ""; - } else { - elm_tag = (*element->name) - ? element->name : element->type->xml_tag; - } - - /* - * Restore parsing context. - */ - ctx = (asn_struct_ctx_t *)((char *)st + specs->ctx_offset); - - /* - * Phases of XER/XML processing: - * Phase 0: Check that the opening tag matches our expectations. - * Phase 1: Processing body and reacting on closing tag. - * Phase 2: Processing inner type. - */ - for(; ctx->phase <= 2;) { - pxer_chunk_type_e ch_type; /* XER chunk type */ - ssize_t ch_size; /* Chunk size */ - xer_check_tag_e tcv; /* Tag check value */ - - /* - * Go inside the inner member of a set. - */ - if(ctx->phase == 2) { - asn_dec_rval_t tmprval; - - /* Invoke the inner type decoder, m.b. multiple times */ - ASN_DEBUG("XER/SET OF element [%s]", elm_tag); - tmprval = element->type->xer_decoder(opt_codec_ctx, - element->type, &ctx->ptr, elm_tag, - buf_ptr, size); - if(tmprval.code == RC_OK) { - asn_anonymous_set_ *list = _A_SET_FROM_VOID(st); - if(ASN_SET_ADD(list, ctx->ptr) != 0) - RETURN(RC_FAIL); - ctx->ptr = 0; - XER_ADVANCE(tmprval.consumed); - } else { - XER_ADVANCE(tmprval.consumed); - RETURN(tmprval.code); - } - ctx->phase = 1; /* Back to body processing */ - ASN_DEBUG("XER/SET OF phase => %d", ctx->phase); - /* Fall through */ - } - - /* - * Get the next part of the XML stream. - */ - ch_size = xer_next_token(&ctx->context, - buf_ptr, size, &ch_type); - switch(ch_size) { - case -1: RETURN(RC_FAIL); - case 0: RETURN(RC_WMORE); - default: - switch(ch_type) { - case PXER_COMMENT: /* Got XML comment */ - case PXER_TEXT: /* Ignore free-standing text */ - XER_ADVANCE(ch_size); /* Skip silently */ - continue; - case PXER_TAG: - break; /* Check the rest down there */ - } - } - - tcv = xer_check_tag(buf_ptr, ch_size, xml_tag); - ASN_DEBUG("XER/SET OF: tcv = %d, ph=%d t=%s", - tcv, ctx->phase, xml_tag); - switch(tcv) { - case XCT_CLOSING: - if(ctx->phase == 0) break; - ctx->phase = 0; - /* Fall through */ - case XCT_BOTH: - if(ctx->phase == 0) { - /* No more things to decode */ - XER_ADVANCE(ch_size); - ctx->phase = 3; /* Phase out */ - RETURN(RC_OK); - } - /* Fall through */ - case XCT_OPENING: - if(ctx->phase == 0) { - XER_ADVANCE(ch_size); - ctx->phase = 1; /* Processing body phase */ - continue; - } - /* Fall through */ - case XCT_UNKNOWN_OP: - case XCT_UNKNOWN_BO: - - ASN_DEBUG("XER/SET OF: tcv=%d, ph=%d", tcv, ctx->phase); - if(ctx->phase == 1) { - /* - * Process a single possible member. - */ - ctx->phase = 2; - continue; - } - /* Fall through */ - default: - break; - } - - ASN_DEBUG("Unexpected XML tag in SET OF"); - break; - } - - ctx->phase = 3; /* "Phase out" on hard failure */ - RETURN(RC_FAIL); -} - - - -typedef struct xer_tmp_enc_s { - void *buffer; - size_t offset; - size_t size; -} xer_tmp_enc_t; -static int -SET_OF_encode_xer_callback(const void *buffer, size_t size, void *key) { - xer_tmp_enc_t *t = (xer_tmp_enc_t *)key; - if(t->offset + size >= t->size) { - size_t newsize = (t->size << 2) + size; - void *p = REALLOC(t->buffer, newsize); - if(!p) return -1; - t->buffer = p; - t->size = newsize; - } - memcpy((char *)t->buffer + t->offset, buffer, size); - t->offset += size; - return 0; -} -static int -SET_OF_xer_order(const void *aptr, const void *bptr) { - const xer_tmp_enc_t *a = (const xer_tmp_enc_t *)aptr; - const xer_tmp_enc_t *b = (const xer_tmp_enc_t *)bptr; - size_t minlen = a->offset; - int ret; - if(b->offset < minlen) minlen = b->offset; - /* Well-formed UTF-8 has this nice lexicographical property... */ - ret = memcmp(a->buffer, b->buffer, minlen); - if(ret != 0) return ret; - if(a->offset == b->offset) - return 0; - if(a->offset == minlen) - return -1; - return 1; -} - - -asn_enc_rval_t -SET_OF_encode_xer(asn_TYPE_descriptor_t *td, void *sptr, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_enc_rval_t er; - asn_SET_OF_specifics_t *specs = (asn_SET_OF_specifics_t *)td->specifics; - asn_TYPE_member_t *elm = td->elements; - asn_anonymous_set_ *list = _A_SET_FROM_VOID(sptr); - const char *mname = specs->as_XMLValueList - ? 0 : ((*elm->name) ? elm->name : elm->type->xml_tag); - size_t mlen = mname ? strlen(mname) : 0; - int xcan = (flags & XER_F_CANONICAL); - xer_tmp_enc_t *encs = 0; - size_t encs_count = 0; - void *original_app_key = app_key; - asn_app_consume_bytes_f *original_cb = cb; - int i; - - if(!sptr) _ASN_ENCODE_FAILED; - - if(xcan) { - encs = (xer_tmp_enc_t *)MALLOC(list->count * sizeof(encs[0])); - if(!encs) _ASN_ENCODE_FAILED; - cb = SET_OF_encode_xer_callback; - } - - er.encoded = 0; - - for(i = 0; i < list->count; i++) { - asn_enc_rval_t tmper; - - void *memb_ptr = list->array[i]; - if(!memb_ptr) continue; - - if(encs) { - memset(&encs[encs_count], 0, sizeof(encs[0])); - app_key = &encs[encs_count]; - encs_count++; - } - - if(mname) { - if(!xcan) _i_ASN_TEXT_INDENT(1, ilevel); - _ASN_CALLBACK3("<", 1, mname, mlen, ">", 1); - } - - if(!xcan && specs->as_XMLValueList == 1) - _i_ASN_TEXT_INDENT(1, ilevel + 1); - tmper = elm->type->xer_encoder(elm->type, memb_ptr, - ilevel + (specs->as_XMLValueList != 2), - flags, cb, app_key); - if(tmper.encoded == -1) { - td = tmper.failed_type; - sptr = tmper.structure_ptr; - goto cb_failed; - } - if(tmper.encoded == 0 && specs->as_XMLValueList) { - const char *name = elm->type->xml_tag; - size_t len = strlen(name); - _ASN_CALLBACK3("<", 1, name, len, "/>", 2); - } - - if(mname) { - _ASN_CALLBACK3("", 1); - er.encoded += 5; - } - - er.encoded += (2 * mlen) + tmper.encoded; - } - - if(!xcan) _i_ASN_TEXT_INDENT(1, ilevel - 1); - - if(encs) { - xer_tmp_enc_t *enc = encs; - xer_tmp_enc_t *end = encs + encs_count; - ssize_t control_size = 0; - - cb = original_cb; - app_key = original_app_key; - qsort(encs, encs_count, sizeof(encs[0]), SET_OF_xer_order); - - for(; enc < end; enc++) { - _ASN_CALLBACK(enc->buffer, enc->offset); - FREEMEM(enc->buffer); - enc->buffer = 0; - control_size += enc->offset; - } - assert(control_size == er.encoded); - } - - goto cleanup; -cb_failed: - er.encoded = -1; - er.failed_type = td; - er.structure_ptr = sptr; -cleanup: - if(encs) { - while(encs_count-- > 0) { - if(encs[encs_count].buffer) - FREEMEM(encs[encs_count].buffer); - } - FREEMEM(encs); - } - _ASN_ENCODED_OK(er); -} - -int -SET_OF_print(asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_TYPE_member_t *elm = td->elements; - const asn_anonymous_set_ *list = _A_CSET_FROM_VOID(sptr); - int ret; - int i; - - if(!sptr) return (cb("", 8, app_key) < 0) ? -1 : 0; - - /* Dump preamble */ - if(cb(td->name, strlen(td->name), app_key) < 0 - || cb(" ::= {", 6, app_key) < 0) - return -1; - - for(i = 0; i < list->count; i++) { - const void *memb_ptr = list->array[i]; - if(!memb_ptr) continue; - - _i_INDENT(1); - - ret = elm->type->print_struct(elm->type, memb_ptr, - ilevel + 1, cb, app_key); - if(ret) return ret; - } - - ilevel--; - _i_INDENT(1); - - return (cb("}", 1, app_key) < 0) ? -1 : 0; -} - -void -SET_OF_free(asn_TYPE_descriptor_t *td, void *ptr, int contents_only) { - if(td && ptr) { - asn_SET_OF_specifics_t *specs; - asn_TYPE_member_t *elm = td->elements; - asn_anonymous_set_ *list = _A_SET_FROM_VOID(ptr); - asn_struct_ctx_t *ctx; /* Decoder context */ - int i; - - /* - * Could not use set_of_empty() because of (*free) - * incompatibility. - */ - for(i = 0; i < list->count; i++) { - void *memb_ptr = list->array[i]; - if(memb_ptr) - ASN_STRUCT_FREE(*elm->type, memb_ptr); - } - list->count = 0; /* No meaningful elements left */ - - asn_set_empty(list); /* Remove (list->array) */ - - specs = (asn_SET_OF_specifics_t *)td->specifics; - ctx = (asn_struct_ctx_t *)((char *)ptr + specs->ctx_offset); - if(ctx->ptr) { - ASN_STRUCT_FREE(*elm->type, ctx->ptr); - ctx->ptr = 0; - } - - if(!contents_only) { - FREEMEM(ptr); - } - } -} - -int -SET_OF_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - asn_TYPE_member_t *elm = td->elements; - asn_constr_check_f *constr; - const asn_anonymous_set_ *list = _A_CSET_FROM_VOID(sptr); - int i; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - constr = elm->memb_constraints; - if(!constr) constr = elm->type->check_constraints; - - /* - * Iterate over the members of an array. - * Validate each in turn, until one fails. - */ - for(i = 0; i < list->count; i++) { - const void *memb_ptr = list->array[i]; - int ret; - - if(!memb_ptr) continue; - - ret = constr(elm->type, memb_ptr, ctfailcb, app_key); - if(ret) return ret; - } - - /* - * Cannot inherit it eralier: - * need to make sure we get the updated version. - */ - if(!elm->memb_constraints) - elm->memb_constraints = elm->type->check_constraints; - - return 0; -} - -asn_dec_rval_t -SET_OF_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd) { - asn_dec_rval_t rv; - asn_SET_OF_specifics_t *specs = (asn_SET_OF_specifics_t *)td->specifics; - asn_TYPE_member_t *elm = td->elements; /* Single one */ - void *st = *sptr; - asn_anonymous_set_ *list; - asn_per_constraint_t *ct; - int repeat = 0; - ssize_t nelems; - - if(_ASN_STACK_OVERFLOW_CHECK(opt_codec_ctx)) - _ASN_DECODE_FAILED; - - /* - * Create the target structure if it is not present already. - */ - if(!st) { - st = *sptr = CALLOC(1, specs->struct_size); - if(!st) _ASN_DECODE_FAILED; - } - list = _A_SET_FROM_VOID(st); - - /* Figure out which constraints to use */ - if(constraints) ct = &constraints->size; - else if(td->per_constraints) ct = &td->per_constraints->size; - else ct = 0; - - if(ct && ct->flags & APC_EXTENSIBLE) { - int value = per_get_few_bits(pd, 1); - if(value < 0) _ASN_DECODE_STARVED; - if(value) ct = 0; /* Not restricted! */ - } - - if(ct && ct->effective_bits >= 0) { - /* X.691, #19.5: No length determinant */ - nelems = per_get_few_bits(pd, ct->effective_bits); - ASN_DEBUG("Preparing to fetch %ld+%ld elements from %s", - (long)nelems, ct->lower_bound, td->name); - if(nelems < 0) _ASN_DECODE_STARVED; - nelems += ct->lower_bound; - } else { - nelems = -1; - } - - do { - int i; - if(nelems < 0) { - nelems = uper_get_length(pd, - ct ? ct->effective_bits : -1, &repeat); - ASN_DEBUG("Got to decode %d elements (eff %d)", - (int)nelems, (int)ct ? ct->effective_bits : -1); - if(nelems < 0) _ASN_DECODE_STARVED; - } - - for(i = 0; i < nelems; i++) { - void *ptr = 0; - ASN_DEBUG("SET OF %s decoding", elm->type->name); - rv = elm->type->uper_decoder(opt_codec_ctx, elm->type, - elm->per_constraints, &ptr, pd); - ASN_DEBUG("%s SET OF %s decoded %d, %p", - td->name, elm->type->name, rv.code, ptr); - if(rv.code == RC_OK) { - if(ASN_SET_ADD(list, ptr) == 0) - continue; - ASN_DEBUG("Failed to add element into %s", - td->name); - /* Fall through */ - rv.code = RC_FAIL; - } else { - ASN_DEBUG("Failed decoding %s of %s (SET OF)", - elm->type->name, td->name); - } - if(ptr) ASN_STRUCT_FREE(*elm->type, ptr); - return rv; - } - - nelems = -1; /* Allow uper_get_length() */ - } while(repeat); - - ASN_DEBUG("Decoded %s as SET OF", td->name); - - rv.code = RC_OK; - rv.consumed = 0; - return rv; -} - diff --git a/lte/rrc/lib/asn/src/constr_TYPE.c b/lte/rrc/lib/asn/src/constr_TYPE.c deleted file mode 100644 index 7d00d5843..000000000 --- a/lte/rrc/lib/asn/src/constr_TYPE.c +++ /dev/null @@ -1,77 +0,0 @@ -/*- - * Copyright (c) 2003, 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include - -/* - * Version of the ASN.1 infrastructure shipped with compiler. - */ -int get_asn1c_environment_version() { return ASN1C_ENVIRONMENT_VERSION; } - -static asn_app_consume_bytes_f _print2fp; - -/* - * Return the outmost tag of the type. - */ -ber_tlv_tag_t -asn_TYPE_outmost_tag(asn_TYPE_descriptor_t *type_descriptor, - const void *struct_ptr, int tag_mode, ber_tlv_tag_t tag) { - - if(tag_mode) - return tag; - - if(type_descriptor->tags_count) - return type_descriptor->tags[0]; - - return type_descriptor->outmost_tag(type_descriptor, struct_ptr, 0, 0); -} - -/* - * Print the target language's structure in human readable form. - */ -int -asn_fprint(FILE *stream, asn_TYPE_descriptor_t *td, const void *struct_ptr) { - if(!stream) stream = stdout; - if(!td || !struct_ptr) { - errno = EINVAL; - return -1; - } - - /* Invoke type-specific printer */ - if(td->print_struct(td, struct_ptr, 1, _print2fp, stream)) - return -1; - - /* Terminate the output */ - if(_print2fp("\n", 1, stream)) - return -1; - - return fflush(stream); -} - -/* Dump the data into the specified stdio stream */ -static int -_print2fp(const void *buffer, size_t size, void *app_key) { - FILE *stream = (FILE *)app_key; - - if(fwrite(buffer, 1, size, stream) != size) - return -1; - - return 0; -} - - -/* - * Some compilers do not support variable args macros. - * This function is a replacement of ASN_DEBUG() macro. - */ -void ASN_DEBUG_f(const char *fmt, ...); -void ASN_DEBUG_f(const char *fmt, ...) { - va_list ap; - va_start(ap, fmt); - vfprintf(stderr, fmt, ap); - fprintf(stderr, "\n"); - va_end(ap); -} - diff --git a/lte/rrc/lib/asn/src/constraints.c b/lte/rrc/lib/asn/src/constraints.c deleted file mode 100644 index 3e732ad21..000000000 --- a/lte/rrc/lib/asn/src/constraints.c +++ /dev/null @@ -1,93 +0,0 @@ -#include -#include "liblte/rrc/asn/constraints.h" - -int -asn_generic_no_constraint(asn_TYPE_descriptor_t *type_descriptor, - const void *struct_ptr, asn_app_constraint_failed_f *cb, void *key) { - - (void)type_descriptor; /* Unused argument */ - (void)struct_ptr; /* Unused argument */ - (void)cb; /* Unused argument */ - (void)key; /* Unused argument */ - - /* Nothing to check */ - return 0; -} - -int -asn_generic_unknown_constraint(asn_TYPE_descriptor_t *type_descriptor, - const void *struct_ptr, asn_app_constraint_failed_f *cb, void *key) { - - (void)type_descriptor; /* Unused argument */ - (void)struct_ptr; /* Unused argument */ - (void)cb; /* Unused argument */ - (void)key; /* Unused argument */ - - /* Unknown how to check */ - return 0; -} - -struct errbufDesc { - asn_TYPE_descriptor_t *failed_type; - const void *failed_struct_ptr; - char *errbuf; - size_t errlen; -}; - -static void -_asn_i_ctfailcb(void *key, asn_TYPE_descriptor_t *td, const void *sptr, const char *fmt, ...) { - struct errbufDesc *arg = key; - va_list ap; - ssize_t vlen; - ssize_t maxlen; - - arg->failed_type = td; - arg->failed_struct_ptr = sptr; - - maxlen = arg->errlen; - if(maxlen <= 0) - return; - - va_start(ap, fmt); - vlen = vsnprintf(arg->errbuf, maxlen, fmt, ap); - va_end(ap); - if(vlen >= maxlen) { - arg->errbuf[maxlen-1] = '\0'; /* Ensuring libc correctness */ - arg->errlen = maxlen - 1; /* Not counting termination */ - return; - } else if(vlen >= 0) { - arg->errbuf[vlen] = '\0'; /* Ensuring libc correctness */ - arg->errlen = vlen; /* Not counting termination */ - } else { - /* - * The libc on this system is broken. - */ - vlen = sizeof("") - 1; - maxlen--; - arg->errlen = vlen < maxlen ? vlen : maxlen; - memcpy(arg->errbuf, "", arg->errlen); - arg->errbuf[arg->errlen] = 0; - } - - return; -} - -int -asn_check_constraints(asn_TYPE_descriptor_t *type_descriptor, - const void *struct_ptr, char *errbuf, size_t *errlen) { - struct errbufDesc arg; - int ret; - - arg.failed_type = 0; - arg.failed_struct_ptr = 0; - arg.errbuf = errbuf; - arg.errlen = errlen ? *errlen : 0; - - ret = type_descriptor->check_constraints(type_descriptor, - struct_ptr, _asn_i_ctfailcb, &arg); - if(ret == -1 && errlen) - *errlen = arg.errlen; - - return ret; -} - diff --git a/lte/rrc/lib/asn/src/converter-sample.c b/lte/rrc/lib/asn/src/converter-sample.c deleted file mode 100644 index e412ab4e1..000000000 --- a/lte/rrc/lib/asn/src/converter-sample.c +++ /dev/null @@ -1,834 +0,0 @@ -/* - * Generic converter template for a selected ASN.1 type. - * Copyright (c) 2005, 2006, 2007 Lev Walkin . - * All rights reserved. - * - * To compile with your own ASN.1 type, please redefine the PDU as shown: - * - * cc -DPDU=MyCustomType -o myDecoder.o -c converter-sample.c - */ -#ifdef HAVE_CONFIG_H -#include -#endif -#include -#include -#include /* for atoi(3) */ -#include /* for getopt(3) */ -#include /* for strerror(3) */ -#include /* for EX_* exit codes */ -#include /* for errno */ - -#include -#include /* for _ASN_DEFAULT_STACK_MAX */ - -/* Convert "Type" defined by -DPDU into "asn_DEF_Type" */ -#define ASN_DEF_PDU(t) asn_DEF_ ## t -#define DEF_PDU_Type(t) ASN_DEF_PDU(t) -#define PDU_Type DEF_PDU_Type(PDU) - -extern asn_TYPE_descriptor_t PDU_Type; /* ASN.1 type to be decoded */ -#ifdef ASN_PDU_COLLECTION /* Generated by asn1c: -pdu=... */ -extern asn_TYPE_descriptor_t *asn_pdu_collection[]; -#endif - -/* - * Open file and parse its contens. - */ -static void *data_decode_from_file(asn_TYPE_descriptor_t *asnTypeOfPDU, - FILE *file, const char *name, ssize_t suggested_bufsize, int first_pdu); -static int write_out(const void *buffer, size_t size, void *key); -static FILE *argument_to_file(char *av[], int idx); -static char *argument_to_name(char *av[], int idx); - - int opt_debug; /* -d (or -dd) */ -static int opt_check; /* -c (constraints checking) */ -static int opt_stack; /* -s (maximum stack size) */ -static int opt_nopad; /* -per-nopad (PER input is not padded) */ -static int opt_onepdu; /* -1 (decode single PDU) */ - -/* Input data format selector */ -static enum input_format { - INP_BER, /* -iber: BER input */ - INP_XER, /* -ixer: XER input */ - INP_PER /* -iper: Unaligned PER input */ -} iform; /* -i */ - -/* Output data format selector */ -static enum output_format { - OUT_XER, /* -oxer: XER (XML) output */ - OUT_DER, /* -oder: DER (BER) output */ - OUT_PER, /* -oper: Unaligned PER output */ - OUT_TEXT, /* -otext: semi-structured text */ - OUT_NULL /* -onull: No pretty-printing */ -} oform; /* -o */ - -#ifdef JUNKTEST /* Enable -J */ -#define JUNKOPT "J:" -static double opt_jprob; /* Junk bit probability */ -static int junk_failures; -static void junk_bytes_with_probability(uint8_t *, size_t, double prob); -#else -#define JUNKOPT -#endif - -/* Debug output function */ -static inline void -DEBUG(const char *fmt, ...) { - va_list ap; - if(!opt_debug) return; - fprintf(stderr, "AD: "); - va_start(ap, fmt); - vfprintf(stderr, fmt, ap); - va_end(ap); - fprintf(stderr, "\n"); -} - -int -main(int ac, char *av[]) { - static asn_TYPE_descriptor_t *pduType = &PDU_Type; - ssize_t suggested_bufsize = 8192; /* close or equal to stdio buffer */ - int number_of_iterations = 1; - int num; - int ch; - - /* Figure out if Unaligned PER needs to be default */ - if(pduType->uper_decoder) - iform = INP_PER; - - /* - * Pocess the command-line argments. - */ - while((ch = getopt(ac, av, "i:o:1b:cdn:p:hs:" JUNKOPT)) != -1) - switch(ch) { - case 'i': - if(optarg[0] == 'b') { iform = INP_BER; break; } - if(optarg[0] == 'x') { iform = INP_XER; break; } - if(pduType->uper_decoder - && optarg[0] == 'p') { iform = INP_PER; break; } - fprintf(stderr, "-i: '%s': improper format selector\n", - optarg); - exit(EX_UNAVAILABLE); - case 'o': - if(optarg[0] == 'd') { oform = OUT_DER; break; } - if(pduType->uper_encoder - && optarg[0] == 'p') { oform = OUT_PER; break; } - if(optarg[0] == 'x') { oform = OUT_XER; break; } - if(optarg[0] == 't') { oform = OUT_TEXT; break; } - if(optarg[0] == 'n') { oform = OUT_NULL; break; } - fprintf(stderr, "-o: '%s': improper format selector\n", - optarg); - exit(EX_UNAVAILABLE); - case '1': - opt_onepdu = 1; - break; - case 'b': - suggested_bufsize = atoi(optarg); - if(suggested_bufsize < 1 - || suggested_bufsize > 16 * 1024 * 1024) { - fprintf(stderr, - "-b %s: Improper buffer size (1..16M)\n", - optarg); - exit(EX_UNAVAILABLE); - } - break; - case 'c': - opt_check = 1; - break; - case 'd': - opt_debug++; /* Double -dd means ASN.1 debug */ - break; - case 'n': - number_of_iterations = atoi(optarg); - if(number_of_iterations < 1) { - fprintf(stderr, - "-n %s: Improper iterations count\n", optarg); - exit(EX_UNAVAILABLE); - } - break; - case 'p': - if(strcmp(optarg, "er-nopad") == 0) { - opt_nopad = 1; - break; - } -#ifdef ASN_PDU_COLLECTION - if(strcmp(optarg, "list") == 0) { - asn_TYPE_descriptor_t **pdu = asn_pdu_collection; - fprintf(stderr, "Available PDU types:\n"); - for(; *pdu; pdu++) printf("%s\n", (*pdu)->name); - exit(0); - } else if(optarg[0] >= 'A' && optarg[0] <= 'Z') { - asn_TYPE_descriptor_t **pdu = asn_pdu_collection; - while(*pdu && strcmp((*pdu)->name, optarg)) pdu++; - if(*pdu) { pduType = *pdu; break; } - fprintf(stderr, "-p %s: Unrecognized PDU\n", optarg); - } -#endif /* ASN_PDU_COLLECTION */ - fprintf(stderr, "-p %s: Unrecognized option\n", optarg); - exit(EX_UNAVAILABLE); - case 's': - opt_stack = atoi(optarg); - if(opt_stack < 0) { - fprintf(stderr, - "-s %s: Non-negative value expected\n", - optarg); - exit(EX_UNAVAILABLE); - } - break; -#ifdef JUNKTEST - case 'J': - opt_jprob = strtod(optarg, 0); - if(opt_jprob <= 0.0 || opt_jprob > 1.0) { - fprintf(stderr, - "-J %s: Probability range 0..1 expected \n", - optarg); - exit(EX_UNAVAILABLE); - } - break; -#endif /* JUNKTEST */ - case 'h': - default: -#ifdef ASN_CONVERTER_TITLE -#define _AXS(x) #x -#define _ASX(x) _AXS(x) - fprintf(stderr, "%s\n", _ASX(ASN_CONVERTER_TITLE)); -#endif - fprintf(stderr, "Usage: %s [options] ...\n", av[0]); - fprintf(stderr, "Where options are:\n"); - if(pduType->uper_decoder) - fprintf(stderr, - " -iper Input is in Unaligned PER (Packed Encoding Rules) (DEFAULT)\n"); - fprintf(stderr, - " -iber Input is in BER (Basic Encoding Rules)%s\n", - iform == INP_PER ? "" : " (DEFAULT)"); - fprintf(stderr, - " -ixer Input is in XER (XML Encoding Rules)\n"); - if(pduType->uper_encoder) - fprintf(stderr, - " -oper Output in Unaligned PER (Packed Encoding Rules)\n"); - fprintf(stderr, - " -oder Output in DER (Distinguished Encoding Rules)\n" - " -oxer Output in XER (XML Encoding Rules) (DEFAULT)\n" - " -otext Output in plain semi-structured text (dump)\n" - " -onull Verify (decode) input, but do not output\n"); - if(pduType->uper_decoder) - fprintf(stderr, - " -per-nopad Assume PER PDUs are not padded (-iper)\n"); -#ifdef ASN_PDU_COLLECTION - fprintf(stderr, - " -p Specify PDU type to decode\n" - " -p list List available PDUs\n"); -#endif /* ASN_PDU_COLLECTION */ - fprintf(stderr, - " -1 Decode only the first PDU in file\n" - " -b Set the i/o buffer size (default is %ld)\n" - " -c Check ASN.1 constraints after decoding\n" - " -d Enable debugging (-dd is even better)\n" - " -n Process files times\n" - " -s Set the stack usage limit (default is %d)\n" -#ifdef JUNKTEST - " -J Set random junk test bit garbaging probability\n" -#endif - , (long)suggested_bufsize, _ASN_DEFAULT_STACK_MAX); - exit(EX_USAGE); - } - - ac -= optind; - av += optind; - - if(ac < 1) { - fprintf(stderr, "%s: No input files specified. " - "Try '-h' for more information\n", - av[-optind]); - exit(EX_USAGE); - } - - setvbuf(stdout, 0, _IOLBF, 0); - - for(num = 0; num < number_of_iterations; num++) { - int ac_i; - /* - * Process all files in turn. - */ - for(ac_i = 0; ac_i < ac; ac_i++) { - asn_enc_rval_t erv; - void *structure; /* Decoded structure */ - FILE *file = argument_to_file(av, ac_i); - char *name = argument_to_name(av, ac_i); - int first_pdu; - - for(first_pdu = 1; first_pdu || !opt_onepdu; first_pdu = 0) { - /* - * Decode the encoded structure from file. - */ - structure = data_decode_from_file(pduType, - file, name, suggested_bufsize, first_pdu); - if(!structure) { - if(errno) { - /* Error message is already printed */ - exit(EX_DATAERR); - } else { - /* EOF */ - break; - } - } - - /* Check ASN.1 constraints */ - if(opt_check) { - char errbuf[128]; - size_t errlen = sizeof(errbuf); - if(asn_check_constraints(pduType, structure, - errbuf, &errlen)) { - fprintf(stderr, "%s: ASN.1 constraint " - "check failed: %s\n", name, errbuf); - exit(EX_DATAERR); - } - } - - switch(oform) { - case OUT_NULL: -#ifdef JUNKTEST - if(opt_jprob == 0.0) -#endif - fprintf(stderr, "%s: decoded successfully\n", name); - break; - case OUT_TEXT: /* -otext */ - asn_fprint(stdout, pduType, structure); - break; - case OUT_XER: /* -oxer */ - if(xer_fprint(stdout, pduType, structure)) { - fprintf(stderr, - "%s: Cannot convert %s into XML\n", - name, pduType->name); - exit(EX_UNAVAILABLE); - } - break; - case OUT_DER: - erv = der_encode(pduType, structure, write_out, stdout); - if(erv.encoded < 0) { - fprintf(stderr, - "%s: Cannot convert %s into DER\n", - name, pduType->name); - exit(EX_UNAVAILABLE); - } - DEBUG("Encoded in %ld bytes of DER", (long)erv.encoded); - break; - case OUT_PER: - erv = uper_encode(pduType, structure, write_out, stdout); - if(erv.encoded < 0) { - fprintf(stderr, - "%s: Cannot convert %s into Unaligned PER\n", - name, pduType->name); - exit(EX_UNAVAILABLE); - } - DEBUG("Encoded in %ld bits of UPER", (long)erv.encoded); - break; - } - - ASN_STRUCT_FREE(*pduType, structure); - } - - if(file && file != stdin) - fclose(file); - } - } - -#ifdef JUNKTEST - if(opt_jprob > 0.0) { - fprintf(stderr, "Junked %f OK (%d/%d)\n", - opt_jprob, junk_failures, number_of_iterations); - } -#endif /* JUNKTEST */ - - return 0; -} - -static struct dynamic_buffer { - uint8_t *data; /* Pointer to the data bytes */ - size_t offset; /* Offset from the start */ - size_t length; /* Length of meaningful contents */ - size_t unbits; /* Unused bits in the last byte */ - size_t allocated; /* Allocated memory for data */ - int nreallocs; /* Number of data reallocations */ - off_t bytes_shifted; /* Number of bytes ever shifted */ -} DynamicBuffer; - -static void -buffer_dump() { - uint8_t *p = DynamicBuffer.data + DynamicBuffer.offset; - uint8_t *e = p + DynamicBuffer.length - (DynamicBuffer.unbits ? 1 : 0); - if(!opt_debug) return; - DEBUG("Buffer: { d=%p, o=%ld, l=%ld, u=%ld, a=%ld, s=%ld }", - DynamicBuffer.data, - (long)DynamicBuffer.offset, - (long)DynamicBuffer.length, - (long)DynamicBuffer.unbits, - (long)DynamicBuffer.allocated, - (long)DynamicBuffer.bytes_shifted); - for(; p < e; p++) { - fprintf(stderr, " %c%c%c%c%c%c%c%c", - ((*p >> 7) & 1) ? '1' : '0', - ((*p >> 6) & 1) ? '1' : '0', - ((*p >> 5) & 1) ? '1' : '0', - ((*p >> 4) & 1) ? '1' : '0', - ((*p >> 3) & 1) ? '1' : '0', - ((*p >> 2) & 1) ? '1' : '0', - ((*p >> 1) & 1) ? '1' : '0', - ((*p >> 0) & 1) ? '1' : '0'); - } - if(DynamicBuffer.unbits) { - unsigned int shift; - fprintf(stderr, " "); - for(shift = 7; shift >= DynamicBuffer.unbits; shift--) - fprintf(stderr, "%c", ((*p >> shift) & 1) ? '1' : '0'); - fprintf(stderr, " %ld:%ld\n", - (long)DynamicBuffer.length - 1, - (long)8 - DynamicBuffer.unbits); - } else { - fprintf(stderr, " %d\n", DynamicBuffer.length); - } -} - -/* - * Move the buffer content left N bits, possibly joining it with - * preceeding content. - */ -static void -buffer_shift_left(size_t offset, int bits) { - uint8_t *ptr = DynamicBuffer.data + DynamicBuffer.offset + offset; - uint8_t *end = DynamicBuffer.data + DynamicBuffer.offset - + DynamicBuffer.length - 1; - - if(!bits) return; - - DEBUG("Shifting left %d bits off %ld (o=%ld, u=%ld, l=%ld)", - bits, (long)offset, - (long)DynamicBuffer.offset, - (long)DynamicBuffer.unbits, - (long)DynamicBuffer.length); - - if(offset) { - int right; - right = ptr[0] >> (8 - bits); - - DEBUG("oleft: %c%c%c%c%c%c%c%c", - ((ptr[-1] >> 7) & 1) ? '1' : '0', - ((ptr[-1] >> 6) & 1) ? '1' : '0', - ((ptr[-1] >> 5) & 1) ? '1' : '0', - ((ptr[-1] >> 4) & 1) ? '1' : '0', - ((ptr[-1] >> 3) & 1) ? '1' : '0', - ((ptr[-1] >> 2) & 1) ? '1' : '0', - ((ptr[-1] >> 1) & 1) ? '1' : '0', - ((ptr[-1] >> 0) & 1) ? '1' : '0'); - - DEBUG("oriht: %c%c%c%c%c%c%c%c", - ((ptr[0] >> 7) & 1) ? '1' : '0', - ((ptr[0] >> 6) & 1) ? '1' : '0', - ((ptr[0] >> 5) & 1) ? '1' : '0', - ((ptr[0] >> 4) & 1) ? '1' : '0', - ((ptr[0] >> 3) & 1) ? '1' : '0', - ((ptr[0] >> 2) & 1) ? '1' : '0', - ((ptr[0] >> 1) & 1) ? '1' : '0', - ((ptr[0] >> 0) & 1) ? '1' : '0'); - - DEBUG("mriht: %c%c%c%c%c%c%c%c", - ((right >> 7) & 1) ? '1' : '0', - ((right >> 6) & 1) ? '1' : '0', - ((right >> 5) & 1) ? '1' : '0', - ((right >> 4) & 1) ? '1' : '0', - ((right >> 3) & 1) ? '1' : '0', - ((right >> 2) & 1) ? '1' : '0', - ((right >> 1) & 1) ? '1' : '0', - ((right >> 0) & 1) ? '1' : '0'); - - ptr[-1] = (ptr[-1] & (0xff << bits)) | right; - - DEBUG("after: %c%c%c%c%c%c%c%c", - ((ptr[-1] >> 7) & 1) ? '1' : '0', - ((ptr[-1] >> 6) & 1) ? '1' : '0', - ((ptr[-1] >> 5) & 1) ? '1' : '0', - ((ptr[-1] >> 4) & 1) ? '1' : '0', - ((ptr[-1] >> 3) & 1) ? '1' : '0', - ((ptr[-1] >> 2) & 1) ? '1' : '0', - ((ptr[-1] >> 1) & 1) ? '1' : '0', - ((ptr[-1] >> 0) & 1) ? '1' : '0'); - } - - buffer_dump(); - - for(; ptr < end; ptr++) { - int right = ptr[1] >> (8 - bits); - *ptr = (*ptr << bits) | right; - } - *ptr <<= bits; - - DEBUG("Unbits [%d=>", (int)DynamicBuffer.unbits); - if(DynamicBuffer.unbits == 0) { - DynamicBuffer.unbits += bits; - } else { - DynamicBuffer.unbits += bits; - if(DynamicBuffer.unbits > 7) { - DynamicBuffer.unbits -= 8; - DynamicBuffer.length--; - DynamicBuffer.bytes_shifted++; - } - } - DEBUG("Unbits =>%d]", (int)DynamicBuffer.unbits); - - buffer_dump(); - - DEBUG("Shifted. Now (o=%ld, u=%ld l=%ld)", - (long)DynamicBuffer.offset, - (long)DynamicBuffer.unbits, - (long)DynamicBuffer.length); - - -} - -/* - * Ensure that the buffer contains at least this amount of free space. - */ -static void add_bytes_to_buffer(const void *data2add, size_t bytes) { - - if(bytes == 0) return; - - DEBUG("=> add_bytes(%ld) { o=%ld l=%ld u=%ld, s=%ld }", - (long)bytes, - (long)DynamicBuffer.offset, - (long)DynamicBuffer.length, - (long)DynamicBuffer.unbits, - (long)DynamicBuffer.allocated); - - if(DynamicBuffer.allocated - >= (DynamicBuffer.offset + DynamicBuffer.length + bytes)) { - DEBUG("\tNo buffer reallocation is necessary"); - } else if(bytes <= DynamicBuffer.offset) { - DEBUG("\tContents shifted by %ld", DynamicBuffer.offset); - - /* Shift the buffer contents */ - memmove(DynamicBuffer.data, - DynamicBuffer.data + DynamicBuffer.offset, - DynamicBuffer.length); - DynamicBuffer.bytes_shifted += DynamicBuffer.offset; - DynamicBuffer.offset = 0; - } else { - size_t newsize = (DynamicBuffer.allocated << 2) + bytes; - void *p = MALLOC(newsize); - if(!p) { - perror("malloc()"); - exit(EX_OSERR); - } - memcpy(p, - DynamicBuffer.data + DynamicBuffer.offset, - DynamicBuffer.length); - FREEMEM(DynamicBuffer.data); - DynamicBuffer.data = (uint8_t *)p; - DynamicBuffer.offset = 0; - DynamicBuffer.allocated = newsize; - DynamicBuffer.nreallocs++; - DEBUG("\tBuffer reallocated to %ld (%d time)", - newsize, DynamicBuffer.nreallocs); - } - - memcpy(DynamicBuffer.data - + DynamicBuffer.offset + DynamicBuffer.length, - data2add, bytes); - DynamicBuffer.length += bytes; - if(DynamicBuffer.unbits) { - int bits = DynamicBuffer.unbits; - DynamicBuffer.unbits = 0; - buffer_shift_left(DynamicBuffer.length - bytes, bits); - } - - DEBUG("<= add_bytes(%ld) { o=%ld l=%ld u=%ld, s=%ld }", - (long)bytes, - (long)DynamicBuffer.offset, - (long)DynamicBuffer.length, - (long)DynamicBuffer.unbits, - (long)DynamicBuffer.allocated); -} - -static void * -data_decode_from_file(asn_TYPE_descriptor_t *pduType, FILE *file, const char *name, ssize_t suggested_bufsize, int on_first_pdu) { - static uint8_t *fbuf; - static ssize_t fbuf_size; - static asn_codec_ctx_t s_codec_ctx; - asn_codec_ctx_t *opt_codec_ctx = 0; - void *structure = 0; - asn_dec_rval_t rval; - size_t old_offset; - size_t new_offset; - int tolerate_eof; - size_t rd; - - if(!file) { - fprintf(stderr, "%s: %s\n", name, strerror(errno)); - errno = EINVAL; - return 0; - } - - if(opt_stack) { - s_codec_ctx.max_stack_size = opt_stack; - opt_codec_ctx = &s_codec_ctx; - } - - DEBUG("Processing %s", name); - - /* prepare the file buffer */ - if(fbuf_size != suggested_bufsize) { - fbuf = (uint8_t *)REALLOC(fbuf, suggested_bufsize); - if(!fbuf) { - perror("realloc()"); - exit(EX_OSERR); - } - fbuf_size = suggested_bufsize; - } - - if(on_first_pdu) { - DynamicBuffer.offset = 0; - DynamicBuffer.length = 0; - DynamicBuffer.unbits = 0; - DynamicBuffer.allocated = 0; - DynamicBuffer.bytes_shifted = 0; - DynamicBuffer.nreallocs = 0; - } - - old_offset = DynamicBuffer.bytes_shifted + DynamicBuffer.offset; - - /* Pretend immediate EOF */ - rval.code = RC_WMORE; - rval.consumed = 0; - - for(tolerate_eof = 1; /* Allow EOF first time buffer is non-empty */ - (rd = fread(fbuf, 1, fbuf_size, file)) - || feof(file) == 0 - || (tolerate_eof && DynamicBuffer.length) - ;) { - int ecbits = 0; /* Extra consumed bits in case of PER */ - uint8_t *i_bptr; - size_t i_size; - - /* - * Copy the data over, or use the original buffer. - */ - if(DynamicBuffer.allocated) { - /* Append new data into the existing dynamic buffer */ - add_bytes_to_buffer(fbuf, rd); - i_bptr = DynamicBuffer.data + DynamicBuffer.offset; - i_size = DynamicBuffer.length; - } else { - i_bptr = fbuf; - i_size = rd; - } - - DEBUG("Decoding %ld bytes", (long)i_size); - -#ifdef JUNKTEST - junk_bytes_with_probability(i_bptr, i_size, opt_jprob); -#endif - - switch(iform) { - case INP_BER: - rval = ber_decode(opt_codec_ctx, pduType, - (void **)&structure, i_bptr, i_size); - break; - case INP_XER: - rval = xer_decode(opt_codec_ctx, pduType, - (void **)&structure, i_bptr, i_size); - break; - case INP_PER: - if(opt_nopad) - rval = uper_decode(opt_codec_ctx, pduType, - (void **)&structure, i_bptr, i_size, 0, - DynamicBuffer.unbits); - else - rval = uper_decode_complete(opt_codec_ctx, pduType, - (void **)&structure, i_bptr, i_size); - switch(rval.code) { - case RC_OK: - /* Fall through */ - case RC_FAIL: - if(opt_nopad) { - /* uper_decode() returns bits! */ - /* Extra bits */ - ecbits = rval.consumed % 8; - /* Convert into bytes! */ - rval.consumed /= 8; - } - break; - case RC_WMORE: - /* PER does not support restartability */ - ASN_STRUCT_FREE(*pduType, structure); - structure = 0; - rval.consumed = 0; - /* Continue accumulating data */ - break; - } - break; - } - DEBUG("decode(%ld) consumed %ld+%db (%ld), code %d", - (long)DynamicBuffer.length, - (long)rval.consumed, ecbits, (long)i_size, - rval.code); - - if(DynamicBuffer.allocated == 0) { - /* - * Flush remainder into the intermediate buffer. - */ - if(rval.code != RC_FAIL && rval.consumed < rd) { - add_bytes_to_buffer(fbuf + rval.consumed, - rd - rval.consumed); - buffer_shift_left(0, ecbits); - DynamicBuffer.bytes_shifted = rval.consumed; - rval.consumed = 0; - ecbits = 0; - } - } - - /* - * Adjust position inside the source buffer. - */ - if(DynamicBuffer.allocated) { - DynamicBuffer.offset += rval.consumed; - DynamicBuffer.length -= rval.consumed; - } else { - DynamicBuffer.bytes_shifted += rval.consumed; - } - - switch(rval.code) { - case RC_OK: - if(ecbits) buffer_shift_left(0, ecbits); - DEBUG("RC_OK, finishing up with %ld+%d", - (long)rval.consumed, ecbits); - return structure; - case RC_WMORE: - DEBUG("RC_WMORE, continuing read=%ld, cons=%ld " - " with %ld..%ld-%ld..%ld", - (long)rd, - (long)rval.consumed, - (long)DynamicBuffer.offset, - (long)DynamicBuffer.length, - (long)DynamicBuffer.unbits, - (long)DynamicBuffer.allocated); - if(!rd) tolerate_eof--; - continue; - case RC_FAIL: - break; - } - break; - } - - DEBUG("Clean up partially decoded structure"); - ASN_STRUCT_FREE(*pduType, structure); - - new_offset = DynamicBuffer.bytes_shifted + DynamicBuffer.offset; - - /* - * Print a message and return failure only if not EOF, - * unless this is our first PDU (empty file). - */ - if(on_first_pdu - || DynamicBuffer.length - || new_offset - old_offset > ((iform == INP_XER)?sizeof("\r\n")-1:0) - ) { - -#ifdef JUNKTEST - /* - * Nothing's wrong with being unable to decode junk. - * Simulate EOF. - */ - if(opt_jprob != 0.0) { - junk_failures++; - errno = 0; - return 0; - } -#endif - - DEBUG("ofp %d, no=%ld, oo=%ld, dbl=%ld", - on_first_pdu, (long)new_offset, (long)old_offset, - (long)DynamicBuffer.length); - fprintf(stderr, "%s: " - "Decode failed past byte %ld: %s\n", - name, (long)new_offset, - (rval.code == RC_WMORE) - ? "Unexpected end of input" - : "Input processing error"); -#ifndef ENOMSG -#define ENOMSG EINVAL -#endif -#ifndef EBADMSG -#define EBADMSG EINVAL -#endif - errno = (rval.code == RC_WMORE) ? ENOMSG : EBADMSG; - } else { - /* Got EOF after a few successful PDUs */ - errno = 0; - } - - return 0; -} - -/* Dump the buffer out to the specified FILE */ -static int write_out(const void *buffer, size_t size, void *key) { - FILE *fp = (FILE *)key; - return (fwrite(buffer, 1, size, fp) == size) ? 0 : -1; -} - -static int argument_is_stdin(char *av[], int idx) { - if(strcmp(av[idx], "-")) { - return 0; /* Certainly not */ - } else { - /* This might be , unless `./program -- -` */ - if(strcmp(av[-1], "--")) - return 1; - else - return 0; - } -} - -static FILE *argument_to_file(char *av[], int idx) { - return argument_is_stdin(av, idx) - ? stdin - : fopen(av[idx], "r"); -} - -static char *argument_to_name(char *av[], int idx) { - return argument_is_stdin(av, idx) - ? "standard input" - : av[idx]; -} - -#ifdef JUNKTEST -/* - * Fill bytes with some garbage with specified probability (more or less). - */ -static void -junk_bytes_with_probability(uint8_t *buf, size_t size, double prob) { - static int junkmode; - uint8_t *ptr; - uint8_t *end; - if(opt_jprob <= 0.0) return; - for(ptr = buf, end = ptr + size; ptr < end; ptr++) { - int byte = *ptr; - if(junkmode++ & 1) { - if((((double)random() / RAND_MAX) < prob)) - byte = random() & 0xff; - } else { -#define BPROB(b) ((((double)random() / RAND_MAX) < prob) ? b : 0) - byte ^= BPROB(0x80); - byte ^= BPROB(0x40); - byte ^= BPROB(0x20); - byte ^= BPROB(0x10); - byte ^= BPROB(0x08); - byte ^= BPROB(0x04); - byte ^= BPROB(0x02); - byte ^= BPROB(0x01); - } - if(byte != *ptr) { - DEBUG("Junk buf[%d] %02x -> %02x", - ptr - buf, *ptr, byte); - *ptr = byte; - } - } -} -#endif /* JUNKTEST */ - diff --git a/lte/rrc/lib/asn/src/der_encoder.c b/lte/rrc/lib/asn/src/der_encoder.c deleted file mode 100644 index f75351137..000000000 --- a/lte/rrc/lib/asn/src/der_encoder.c +++ /dev/null @@ -1,216 +0,0 @@ -/*- - * Copyright (c) 2003, 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include - -static ssize_t der_write_TL(ber_tlv_tag_t tag, ber_tlv_len_t len, - asn_app_consume_bytes_f *cb, void *app_key, int constructed); - -/* - * The DER encoder of any type. - */ -asn_enc_rval_t -der_encode(asn_TYPE_descriptor_t *type_descriptor, void *struct_ptr, - asn_app_consume_bytes_f *consume_bytes, void *app_key) { - - ASN_DEBUG("DER encoder invoked for %s", - type_descriptor->name); - - /* - * Invoke type-specific encoder. - */ - return type_descriptor->der_encoder(type_descriptor, - struct_ptr, /* Pointer to the destination structure */ - 0, 0, - consume_bytes, app_key); -} - -/* - * Argument type and callback necessary for der_encode_to_buffer(). - */ -typedef struct enc_to_buf_arg { - void *buffer; - size_t left; -} enc_to_buf_arg; -static int encode_to_buffer_cb(const void *buffer, size_t size, void *key) { - enc_to_buf_arg *arg = (enc_to_buf_arg *)key; - - if(arg->left < size) - return -1; /* Data exceeds the available buffer size */ - - memcpy(arg->buffer, buffer, size); - arg->buffer = ((char *)arg->buffer) + size; - arg->left -= size; - - return 0; -} - -/* - * A variant of the der_encode() which encodes the data into the provided buffer - */ -asn_enc_rval_t -der_encode_to_buffer(asn_TYPE_descriptor_t *type_descriptor, void *struct_ptr, - void *buffer, size_t buffer_size) { - enc_to_buf_arg arg; - asn_enc_rval_t ec; - - arg.buffer = buffer; - arg.left = buffer_size; - - ec = type_descriptor->der_encoder(type_descriptor, - struct_ptr, /* Pointer to the destination structure */ - 0, 0, encode_to_buffer_cb, &arg); - if(ec.encoded != -1) { - assert(ec.encoded == (ssize_t)(buffer_size - arg.left)); - /* Return the encoded contents size */ - } - return ec; -} - - -/* - * Write out leading TL[v] sequence according to the type definition. - */ -ssize_t -der_write_tags(asn_TYPE_descriptor_t *sd, - size_t struct_length, - int tag_mode, int last_tag_form, - ber_tlv_tag_t tag, /* EXPLICIT or IMPLICIT tag */ - asn_app_consume_bytes_f *cb, - void *app_key) { - ber_tlv_tag_t *tags; /* Copy of tags stream */ - ber_tlv_tag_t tags_array[8]; - int tags_count; /* Number of tags */ - size_t overall_length; - ssize_t *lens; - ssize_t lens_array[8]; - int i; - - ASN_DEBUG("Writing tags (%s, tm=%d, tc=%d, tag=%s, mtc=%d)", - sd->name, tag_mode, sd->tags_count, - ber_tlv_tag_string(tag), - tag_mode - ?(sd->tags_count+1 - -((tag_mode == -1) && sd->tags_count)) - :sd->tags_count - ); - - if(tag_mode) { - /* - * Instead of doing shaman dance like we do in ber_check_tags(), - * allocate a small array on the stack - * and initialize it appropriately. - */ - int stag_offset; - //tags = (ber_tlv_tag_t *)alloca((sd->tags_count + 1) * sizeof(ber_tlv_tag_t)); - tags = &(tags_array[0]); - if ((sd->tags_count + 1)>=8) { -#ifdef USER_MODE - printf("der_encoder.c: ERROR tags array too small. Increase size!\n"); - exit(-1); -#endif - errno = ENOMEM; - return -1; - } - if(!tags) { /* Can fail on !x86 */ - errno = ENOMEM; - return -1; - } - tags_count = sd->tags_count - + 1 /* EXPLICIT or IMPLICIT tag is given */ - - ((tag_mode == -1) && sd->tags_count); - /* Copy tags over */ - tags[0] = tag; - stag_offset = -1 + ((tag_mode == -1) && sd->tags_count); - for(i = 1; i < tags_count; i++) - tags[i] = sd->tags[i + stag_offset]; - } else { - tags = sd->tags; - tags_count = sd->tags_count; - } - - /* No tags to write */ - if(tags_count == 0) - return 0; - - //lens = (ssize_t *)alloca(tags_count * sizeof(lens[0])); - lens = &(lens_array[0]); - if (tags_count>=8) { - printf("der_encoder.c: ERROR lens array too small. Increase size!\n"); - exit(-1); - errno = ENOMEM; - return -1; - } - if(!lens) { - errno = ENOMEM; - return -1; - } - - /* - * Array of tags is initialized. - * Now, compute the size of the TLV pairs, from right to left. - */ - overall_length = struct_length; - for(i = tags_count - 1; i >= 0; --i) { - lens[i] = der_write_TL(tags[i], overall_length, 0, 0, 0); - if(lens[i] == -1) return -1; - overall_length += lens[i]; - lens[i] = overall_length - lens[i]; - } - - if(!cb) return overall_length - struct_length; - - ASN_DEBUG("%s %s TL sequence (%d elements)", - cb?"Encoding":"Estimating", sd->name, tags_count); - - /* - * Encode the TL sequence for real. - */ - for(i = 0; i < tags_count; i++) { - ssize_t len; - int _constr; - - /* Check if this tag happens to be constructed */ - _constr = (last_tag_form || i < (tags_count - 1)); - - len = der_write_TL(tags[i], lens[i], cb, app_key, _constr); - if(len == -1) return -1; - } - - return overall_length - struct_length; -} - -static ssize_t -der_write_TL(ber_tlv_tag_t tag, ber_tlv_len_t len, - asn_app_consume_bytes_f *cb, void *app_key, - int constructed) { - uint8_t buf[32]; - size_t size = 0; - int buf_size = cb?sizeof(buf):0; - ssize_t tmp; - - /* Serialize tag (T from TLV) into possibly zero-length buffer */ - tmp = ber_tlv_tag_serialize(tag, buf, buf_size); - if(tmp == -1 || tmp > (ssize_t)sizeof(buf)) return -1; - size += tmp; - - /* Serialize length (L from TLV) into possibly zero-length buffer */ - tmp = der_tlv_length_serialize(len, buf+size, buf_size?buf_size-size:0); - if(tmp == -1) return -1; - size += tmp; - - if(size > sizeof(buf)) - return -1; - - /* - * If callback is specified, invoke it, and check its return value. - */ - if(cb) { - if(constructed) *buf |= 0x20; - if(cb(buf, size, app_key) < 0) - return -1; - } - - return size; -} diff --git a/lte/rrc/lib/asn/src/per_decoder.c b/lte/rrc/lib/asn/src/per_decoder.c deleted file mode 100644 index 405e64429..000000000 --- a/lte/rrc/lib/asn/src/per_decoder.c +++ /dev/null @@ -1,93 +0,0 @@ -#include -#include -#include - -/* - * Decode a "Production of a complete encoding", X.691#10.1. - * The complete encoding contains at least one byte, and is an integral - * multiple of 8 bytes. - */ -asn_dec_rval_t -uper_decode_complete(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, void **sptr, const void *buffer, size_t size) { - asn_dec_rval_t rval; - - rval = uper_decode(opt_codec_ctx, td, sptr, buffer, size, 0, 0); - if(rval.consumed) { - /* - * We've always given 8-aligned data, - * so convert bits to integral bytes. - */ - rval.consumed += 7; - rval.consumed >>= 3; - } else if(rval.code == RC_OK) { - if(size) { - if(((uint8_t *)buffer)[0] == 0) { - rval.consumed = 1; /* 1 byte */ - } else { - ASN_DEBUG("Expecting single zeroed byte"); - rval.code = RC_FAIL; - } - } else { - /* Must contain at least 8 bits. */ - rval.code = RC_WMORE; - } - } - - return rval; -} - -asn_dec_rval_t -uper_decode(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, void **sptr, const void *buffer, size_t size, int skip_bits, int unused_bits) { - asn_codec_ctx_t s_codec_ctx; - asn_dec_rval_t rval; - asn_per_data_t pd; - - if(skip_bits < 0 || skip_bits > 7 - || unused_bits < 0 || unused_bits > 7 - || (unused_bits > 0 && !size)) - _ASN_DECODE_FAILED; - - /* - * Stack checker requires that the codec context - * must be allocated on the stack. - */ - if(opt_codec_ctx) { - if(opt_codec_ctx->max_stack_size) { - s_codec_ctx = *opt_codec_ctx; - opt_codec_ctx = &s_codec_ctx; - } - } else { - /* If context is not given, be security-conscious anyway */ - memset(&s_codec_ctx, 0, sizeof(s_codec_ctx)); - s_codec_ctx.max_stack_size = _ASN_DEFAULT_STACK_MAX; - opt_codec_ctx = &s_codec_ctx; - } - - /* Fill in the position indicator */ - memset(&pd, 0, sizeof(pd)); - pd.buffer = (const uint8_t *)buffer; - pd.nboff = skip_bits; - pd.nbits = 8 * size - unused_bits; /* 8 is CHAR_BIT from */ - if(pd.nboff > pd.nbits) - _ASN_DECODE_FAILED; - - /* - * Invoke type-specific decoder. - */ - if(!td->uper_decoder) - _ASN_DECODE_FAILED; /* PER is not compiled in */ - rval = td->uper_decoder(opt_codec_ctx, td, 0, sptr, &pd); - if(rval.code == RC_OK) { - /* Return the number of consumed bits */ - rval.consumed = ((pd.buffer - (const uint8_t *)buffer) << 3) - + pd.nboff - skip_bits; - ASN_DEBUG("PER decoding consumed %d, counted %d", - rval.consumed, pd.moved); - assert(rval.consumed == pd.moved); - } else { - /* PER codec is not a restartable */ - rval.consumed = 0; - } - return rval; -} - diff --git a/lte/rrc/lib/asn/src/per_encoder.c b/lte/rrc/lib/asn/src/per_encoder.c deleted file mode 100644 index 8479502ba..000000000 --- a/lte/rrc/lib/asn/src/per_encoder.c +++ /dev/null @@ -1,151 +0,0 @@ -#include -#include -#include - -static asn_enc_rval_t uper_encode_internal(asn_TYPE_descriptor_t *td, asn_per_constraints_t *, void *sptr, asn_app_consume_bytes_f *cb, void *app_key); - -asn_enc_rval_t -uper_encode(asn_TYPE_descriptor_t *td, void *sptr, asn_app_consume_bytes_f *cb, void *app_key) { - return uper_encode_internal(td, 0, sptr, cb, app_key); -} - -/* - * Argument type and callback necessary for uper_encode_to_buffer(). - */ -typedef struct enc_to_buf_arg { - void *buffer; - size_t left; -} enc_to_buf_arg; -static int encode_to_buffer_cb(const void *buffer, size_t size, void *key) { - enc_to_buf_arg *arg = (enc_to_buf_arg *)key; - - if(arg->left < size) - return -1; /* Data exceeds the available buffer size */ - - memcpy(arg->buffer, buffer, size); - arg->buffer = ((char *)arg->buffer) + size; - arg->left -= size; - - return 0; -} - -asn_enc_rval_t -uper_encode_to_buffer(asn_TYPE_descriptor_t *td, void *sptr, void *buffer, size_t buffer_size) { - enc_to_buf_arg key; - - key.buffer = buffer; - key.left = buffer_size; - - if(td) ASN_DEBUG("Encoding \"%s\" using UNALIGNED PER", td->name); - - return uper_encode_internal(td, 0, sptr, encode_to_buffer_cb, &key); -} - -typedef struct enc_dyn_arg { - void *buffer; - size_t length; - size_t allocated; -} enc_dyn_arg; -static int -encode_dyn_cb(const void *buffer, size_t size, void *key) { - enc_dyn_arg *arg = key; - if(arg->length + size >= arg->allocated) { - void *p; - arg->allocated = arg->allocated ? (arg->allocated << 2) : size; - p = REALLOC(arg->buffer, arg->allocated); - if(!p) { - FREEMEM(arg->buffer); - memset(arg, 0, sizeof(*arg)); - return -1; - } - arg->buffer = p; - } - memcpy(((char *)arg->buffer) + arg->length, buffer, size); - arg->length += size; - return 0; -} -ssize_t -uper_encode_to_new_buffer(asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void *sptr, void **buffer_r) { - asn_enc_rval_t er; - enc_dyn_arg key; - - memset(&key, 0, sizeof(key)); - - er = uper_encode_internal(td, constraints, sptr, encode_dyn_cb, &key); - switch(er.encoded) { - case -1: - FREEMEM(key.buffer); - return -1; - case 0: - FREEMEM(key.buffer); - key.buffer = MALLOC(1); - if(key.buffer) { - *(char *)key.buffer = '\0'; - *buffer_r = key.buffer; - return 1; - } else { - return -1; - } - default: - *buffer_r = key.buffer; - ASN_DEBUG("Complete encoded in %d bits", er.encoded); - return ((er.encoded + 7) >> 3); - } -} - -/* - * Internally useful functions. - */ - -/* Flush partially filled buffer */ -static int -_uper_encode_flush_outp(asn_per_outp_t *po) { - uint8_t *buf; - - if(po->nboff == 0 && po->buffer == po->tmpspace) - return 0; - - buf = po->buffer + (po->nboff >> 3); - /* Make sure we account for the last, partially filled */ - if(po->nboff & 0x07) { - buf[0] &= 0xff << (8 - (po->nboff & 0x07)); - buf++; - } - - return po->outper(po->tmpspace, buf - po->tmpspace, po->op_key); -} - -static asn_enc_rval_t -uper_encode_internal(asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void *sptr, asn_app_consume_bytes_f *cb, void *app_key) { - asn_per_outp_t po; - asn_enc_rval_t er; - - /* - * Invoke type-specific encoder. - */ - if(!td || !td->uper_encoder) - _ASN_ENCODE_FAILED; /* PER is not compiled in */ - - po.buffer = po.tmpspace; - po.nboff = 0; - po.nbits = 8 * sizeof(po.tmpspace); - po.outper = cb; - po.op_key = app_key; - po.flushed_bytes = 0; - - er = td->uper_encoder(td, constraints, sptr, &po); - if(er.encoded != -1) { - size_t bits_to_flush; - - bits_to_flush = ((po.buffer - po.tmpspace) << 3) + po.nboff; - - /* Set number of bits encoded to a firm value */ - er.encoded = (po.flushed_bytes << 3) + bits_to_flush; - - if(_uper_encode_flush_outp(&po)) - _ASN_ENCODE_FAILED; - } - - return er; -} - diff --git a/lte/rrc/lib/asn/src/per_opentype.c b/lte/rrc/lib/asn/src/per_opentype.c deleted file mode 100644 index 15626611f..000000000 --- a/lte/rrc/lib/asn/src/per_opentype.c +++ /dev/null @@ -1,373 +0,0 @@ -/* - * Copyright (c) 2007 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include -#include -#include - -typedef struct uper_ugot_key { - asn_per_data_t oldpd; /* Old per data source */ - size_t unclaimed; - size_t ot_moved; /* Number of bits moved by OT processing */ - int repeat; -} uper_ugot_key; - -static int uper_ugot_refill(asn_per_data_t *pd); -static int per_skip_bits(asn_per_data_t *pd, int skip_nbits); -static asn_dec_rval_t uper_sot_suck(asn_codec_ctx_t *, asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd); - -int asn_debug_indent; - -/* - * Encode an "open type field". - * #10.1, #10.2 - */ -int -uper_open_type_put(asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void *sptr, asn_per_outp_t *po) { - void *buf; - void *bptr; - ssize_t size; - size_t toGo; - - ASN_DEBUG("Open type put %s ...", td->name); - - size = uper_encode_to_new_buffer(td, constraints, sptr, &buf); - if(size <= 0) return -1; - - for(bptr = buf, toGo = size; toGo;) { - ssize_t maySave = uper_put_length(po, toGo); - if(maySave < 0) break; - if(per_put_many_bits(po, bptr, maySave * 8)) break; - bptr = (char *)bptr + maySave; - toGo -= maySave; - } - - FREEMEM(buf); - if(toGo) return -1; - - ASN_DEBUG("Open type put %s of length %d + overhead (1byte?)", - td->name, size); - - return 0; -} - -static asn_dec_rval_t -uper_open_type_get_simple(asn_codec_ctx_t *ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd) { - asn_dec_rval_t rv; - ssize_t chunk_bytes; - int repeat; - uint8_t *buf = 0; - size_t bufLen = 0; - size_t bufSize = 0; - asn_per_data_t spd; - size_t padding; - - _ASN_STACK_OVERFLOW_CHECK(ctx); - - ASN_DEBUG("Getting open type %s...", td->name); - - do { - chunk_bytes = uper_get_length(pd, -1, &repeat); - if(chunk_bytes < 0) { - FREEMEM(buf); - _ASN_DECODE_STARVED; - } - if(bufLen + chunk_bytes > bufSize) { - void *ptr; - bufSize = chunk_bytes + (bufSize << 2); - ptr = REALLOC(buf, bufSize); - if(!ptr) { - FREEMEM(buf); - _ASN_DECODE_FAILED; - } - buf = ptr; - } - if(per_get_many_bits(pd, buf + bufLen, 0, chunk_bytes << 3)) { - FREEMEM(buf); - _ASN_DECODE_STARVED; - } - bufLen += chunk_bytes; - } while(repeat); - - ASN_DEBUG("Getting open type %s encoded in %d bytes", td->name, - bufLen); - - memset(&spd, 0, sizeof(spd)); - spd.buffer = buf; - spd.nbits = bufLen << 3; - - asn_debug_indent += 4; - rv = td->uper_decoder(ctx, td, constraints, sptr, &spd); - asn_debug_indent -= 4; - - if(rv.code == RC_OK) { - /* Check padding validity */ - padding = spd.nbits - spd.nboff; - if(padding < 8 && per_get_few_bits(&spd, padding) == 0) { - /* Everything is cool */ - FREEMEM(buf); - return rv; - } - FREEMEM(buf); - if(padding >= 8) { - ASN_DEBUG("Too large padding %d in open type", padding); - _ASN_DECODE_FAILED; - } else { - ASN_DEBUG("Non-zero padding"); - _ASN_DECODE_FAILED; - } - } else { - FREEMEM(buf); - /* rv.code could be RC_WMORE, nonsense in this context */ - rv.code = RC_FAIL; /* Noone would give us more */ - } - - return rv; -} - -static asn_dec_rval_t GCC_NOTUSED -uper_open_type_get_complex(asn_codec_ctx_t *ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd) { - uper_ugot_key arg; - asn_dec_rval_t rv; - ssize_t padding; - - _ASN_STACK_OVERFLOW_CHECK(ctx); - - ASN_DEBUG("Getting open type %s from %s", td->name, - per_data_string(pd)); - arg.oldpd = *pd; - arg.unclaimed = 0; - arg.ot_moved = 0; - arg.repeat = 1; - pd->refill = uper_ugot_refill; - pd->refill_key = &arg; - pd->nbits = pd->nboff; /* 0 good bits at this point, will refill */ - pd->moved = 0; /* This now counts the open type size in bits */ - - asn_debug_indent += 4; - rv = td->uper_decoder(ctx, td, constraints, sptr, pd); - asn_debug_indent -= 4; - -#define UPDRESTOREPD do { \ - /* buffer and nboff are valid, preserve them. */ \ - pd->nbits = arg.oldpd.nbits - (pd->moved - arg.ot_moved); \ - pd->moved = arg.oldpd.moved + (pd->moved - arg.ot_moved); \ - pd->refill = arg.oldpd.refill; \ - pd->refill_key = arg.oldpd.refill_key; \ - } while(0) - - if(rv.code != RC_OK) { - UPDRESTOREPD; - return rv; - } - - ASN_DEBUG("OpenType %s pd%s old%s unclaimed=%d, repeat=%d" - , td->name, - per_data_string(pd), - per_data_string(&arg.oldpd), - arg.unclaimed, arg.repeat); - - padding = pd->moved % 8; - if(padding) { - int32_t pvalue; - if(padding > 7) { - ASN_DEBUG("Too large padding %d in open type", - padding); - rv.code = RC_FAIL; - UPDRESTOREPD; - return rv; - } - padding = 8 - padding; - ASN_DEBUG("Getting padding of %d bits", padding); - pvalue = per_get_few_bits(pd, padding); - switch(pvalue) { - case -1: - ASN_DEBUG("Padding skip failed"); - UPDRESTOREPD; - _ASN_DECODE_STARVED; - case 0: break; - default: - ASN_DEBUG("Non-blank padding (%d bits 0x%02x)", - padding, (int)pvalue); - UPDRESTOREPD; - _ASN_DECODE_FAILED; - } - } - if(pd->nboff != pd->nbits) { - ASN_DEBUG("Open type %s overhead pd%s old%s", td->name, - per_data_string(pd), per_data_string(&arg.oldpd)); - if(1) { - UPDRESTOREPD; - _ASN_DECODE_FAILED; - } else { - arg.unclaimed += pd->nbits - pd->nboff; - } - } - - /* Adjust pd back so it points to original data */ - UPDRESTOREPD; - - /* Skip data not consumed by the decoder */ - if(arg.unclaimed) ASN_DEBUG("Getting unclaimed %d", arg.unclaimed); - if(arg.unclaimed) { - switch(per_skip_bits(pd, arg.unclaimed)) { - case -1: - ASN_DEBUG("Claim of %d failed", arg.unclaimed); - _ASN_DECODE_STARVED; - case 0: - ASN_DEBUG("Got claim of %d", arg.unclaimed); - break; - default: - /* Padding must be blank */ - ASN_DEBUG("Non-blank unconsumed padding"); - _ASN_DECODE_FAILED; - } - arg.unclaimed = 0; - } - - if(arg.repeat) { - ASN_DEBUG("Not consumed the whole thing"); - rv.code = RC_FAIL; - return rv; - } - - return rv; -} - - -asn_dec_rval_t -uper_open_type_get(asn_codec_ctx_t *ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd) { - - return uper_open_type_get_simple(ctx, td, constraints, - sptr, pd); - -} - -int -uper_open_type_skip(asn_codec_ctx_t *ctx, asn_per_data_t *pd) { - asn_TYPE_descriptor_t s_td; - asn_dec_rval_t rv; - - s_td.name = ""; - s_td.uper_decoder = uper_sot_suck; - - rv = uper_open_type_get(ctx, &s_td, 0, 0, pd); - if(rv.code != RC_OK) - return -1; - else - return 0; -} - -/* - * Internal functions. - */ - -static asn_dec_rval_t -uper_sot_suck(asn_codec_ctx_t *ctx, asn_TYPE_descriptor_t *td, - asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd) { - asn_dec_rval_t rv; - - (void)ctx; - (void)td; - (void)constraints; - (void)sptr; - - while(per_get_few_bits(pd, 24) >= 0); - - rv.code = RC_OK; - rv.consumed = pd->moved; - - return rv; -} - -static int -uper_ugot_refill(asn_per_data_t *pd) { - uper_ugot_key *arg = pd->refill_key; - ssize_t next_chunk_bytes, next_chunk_bits; - ssize_t avail; - - asn_per_data_t *oldpd = &arg->oldpd; - - ASN_DEBUG("REFILLING pd->moved=%d, oldpd->moved=%d", - pd->moved, oldpd->moved); - - /* Advance our position to where pd is */ - oldpd->buffer = pd->buffer; - oldpd->nboff = pd->nboff; - oldpd->nbits -= pd->moved - arg->ot_moved; - oldpd->moved += pd->moved - arg->ot_moved; - arg->ot_moved = pd->moved; - - if(arg->unclaimed) { - /* Refill the container */ - if(per_get_few_bits(oldpd, 1)) - return -1; - if(oldpd->nboff == 0) { - assert(0); - return -1; - } - pd->buffer = oldpd->buffer; - pd->nboff = oldpd->nboff - 1; - pd->nbits = oldpd->nbits; - ASN_DEBUG("UNCLAIMED <- return from (pd->moved=%d)", pd->moved); - return 0; - } - - if(!arg->repeat) { - ASN_DEBUG("Want more but refill doesn't have it"); - return -1; - } - - next_chunk_bytes = uper_get_length(oldpd, -1, &arg->repeat); - ASN_DEBUG("Open type LENGTH %d bytes at off %d, repeat %d", - next_chunk_bytes, oldpd->moved, arg->repeat); - if(next_chunk_bytes < 0) return -1; - if(next_chunk_bytes == 0) { - pd->refill = 0; /* No more refills, naturally */ - assert(!arg->repeat); /* Implementation guarantee */ - } - next_chunk_bits = next_chunk_bytes << 3; - avail = oldpd->nbits - oldpd->nboff; - if(avail >= next_chunk_bits) { - pd->nbits = oldpd->nboff + next_chunk_bits; - arg->unclaimed = 0; - ASN_DEBUG("!+Parent frame %d bits, alloting %d [%d..%d] (%d)", - next_chunk_bits, oldpd->moved, - oldpd->nboff, oldpd->nbits, - oldpd->nbits - oldpd->nboff); - } else { - pd->nbits = oldpd->nbits; - arg->unclaimed = next_chunk_bits - avail; - ASN_DEBUG("!-Parent frame %d, require %d, will claim %d", avail, next_chunk_bits, arg->unclaimed); - } - pd->buffer = oldpd->buffer; - pd->nboff = oldpd->nboff; - ASN_DEBUG("Refilled pd%s old%s", - per_data_string(pd), per_data_string(oldpd)); - return 0; -} - -static int -per_skip_bits(asn_per_data_t *pd, int skip_nbits) { - int hasNonZeroBits = 0; - while(skip_nbits > 0) { - int skip; - if(skip_nbits < skip) - skip = skip_nbits; - else - skip = 24; - skip_nbits -= skip; - - switch(per_get_few_bits(pd, skip)) { - case -1: return -1; /* Starving */ - case 0: continue; /* Skipped empty space */ - default: hasNonZeroBits = 1; continue; - } - } - return hasNonZeroBits; -} diff --git a/lte/rrc/lib/asn/src/per_support.c b/lte/rrc/lib/asn/src/per_support.c deleted file mode 100644 index 818d85d41..000000000 --- a/lte/rrc/lib/asn/src/per_support.c +++ /dev/null @@ -1,425 +0,0 @@ -/* - * Copyright (c) 2005, 2006, 2007 Lev Walkin . - * All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include -#include - -char * -per_data_string(asn_per_data_t *pd) { - static char buf[2][32]; - static int n; - n = (n+1) % 2; - snprintf(buf[n], sizeof(buf), - "{m=%d span %+d[%d..%d] (%d)}", - pd->moved, - (((int)pd->buffer) & 0xf), - pd->nboff, pd->nbits, - pd->nbits - pd->nboff); - return buf[n]; -} - -void -per_get_undo(asn_per_data_t *pd, int nbits) { - if((ssize_t)pd->nboff < nbits) { - assert((ssize_t)pd->nboff < nbits); - } else { - pd->nboff -= nbits; - pd->moved -= nbits; - } -} - -/* - * Extract a small number of bits (<= 31) from the specified PER data pointer. - */ -int32_t -per_get_few_bits(asn_per_data_t *pd, int nbits) { - size_t off; /* Next after last bit offset */ - ssize_t nleft; /* Number of bits left in this stream */ - uint32_t accum; - const uint8_t *buf; - - if(nbits < 0) - return -1; - - nleft = pd->nbits - pd->nboff; - if(nbits > nleft) { - int32_t tailv, vhead; - if(!pd->refill || nbits > 31) return -1; - /* Accumulate unused bytes before refill */ - ASN_DEBUG("Obtain the rest %d bits (want %d)", nleft, nbits); - tailv = per_get_few_bits(pd, nleft); - if(tailv < 0) return -1; - /* Refill (replace pd contents with new data) */ - if(pd->refill(pd)) - return -1; - nbits -= nleft; - vhead = per_get_few_bits(pd, nbits); - /* Combine the rest of previous pd with the head of new one */ - tailv = (tailv << nbits) | vhead; /* Could == -1 */ - return tailv; - } - - /* - * Normalize position indicator. - */ - if(pd->nboff >= 8) { - pd->buffer += (pd->nboff >> 3); - pd->nbits -= (pd->nboff & ~0x07); - pd->nboff &= 0x07; - } - pd->moved += nbits; - pd->nboff += nbits; - off = pd->nboff; - buf = pd->buffer; - - /* - * Extract specified number of bits. - */ - if(off <= 8) - accum = nbits ? (buf[0]) >> (8 - off) : 0; - else if(off <= 16) - accum = ((buf[0] << 8) + buf[1]) >> (16 - off); - else if(off <= 24) - accum = ((buf[0] << 16) + (buf[1] << 8) + buf[2]) >> (24 - off); - else if(off <= 31) - accum = ((buf[0] << 24) + (buf[1] << 16) - + (buf[2] << 8) + (buf[3])) >> (32 - off); - else if(nbits <= 31) { - asn_per_data_t tpd = *pd; - /* Here are we with our 31-bits limit plus 1..7 bits offset. */ - per_get_undo(&tpd, nbits); - /* The number of available bits in the stream allow - * for the following operations to take place without - * invoking the ->refill() function */ - accum = per_get_few_bits(&tpd, nbits - 24) << 24; - accum |= per_get_few_bits(&tpd, 24); - } else { - per_get_undo(pd, nbits); - return -1; - } - - accum &= (((uint32_t)1 << nbits) - 1); - - ASN_DEBUG(" [PER got %2d<=%2d bits => span %d %+d[%d..%d]:%02x (%d) => 0x%x]", - nbits, nleft, - pd->moved, - (((int)pd->buffer) & 0xf), - pd->nboff, pd->nbits, - pd->buffer[0], - pd->nbits - pd->nboff, - (int)accum); - - return accum; -} - -/* - * Extract a large number of bits from the specified PER data pointer. - */ -int -per_get_many_bits(asn_per_data_t *pd, uint8_t *dst, int alright, int nbits) { - int32_t value; - - if(alright && (nbits & 7)) { - /* Perform right alignment of a first few bits */ - value = per_get_few_bits(pd, nbits & 0x07); - if(value < 0) return -1; - *dst++ = value; /* value is already right-aligned */ - nbits &= ~7; - } - - while(nbits) { - if(nbits >= 24) { - value = per_get_few_bits(pd, 24); - if(value < 0) return -1; - *(dst++) = value >> 16; - *(dst++) = value >> 8; - *(dst++) = value; - nbits -= 24; - } else { - value = per_get_few_bits(pd, nbits); - if(value < 0) return -1; - if(nbits & 7) { /* implies left alignment */ - value <<= 8 - (nbits & 7), - nbits += 8 - (nbits & 7); - if(nbits > 24) - *dst++ = value >> 24; - } - if(nbits > 16) - *dst++ = value >> 16; - if(nbits > 8) - *dst++ = value >> 8; - *dst++ = value; - break; - } - } - - return 0; -} - -/* - * Get the length "n" from the stream. - */ -ssize_t -uper_get_length(asn_per_data_t *pd, int ebits, int *repeat) { - ssize_t value; - - *repeat = 0; - - if(ebits >= 0) return per_get_few_bits(pd, ebits); - - value = per_get_few_bits(pd, 8); - if(value < 0) return -1; - if((value & 128) == 0) /* #10.9.3.6 */ - return (value & 0x7F); - if((value & 64) == 0) { /* #10.9.3.7 */ - value = ((value & 63) << 8) | per_get_few_bits(pd, 8); - if(value < 0) return -1; - return value; - } - value &= 63; /* this is "m" from X.691, #10.9.3.8 */ - if(value < 1 || value > 4) - return -1; - *repeat = 1; - return (16384 * value); -} - -/* - * Get the normally small length "n". - * This procedure used to decode length of extensions bit-maps - * for SET and SEQUENCE types. - */ -ssize_t -uper_get_nslength(asn_per_data_t *pd) { - ssize_t length; - - ASN_DEBUG("Getting normally small length"); - - if(per_get_few_bits(pd, 1) == 0) { - length = per_get_few_bits(pd, 6) + 1; - if(length <= 0) return -1; - ASN_DEBUG("l=%d", length); - return length; - } else { - int repeat; - length = uper_get_length(pd, -1, &repeat); - if(length >= 0 && !repeat) return length; - return -1; /* Error, or do not support >16K extensions */ - } -} - -/* - * Get the normally small non-negative whole number. - * X.691, #10.6 - */ -ssize_t -uper_get_nsnnwn(asn_per_data_t *pd) { - ssize_t value; - - value = per_get_few_bits(pd, 7); - if(value & 64) { /* implicit (value < 0) */ - value &= 63; - value <<= 2; - value |= per_get_few_bits(pd, 2); - if(value & 128) /* implicit (value < 0) */ - return -1; - if(value == 0) - return 0; - if(value >= 3) - return -1; - value = per_get_few_bits(pd, 8 * value); - return value; - } - - return value; -} - -/* - * Put the normally small non-negative whole number. - * X.691, #10.6 - */ -int -uper_put_nsnnwn(asn_per_outp_t *po, int n) { - int bytes; - - if(n <= 63) { - if(n < 0) return -1; - return per_put_few_bits(po, n, 7); - } - if(n < 256) - bytes = 1; - else if(n < 65536) - bytes = 2; - else if(n < 256 * 65536) - bytes = 3; - else - return -1; /* This is not a "normally small" value */ - if(per_put_few_bits(po, bytes, 8)) - return -1; - - return per_put_few_bits(po, n, 8 * bytes); -} - - -/* - * Put a small number of bits (<= 31). - */ -int -per_put_few_bits(asn_per_outp_t *po, uint32_t bits, int obits) { - size_t off; /* Next after last bit offset */ - size_t omsk; /* Existing last byte meaningful bits mask */ - uint8_t *buf; - - if(obits <= 0 || obits >= 32) return obits ? -1 : 0; - - ASN_DEBUG("[PER put %d bits %x to %p+%d bits]", - obits, (int)bits, po->buffer, po->nboff); - - /* - * Normalize position indicator. - */ - if(po->nboff >= 8) { - po->buffer += (po->nboff >> 3); - po->nbits -= (po->nboff & ~0x07); - po->nboff &= 0x07; - } - - /* - * Flush whole-bytes output, if necessary. - */ - if(po->nboff + obits > po->nbits) { - int complete_bytes = (po->buffer - po->tmpspace); - ASN_DEBUG("[PER output %d complete + %d]", - complete_bytes, po->flushed_bytes); - if(po->outper(po->tmpspace, complete_bytes, po->op_key) < 0) - return -1; - if(po->nboff) - po->tmpspace[0] = po->buffer[0]; - po->buffer = po->tmpspace; - po->nbits = 8 * sizeof(po->tmpspace); - po->flushed_bytes += complete_bytes; - } - - /* - * Now, due to sizeof(tmpspace), we are guaranteed large enough space. - */ - buf = po->buffer; - omsk = ~((1 << (8 - po->nboff)) - 1); - off = (po->nboff += obits); - - /* Clear data of debris before meaningful bits */ - bits &= (((uint32_t)1 << obits) - 1); - - ASN_DEBUG("[PER out %d %u/%x (t=%d,o=%d) %x&%x=%x]", obits, - (int)bits, (int)bits, - po->nboff - obits, off, buf[0], omsk&0xff, buf[0] & omsk); - - if(off <= 8) /* Completely within 1 byte */ - bits <<= (8 - off), - buf[0] = (buf[0] & omsk) | bits; - else if(off <= 16) - bits <<= (16 - off), - buf[0] = (buf[0] & omsk) | (bits >> 8), - buf[1] = bits; - else if(off <= 24) - bits <<= (24 - off), - buf[0] = (buf[0] & omsk) | (bits >> 16), - buf[1] = bits >> 8, - buf[2] = bits; - else if(off <= 31) - bits <<= (32 - off), - buf[0] = (buf[0] & omsk) | (bits >> 24), - buf[1] = bits >> 16, - buf[2] = bits >> 8, - buf[3] = bits; - else { - ASN_DEBUG("->[PER out split %d]", obits); - per_put_few_bits(po, bits >> 8, 24); - per_put_few_bits(po, bits, obits - 24); - ASN_DEBUG("<-[PER out split %d]", obits); - } - - ASN_DEBUG("[PER out %u/%x => %02x buf+%d]", - (int)bits, (int)bits, buf[0], po->buffer - po->tmpspace); - - return 0; -} - - -/* - * Output a large number of bits. - */ -int -per_put_many_bits(asn_per_outp_t *po, const uint8_t *src, int nbits) { - - while(nbits) { - uint32_t value; - - if(nbits >= 24) { - value = (src[0] << 16) | (src[1] << 8) | src[2]; - src += 3; - nbits -= 24; - if(per_put_few_bits(po, value, 24)) - return -1; - } else { - value = src[0]; - if(nbits > 8) - value = (value << 8) | src[1]; - if(nbits > 16) - value = (value << 8) | src[2]; - if(nbits & 0x07) - value >>= (8 - (nbits & 0x07)); - if(per_put_few_bits(po, value, nbits)) - return -1; - break; - } - } - - return 0; -} - -/* - * Put the length "n" (or part of it) into the stream. - */ -ssize_t -uper_put_length(asn_per_outp_t *po, size_t length) { - - if(length <= 127) /* #10.9.3.6 */ - return per_put_few_bits(po, length, 8) - ? -1 : (ssize_t)length; - else if(length < 16384) /* #10.9.3.7 */ - return per_put_few_bits(po, length|0x8000, 16) - ? -1 : (ssize_t)length; - - length >>= 14; - if(length > 4) length = 4; - - return per_put_few_bits(po, 0xC0 | length, 8) - ? -1 : (ssize_t)(length << 14); -} - - -/* - * Put the normally small length "n" into the stream. - * This procedure used to encode length of extensions bit-maps - * for SET and SEQUENCE types. - */ -int -uper_put_nslength(asn_per_outp_t *po, size_t length) { - - if(length <= 64) { - /* #10.9.3.4 */ - if(length == 0) return -1; - return per_put_few_bits(po, length-1, 7) ? -1 : 0; - } else { - if(uper_put_length(po, length) != (ssize_t)length) { - /* This might happen in case of >16K extensions */ - return -1; - } - } - - return 0; -} - diff --git a/lte/rrc/lib/asn/src/xer_decoder.c b/lte/rrc/lib/asn/src/xer_decoder.c deleted file mode 100644 index ed1565d32..000000000 --- a/lte/rrc/lib/asn/src/xer_decoder.c +++ /dev/null @@ -1,363 +0,0 @@ -/* - * Copyright (c) 2004, 2005 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include -#include /* XER/XML parsing support */ - - -/* - * Decode the XER encoding of a given type. - */ -asn_dec_rval_t -xer_decode(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, - void **struct_ptr, const void *buffer, size_t size) { - asn_codec_ctx_t s_codec_ctx; - - /* - * Stack checker requires that the codec context - * must be allocated on the stack. - */ - if(opt_codec_ctx) { - if(opt_codec_ctx->max_stack_size) { - s_codec_ctx = *opt_codec_ctx; - opt_codec_ctx = &s_codec_ctx; - } - } else { - /* If context is not given, be security-conscious anyway */ - memset(&s_codec_ctx, 0, sizeof(s_codec_ctx)); - s_codec_ctx.max_stack_size = _ASN_DEFAULT_STACK_MAX; - opt_codec_ctx = &s_codec_ctx; - } - - /* - * Invoke type-specific decoder. - */ - return td->xer_decoder(opt_codec_ctx, td, struct_ptr, 0, buffer, size); -} - - - -struct xer__cb_arg { - pxml_chunk_type_e chunk_type; - size_t chunk_size; - const void *chunk_buf; - int callback_not_invoked; -}; - -static int -xer__token_cb(pxml_chunk_type_e type, const void *_chunk_data, size_t _chunk_size, void *key) { - struct xer__cb_arg *arg = (struct xer__cb_arg *)key; - arg->chunk_type = type; - arg->chunk_size = _chunk_size; - arg->chunk_buf = _chunk_data; - arg->callback_not_invoked = 0; - return -1; /* Terminate the XML parsing */ -} - -/* - * Fetch the next token from the XER/XML stream. - */ -ssize_t -xer_next_token(int *stateContext, const void *buffer, size_t size, pxer_chunk_type_e *ch_type) { - struct xer__cb_arg arg; - int new_stateContext = *stateContext; - ssize_t ret; - - arg.callback_not_invoked = 1; - ret = pxml_parse(&new_stateContext, buffer, size, xer__token_cb, &arg); - if(ret < 0) return -1; - if(arg.callback_not_invoked) { - assert(ret == 0); /* No data was consumed */ - return 0; /* Try again with more data */ - } else { - assert(arg.chunk_size); - assert(arg.chunk_buf == buffer); - } - - /* - * Translate the XML chunk types into more convenient ones. - */ - switch(arg.chunk_type) { - case PXML_TEXT: - *ch_type = PXER_TEXT; - break; - case PXML_TAG: return 0; /* Want more */ - case PXML_TAG_END: - *ch_type = PXER_TAG; - break; - case PXML_COMMENT: - case PXML_COMMENT_END: - *ch_type = PXER_COMMENT; - break; - } - - *stateContext = new_stateContext; - return arg.chunk_size; -} - -#define CSLASH 0x2f /* '/' */ -#define LANGLE 0x3c /* '<' */ -#define RANGLE 0x3e /* '>' */ - -xer_check_tag_e -xer_check_tag(const void *buf_ptr, int size, const char *need_tag) { - const char *buf = (const char *)buf_ptr; - const char *end; - xer_check_tag_e ct = XCT_OPENING; - - if(size < 2 || buf[0] != LANGLE || buf[size-1] != RANGLE) { - if(size >= 2) - ASN_DEBUG("Broken XML tag: \"%c...%c\"", buf[0], buf[size - 1]); - return XCT_BROKEN; - } - - /* - * Determine the tag class. - */ - if(buf[1] == CSLASH) { - buf += 2; /* advance past "" */ - ct = XCT_CLOSING; - if(size > 0 && buf[size-1] == CSLASH) - return XCT_BROKEN; /* */ - } else { - buf++; /* advance past "<" */ - size -= 2; /* strip "<" and ">" */ - if(size > 0 && buf[size-1] == CSLASH) { - ct = XCT_BOTH; - size--; /* One more, for "/" */ - } - } - - /* Sometimes we don't care about the tag */ - if(!need_tag || !*need_tag) - return (xer_check_tag_e)(XCT__UNK__MASK | ct); - - /* - * Determine the tag name. - */ - for(end = buf + size; buf < end; buf++, need_tag++) { - int b = *buf, n = *need_tag; - if(b != n) { - if(n == 0) { - switch(b) { - case 0x09: case 0x0a: case 0x0c: case 0x0d: - case 0x20: - /* "": whitespace is normal */ - return ct; - } - } - return (xer_check_tag_e)(XCT__UNK__MASK | ct); - } - if(b == 0) - return XCT_BROKEN; /* Embedded 0 in buf?! */ - } - if(*need_tag) - return (xer_check_tag_e)(XCT__UNK__MASK | ct); - - return ct; -} - - -#undef ADVANCE -#define ADVANCE(num_bytes) do { \ - size_t num = (num_bytes); \ - buf_ptr = ((const char *)buf_ptr) + num; \ - size -= num; \ - consumed_myself += num; \ - } while(0) - -#undef RETURN -#define RETURN(_code) do { \ - rval.code = _code; \ - rval.consumed = consumed_myself; \ - if(rval.code != RC_OK) \ - ASN_DEBUG("Failed with %d", rval.code); \ - return rval; \ - } while(0) - -#define XER_GOT_BODY(chunk_buf, chunk_size, size) do { \ - ssize_t converted_size = body_receiver \ - (struct_key, chunk_buf, chunk_size, \ - (size_t)chunk_size < size); \ - if(converted_size == -1) RETURN(RC_FAIL); \ - if(converted_size == 0 \ - && size == (size_t)chunk_size) \ - RETURN(RC_WMORE); \ - chunk_size = converted_size; \ - } while(0) -#define XER_GOT_EMPTY() do { \ - if(body_receiver(struct_key, 0, 0, size > 0) == -1) \ - RETURN(RC_FAIL); \ - } while(0) - -/* - * Generalized function for decoding the primitive values. - */ -asn_dec_rval_t -xer_decode_general(asn_codec_ctx_t *opt_codec_ctx, - asn_struct_ctx_t *ctx, /* Type decoder context */ - void *struct_key, - const char *xml_tag, /* Expected XML tag */ - const void *buf_ptr, size_t size, - int (*opt_unexpected_tag_decoder) - (void *struct_key, const void *chunk_buf, size_t chunk_size), - ssize_t (*body_receiver) - (void *struct_key, const void *chunk_buf, size_t chunk_size, - int have_more) - ) { - - asn_dec_rval_t rval; - ssize_t consumed_myself = 0; - - (void)opt_codec_ctx; - - /* - * Phases of XER/XML processing: - * Phase 0: Check that the opening tag matches our expectations. - * Phase 1: Processing body and reacting on closing tag. - */ - if(ctx->phase > 1) RETURN(RC_FAIL); - for(;;) { - pxer_chunk_type_e ch_type; /* XER chunk type */ - ssize_t ch_size; /* Chunk size */ - xer_check_tag_e tcv; /* Tag check value */ - - /* - * Get the next part of the XML stream. - */ - ch_size = xer_next_token(&ctx->context, buf_ptr, size, - &ch_type); - switch(ch_size) { - case -1: RETURN(RC_FAIL); - case 0: - RETURN(RC_WMORE); - default: - switch(ch_type) { - case PXER_COMMENT: /* Got XML comment */ - ADVANCE(ch_size); /* Skip silently */ - continue; - case PXER_TEXT: - if(ctx->phase == 0) { - /* - * We have to ignore whitespace here, - * but in order to be forward compatible - * with EXTENDED-XER (EMBED-VALUES, #25) - * any text is just ignored here. - */ - } else { - XER_GOT_BODY(buf_ptr, ch_size, size); - } - ADVANCE(ch_size); - continue; - case PXER_TAG: - break; /* Check the rest down there */ - } - } - - assert(ch_type == PXER_TAG && size); - - tcv = xer_check_tag(buf_ptr, ch_size, xml_tag); - /* - * Phase 0: - * Expecting the opening tag - * for the type being processed. - * Phase 1: - * Waiting for the closing XML tag. - */ - switch(tcv) { - case XCT_BOTH: - if(ctx->phase) break; - /* Finished decoding of an empty element */ - XER_GOT_EMPTY(); - ADVANCE(ch_size); - ctx->phase = 2; /* Phase out */ - RETURN(RC_OK); - case XCT_OPENING: - if(ctx->phase) break; - ADVANCE(ch_size); - ctx->phase = 1; /* Processing body phase */ - continue; - case XCT_CLOSING: - if(!ctx->phase) break; - ADVANCE(ch_size); - ctx->phase = 2; /* Phase out */ - RETURN(RC_OK); - case XCT_UNKNOWN_BO: - /* - * Certain tags in the body may be expected. - */ - if(opt_unexpected_tag_decoder - && opt_unexpected_tag_decoder(struct_key, - buf_ptr, ch_size) >= 0) { - /* Tag's processed fine */ - ADVANCE(ch_size); - if(!ctx->phase) { - /* We are not expecting - * the closing tag anymore. */ - ctx->phase = 2; /* Phase out */ - RETURN(RC_OK); - } - continue; - } - /* Fall through */ - default: - break; /* Unexpected tag */ - } - - ASN_DEBUG("Unexpected XML tag (expected \"%s\")", xml_tag); - break; /* Dark and mysterious things have just happened */ - } - - RETURN(RC_FAIL); -} - - -int -xer_is_whitespace(const void *chunk_buf, size_t chunk_size) { - const char *p = (const char *)chunk_buf; - const char *pend = p + chunk_size; - - for(; p < pend; p++) { - switch(*p) { - /* X.693, #8.1.4 - * HORISONTAL TAB (9) - * LINE FEED (10) - * CARRIAGE RETURN (13) - * SPACE (32) - */ - case 0x09: case 0x0a: case 0x0d: case 0x20: - break; - default: - return 0; - } - } - return 1; /* All whitespace */ -} - -/* - * This is a vastly simplified, non-validating XML tree skipper. - */ -int -xer_skip_unknown(xer_check_tag_e tcv, ber_tlv_len_t *depth) { - assert(*depth > 0); - switch(tcv) { - case XCT_BOTH: - case XCT_UNKNOWN_BO: - /* These negate each other. */ - return 0; - case XCT_OPENING: - case XCT_UNKNOWN_OP: - ++(*depth); - return 0; - case XCT_CLOSING: - case XCT_UNKNOWN_CL: - if(--(*depth) == 0) - return (tcv == XCT_CLOSING) ? 2 : 1; - return 0; - default: - return -1; - } -} diff --git a/lte/rrc/lib/asn/src/xer_encoder.c b/lte/rrc/lib/asn/src/xer_encoder.c deleted file mode 100644 index c33ba1101..000000000 --- a/lte/rrc/lib/asn/src/xer_encoder.c +++ /dev/null @@ -1,67 +0,0 @@ -/*- - * Copyright (c) 2003, 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -//#include -//#include - -/* - * The XER encoder of any type. May be invoked by the application. - */ -asn_enc_rval_t -xer_encode(asn_TYPE_descriptor_t *td, void *sptr, - enum xer_encoder_flags_e xer_flags, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_enc_rval_t er, tmper; - const char *mname; - size_t mlen; - int xcan = (xer_flags & XER_F_CANONICAL) ? 1 : 2; - - if(!td || !sptr) goto cb_failed; - - mname = td->xml_tag; - mlen = strlen(mname); - - _ASN_CALLBACK3("<", 1, mname, mlen, ">", 1); - - tmper = td->xer_encoder(td, sptr, 1, xer_flags, cb, app_key); - if(tmper.encoded == -1) return tmper; - - _ASN_CALLBACK3("\n", xcan); - - er.encoded = 4 + xcan + (2 * mlen) + tmper.encoded; - - _ASN_ENCODED_OK(er); -cb_failed: - _ASN_ENCODE_FAILED; -} - -/* - * This is a helper function for xer_fprint, which directs all incoming data - * into the provided file descriptor. - */ -static int -xer__print2fp(const void *buffer, size_t size, void *app_key) { - FILE *stream = (FILE *)app_key; - - if(fwrite(buffer, 1, size, stream) != size) - return -1; - - return 0; -} - -int -xer_fprint(FILE *stream, asn_TYPE_descriptor_t *td, void *sptr) { - asn_enc_rval_t er; - - if(!stream) stream = stdout; - if(!td || !sptr) - return -1; - - er = xer_encode(td, sptr, XER_F_BASIC, xer__print2fp, stream); - if(er.encoded == -1) - return -1; - - return fflush(stream); -} diff --git a/lte/rrc/lib/asn/src/xer_support.c b/lte/rrc/lib/asn/src/xer_support.c deleted file mode 100644 index 118530b6a..000000000 --- a/lte/rrc/lib/asn/src/xer_support.c +++ /dev/null @@ -1,233 +0,0 @@ -/* - * Copyright (c) 2003, 2004 X/IO Labs, xiolabs.com. - * Copyright (c) 2003, 2004, 2005 Lev Walkin . - * All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include - -/* Parser states */ -typedef enum { - ST_TEXT, - ST_TAG_START, - ST_TAG_BODY, - ST_TAG_QUOTE_WAIT, - ST_TAG_QUOTED_STRING, - ST_TAG_UNQUOTED_STRING, - ST_COMMENT_WAIT_DASH1, /* ""[0] */ - ST_COMMENT_CLO_RT /* "-->"[1] */ -} pstate_e; - -static pxml_chunk_type_e final_chunk_type[] = { - PXML_TEXT, - PXML_TAG_END, - PXML_COMMENT_END, - PXML_TAG_END, - PXML_COMMENT_END, -}; - - -static int -_charclass[256] = { - 0,0,0,0,0,0,0,0, 0,1,1,0,1,1,0,0, - 0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0, - 1,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0, - 2,2,2,2,2,2,2,2, 2,2,0,0,0,0,0,0, /* 01234567 89 */ - 0,3,3,3,3,3,3,3, 3,3,3,3,3,3,3,3, /* ABCDEFG HIJKLMNO */ - 3,3,3,3,3,3,3,3, 3,3,3,0,0,0,0,0, /* PQRSTUVW XYZ */ - 0,3,3,3,3,3,3,3, 3,3,3,3,3,3,3,3, /* abcdefg hijklmno */ - 3,3,3,3,3,3,3,3, 3,3,3,0,0,0,0,0 /* pqrstuvw xyz */ -}; -#define WHITESPACE(c) (_charclass[(unsigned char)(c)] == 1) -#define ALNUM(c) (_charclass[(unsigned char)(c)] >= 2) -#define ALPHA(c) (_charclass[(unsigned char)(c)] == 3) - -/* Aliases for characters, ASCII/UTF-8 */ -#define EXCLAM 0x21 /* '!' */ -#define CQUOTE 0x22 /* '"' */ -#define CDASH 0x2d /* '-' */ -#define CSLASH 0x2f /* '/' */ -#define LANGLE 0x3c /* '<' */ -#define CEQUAL 0x3d /* '=' */ -#define RANGLE 0x3e /* '>' */ -#define CQUEST 0x3f /* '?' */ - -/* Invoke token callback */ -#define TOKEN_CB_CALL(type, _ns, _current_too, _final) do { \ - int _ret; \ - pstate_e ns = _ns; \ - ssize_t _sz = (p - chunk_start) + _current_too; \ - if (!_sz) { \ - /* Shortcut */ \ - state = _ns; \ - break; \ - } \ - _ret = cb(type, chunk_start, _sz, key); \ - if(_ret < _sz) { \ - if(_current_too && _ret == -1) \ - state = ns; \ - goto finish; \ - } \ - chunk_start = p + _current_too; \ - state = ns; \ - } while(0) - -#define TOKEN_CB(_type, _ns, _current_too) \ - TOKEN_CB_CALL(_type, _ns, _current_too, 0) - -#define TOKEN_CB_FINAL(_type, _ns, _current_too) \ - TOKEN_CB_CALL(final_chunk_type[_type], _ns, _current_too, 1) - -/* - * Parser itself - */ -ssize_t pxml_parse(int *stateContext, const void *xmlbuf, size_t size, pxml_callback_f *cb, void *key) { - pstate_e state = (pstate_e)*stateContext; - const char *chunk_start = (const char *)xmlbuf; - const char *p = chunk_start; - const char *end = p + size; - - for(; p < end; p++) { - int C = *(const unsigned char *)p; - switch(state) { - case ST_TEXT: - /* - * Initial state: we're in the middle of some text, - * or just have started. - */ - if (C == LANGLE) - /* We're now in the tag, probably */ - TOKEN_CB(PXML_TEXT, ST_TAG_START, 0); - break; - case ST_TAG_START: - if (ALPHA(C) || (C == CSLASH)) - state = ST_TAG_BODY; - else if (C == EXCLAM) - state = ST_COMMENT_WAIT_DASH1; - else - /* - * Not characters and not whitespace. - * Must be something like "3 < 4". - */ - TOKEN_CB(PXML_TEXT, ST_TEXT, 1);/* Flush as data */ - break; - case ST_TAG_BODY: - switch(C) { - case RANGLE: - /* End of the tag */ - TOKEN_CB_FINAL(PXML_TAG, ST_TEXT, 1); - break; - case LANGLE: - /* - * The previous tag wasn't completed, but still - * recognized as valid. (Mozilla-compatible) - */ - TOKEN_CB_FINAL(PXML_TAG, ST_TAG_START, 0); - break; - case CEQUAL: - state = ST_TAG_QUOTE_WAIT; - break; - } - break; - case ST_TAG_QUOTE_WAIT: - /* - * State after the equal sign ("=") in the tag. - */ - switch(C) { - case CQUOTE: - state = ST_TAG_QUOTED_STRING; - break; - case RANGLE: - /* End of the tag */ - TOKEN_CB_FINAL(PXML_TAG, ST_TEXT, 1); - break; - default: - if(!WHITESPACE(C)) - /* Unquoted string value */ - state = ST_TAG_UNQUOTED_STRING; - } - break; - case ST_TAG_QUOTED_STRING: - /* - * Tag attribute's string value in quotes. - */ - if(C == CQUOTE) { - /* Return back to the tag state */ - state = ST_TAG_BODY; - } - break; - case ST_TAG_UNQUOTED_STRING: - if(C == RANGLE) { - /* End of the tag */ - TOKEN_CB_FINAL(PXML_TAG, ST_TEXT, 1); - } else if(WHITESPACE(C)) { - /* Return back to the tag state */ - state = ST_TAG_BODY; - } - break; - case ST_COMMENT_WAIT_DASH1: - if(C == CDASH) { - state = ST_COMMENT_WAIT_DASH2; - } else { - /* Some ordinary tag. */ - state = ST_TAG_BODY; - } - break; - case ST_COMMENT_WAIT_DASH2: - if(C == CDASH) { - /* Seen "<--" */ - state = ST_COMMENT; - } else { - /* Some ordinary tag */ - state = ST_TAG_BODY; - } - break; - case ST_COMMENT: - if(C == CDASH) { - state = ST_COMMENT_CLO_DASH2; - } - break; - case ST_COMMENT_CLO_DASH2: - if(C == CDASH) { - state = ST_COMMENT_CLO_RT; - } else { - /* This is not an end of a comment */ - state = ST_COMMENT; - } - break; - case ST_COMMENT_CLO_RT: - if(C == RANGLE) { - TOKEN_CB_FINAL(PXML_COMMENT, ST_TEXT, 1); - } else if(C == CDASH) { - /* Maintain current state, still waiting for '>' */ - } else { - state = ST_COMMENT; - } - break; - } /* switch(*ptr) */ - } /* for() */ - - /* - * Flush the partially processed chunk, state permitting. - */ - if(p - chunk_start) { - switch (state) { - case ST_COMMENT: - TOKEN_CB(PXML_COMMENT, state, 0); - break; - case ST_TEXT: - TOKEN_CB(PXML_TEXT, state, 0); - break; - default: break; /* a no-op */ - } - } - -finish: - *stateContext = (int)state; - return chunk_start - (const char *)xmlbuf; -} - diff --git a/lte/rrc/lib/messages/src/bcch.c b/lte/rrc/lib/messages/src/bcch.c deleted file mode 100644 index d8cb5a127..000000000 --- a/lte/rrc/lib/messages/src/bcch.c +++ /dev/null @@ -1,234 +0,0 @@ -/** - * - * \section COPYRIGHT - * - * Copyright 2013-2014 The libLTE Developers. See the - * COPYRIGHT file at the top-level directory of this distribution. - * - * \section LICENSE - * - * This file is part of the libLTE library. - * - * libLTE is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * libLTE is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * A copy of the GNU Lesser General Public License can be found in - * the LICENSE file in the top-level directory of this distribution - * and at http://www.gnu.org/licenses/. - * - */ - -#include -#include - -#include "liblte/rrc/messages/sib1.h" -#include "liblte/rrc/messages/bcch.h" -#include "liblte/phy/utils/bit.h" -#include "liblte/phy/utils/debug.h" -#include "liblte/rrc/asn/rrc_asn.h" - -int bcch_bch_pack(lte_cell_t *cell, uint32_t sfn, uint8_t *buffer, uint32_t buffer_size_bytes) { - - MasterInformationBlock_t req; - - switch (cell->nof_prb) { - case 6: - req.dl_Bandwidth = MasterInformationBlock__dl_Bandwidth_n6; - break; - case 15: - req.dl_Bandwidth = MasterInformationBlock__dl_Bandwidth_n15; - break; - case 25: - req.dl_Bandwidth = MasterInformationBlock__dl_Bandwidth_n25; - break; - case 50: - req.dl_Bandwidth = MasterInformationBlock__dl_Bandwidth_n50; - break; - case 75: - req.dl_Bandwidth = MasterInformationBlock__dl_Bandwidth_n75; - break; - case 100: - req.dl_Bandwidth = MasterInformationBlock__dl_Bandwidth_n100; - break; - default: - fprintf(stderr, "Invalid bandwidth %d PRB\n", cell->nof_prb); - return LIBLTE_ERROR; - } - if (cell->phich_length == PHICH_NORM) { - req.phich_Config.phich_Duration = PHICH_Config__phich_Duration_normal; - } else { - req.phich_Config.phich_Duration = PHICH_Config__phich_Duration_extended; - } - switch(cell->phich_resources) { - case R_1: - req.phich_Config.phich_Resource = PHICH_Config__phich_Resource_one; - break; - case R_1_2: - req.phich_Config.phich_Resource = PHICH_Config__phich_Resource_half; - break; - case R_1_6: - req.phich_Config.phich_Resource = PHICH_Config__phich_Resource_oneSixth; - break; - case R_2: - req.phich_Config.phich_Resource = PHICH_Config__phich_Resource_two; - break; - } - sfn=(sfn>>2); - req.systemFrameNumber.buf = (uint8_t*) &sfn; - req.systemFrameNumber.size = 1; - req.systemFrameNumber.bits_unused = 0; - int spare = 0; - req.spare.buf = (uint8_t*) &spare; - req.spare.size = 2; - req.spare.bits_unused = 6; - - asn_enc_rval_t n = uper_encode_to_buffer(&asn_DEF_MasterInformationBlock, (void*) &req, buffer, buffer_size_bytes); - if (n.encoded == -1) { - printf("Encoding failed.\n"); - printf("Failed to encode element %s\n", n.failed_type ? n.failed_type->name : ""); - return LIBLTE_ERROR; - } - return LIBLTE_SUCCESS; -} - -int bcch_bch_unpack(uint8_t *buffer, uint32_t msg_nof_bits, lte_cell_t *cell, uint32_t *sfn) { - asn_codec_ctx_t *opt_codec_ctx = NULL; - MasterInformationBlock_t *req = calloc(1, sizeof(MasterInformationBlock_t)); - if (!req) { - perror("calloc"); - return LIBLTE_ERROR; - } - asn_dec_rval_t n = uper_decode(opt_codec_ctx, &asn_DEF_MasterInformationBlock, - (void**) &req, buffer, msg_nof_bits/8,0,msg_nof_bits%8); - if (n.consumed == -1) { - printf("Decoding failed.\n"); - return LIBLTE_ERROR; - } - - switch(req->dl_Bandwidth) { - case MasterInformationBlock__dl_Bandwidth_n6: - cell->nof_prb = 6; - break; - case MasterInformationBlock__dl_Bandwidth_n15: - cell->nof_prb = 15; - break; - case MasterInformationBlock__dl_Bandwidth_n25: - cell->nof_prb = 25; - break; - case MasterInformationBlock__dl_Bandwidth_n50: - cell->nof_prb = 50; - break; - case MasterInformationBlock__dl_Bandwidth_n75: - cell->nof_prb = 75; - break; - case MasterInformationBlock__dl_Bandwidth_n100: - cell->nof_prb = 100; - break; - } - if (req->phich_Config.phich_Duration == PHICH_Config__phich_Duration_normal) { - cell->phich_length = PHICH_NORM; - } else { - cell->phich_length = PHICH_EXT; - } - switch(req->phich_Config.phich_Resource) { - case PHICH_Config__phich_Resource_one: - cell->phich_resources = R_1; - break; - case PHICH_Config__phich_Resource_half: - cell->phich_resources = R_1_2; - break; - case PHICH_Config__phich_Resource_oneSixth: - cell->phich_resources = R_1_6; - break; - case PHICH_Config__phich_Resource_two: - cell->phich_resources = R_2; - break; - } - int sfn_i=0;; - memcpy(&sfn_i, req->systemFrameNumber.buf, req->systemFrameNumber.size); - if (sfn) { - *sfn=(sfn_i<<2); - } else { - asn_fprint(stdout, &asn_DEF_MasterInformationBlock, req); - } - return LIBLTE_SUCCESS; -} - - -int bcch_dlsch_pack(void *bcch_dlsch_msg, uint8_t *buffer, uint32_t buffer_size_bytes) { - BCCH_DL_SCH_Message_t *msg = (BCCH_DL_SCH_Message_t*) bcch_dlsch_msg; - if (!msg) { - msg = calloc(1, sizeof(BCCH_DL_SCH_Message_t)); - } - int ret; - - MCC_MNC_Digit_t mcc[3] = {2,1,4}; - MCC_MNC_Digit_t mnc[2] = {0,1}; - uint8_t tac_val[2] = {0x2,0x0b}; - uint8_t cid_val[4] = {0x14,0x4a,0x30,0x10}; - - bcch_dlsch_sib1(msg, mcc, mnc, tac_val, cid_val, 3); - asn_enc_rval_t n = uper_encode_to_buffer(&asn_DEF_BCCH_DL_SCH_Message, - (void*) msg, buffer, - buffer_size_bytes); - if (n.encoded == -1) { - fprintf(stderr, "Encoding failed. Element %s\n", n.failed_type ? n.failed_type->name : ""); - return LIBLTE_ERROR; - } else { - return n.encoded; - } - - bcch_dlsch_fprint(&msg, stdout); - bcch_dlsch_free(&msg); - - return ret; -} - -void* bcch_dlsch_unpack(uint8_t *buffer, uint32_t msg_nof_bits) { - BCCH_DL_SCH_Message_t *msg = calloc(1, sizeof(BCCH_DL_SCH_Message_t)); - asn_dec_rval_t n = uper_decode(NULL, &asn_DEF_BCCH_DL_SCH_Message, - (void**) &msg, buffer, msg_nof_bits/8,0,msg_nof_bits%8); - if (n.consumed == -1) { - fprintf(stderr, "Decoding failed.\n"); - return NULL; - } else { - return msg; - } -} - -sib_type_t bcch_dlsch_get_type(void *bcch_dlsch_msg) { - BCCH_DL_SCH_Message_t *msg = (BCCH_DL_SCH_Message_t*) bcch_dlsch_msg; - switch(msg->message.present) { - case BCCH_DL_SCH_MessageType_PR_c1: - switch (msg->message.choice.c1.present) { - case BCCH_DL_SCH_MessageType__c1_PR_systemInformationBlockType1: - return SIB1; - break; - default: - fprintf(stderr, "Message type not supported\n"); - bcch_dlsch_fprint(bcch_dlsch_msg, stderr); - break; - } - default: - fprintf(stderr, "Message type not supported\n"); - bcch_dlsch_fprint(bcch_dlsch_msg, stderr); - break; - } - return SIB_ERROR; -} - -void bcch_dlsch_fprint(void *bcch_dlsch_msg, FILE *stream) { - xer_fprint(stdout, &asn_DEF_BCCH_DL_SCH_Message, (BCCH_DL_SCH_Message_t*) bcch_dlsch_msg); -} - -void bcch_dlsch_free(void *bcch_dlsch_msg) { - asn_DEF_BCCH_DL_SCH_Message.free_struct(&asn_DEF_BCCH_DL_SCH_Message, - (BCCH_DL_SCH_Message_t*) bcch_dlsch_msg, 0); -} diff --git a/lte/rrc/lib/messages/src/sib1.c b/lte/rrc/lib/messages/src/sib1.c deleted file mode 100644 index 3500c4e73..000000000 --- a/lte/rrc/lib/messages/src/sib1.c +++ /dev/null @@ -1,222 +0,0 @@ -/** - * - * \section COPYRIGHT - * - * Copyright 2013-2014 The libLTE Developers. See the - * COPYRIGHT file at the top-level directory of this distribution. - * - * \section LICENSE - * - * This file is part of the libLTE library. - * - * libLTE is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * libLTE is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * A copy of the GNU Lesser General Public License can be found in - * the LICENSE file in the top-level directory of this distribution - * and at http://www.gnu.org/licenses/. - * - */ - -#include -#include - -#include "liblte/rrc/common/rrc_common.h" -#include "liblte/rrc/messages/bcch.h" -#include "liblte/rrc/messages/sib1.h" -#include "liblte/phy/utils/bit.h" -#include "liblte/rrc/asn/rrc_asn.h" - -void read_plmn(PLMN_IdentityInfo_t *msg, plmn_identity_t *plmn) { - MCC_t *mcc = msg->plmn_Identity.mcc; - plmn->mcc = *((int*) mcc->list.array[0])*100+*((int*)mcc->list.array[1])*10+*((int*)mcc->list.array[2]); - plmn->mnc = *((int*) msg->plmn_Identity.mnc.list.array[0])*10+*((int*) msg->plmn_Identity.mnc.list.array[1]); -} - -uint32_t bcch_dlsch_sib1_get_freq_num(void *bcch_dlsch_msg) { - BCCH_DL_SCH_Message_t *msg = (BCCH_DL_SCH_Message_t*) bcch_dlsch_msg; - SystemInformationBlockType1_t *sib1 = &(msg->message.choice.c1.choice.systemInformationBlockType1); - return (uint32_t) sib1->freqBandIndicator; -} - -void bcch_dlsch_sib1_get_plmns(void *bcch_dlsch_msg, plmn_identity_t *plmns, uint32_t max_plmn_identities) { - int i; - BCCH_DL_SCH_Message_t *msg = (BCCH_DL_SCH_Message_t*) bcch_dlsch_msg; - SystemInformationBlockType1_t *sib1 = &(msg->message.choice.c1.choice.systemInformationBlockType1); - for (i=0;icellAccessRelatedInfo.plmn_IdentityList.list.count);i++) { - read_plmn(sib1->cellAccessRelatedInfo.plmn_IdentityList.list.array[i], &plmns[i]); - } -} - -void bcch_dlsch_sib1_get_cell_access_info(void *bcch_dlsch_msg, cell_access_info_t *info) { - BCCH_DL_SCH_Message_t *msg = (BCCH_DL_SCH_Message_t*) bcch_dlsch_msg; - SystemInformationBlockType1_t *sib1 = &(msg->message.choice.c1.choice.systemInformationBlockType1); - info->tracking_area_code = sib1->cellAccessRelatedInfo.trackingAreaCode.buf[0]<<8| - sib1->cellAccessRelatedInfo.trackingAreaCode.buf[1]; - info->cell_id = (sib1->cellAccessRelatedInfo.cellIdentity.buf[0]<<24)| - (sib1->cellAccessRelatedInfo.cellIdentity.buf[1]<<16)| - (sib1->cellAccessRelatedInfo.cellIdentity.buf[2]<<8)| - (sib1->cellAccessRelatedInfo.cellIdentity.buf[3]&0xF0); - info->cell_id >>= 4; - info->cellBarred = - sib1->cellAccessRelatedInfo.cellBarred == - SystemInformationBlockType1__cellAccessRelatedInfo__cellBarred_barred; - info->intraFreqReselection = - sib1->cellAccessRelatedInfo.intraFreqReselection == - SystemInformationBlockType1__cellAccessRelatedInfo__intraFreqReselection_allowed; -} - -uint32_t get_si_period(long int period) { - return 8<<(period); -} - -sib_type_t get_si_type(SIB_Type_t *type) { - switch(*type) { - case SIB_Type_sibType3: return SIB3; - case SIB_Type_sibType4: return SIB4; - case SIB_Type_sibType5: return SIB5; - case SIB_Type_sibType6: return SIB6; - case SIB_Type_sibType7: return SIB7; - case SIB_Type_sibType8: return SIB8; - case SIB_Type_sibType9: return SIB9; - default: return SIB_ERROR; - } -} - -uint32_t get_window(long int window_length) { - switch(window_length) { - case SystemInformationBlockType1__si_WindowLength_ms1: return 1; - case SystemInformationBlockType1__si_WindowLength_ms2: return 2; - case SystemInformationBlockType1__si_WindowLength_ms5: return 5; - case SystemInformationBlockType1__si_WindowLength_ms10: return 10; - case SystemInformationBlockType1__si_WindowLength_ms15: return 15; - case SystemInformationBlockType1__si_WindowLength_ms20: return 20; - case SystemInformationBlockType1__si_WindowLength_ms40: return 40; - default: return 0; - } -} -int bcch_dlsch_sib1_get_scheduling_info(void *bcch_dlsch_msg, - uint32_t *si_window_length, - scheduling_info_t *info, - uint32_t max_elems) -{ - BCCH_DL_SCH_Message_t *msg = (BCCH_DL_SCH_Message_t*) bcch_dlsch_msg; - SystemInformationBlockType1_t *sib1 = &(msg->message.choice.c1.choice.systemInformationBlockType1); - - uint32_t nelems = 0; - - if (max_elems > 0 && info != NULL) { - /* First is always SIB2 */ - info[0].type = SIB2; - info[0].n = 0; - info[0].period = get_si_period(sib1->schedulingInfoList.list.array[0]->si_Periodicity); - nelems++; - for (int i=0;ischedulingInfoList.list.count;i++) { - SchedulingInfo_t *s = sib1->schedulingInfoList.list.array[i]; - - for (int j=0;jsib_MappingInfo.list.count;j++) { - if (nelems < max_elems) { - info[nelems].type = get_si_type(s->sib_MappingInfo.list.array[j]); - info[nelems].n = i; - info[nelems].period = get_si_period(s->si_Periodicity); - nelems++; - } - } - } - - } - if (si_window_length) { - *si_window_length = get_window(sib1->si_WindowLength); - } - return nelems; -} - -MCC_MNC_Digit_t *dup_digit(MCC_MNC_Digit_t value) { - MCC_MNC_Digit_t *x = calloc(1, sizeof(MCC_MNC_Digit_t)); - *x = value; - return x; -} -void bcch_dlsch_sib1(BCCH_DL_SCH_Message_t *msg, - MCC_MNC_Digit_t mcc_val[3], - MCC_MNC_Digit_t mnc_val[2], - uint8_t tac_val[2], - uint8_t cid_val[4], - int freq_band) -{ - - bzero(msg, sizeof(BCCH_DL_SCH_Message_t)); - - msg->message.present = BCCH_DL_SCH_MessageType_PR_c1; - msg->message.choice.c1.present = BCCH_DL_SCH_MessageType__c1_PR_systemInformationBlockType1; - SystemInformationBlockType1_t *sib1 = &(msg->message.choice.c1.choice.systemInformationBlockType1); - - PLMN_IdentityInfo_t *PLMN_identity_info = calloc(1, sizeof(PLMN_IdentityInfo_t)); - MCC_t *mcc = calloc(1, sizeof(MCC_t)); - PLMN_identity_info->plmn_Identity.mcc = mcc; - asn_set_empty(&mcc->list); - for (int i=0;i<3;i++) { - ASN_SEQUENCE_ADD(&mcc->list,dup_digit(mcc_val[i])); - } - asn_set_empty(&PLMN_identity_info->plmn_Identity.mnc.list); - for (int i=0;i<2;i++) { - ASN_SEQUENCE_ADD(&PLMN_identity_info->plmn_Identity.mnc.list,dup_digit(mnc_val[i])); - } - PLMN_identity_info->cellReservedForOperatorUse=PLMN_IdentityInfo__cellReservedForOperatorUse_notReserved; - - ASN_SEQUENCE_ADD(&sib1->cellAccessRelatedInfo.plmn_IdentityList.list,PLMN_identity_info); - - sib1->cellAccessRelatedInfo.trackingAreaCode.buf=malloc(2); - for (int i=0;i<2;i++) { - sib1->cellAccessRelatedInfo.trackingAreaCode.buf[i] = tac_val[i]; - } - sib1->cellAccessRelatedInfo.trackingAreaCode.size=2; - sib1->cellAccessRelatedInfo.trackingAreaCode.bits_unused=0; - - sib1->cellAccessRelatedInfo.cellIdentity.buf=malloc(4); - for (int i=0;i<4;i++) { - sib1->cellAccessRelatedInfo.cellIdentity.buf[i] = cid_val[i]; - } - sib1->cellAccessRelatedInfo.cellIdentity.size=4; - sib1->cellAccessRelatedInfo.cellIdentity.bits_unused=4; - - sib1->cellAccessRelatedInfo.cellBarred=SystemInformationBlockType1__cellAccessRelatedInfo__cellBarred_barred; - - sib1->cellAccessRelatedInfo.intraFreqReselection=SystemInformationBlockType1__cellAccessRelatedInfo__intraFreqReselection_allowed; - sib1->cellAccessRelatedInfo.csg_Indication=0; - - sib1->cellSelectionInfo.q_RxLevMin=-60; - sib1->cellSelectionInfo.q_RxLevMinOffset=NULL; - - sib1->freqBandIndicator = (long int) freq_band; - - - SchedulingInfo_t *schedulingInfo_3 = calloc(2, sizeof(SchedulingInfo_t)); - SchedulingInfo_t *schedulingInfo_6 = calloc(2, sizeof(SchedulingInfo_t)); - SIB_Type_t *sib_type_3 = calloc(1, sizeof(SIB_Type_t)); - SIB_Type_t *sib_type_6 = calloc(1, sizeof(SIB_Type_t)); - - schedulingInfo_3->si_Periodicity=SchedulingInfo__si_Periodicity_rf16; - *sib_type_3=SIB_Type_sibType3; - ASN_SEQUENCE_ADD(&schedulingInfo_3->sib_MappingInfo.list,sib_type_3); - ASN_SEQUENCE_ADD(&sib1->schedulingInfoList.list,schedulingInfo_3); - - schedulingInfo_6->si_Periodicity=SchedulingInfo__si_Periodicity_rf64; - *sib_type_6=SIB_Type_sibType6; - ASN_SEQUENCE_ADD(&schedulingInfo_6->sib_MappingInfo.list,sib_type_6); - ASN_SEQUENCE_ADD(&sib1->schedulingInfoList.list,schedulingInfo_6); - - sib1->si_WindowLength=SystemInformationBlockType1__si_WindowLength_ms40; - sib1->systemInfoValueTag=8; -} - - - - - diff --git a/lte/rrc/lib/messages/src/sib4.c b/lte/rrc/lib/messages/src/sib4.c deleted file mode 100644 index 138bef9cd..000000000 --- a/lte/rrc/lib/messages/src/sib4.c +++ /dev/null @@ -1,56 +0,0 @@ -/** - * - * \section COPYRIGHT - * - * Copyright 2013-2014 The libLTE Developers. See the - * COPYRIGHT file at the top-level directory of this distribution. - * - * \section LICENSE - * - * This file is part of the libLTE library. - * - * libLTE is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * libLTE is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * A copy of the GNU Lesser General Public License can be found in - * the LICENSE file in the top-level directory of this distribution - * and at http://www.gnu.org/licenses/. - * - */ - -#include -#include - -#include "liblte/rrc/common/rrc_common.h" -#include "liblte/rrc/messages/bcch.h" -#include "liblte/rrc/messages/sib4.h" -#include "liblte/phy/utils/bit.h" -#include "liblte/rrc/asn/rrc_asn.h" -#include - - -int bcch_dlsch_sib4_get_neighbour_cells(void *bcch_dlsch_msg, uint32_t *neighbour_cell_ids, uint32_t max_elems) -{ - int i = 0; - BCCH_DL_SCH_Message_t *msg = (BCCH_DL_SCH_Message_t*) bcch_dlsch_msg; - SystemInformationBlockType4_t *sib4 = - &(msg->message.choice.c1.choice.systemInformation.criticalExtensions.choice.systemInformation_r8.sib_TypeAndInfo.list.array[0]->choice.sib4); - - if (sib4->intraFreqNeighCellList) { - for (i=0;iintraFreqNeighCellList->list.count && iintraFreqNeighCellList->list.array[i]; - neighbour_cell_ids[i] = cellInfo->physCellId; - } - } - - return i; -} - - diff --git a/lte/rrc/lib/messages/test/CMakeLists.txt b/lte/rrc/lib/messages/test/CMakeLists.txt deleted file mode 100644 index 9ed745c2d..000000000 --- a/lte/rrc/lib/messages/test/CMakeLists.txt +++ /dev/null @@ -1,34 +0,0 @@ -# -# Copyright 2012-2013 The libLTE Developers. See the -# COPYRIGHT file at the top-level directory of this distribution. -# -# This file is part of the libLTE library. -# -# libLTE is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# libLTE is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# A copy of the GNU Lesser General Public License can be found in -# the LICENSE file in the top-level directory of this distribution -# and at http://www.gnu.org/licenses/. -# - -######################################################################## -# BCCH packing TEST -######################################################################## - -ADD_EXECUTABLE(bcch_bch_test bcch_bch_test.c) -TARGET_LINK_LIBRARIES(bcch_bch_test lte_rrc) - -ADD_TEST(bcch_bch_test_1 bcch_bch_test) - -ADD_EXECUTABLE(bcch_dlsch_test bcch_dlsch_test.c) -TARGET_LINK_LIBRARIES(bcch_dlsch_test lte_rrc lte_phy) - -ADD_TEST(bcch_dlsch_test_1 bcch_dlsch_test) diff --git a/lte/rrc/lib/messages/test/bcch_bch_test.c b/lte/rrc/lib/messages/test/bcch_bch_test.c deleted file mode 100644 index 84788fc93..000000000 --- a/lte/rrc/lib/messages/test/bcch_bch_test.c +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * \section COPYRIGHT - * - * Copyright 2013-2014 The libLTE Developers. See the - * COPYRIGHT file at the top-level directory of this distribution. - * - * \section LICENSE - * - * This file is part of the libLTE library. - * - * libLTE is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * libLTE is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * A copy of the GNU Lesser General Public License can be found in - * the LICENSE file in the top-level directory of this distribution - * and at http://www.gnu.org/licenses/. - * - */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "liblte/rrc/rrc.h" -#include "liblte/rrc/asn/rrc_asn.h" - - - -int main(int argc, char **argv) { - uint8_t buffer[1024]; - lte_cell_t cell; - cell.nof_ports = 1; - cell.nof_prb = 25; - cell.phich_length = PHICH_NORM; - cell.phich_resources = 1; - bcch_bch_pack(&cell, 123, buffer, 1024); -} - diff --git a/lte/rrc/lib/messages/test/bcch_dlsch_test.c b/lte/rrc/lib/messages/test/bcch_dlsch_test.c deleted file mode 100644 index de8d324b8..000000000 --- a/lte/rrc/lib/messages/test/bcch_dlsch_test.c +++ /dev/null @@ -1,58 +0,0 @@ - /** - * - * \section COPYRIGHT - * - * Copyright 2013-2014 The libLTE Developers. See the - * COPYRIGHT file at the top-level directory of this distribution. - * - * \section LICENSE - * - * This file is part of the libLTE library. - * - * libLTE is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * libLTE is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * A copy of the GNU Lesser General Public License can be found in - * the LICENSE file in the top-level directory of this distribution - * and at http://www.gnu.org/licenses/. - * - */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "liblte/phy/utils/vector.h" -#include "liblte/rrc/rrc.h" -#include "liblte/rrc/asn/rrc_asn.h" - -int main(int argc, char **argv) { - uint8_t buffer[18] = {0x40, 0x48, 0x50, 0x3, 0x2, 0xb, 0x14, 0x4a, 0x30, 0x18, 0x28, 0x20, 0x90, 0x81, 0x84, 0x79, 0x0, 0x0}; - - void *ptr = bcch_dlsch_unpack(buffer, 144); - if (ptr) { - plmn_identity_t plmn; - bcch_dlsch_sib1_get_plmns(ptr, &plmn, 1); - printf("MCC: %d, MNC: %d\n", plmn.mcc, plmn.mnc); - cell_access_info_t cellinfo; - bcch_dlsch_sib1_get_cell_access_info(ptr, &cellinfo); - printf("Cell ID: 0x%x.\n", cellinfo.cell_id); - printf("TAC: 0x%x\n", cellinfo.tracking_area_code); - bcch_dlsch_free(ptr); - } else { - printf("Unpacking error\n"); - } -} - diff --git a/mex/include/liblte/mex/mexutils.h b/mex/include/srslte/mex/mexutils.h similarity index 99% rename from mex/include/liblte/mex/mexutils.h rename to mex/include/srslte/mex/mexutils.h index 1a2af40bf..85c2b7096 100644 --- a/mex/include/liblte/mex/mexutils.h +++ b/mex/include/srslte/mex/mexutils.h @@ -38,7 +38,7 @@ #include "mex.h" -#include "liblte/config.h" +#include "srslte/config.h" typedef _Complex float cf_t; diff --git a/mex/lib/mexutils.c b/mex/lib/mexutils.c index 6df391cb8..e672ae6ea 100644 --- a/mex/lib/mexutils.c +++ b/mex/lib/mexutils.c @@ -27,9 +27,9 @@ #include #include -#include "liblte/phy/common/phy_common.h" -#include "liblte/mex/mexutils.h" -#include "liblte/phy/utils/vector.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/mex/mexutils.h" +#include "srslte/phy/utils/vector.h" bool mexutils_isScalar(const mxArray *ptr) { diff --git a/lte/phy/CMakeLists.txt b/srslte/CMakeLists.txt similarity index 100% rename from lte/phy/CMakeLists.txt rename to srslte/CMakeLists.txt diff --git a/lte/examples/CMakeLists.txt b/srslte/examples/CMakeLists.txt similarity index 100% rename from lte/examples/CMakeLists.txt rename to srslte/examples/CMakeLists.txt diff --git a/lte/examples/cell_measurement.c b/srslte/examples/cell_measurement.c similarity index 99% rename from lte/examples/cell_measurement.c rename to srslte/examples/cell_measurement.c index 8b795c9f7..81e42629e 100644 --- a/lte/examples/cell_measurement.c +++ b/srslte/examples/cell_measurement.c @@ -36,9 +36,9 @@ #include #include -#include "liblte/rrc/rrc.h" -#include "liblte/phy/phy.h" -#include "liblte/cuhd/cuhd.h" +#include "srslte/rrc/rrc.h" +#include "srslte/phy/phy.h" +#include "srslte/cuhd/cuhd.h" #include "cuhd_utils.h" #define B210_DEFAULT_GAIN 40.0 diff --git a/lte/examples/cell_search.c b/srslte/examples/cell_search.c similarity index 98% rename from lte/examples/cell_search.c rename to srslte/examples/cell_search.c index 8bda32999..7f84d2a60 100644 --- a/lte/examples/cell_search.c +++ b/srslte/examples/cell_search.c @@ -35,13 +35,13 @@ #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" #include "cuhd_utils.h" #ifndef DISABLE_UHD -#include "liblte/cuhd/cuhd.h" +#include "srslte/cuhd/cuhd.h" #endif #define MHZ 1000000 diff --git a/lte/examples/cuhd_utils.c b/srslte/examples/cuhd_utils.c similarity index 98% rename from lte/examples/cuhd_utils.c rename to srslte/examples/cuhd_utils.c index c0a67965d..3c8029955 100644 --- a/lte/examples/cuhd_utils.c +++ b/srslte/examples/cuhd_utils.c @@ -35,13 +35,13 @@ #include -#include "liblte/phy/phy.h" -#include "liblte/rrc/rrc.h" +#include "srslte/phy/phy.h" +#include "srslte/rrc/rrc.h" #include "cuhd_utils.h" #ifndef DISABLE_UHD -#include "liblte/cuhd/cuhd.h" +#include "srslte/cuhd/cuhd.h" int cuhd_recv_wrapper_cs(void *h, void *data, uint32_t nsamples, timestamp_t *t) { DEBUG(" ---- Receive %d samples ---- \n", nsamples); diff --git a/lte/examples/cuhd_utils.h b/srslte/examples/cuhd_utils.h similarity index 98% rename from lte/examples/cuhd_utils.h rename to srslte/examples/cuhd_utils.h index 0e17965d8..9e57748bc 100644 --- a/lte/examples/cuhd_utils.h +++ b/srslte/examples/cuhd_utils.h @@ -26,7 +26,7 @@ */ -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" typedef struct LIBLTE_API { uint32_t max_frames_pbch; // maximum number of 5ms frames to capture for MIB decoding diff --git a/lte/examples/hl_example.c b/srslte/examples/hl_example.c similarity index 99% rename from lte/examples/hl_example.c rename to srslte/examples/hl_example.c index 1e5541265..87427c836 100644 --- a/lte/examples/hl_example.c +++ b/srslte/examples/hl_example.c @@ -31,7 +31,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" void usage(char *arg) { printf("Usage: %s nbits snr_db\n",arg); diff --git a/lte/examples/ll_example.c b/srslte/examples/ll_example.c similarity index 97% rename from lte/examples/ll_example.c rename to srslte/examples/ll_example.c index e5e1b023e..7e6a6d8b8 100644 --- a/lte/examples/ll_example.c +++ b/srslte/examples/ll_example.c @@ -29,7 +29,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" int main(int argc, char **argv) { binsource_t bs; diff --git a/lte/examples/pdsch_enodeb.c b/srslte/examples/pdsch_enodeb.c similarity index 99% rename from lte/examples/pdsch_enodeb.c rename to srslte/examples/pdsch_enodeb.c index b3328c335..5846b1420 100644 --- a/lte/examples/pdsch_enodeb.c +++ b/srslte/examples/pdsch_enodeb.c @@ -34,11 +34,11 @@ #include #include -#include "liblte/phy/phy.h" -#include "liblte/rrc/rrc.h" +#include "srslte/phy/phy.h" +#include "srslte/rrc/rrc.h" #ifndef DISABLE_UHD -#include "liblte/cuhd/cuhd.h" +#include "srslte/cuhd/cuhd.h" void *uhd; #endif diff --git a/lte/examples/pdsch_ue.c b/srslte/examples/pdsch_ue.c similarity index 99% rename from lte/examples/pdsch_ue.c rename to srslte/examples/pdsch_ue.c index 04bf5f142..6e93150e8 100644 --- a/lte/examples/pdsch_ue.c +++ b/srslte/examples/pdsch_ue.c @@ -38,12 +38,12 @@ #include #include -#include "liblte/rrc/rrc.h" -#include "liblte/phy/phy.h" +#include "srslte/rrc/rrc.h" +#include "srslte/phy/phy.h" #ifndef DISABLE_UHD -#include "liblte/cuhd/cuhd.h" +#include "srslte/cuhd/cuhd.h" #include "cuhd_utils.h" cell_search_cfg_t cell_detect_config = { @@ -57,7 +57,7 @@ cell_search_cfg_t cell_detect_config = { //#define STDOUT_COMPACT #ifndef DISABLE_GRAPHICS -#include "liblte/graphics/plot.h" +#include "srslte/graphics/plot.h" void init_plots(); pthread_t plot_thread; sem_t plot_sem; diff --git a/lte/examples/prach_ue.c b/srslte/examples/prach_ue.c similarity index 99% rename from lte/examples/prach_ue.c rename to srslte/examples/prach_ue.c index f9e1f5d78..aba8cd3a1 100644 --- a/lte/examples/prach_ue.c +++ b/srslte/examples/prach_ue.c @@ -38,11 +38,11 @@ #include #include -#include "liblte/rrc/rrc.h" -#include "liblte/phy/phy.h" +#include "srslte/rrc/rrc.h" +#include "srslte/phy/phy.h" -#include "liblte/cuhd/cuhd.h" +#include "srslte/cuhd/cuhd.h" #include "cuhd_utils.h" cell_search_cfg_t cell_detect_config = { diff --git a/lte/examples/synch_file.c b/srslte/examples/synch_file.c similarity index 99% rename from lte/examples/synch_file.c rename to srslte/examples/synch_file.c index 2c267499f..92dd8684d 100644 --- a/lte/examples/synch_file.c +++ b/srslte/examples/synch_file.c @@ -31,7 +31,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" char *input_file_name; char *output_file_name="abs_corr.txt"; diff --git a/lte/phy/include/liblte/phy/agc/agc.h b/srslte/include/srslte/phy/agc/agc.h similarity index 98% rename from lte/phy/include/liblte/phy/agc/agc.h rename to srslte/include/srslte/phy/agc/agc.h index 90a02a512..e9fa49230 100644 --- a/lte/phy/include/liblte/phy/agc/agc.h +++ b/srslte/include/srslte/phy/agc/agc.h @@ -34,7 +34,7 @@ #include #include -#include "liblte/config.h" +#include "srslte/config.h" /* Automatic Gain Control * diff --git a/lte/phy/include/liblte/phy/ch_estimation/chest_dl.h b/srslte/include/srslte/phy/ch_estimation/chest_dl.h similarity index 94% rename from lte/phy/include/liblte/phy/ch_estimation/chest_dl.h rename to srslte/include/srslte/phy/ch_estimation/chest_dl.h index 10a2928a0..e5d180e72 100644 --- a/lte/phy/include/liblte/phy/ch_estimation/chest_dl.h +++ b/srslte/include/srslte/phy/ch_estimation/chest_dl.h @@ -32,12 +32,12 @@ #include -#include "liblte/config.h" +#include "srslte/config.h" -#include "liblte/phy/resampling/interp.h" -#include "liblte/phy/filter/filter2d.h" -#include "liblte/phy/ch_estimation/refsignal_dl.h" -#include "liblte/phy/common/phy_common.h" +#include "srslte/phy/resampling/interp.h" +#include "srslte/phy/filter/filter2d.h" +#include "srslte/phy/ch_estimation/refsignal_dl.h" +#include "srslte/phy/common/phy_common.h" /** 3GPP LTE Downlink channel estimator and equalizer. * Estimates the channel in the resource elements transmitting references and interpolates for the rest diff --git a/lte/phy/include/liblte/phy/ch_estimation/refsignal_dl.h b/srslte/include/srslte/phy/ch_estimation/refsignal_dl.h similarity index 97% rename from lte/phy/include/liblte/phy/ch_estimation/refsignal_dl.h rename to srslte/include/srslte/phy/ch_estimation/refsignal_dl.h index e85783674..72aca7107 100644 --- a/lte/phy/include/liblte/phy/ch_estimation/refsignal_dl.h +++ b/srslte/include/srslte/phy/ch_estimation/refsignal_dl.h @@ -32,8 +32,8 @@ * */ -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" typedef _Complex float cf_t; diff --git a/lte/phy/include/liblte/phy/ch_estimation/refsignal_ul.h b/srslte/include/srslte/phy/ch_estimation/refsignal_ul.h similarity index 97% rename from lte/phy/include/liblte/phy/ch_estimation/refsignal_ul.h rename to srslte/include/srslte/phy/ch_estimation/refsignal_ul.h index 9bbbb5a4a..edec55b5e 100644 --- a/lte/phy/include/liblte/phy/ch_estimation/refsignal_ul.h +++ b/srslte/include/srslte/phy/ch_estimation/refsignal_ul.h @@ -32,9 +32,9 @@ * */ -#include "liblte/config.h" -#include "liblte/phy/phch/pucch.h" -#include "liblte/phy/common/phy_common.h" +#include "srslte/config.h" +#include "srslte/phy/phch/pucch.h" +#include "srslte/phy/common/phy_common.h" #define NOF_GROUPS_U 30 #define NOF_SEQUENCES_U 2 diff --git a/lte/phy/include/liblte/phy/channel/ch_awgn.h b/srslte/include/srslte/phy/channel/ch_awgn.h similarity index 98% rename from lte/phy/include/liblte/phy/channel/ch_awgn.h rename to srslte/include/srslte/phy/channel/ch_awgn.h index 940ad332d..899052d0a 100644 --- a/lte/phy/include/liblte/phy/channel/ch_awgn.h +++ b/srslte/include/srslte/phy/channel/ch_awgn.h @@ -29,7 +29,7 @@ #include #include -#include "liblte/config.h" +#include "srslte/config.h" #ifndef CH_AWGN_ #define CH_AWGN_ diff --git a/lte/phy/include/liblte/phy/common/fft.h b/srslte/include/srslte/phy/common/fft.h similarity index 96% rename from lte/phy/include/liblte/phy/common/fft.h rename to srslte/include/srslte/phy/common/fft.h index 1107fab13..20a3082ba 100644 --- a/lte/phy/include/liblte/phy/common/fft.h +++ b/srslte/include/srslte/phy/common/fft.h @@ -33,9 +33,9 @@ #include #include -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/utils/dft.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/utils/dft.h" typedef _Complex float cf_t; /* this is only a shortcut */ diff --git a/lte/phy/include/liblte/phy/common/phy_common.h b/srslte/include/srslte/phy/common/phy_common.h similarity index 99% rename from lte/phy/include/liblte/phy/common/phy_common.h rename to srslte/include/srslte/phy/common/phy_common.h index dc794920d..b7ad4a93b 100644 --- a/lte/phy/include/liblte/phy/common/phy_common.h +++ b/srslte/include/srslte/phy/common/phy_common.h @@ -34,7 +34,7 @@ #include #include -#include "liblte/config.h" +#include "srslte/config.h" #define NSUBFRAMES_X_FRAME 10 #define NSLOTS_X_FRAME (2*NSUBFRAMES_X_FRAME) diff --git a/lte/phy/include/liblte/phy/common/sequence.h b/srslte/include/srslte/phy/common/sequence.h similarity index 97% rename from lte/phy/include/liblte/phy/common/sequence.h rename to srslte/include/srslte/phy/common/sequence.h index 30f900979..6dab3e000 100644 --- a/lte/phy/include/liblte/phy/common/sequence.h +++ b/srslte/include/srslte/phy/common/sequence.h @@ -28,8 +28,8 @@ #ifndef LTESEQ_ #define LTESEQ_ -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" typedef struct LIBLTE_API { uint8_t *c; diff --git a/lte/phy/include/liblte/phy/common/timestamp.h b/srslte/include/srslte/phy/common/timestamp.h similarity index 98% rename from lte/phy/include/liblte/phy/common/timestamp.h rename to srslte/include/srslte/phy/common/timestamp.h index 2d8d042c8..59278f70a 100644 --- a/lte/phy/include/liblte/phy/common/timestamp.h +++ b/srslte/include/srslte/phy/common/timestamp.h @@ -30,7 +30,7 @@ #define TIMESTAMP_ #include -#include "liblte/config.h" +#include "srslte/config.h" /*! * A simple timestamp struct with separate variables for full and frac seconds. diff --git a/lte/phy/include/liblte/phy/fec/convcoder.h b/srslte/include/srslte/phy/fec/convcoder.h similarity index 98% rename from lte/phy/include/liblte/phy/fec/convcoder.h rename to srslte/include/srslte/phy/fec/convcoder.h index 0c1a9481e..8619b3f7d 100644 --- a/lte/phy/include/liblte/phy/fec/convcoder.h +++ b/srslte/include/srslte/phy/fec/convcoder.h @@ -31,7 +31,7 @@ #define CONVCODER_ #include -#include "liblte/config.h" +#include "srslte/config.h" typedef struct LIBLTE_API { uint32_t R; diff --git a/lte/phy/include/liblte/phy/fec/crc.h b/srslte/include/srslte/phy/fec/crc.h similarity index 98% rename from lte/phy/include/liblte/phy/fec/crc.h rename to srslte/include/srslte/phy/fec/crc.h index 54f9ede4d..6c5e57fbb 100644 --- a/lte/phy/include/liblte/phy/fec/crc.h +++ b/srslte/include/srslte/phy/fec/crc.h @@ -29,7 +29,7 @@ #ifndef CRC_ #define CRC_ -#include "liblte/config.h" +#include "srslte/config.h" #include typedef struct LIBLTE_API { diff --git a/lte/phy/include/liblte/phy/fec/rm_conv.h b/srslte/include/srslte/phy/fec/rm_conv.h similarity index 98% rename from lte/phy/include/liblte/phy/fec/rm_conv.h rename to srslte/include/srslte/phy/fec/rm_conv.h index b3a285384..c62980504 100644 --- a/lte/phy/include/liblte/phy/fec/rm_conv.h +++ b/srslte/include/srslte/phy/fec/rm_conv.h @@ -28,7 +28,7 @@ #ifndef RM_CONV_ #define RM_CONV_ -#include "liblte/config.h" +#include "srslte/config.h" #ifndef RX_NULL #define RX_NULL 10000 diff --git a/lte/phy/include/liblte/phy/fec/rm_turbo.h b/srslte/include/srslte/phy/fec/rm_turbo.h similarity index 97% rename from lte/phy/include/liblte/phy/fec/rm_turbo.h rename to srslte/include/srslte/phy/fec/rm_turbo.h index 9798e99da..f46a54fbe 100644 --- a/lte/phy/include/liblte/phy/fec/rm_turbo.h +++ b/srslte/include/srslte/phy/fec/rm_turbo.h @@ -28,7 +28,7 @@ #ifndef RM_TURBO_ #define RM_TURBO_ -#include "liblte/config.h" +#include "srslte/config.h" #ifndef RX_NULL #define RX_NULL 10000 @@ -38,7 +38,7 @@ #define TX_NULL 100 #endif -#include "liblte/config.h" +#include "srslte/config.h" LIBLTE_API int rm_turbo_tx(uint8_t *w_buff, diff --git a/lte/phy/include/liblte/phy/fec/tc_interl.h b/srslte/include/srslte/phy/fec/tc_interl.h similarity index 94% rename from lte/phy/include/liblte/phy/fec/tc_interl.h rename to srslte/include/srslte/phy/fec/tc_interl.h index ec9eb747f..03abaaa5b 100644 --- a/lte/phy/include/liblte/phy/fec/tc_interl.h +++ b/srslte/include/srslte/phy/fec/tc_interl.h @@ -28,7 +28,7 @@ #ifndef _TC_INTERL_H #define _TC_INTERL_H -#include "liblte/config.h" +#include "srslte/config.h" typedef struct LIBLTE_API { uint32_t *forward; diff --git a/lte/phy/include/liblte/phy/fec/turbocoder.h b/srslte/include/srslte/phy/fec/turbocoder.h similarity index 91% rename from lte/phy/include/liblte/phy/fec/turbocoder.h rename to srslte/include/srslte/phy/fec/turbocoder.h index b9dec733c..07e2fe5be 100644 --- a/lte/phy/include/liblte/phy/fec/turbocoder.h +++ b/srslte/include/srslte/phy/fec/turbocoder.h @@ -28,8 +28,8 @@ #ifndef TURBOCODER_ #define TURBOCODER_ -#include "liblte/config.h" -#include "liblte/phy/fec/tc_interl.h" +#include "srslte/config.h" +#include "srslte/phy/fec/tc_interl.h" #define NUMREGS 3 diff --git a/lte/phy/include/liblte/phy/fec/turbodecoder.h b/srslte/include/srslte/phy/fec/turbodecoder.h similarity index 93% rename from lte/phy/include/liblte/phy/fec/turbodecoder.h rename to srslte/include/srslte/phy/fec/turbodecoder.h index 96d9a5b27..f99468cd0 100644 --- a/lte/phy/include/liblte/phy/fec/turbodecoder.h +++ b/srslte/include/srslte/phy/fec/turbodecoder.h @@ -28,8 +28,8 @@ #ifndef TURBODECODER_ #define TURBODECODER_ -#include "liblte/config.h" -#include "liblte/phy/fec/tc_interl.h" +#include "srslte/config.h" +#include "srslte/phy/fec/tc_interl.h" #define RATE 3 #define TOTALTAIL 12 diff --git a/lte/phy/include/liblte/phy/fec/viterbi.h b/srslte/include/srslte/phy/fec/viterbi.h similarity index 99% rename from lte/phy/include/liblte/phy/fec/viterbi.h rename to srslte/include/srslte/phy/fec/viterbi.h index 25f56a1e9..2fcd46b63 100644 --- a/lte/phy/include/liblte/phy/fec/viterbi.h +++ b/srslte/include/srslte/phy/fec/viterbi.h @@ -30,7 +30,7 @@ #define VITERBI_ #include -#include "liblte/config.h" +#include "srslte/config.h" typedef enum { viterbi_27, viterbi_29, viterbi_37, viterbi_39 diff --git a/lte/phy/include/liblte/phy/filter/dft_precoding.h b/srslte/include/srslte/phy/filter/dft_precoding.h similarity index 94% rename from lte/phy/include/liblte/phy/filter/dft_precoding.h rename to srslte/include/srslte/phy/filter/dft_precoding.h index a25e7f3ac..cb455fbc9 100644 --- a/lte/phy/include/liblte/phy/filter/dft_precoding.h +++ b/srslte/include/srslte/phy/filter/dft_precoding.h @@ -29,9 +29,9 @@ #ifndef DFTPREC_ #define DFTPREC_ -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/utils/dft.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/utils/dft.h" typedef _Complex float cf_t; diff --git a/lte/phy/include/liblte/phy/filter/filter2d.h b/srslte/include/srslte/phy/filter/filter2d.h similarity index 98% rename from lte/phy/include/liblte/phy/filter/filter2d.h rename to srslte/include/srslte/phy/filter/filter2d.h index a3978145f..d5a812d84 100644 --- a/lte/phy/include/liblte/phy/filter/filter2d.h +++ b/srslte/include/srslte/phy/filter/filter2d.h @@ -30,7 +30,7 @@ #ifndef FILTER2D_ #define FILTER2D_ -#include "liblte/config.h" +#include "srslte/config.h" #include /* 2-D real filter of complex input diff --git a/lte/phy/include/liblte/phy/io/binsource.h b/srslte/include/srslte/phy/io/binsource.h similarity index 98% rename from lte/phy/include/liblte/phy/io/binsource.h rename to srslte/include/srslte/phy/io/binsource.h index 475d6c221..64e88d07e 100644 --- a/lte/phy/include/liblte/phy/io/binsource.h +++ b/srslte/include/srslte/phy/io/binsource.h @@ -31,7 +31,7 @@ #include -#include "liblte/config.h" +#include "srslte/config.h" /* Low-level API */ typedef struct LIBLTE_API{ diff --git a/lte/phy/include/liblte/phy/io/filesink.h b/srslte/include/srslte/phy/io/filesink.h similarity index 96% rename from lte/phy/include/liblte/phy/io/filesink.h rename to srslte/include/srslte/phy/io/filesink.h index 10a5fa65c..549efd022 100644 --- a/lte/phy/include/liblte/phy/io/filesink.h +++ b/srslte/include/srslte/phy/io/filesink.h @@ -32,8 +32,8 @@ #include #include -#include "liblte/config.h" -#include "liblte/phy/io/format.h" +#include "srslte/config.h" +#include "srslte/phy/io/format.h" /* Low-level API */ typedef struct LIBLTE_API { diff --git a/lte/phy/include/liblte/phy/io/filesource.h b/srslte/include/srslte/phy/io/filesource.h similarity index 96% rename from lte/phy/include/liblte/phy/io/filesource.h rename to srslte/include/srslte/phy/io/filesource.h index fcd31b1c3..150deba75 100644 --- a/lte/phy/include/liblte/phy/io/filesource.h +++ b/srslte/include/srslte/phy/io/filesource.h @@ -32,8 +32,8 @@ #include #include -#include "liblte/config.h" -#include "liblte/phy/io/format.h" +#include "srslte/config.h" +#include "srslte/phy/io/format.h" /* Low-level API */ typedef struct LIBLTE_API { diff --git a/lte/phy/include/liblte/phy/io/format.h b/srslte/include/srslte/phy/io/format.h similarity index 100% rename from lte/phy/include/liblte/phy/io/format.h rename to srslte/include/srslte/phy/io/format.h diff --git a/lte/phy/include/liblte/phy/io/netsink.h b/srslte/include/srslte/phy/io/netsink.h similarity index 98% rename from lte/phy/include/liblte/phy/io/netsink.h rename to srslte/include/srslte/phy/io/netsink.h index 45e2e14ea..508c9bb2b 100644 --- a/lte/phy/include/liblte/phy/io/netsink.h +++ b/srslte/include/srslte/phy/io/netsink.h @@ -36,7 +36,7 @@ #include #include -#include "liblte/config.h" +#include "srslte/config.h" typedef enum {NETSINK_UDP, NETSINK_TCP} netsink_type_t; diff --git a/lte/phy/include/liblte/phy/io/netsource.h b/srslte/include/srslte/phy/io/netsource.h similarity index 98% rename from lte/phy/include/liblte/phy/io/netsource.h rename to srslte/include/srslte/phy/io/netsource.h index 5a12f7081..1c10754b3 100644 --- a/lte/phy/include/liblte/phy/io/netsource.h +++ b/srslte/include/srslte/phy/io/netsource.h @@ -36,7 +36,7 @@ #include #include -#include "liblte/config.h" +#include "srslte/config.h" typedef enum {NETSOURCE_UDP, NETSOURCE_TCP} netsource_type_t; diff --git a/lte/phy/include/liblte/phy/mimo/layermap.h b/srslte/include/srslte/phy/mimo/layermap.h similarity index 98% rename from lte/phy/include/liblte/phy/mimo/layermap.h rename to srslte/include/srslte/phy/mimo/layermap.h index 260c19310..1d65c4ded 100644 --- a/lte/phy/include/liblte/phy/mimo/layermap.h +++ b/srslte/include/srslte/phy/mimo/layermap.h @@ -29,7 +29,7 @@ #ifndef LAYERMAP_H_ #define LAYERMAP_H_ -#include "liblte/config.h" +#include "srslte/config.h" typedef _Complex float cf_t; diff --git a/lte/phy/include/liblte/phy/mimo/precoding.h b/srslte/include/srslte/phy/mimo/precoding.h similarity index 99% rename from lte/phy/include/liblte/phy/mimo/precoding.h rename to srslte/include/srslte/phy/mimo/precoding.h index d0e5abf09..0e607568c 100644 --- a/lte/phy/include/liblte/phy/mimo/precoding.h +++ b/srslte/include/srslte/phy/mimo/precoding.h @@ -28,7 +28,7 @@ #ifndef PRECODING_H_ #define PRECODING_H_ -#include "liblte/config.h" +#include "srslte/config.h" typedef _Complex float cf_t; diff --git a/lte/phy/include/liblte/phy/modem/demod_hard.h b/srslte/include/srslte/phy/modem/demod_hard.h similarity index 98% rename from lte/phy/include/liblte/phy/modem/demod_hard.h rename to srslte/include/srslte/phy/modem/demod_hard.h index d10a230c3..4b38025d2 100644 --- a/lte/phy/include/liblte/phy/modem/demod_hard.h +++ b/srslte/include/srslte/phy/modem/demod_hard.h @@ -32,7 +32,7 @@ #include #include -#include "liblte/config.h" +#include "srslte/config.h" #include "modem_table.h" typedef _Complex float cf_t; diff --git a/lte/phy/include/liblte/phy/modem/demod_soft.h b/srslte/include/srslte/phy/modem/demod_soft.h similarity index 98% rename from lte/phy/include/liblte/phy/modem/demod_soft.h rename to srslte/include/srslte/phy/modem/demod_soft.h index 4b182f239..f00317a54 100644 --- a/lte/phy/include/liblte/phy/modem/demod_soft.h +++ b/srslte/include/srslte/phy/modem/demod_soft.h @@ -32,7 +32,7 @@ #include #include -#include "liblte/config.h" +#include "srslte/config.h" #include "modem_table.h" enum alg { EXACT, APPROX }; diff --git a/lte/phy/include/liblte/phy/modem/mod.h b/srslte/include/srslte/phy/modem/mod.h similarity index 98% rename from lte/phy/include/liblte/phy/modem/mod.h rename to srslte/include/srslte/phy/modem/mod.h index c8c64ad43..eb4b86722 100644 --- a/lte/phy/include/liblte/phy/modem/mod.h +++ b/srslte/include/srslte/phy/modem/mod.h @@ -32,7 +32,7 @@ #include #include -#include "liblte/config.h" +#include "srslte/config.h" #include "modem_table.h" typedef _Complex float cf_t; diff --git a/lte/phy/include/liblte/phy/modem/modem_table.h b/srslte/include/srslte/phy/modem/modem_table.h similarity index 97% rename from lte/phy/include/liblte/phy/modem/modem_table.h rename to srslte/include/srslte/phy/modem/modem_table.h index 794cd0bc4..f61909222 100644 --- a/lte/phy/include/liblte/phy/modem/modem_table.h +++ b/srslte/include/srslte/phy/modem/modem_table.h @@ -34,8 +34,8 @@ #include #include -#include "liblte/phy/common/phy_common.h" -#include "liblte/config.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/config.h" typedef _Complex float cf_t; typedef struct LIBLTE_API { diff --git a/lte/phy/include/liblte/phy/phch/cqi.h b/srslte/include/srslte/phy/phch/cqi.h similarity index 97% rename from lte/phy/include/liblte/phy/phch/cqi.h rename to srslte/include/srslte/phy/phch/cqi.h index a0aaf9c16..23002ae48 100644 --- a/lte/phy/include/liblte/phy/phch/cqi.h +++ b/srslte/include/srslte/phy/phch/cqi.h @@ -30,8 +30,8 @@ #include -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" /** * CQI message generation according to 36.212 Sections 5.2.2.6 and 5.2.3.3 diff --git a/lte/phy/include/liblte/phy/phch/dci.h b/srslte/include/srslte/phy/phch/dci.h similarity index 97% rename from lte/phy/include/liblte/phy/phch/dci.h rename to srslte/include/srslte/phy/phch/dci.h index ea4488252..a3812e72c 100644 --- a/lte/phy/include/liblte/phy/phch/dci.h +++ b/srslte/include/srslte/phy/phch/dci.h @@ -30,9 +30,9 @@ #include -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/phch/ra.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/phch/ra.h" typedef _Complex float cf_t; diff --git a/lte/phy/include/liblte/phy/phch/harq.h b/srslte/include/srslte/phy/phch/harq.h similarity index 95% rename from lte/phy/include/liblte/phy/phch/harq.h rename to srslte/include/srslte/phy/phch/harq.h index c817ab991..8afe38351 100644 --- a/lte/phy/include/liblte/phy/phch/harq.h +++ b/srslte/include/srslte/phy/phch/harq.h @@ -29,9 +29,9 @@ #ifndef HARQ_ #define HARQ_ -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/phch/ra.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/phch/ra.h" struct cb_segm { diff --git a/lte/phy/include/liblte/phy/phch/pbch.h b/srslte/include/srslte/phy/phch/pbch.h similarity index 87% rename from lte/phy/include/liblte/phy/phch/pbch.h rename to srslte/include/srslte/phy/phch/pbch.h index 0f93e17fe..043e1f3cd 100644 --- a/lte/phy/include/liblte/phy/phch/pbch.h +++ b/srslte/include/srslte/phy/phch/pbch.h @@ -29,17 +29,17 @@ #ifndef PBCH_ #define PBCH_ -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/mimo/precoding.h" -#include "liblte/phy/mimo/layermap.h" -#include "liblte/phy/modem/mod.h" -#include "liblte/phy/modem/demod_soft.h" -#include "liblte/phy/scrambling/scrambling.h" -#include "liblte/phy/fec/rm_conv.h" -#include "liblte/phy/fec/convcoder.h" -#include "liblte/phy/fec/viterbi.h" -#include "liblte/phy/fec/crc.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/mimo/precoding.h" +#include "srslte/phy/mimo/layermap.h" +#include "srslte/phy/modem/mod.h" +#include "srslte/phy/modem/demod_soft.h" +#include "srslte/phy/scrambling/scrambling.h" +#include "srslte/phy/fec/rm_conv.h" +#include "srslte/phy/fec/convcoder.h" +#include "srslte/phy/fec/viterbi.h" +#include "srslte/phy/fec/crc.h" #define BCH_PAYLOAD_LEN 24 #define BCH_PAYLOADCRC_LEN (BCH_PAYLOAD_LEN+16) diff --git a/lte/phy/include/liblte/phy/phch/pcfich.h b/srslte/include/srslte/phy/phch/pcfich.h similarity index 88% rename from lte/phy/include/liblte/phy/phch/pcfich.h rename to srslte/include/srslte/phy/phch/pcfich.h index c151a4d1a..35977ef79 100644 --- a/lte/phy/include/liblte/phy/phch/pcfich.h +++ b/srslte/include/srslte/phy/phch/pcfich.h @@ -28,14 +28,14 @@ #ifndef PCFICH_ #define PCFICH_ -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/mimo/precoding.h" -#include "liblte/phy/mimo/layermap.h" -#include "liblte/phy/modem/mod.h" -#include "liblte/phy/modem/demod_soft.h" -#include "liblte/phy/scrambling/scrambling.h" -#include "liblte/phy/phch/regs.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/mimo/precoding.h" +#include "srslte/phy/mimo/layermap.h" +#include "srslte/phy/modem/mod.h" +#include "srslte/phy/modem/demod_soft.h" +#include "srslte/phy/scrambling/scrambling.h" +#include "srslte/phy/phch/regs.h" #define PCFICH_CFI_LEN 32 #define PCFICH_RE PCFICH_CFI_LEN/2 diff --git a/lte/phy/include/liblte/phy/phch/pdcch.h b/srslte/include/srslte/phy/phch/pdcch.h similarity index 88% rename from lte/phy/include/liblte/phy/phch/pdcch.h rename to srslte/include/srslte/phy/phch/pdcch.h index 3d72295e4..14924a00c 100644 --- a/lte/phy/include/liblte/phy/phch/pdcch.h +++ b/srslte/include/srslte/phy/phch/pdcch.h @@ -28,19 +28,19 @@ #ifndef PDCCH_ #define PDCCH_ -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/mimo/precoding.h" -#include "liblte/phy/mimo/layermap.h" -#include "liblte/phy/modem/mod.h" -#include "liblte/phy/modem/demod_soft.h" -#include "liblte/phy/scrambling/scrambling.h" -#include "liblte/phy/fec/rm_conv.h" -#include "liblte/phy/fec/convcoder.h" -#include "liblte/phy/fec/viterbi.h" -#include "liblte/phy/fec/crc.h" -#include "liblte/phy/phch/dci.h" -#include "liblte/phy/phch/regs.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/mimo/precoding.h" +#include "srslte/phy/mimo/layermap.h" +#include "srslte/phy/modem/mod.h" +#include "srslte/phy/modem/demod_soft.h" +#include "srslte/phy/scrambling/scrambling.h" +#include "srslte/phy/fec/rm_conv.h" +#include "srslte/phy/fec/convcoder.h" +#include "srslte/phy/fec/viterbi.h" +#include "srslte/phy/fec/crc.h" +#include "srslte/phy/phch/dci.h" +#include "srslte/phy/phch/regs.h" typedef _Complex float cf_t; diff --git a/lte/phy/include/liblte/phy/phch/pdsch.h b/srslte/include/srslte/phy/phch/pdsch.h similarity index 87% rename from lte/phy/include/liblte/phy/phch/pdsch.h rename to srslte/include/srslte/phy/phch/pdsch.h index 4da8af9b2..048772cca 100644 --- a/lte/phy/include/liblte/phy/phch/pdsch.h +++ b/srslte/include/srslte/phy/phch/pdsch.h @@ -29,17 +29,17 @@ #ifndef PDSCH_ #define PDSCH_ -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/mimo/precoding.h" -#include "liblte/phy/mimo/layermap.h" -#include "liblte/phy/modem/mod.h" -#include "liblte/phy/modem/demod_soft.h" -#include "liblte/phy/scrambling/scrambling.h" -#include "liblte/phy/phch/dci.h" -#include "liblte/phy/phch/regs.h" -#include "liblte/phy/phch/sch.h" -#include "liblte/phy/phch/harq.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/mimo/precoding.h" +#include "srslte/phy/mimo/layermap.h" +#include "srslte/phy/modem/mod.h" +#include "srslte/phy/modem/demod_soft.h" +#include "srslte/phy/scrambling/scrambling.h" +#include "srslte/phy/phch/dci.h" +#include "srslte/phy/phch/regs.h" +#include "srslte/phy/phch/sch.h" +#include "srslte/phy/phch/harq.h" #define TDEC_MAX_ITERATIONS 5 diff --git a/lte/phy/include/liblte/phy/phch/phich.h b/srslte/include/srslte/phy/phch/phich.h similarity index 91% rename from lte/phy/include/liblte/phy/phch/phich.h rename to srslte/include/srslte/phy/phch/phich.h index a976ee718..fcf92940e 100644 --- a/lte/phy/include/liblte/phy/phch/phich.h +++ b/srslte/include/srslte/phy/phch/phich.h @@ -29,13 +29,13 @@ #ifndef PHICH_ #define PHICH_ -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/mimo/precoding.h" -#include "liblte/phy/mimo/layermap.h" -#include "liblte/phy/modem/mod.h" -#include "liblte/phy/modem/demod_hard.h" -#include "liblte/phy/scrambling/scrambling.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/mimo/precoding.h" +#include "srslte/phy/mimo/layermap.h" +#include "srslte/phy/modem/mod.h" +#include "srslte/phy/modem/demod_hard.h" +#include "srslte/phy/scrambling/scrambling.h" #include "regs.h" typedef _Complex float cf_t; diff --git a/lte/phy/include/liblte/phy/phch/prach.h b/srslte/include/srslte/phy/phch/prach.h similarity index 98% rename from lte/phy/include/liblte/phy/phch/prach.h rename to srslte/include/srslte/phy/phch/prach.h index 313949523..0b3662c7f 100644 --- a/lte/phy/include/liblte/phy/phch/prach.h +++ b/srslte/include/srslte/phy/phch/prach.h @@ -32,8 +32,8 @@ #include #include #include -#include "liblte/config.h" -#include "liblte/phy/utils/dft.h" +#include "srslte/config.h" +#include "srslte/phy/utils/dft.h" typedef _Complex float cf_t; diff --git a/lte/phy/include/liblte/phy/phch/pucch.h b/srslte/include/srslte/phy/phch/pucch.h similarity index 87% rename from lte/phy/include/liblte/phy/phch/pucch.h rename to srslte/include/srslte/phy/phch/pucch.h index db757fed9..c8a6ab430 100644 --- a/lte/phy/include/liblte/phy/phch/pucch.h +++ b/srslte/include/srslte/phy/phch/pucch.h @@ -29,17 +29,17 @@ #ifndef PUCCH_ #define PUCCH_ -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/mimo/precoding.h" -#include "liblte/phy/mimo/layermap.h" -#include "liblte/phy/modem/mod.h" -#include "liblte/phy/modem/demod_soft.h" -#include "liblte/phy/scrambling/scrambling.h" -#include "liblte/phy/phch/regs.h" -#include "liblte/phy/phch/sch.h" -#include "liblte/phy/phch/harq.h" -#include "liblte/phy/filter/dft_precoding.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/mimo/precoding.h" +#include "srslte/phy/mimo/layermap.h" +#include "srslte/phy/modem/mod.h" +#include "srslte/phy/modem/demod_soft.h" +#include "srslte/phy/scrambling/scrambling.h" +#include "srslte/phy/phch/regs.h" +#include "srslte/phy/phch/sch.h" +#include "srslte/phy/phch/harq.h" +#include "srslte/phy/filter/dft_precoding.h" #define TDEC_MAX_ITERATIONS 5 diff --git a/lte/phy/include/liblte/phy/phch/pusch.h b/srslte/include/srslte/phy/phch/pusch.h similarity index 89% rename from lte/phy/include/liblte/phy/phch/pusch.h rename to srslte/include/srslte/phy/phch/pusch.h index a96da1c21..f9572428a 100644 --- a/lte/phy/include/liblte/phy/phch/pusch.h +++ b/srslte/include/srslte/phy/phch/pusch.h @@ -29,17 +29,17 @@ #ifndef PUSCH_ #define PUSCH_ -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/mimo/precoding.h" -#include "liblte/phy/mimo/layermap.h" -#include "liblte/phy/modem/mod.h" -#include "liblte/phy/modem/demod_soft.h" -#include "liblte/phy/scrambling/scrambling.h" -#include "liblte/phy/phch/regs.h" -#include "liblte/phy/phch/sch.h" -#include "liblte/phy/phch/harq.h" -#include "liblte/phy/filter/dft_precoding.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/mimo/precoding.h" +#include "srslte/phy/mimo/layermap.h" +#include "srslte/phy/modem/mod.h" +#include "srslte/phy/modem/demod_soft.h" +#include "srslte/phy/scrambling/scrambling.h" +#include "srslte/phy/phch/regs.h" +#include "srslte/phy/phch/sch.h" +#include "srslte/phy/phch/harq.h" +#include "srslte/phy/filter/dft_precoding.h" #define TDEC_MAX_ITERATIONS 5 diff --git a/lte/phy/include/liblte/phy/phch/ra.h b/srslte/include/srslte/phy/phch/ra.h similarity index 99% rename from lte/phy/include/liblte/phy/phch/ra.h rename to srslte/include/srslte/phy/phch/ra.h index 1c9d724b5..359f1c581 100644 --- a/lte/phy/include/liblte/phy/phch/ra.h +++ b/srslte/include/srslte/phy/phch/ra.h @@ -31,7 +31,7 @@ #include #include -#include "liblte/config.h" +#include "srslte/config.h" /** Structures and utility functions for DL/UL resource * allocation. diff --git a/lte/phy/include/liblte/phy/phch/regs.h b/srslte/include/srslte/phy/phch/regs.h similarity index 98% rename from lte/phy/include/liblte/phy/phch/regs.h rename to srslte/include/srslte/phy/phch/regs.h index b3e015016..3104914c5 100644 --- a/lte/phy/include/liblte/phy/phch/regs.h +++ b/srslte/include/srslte/phy/phch/regs.h @@ -30,8 +30,8 @@ #define _REGS_H_ #include -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" #define REGS_PHICH_NSYM 12 #define REGS_PHICH_REGS_X_GROUP 3 diff --git a/lte/phy/include/liblte/phy/phch/sch.h b/srslte/include/srslte/phy/phch/sch.h similarity index 90% rename from lte/phy/include/liblte/phy/phch/sch.h rename to srslte/include/srslte/phy/phch/sch.h index f39c0ab54..2b6f4d5b2 100644 --- a/lte/phy/include/liblte/phy/phch/sch.h +++ b/srslte/include/srslte/phy/phch/sch.h @@ -29,14 +29,14 @@ #ifndef SCH_ #define SCH_ -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/fec/rm_turbo.h" -#include "liblte/phy/fec/turbocoder.h" -#include "liblte/phy/fec/turbodecoder.h" -#include "liblte/phy/fec/crc.h" -#include "liblte/phy/phch/harq.h" -#include "liblte/phy/phch/uci.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/fec/rm_turbo.h" +#include "srslte/phy/fec/turbocoder.h" +#include "srslte/phy/fec/turbodecoder.h" +#include "srslte/phy/fec/crc.h" +#include "srslte/phy/phch/harq.h" +#include "srslte/phy/phch/uci.h" #define TDEC_MAX_ITERATIONS 5 diff --git a/lte/phy/include/liblte/phy/phch/uci.h b/srslte/include/srslte/phy/phch/uci.h similarity index 95% rename from lte/phy/include/liblte/phy/phch/uci.h rename to srslte/include/srslte/phy/phch/uci.h index 419a35fca..9be82a7cc 100644 --- a/lte/phy/include/liblte/phy/phch/uci.h +++ b/srslte/include/srslte/phy/phch/uci.h @@ -29,10 +29,10 @@ #ifndef UCI_ #define UCI_ -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/phch/harq.h" -#include "liblte/phy/fec/crc.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/phch/harq.h" +#include "srslte/phy/fec/crc.h" #define MAX_CQI_LEN_PUSCH 512 #define MAX_CQI_LEN_PUCCH 13 diff --git a/srslte/include/srslte/phy/phy.h b/srslte/include/srslte/phy/phy.h new file mode 100644 index 000000000..b5a673d3c --- /dev/null +++ b/srslte/include/srslte/phy/phy.h @@ -0,0 +1,126 @@ +/** + * + * \section COPYRIGHT + * + * Copyright 2013-2014 The libLTE Developers. See the + * COPYRIGHT file at the top-level directory of this distribution. + * + * \section LICENSE + * + * This file is part of the libLTE library. + * + * libLTE is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * libLTE is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * A copy of the GNU Lesser General Public License can be found in + * the LICENSE file in the top-level directory of this distribution + * and at http://www.gnu.org/licenses/. + * + */ + + +#ifndef _LTE_ +#define _LTE_ + +#ifdef __cplusplus + extern "C" { +#endif + +#include +#include + +#include "srslte/config.h" + +#include "srslte/phy/utils/bit.h" +#include "srslte/phy/utils/convolution.h" +#include "srslte/phy/utils/debug.h" +#include "srslte/phy/utils/dft.h" +#include "srslte/phy/utils/matrix.h" +#include "srslte/phy/utils/mux.h" +#include "srslte/phy/utils/cexptab.h" +#include "srslte/phy/utils/pack.h" +#include "srslte/phy/utils/vector.h" + +#include "srslte/phy/common/timestamp.h" +#include "srslte/phy/common/sequence.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/common/fft.h" + +#include "srslte/phy/ch_estimation/chest_dl.h" +#include "srslte/phy/ch_estimation/refsignal_dl.h" +#include "srslte/phy/ch_estimation/refsignal_ul.h" + +#include "srslte/phy/resampling/interp.h" +#include "srslte/phy/resampling/decim.h" +#include "srslte/phy/resampling/resample_arb.h" + +#include "srslte/phy/channel/ch_awgn.h" + +#include "srslte/phy/fec/viterbi.h" +#include "srslte/phy/fec/convcoder.h" +#include "srslte/phy/fec/crc.h" +#include "srslte/phy/fec/tc_interl.h" +#include "srslte/phy/fec/turbocoder.h" +#include "srslte/phy/fec/turbodecoder.h" +#include "srslte/phy/fec/rm_conv.h" +#include "srslte/phy/fec/rm_turbo.h" + +#include "srslte/phy/filter/filter2d.h" +#include "srslte/phy/filter/dft_precoding.h" + +#include "srslte/phy/io/binsource.h" +#include "srslte/phy/io/filesink.h" +#include "srslte/phy/io/filesource.h" +#include "srslte/phy/io/netsink.h" +#include "srslte/phy/io/netsource.h" + +#include "srslte/phy/modem/demod_hard.h" +#include "srslte/phy/modem/demod_soft.h" +#include "srslte/phy/modem/mod.h" +#include "srslte/phy/modem/modem_table.h" + +#include "srslte/phy/mimo/precoding.h" +#include "srslte/phy/mimo/layermap.h" + +#include "srslte/phy/phch/cqi.h" +#include "srslte/phy/phch/dci.h" +#include "srslte/phy/phch/harq.h" +#include "srslte/phy/phch/pbch.h" +#include "srslte/phy/phch/pcfich.h" +#include "srslte/phy/phch/pdcch.h" +#include "srslte/phy/phch/pdsch.h" +#include "srslte/phy/phch/phich.h" +#include "srslte/phy/phch/pusch.h" +#include "srslte/phy/phch/prach.h" +#include "srslte/phy/phch/ra.h" +#include "srslte/phy/phch/regs.h" +#include "srslte/phy/phch/sch.h" +#include "srslte/phy/phch/uci.h" + +#include "srslte/phy/ue/ue_sync.h" +#include "srslte/phy/ue/ue_mib.h" +#include "srslte/phy/ue/ue_cell_search.h" +#include "srslte/phy/ue/ue_dl.h" +#include "srslte/phy/ue/ue_ul.h" + +#include "srslte/phy/scrambling/scrambling.h" + +#include "srslte/phy/sync/pss.h" +#include "srslte/phy/sync/sfo.h" +#include "srslte/phy/sync/sss.h" +#include "srslte/phy/sync/sync.h" +#include "srslte/phy/sync/cfo.h" + +#ifdef __cplusplus +} +#undef I // Fix complex.h #define I nastiness when using C++ +#endif + +#endif diff --git a/lte/phy/include/liblte/phy/resampling/decim.h b/srslte/include/srslte/phy/resampling/decim.h similarity index 97% rename from lte/phy/include/liblte/phy/resampling/decim.h rename to srslte/include/srslte/phy/resampling/decim.h index 4d3036784..ee8971c64 100644 --- a/lte/phy/include/liblte/phy/resampling/decim.h +++ b/srslte/include/srslte/phy/resampling/decim.h @@ -28,7 +28,7 @@ #ifndef DECIM_H #define DECIM_H_ -#include "liblte/config.h" +#include "srslte/config.h" typedef _Complex float cf_t; diff --git a/lte/phy/include/liblte/phy/resampling/interp.h b/srslte/include/srslte/phy/resampling/interp.h similarity index 99% rename from lte/phy/include/liblte/phy/resampling/interp.h rename to srslte/include/srslte/phy/resampling/interp.h index 64f4251f4..c1c07bdca 100644 --- a/lte/phy/include/liblte/phy/resampling/interp.h +++ b/srslte/include/srslte/phy/resampling/interp.h @@ -30,7 +30,7 @@ #include -#include "liblte/config.h" +#include "srslte/config.h" typedef _Complex float cf_t; diff --git a/lte/phy/include/liblte/phy/resampling/resample_arb.h b/srslte/include/srslte/phy/resampling/resample_arb.h similarity index 98% rename from lte/phy/include/liblte/phy/resampling/resample_arb.h rename to srslte/include/srslte/phy/resampling/resample_arb.h index 5a9f7f31e..0e2048fd0 100644 --- a/lte/phy/include/liblte/phy/resampling/resample_arb.h +++ b/srslte/include/srslte/phy/resampling/resample_arb.h @@ -31,7 +31,7 @@ #include #include -#include "liblte/config.h" +#include "srslte/config.h" typedef _Complex float cf_t; diff --git a/lte/phy/include/liblte/phy/scrambling/scrambling.h b/srslte/include/srslte/phy/scrambling/scrambling.h similarity index 96% rename from lte/phy/include/liblte/phy/scrambling/scrambling.h rename to srslte/include/srslte/phy/scrambling/scrambling.h index 39fabeccc..6bbfb87c2 100644 --- a/lte/phy/include/liblte/phy/scrambling/scrambling.h +++ b/srslte/include/srslte/phy/scrambling/scrambling.h @@ -29,9 +29,9 @@ #ifndef SCRAMBLING_ #define SCRAMBLING_ -#include "liblte/config.h" -#include "liblte/phy/common/sequence.h" -#include "liblte/phy/common/phy_common.h" +#include "srslte/config.h" +#include "srslte/phy/common/sequence.h" +#include "srslte/phy/common/phy_common.h" typedef _Complex float cf_t; diff --git a/lte/phy/include/liblte/phy/sync/cfo.h b/srslte/include/srslte/phy/sync/cfo.h similarity index 96% rename from lte/phy/include/liblte/phy/sync/cfo.h rename to srslte/include/srslte/phy/sync/cfo.h index b88683ad1..8c8c0cc1e 100644 --- a/lte/phy/include/liblte/phy/sync/cfo.h +++ b/srslte/include/srslte/phy/sync/cfo.h @@ -31,8 +31,8 @@ #include -#include "liblte/config.h" -#include "liblte/phy/utils/cexptab.h" +#include "srslte/config.h" +#include "srslte/phy/utils/cexptab.h" typedef _Complex float cf_t; diff --git a/lte/phy/include/liblte/phy/sync/pss.h b/srslte/include/srslte/phy/sync/pss.h similarity index 97% rename from lte/phy/include/liblte/phy/sync/pss.h rename to srslte/include/srslte/phy/sync/pss.h index 7c0ed7044..56f9eacc9 100644 --- a/lte/phy/include/liblte/phy/sync/pss.h +++ b/srslte/include/srslte/phy/sync/pss.h @@ -32,9 +32,9 @@ #include #include -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/utils/convolution.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/utils/convolution.h" typedef _Complex float cf_t; /* this is only a shortcut */ diff --git a/lte/phy/include/liblte/phy/sync/sfo.h b/srslte/include/srslte/phy/sync/sfo.h similarity index 97% rename from lte/phy/include/liblte/phy/sync/sfo.h rename to srslte/include/srslte/phy/sync/sfo.h index 1027c6a3b..6f3796170 100644 --- a/lte/phy/include/liblte/phy/sync/sfo.h +++ b/srslte/include/srslte/phy/sync/sfo.h @@ -29,7 +29,7 @@ #ifndef SFO_ #define SFO_ -#include "liblte/config.h" +#include "srslte/config.h" LIBLTE_API float sfo_estimate(int *t0, int len, float period); LIBLTE_API float sfo_estimate_period(int *t0, int *t, int len, float period); diff --git a/lte/phy/include/liblte/phy/sync/sss.h b/srslte/include/srslte/phy/sync/sss.h similarity index 98% rename from lte/phy/include/liblte/phy/sync/sss.h rename to srslte/include/srslte/phy/sync/sss.h index 3dd42a33f..e8e2c6a53 100644 --- a/lte/phy/include/liblte/phy/sync/sss.h +++ b/srslte/include/srslte/phy/sync/sss.h @@ -32,9 +32,9 @@ #include #include -#include "liblte/config.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/utils/dft.h" +#include "srslte/config.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/utils/dft.h" typedef _Complex float cf_t; /* this is only a shortcut */ diff --git a/lte/phy/include/liblte/phy/sync/sync.h b/srslte/include/srslte/phy/sync/sync.h similarity index 97% rename from lte/phy/include/liblte/phy/sync/sync.h rename to srslte/include/srslte/phy/sync/sync.h index 52f91920b..5eb51078f 100644 --- a/lte/phy/include/liblte/phy/sync/sync.h +++ b/srslte/include/srslte/phy/sync/sync.h @@ -32,10 +32,10 @@ #include #include -#include "liblte/config.h" -#include "liblte/phy/sync/pss.h" -#include "liblte/phy/sync/sss.h" -#include "liblte/phy/sync/cfo.h" +#include "srslte/config.h" +#include "srslte/phy/sync/pss.h" +#include "srslte/phy/sync/sss.h" +#include "srslte/phy/sync/cfo.h" #define FFT_SIZE_MIN 64 #define FFT_SIZE_MAX 2048 diff --git a/lte/phy/include/liblte/phy/ue/ue_cell_search.h b/srslte/include/srslte/phy/ue/ue_cell_search.h similarity index 93% rename from lte/phy/include/liblte/phy/ue/ue_cell_search.h rename to srslte/include/srslte/phy/ue/ue_cell_search.h index cdd0d50d6..266294612 100644 --- a/lte/phy/include/liblte/phy/ue/ue_cell_search.h +++ b/srslte/include/srslte/phy/ue/ue_cell_search.h @@ -30,13 +30,13 @@ #include -#include "liblte/config.h" -#include "liblte/phy/ue/ue_sync.h" -#include "liblte/phy/ue/ue_mib.h" -#include "liblte/phy/sync/cfo.h" -#include "liblte/phy/ch_estimation/chest_dl.h" -#include "liblte/phy/phch/pbch.h" -#include "liblte/phy/common/fft.h" +#include "srslte/config.h" +#include "srslte/phy/ue/ue_sync.h" +#include "srslte/phy/ue/ue_mib.h" +#include "srslte/phy/sync/cfo.h" +#include "srslte/phy/ch_estimation/chest_dl.h" +#include "srslte/phy/phch/pbch.h" +#include "srslte/phy/common/fft.h" /************************************************************ * diff --git a/lte/phy/include/liblte/phy/ue/ue_dl.h b/srslte/include/srslte/phy/ue/ue_dl.h similarity index 88% rename from lte/phy/include/liblte/phy/ue/ue_dl.h rename to srslte/include/srslte/phy/ue/ue_dl.h index 9563dcb94..43bb907c2 100644 --- a/lte/phy/include/liblte/phy/ue/ue_dl.h +++ b/srslte/include/srslte/phy/ue/ue_dl.h @@ -36,22 +36,22 @@ -#include "liblte/phy/ch_estimation/chest_dl.h" -#include "liblte/phy/common/fft.h" -#include "liblte/phy/common/phy_common.h" +#include "srslte/phy/ch_estimation/chest_dl.h" +#include "srslte/phy/common/fft.h" +#include "srslte/phy/common/phy_common.h" -#include "liblte/phy/phch/dci.h" -#include "liblte/phy/phch/pcfich.h" -#include "liblte/phy/phch/pdcch.h" -#include "liblte/phy/phch/pdsch.h" -#include "liblte/phy/phch/phich.h" -#include "liblte/phy/phch/ra.h" -#include "liblte/phy/phch/regs.h" +#include "srslte/phy/phch/dci.h" +#include "srslte/phy/phch/pcfich.h" +#include "srslte/phy/phch/pdcch.h" +#include "srslte/phy/phch/pdsch.h" +#include "srslte/phy/phch/phich.h" +#include "srslte/phy/phch/ra.h" +#include "srslte/phy/phch/regs.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" -#include "liblte/config.h" +#include "srslte/config.h" #define NOF_HARQ_PROCESSES 8 diff --git a/lte/phy/include/liblte/phy/ue/ue_mac_itf.h b/srslte/include/srslte/phy/ue/ue_mac_itf.h similarity index 100% rename from lte/phy/include/liblte/phy/ue/ue_mac_itf.h rename to srslte/include/srslte/phy/ue/ue_mac_itf.h diff --git a/lte/phy/include/liblte/phy/ue/ue_mib.h b/srslte/include/srslte/phy/ue/ue_mib.h similarity index 94% rename from lte/phy/include/liblte/phy/ue/ue_mib.h rename to srslte/include/srslte/phy/ue/ue_mib.h index f36dc6067..a3a35b646 100644 --- a/lte/phy/include/liblte/phy/ue/ue_mib.h +++ b/srslte/include/srslte/phy/ue/ue_mib.h @@ -48,12 +48,12 @@ #include -#include "liblte/config.h" -#include "liblte/phy/ue/ue_sync.h" -#include "liblte/phy/sync/cfo.h" -#include "liblte/phy/ch_estimation/chest_dl.h" -#include "liblte/phy/phch/pbch.h" -#include "liblte/phy/common/fft.h" +#include "srslte/config.h" +#include "srslte/phy/ue/ue_sync.h" +#include "srslte/phy/sync/cfo.h" +#include "srslte/phy/ch_estimation/chest_dl.h" +#include "srslte/phy/phch/pbch.h" +#include "srslte/phy/common/fft.h" #define MIB_MAX_PORTS 4 diff --git a/lte/phy/include/liblte/phy/ue/ue_phy.h b/srslte/include/srslte/phy/ue/ue_phy.h similarity index 99% rename from lte/phy/include/liblte/phy/ue/ue_phy.h rename to srslte/include/srslte/phy/ue/ue_phy.h index 377fb43b0..c16e7a701 100644 --- a/lte/phy/include/liblte/phy/ue/ue_phy.h +++ b/srslte/include/srslte/phy/ue/ue_phy.h @@ -26,7 +26,7 @@ */ #include "ue_mac_itf.h" -#include "liblte/phy/utils/queue.h" +#include "srslte/phy/utils/queue.h" #ifndef UEPHY_H #define UEPHY_H diff --git a/lte/phy/include/liblte/phy/ue/ue_sync.h b/srslte/include/srslte/phy/ue/ue_sync.h similarity index 93% rename from lte/phy/include/liblte/phy/ue/ue_sync.h rename to srslte/include/srslte/phy/ue/ue_sync.h index a768cc2be..c201b7904 100644 --- a/lte/phy/include/liblte/phy/ue/ue_sync.h +++ b/srslte/include/srslte/phy/ue/ue_sync.h @@ -30,14 +30,14 @@ #include -#include "liblte/config.h" -#include "liblte/phy/sync/sync.h" -#include "liblte/phy/sync/cfo.h" -#include "liblte/phy/ch_estimation/chest_dl.h" -#include "liblte/phy/phch/pbch.h" -#include "liblte/phy/common/fft.h" -#include "liblte/phy/common/timestamp.h" -#include "liblte/phy/io/filesource.h" +#include "srslte/config.h" +#include "srslte/phy/sync/sync.h" +#include "srslte/phy/sync/cfo.h" +#include "srslte/phy/ch_estimation/chest_dl.h" +#include "srslte/phy/phch/pbch.h" +#include "srslte/phy/common/fft.h" +#include "srslte/phy/common/timestamp.h" +#include "srslte/phy/io/filesource.h" /************************************************************** * diff --git a/lte/phy/include/liblte/phy/ue/ue_ul.h b/srslte/include/srslte/phy/ue/ue_ul.h similarity index 90% rename from lte/phy/include/liblte/phy/ue/ue_ul.h rename to srslte/include/srslte/phy/ue/ue_ul.h index ec55359e7..8fad03cee 100644 --- a/lte/phy/include/liblte/phy/ue/ue_ul.h +++ b/srslte/include/srslte/phy/ue/ue_ul.h @@ -35,17 +35,17 @@ ********************************************************/ -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/ch_estimation/chest_dl.h" -#include "liblte/phy/common/fft.h" -#include "liblte/phy/ch_estimation/refsignal_ul.h" -#include "liblte/phy/phch/pusch.h" -#include "liblte/phy/phch/ra.h" -#include "liblte/phy/sync/cfo.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/ch_estimation/chest_dl.h" +#include "srslte/phy/common/fft.h" +#include "srslte/phy/ch_estimation/refsignal_ul.h" +#include "srslte/phy/phch/pusch.h" +#include "srslte/phy/phch/ra.h" +#include "srslte/phy/sync/cfo.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" -#include "liblte/config.h" +#include "srslte/config.h" #define NOF_HARQ_PROCESSES 8 diff --git a/lte/phy/include/liblte/phy/utils/bit.h b/srslte/include/srslte/phy/utils/bit.h similarity index 98% rename from lte/phy/include/liblte/phy/utils/bit.h rename to srslte/include/srslte/phy/utils/bit.h index 6a2f53831..d9f549da6 100644 --- a/lte/phy/include/liblte/phy/utils/bit.h +++ b/srslte/include/srslte/phy/utils/bit.h @@ -32,7 +32,7 @@ #include #include -#include "liblte/config.h" +#include "srslte/config.h" LIBLTE_API void bit_pack_vector(uint8_t *bit_unpacked, uint8_t *bits_packed, diff --git a/lte/phy/include/liblte/phy/utils/cexptab.h b/srslte/include/srslte/phy/utils/cexptab.h similarity index 98% rename from lte/phy/include/liblte/phy/utils/cexptab.h rename to srslte/include/srslte/phy/utils/cexptab.h index 6922eff32..ee77069af 100644 --- a/lte/phy/include/liblte/phy/utils/cexptab.h +++ b/srslte/include/srslte/phy/utils/cexptab.h @@ -31,7 +31,7 @@ #include #include -#include "liblte/config.h" +#include "srslte/config.h" typedef _Complex float cf_t; diff --git a/lte/phy/include/liblte/phy/utils/convolution.h b/srslte/include/srslte/phy/utils/convolution.h similarity index 97% rename from lte/phy/include/liblte/phy/utils/convolution.h rename to srslte/include/srslte/phy/utils/convolution.h index 84d2d8d17..eac3a2b70 100644 --- a/lte/phy/include/liblte/phy/utils/convolution.h +++ b/srslte/include/srslte/phy/utils/convolution.h @@ -29,8 +29,8 @@ #ifndef CONVOLUTION_H_ #define CONVOLUTION_H_ -#include "liblte/config.h" -#include "liblte/phy/utils/dft.h" +#include "srslte/config.h" +#include "srslte/phy/utils/dft.h" typedef _Complex float cf_t; diff --git a/lte/phy/include/liblte/phy/utils/debug.h b/srslte/include/srslte/phy/utils/debug.h similarity index 98% rename from lte/phy/include/liblte/phy/utils/debug.h rename to srslte/include/srslte/phy/utils/debug.h index 78bba353a..a5558dbd5 100644 --- a/lte/phy/include/liblte/phy/utils/debug.h +++ b/srslte/include/srslte/phy/utils/debug.h @@ -29,7 +29,7 @@ #define DEBUG_H #include -#include "liblte/config.h" +#include "srslte/config.h" #define VERBOSE_DEBUG 2 #define VERBOSE_INFO 1 diff --git a/lte/phy/include/liblte/phy/utils/dft.h b/srslte/include/srslte/phy/utils/dft.h similarity index 99% rename from lte/phy/include/liblte/phy/utils/dft.h rename to srslte/include/srslte/phy/utils/dft.h index 9f180d0a1..266651fe9 100644 --- a/lte/phy/include/liblte/phy/utils/dft.h +++ b/srslte/include/srslte/phy/utils/dft.h @@ -30,7 +30,7 @@ #define DFT_H_ #include -#include "liblte/config.h" +#include "srslte/config.h" /* Generic DFT module. diff --git a/lte/phy/include/liblte/phy/utils/matrix.h b/srslte/include/srslte/phy/utils/matrix.h similarity index 98% rename from lte/phy/include/liblte/phy/utils/matrix.h rename to srslte/include/srslte/phy/utils/matrix.h index b128e70a5..83033de25 100644 --- a/lte/phy/include/liblte/phy/utils/matrix.h +++ b/srslte/include/srslte/phy/utils/matrix.h @@ -29,7 +29,7 @@ #define MATRIX_ #include -#include "liblte/config.h" +#include "srslte/config.h" typedef _Complex float cf_t; diff --git a/lte/phy/include/liblte/phy/utils/mux.h b/srslte/include/srslte/phy/utils/mux.h similarity index 97% rename from lte/phy/include/liblte/phy/utils/mux.h rename to srslte/include/srslte/phy/utils/mux.h index a1fc54824..e9b39f6f8 100644 --- a/lte/phy/include/liblte/phy/utils/mux.h +++ b/srslte/include/srslte/phy/utils/mux.h @@ -28,7 +28,7 @@ #ifndef MUX_ #define MUX_ -#include "liblte/config.h" +#include "srslte/config.h" LIBLTE_API void mux(void **input, void *output, int *input_lengths, int *input_padding_pre, int nof_inputs, int sample_sz); diff --git a/lte/phy/include/liblte/phy/utils/pack.h b/srslte/include/srslte/phy/utils/pack.h similarity index 97% rename from lte/phy/include/liblte/phy/utils/pack.h rename to srslte/include/srslte/phy/utils/pack.h index 73a5f9678..8e8d955a1 100644 --- a/lte/phy/include/liblte/phy/utils/pack.h +++ b/srslte/include/srslte/phy/utils/pack.h @@ -29,7 +29,7 @@ #ifndef PACK_ #define PACK_ -#include "liblte/config.h" +#include "srslte/config.h" #include LIBLTE_API uint32_t unpack_bits(uint8_t **bits, diff --git a/lte/phy/include/liblte/phy/utils/queue.h b/srslte/include/srslte/phy/utils/queue.h similarity index 100% rename from lte/phy/include/liblte/phy/utils/queue.h rename to srslte/include/srslte/phy/utils/queue.h diff --git a/lte/phy/include/liblte/phy/utils/vector.h b/srslte/include/srslte/phy/utils/vector.h similarity index 99% rename from lte/phy/include/liblte/phy/utils/vector.h rename to srslte/include/srslte/phy/utils/vector.h index bf64ec93d..b1b90041f 100644 --- a/lte/phy/include/liblte/phy/utils/vector.h +++ b/srslte/include/srslte/phy/utils/vector.h @@ -35,7 +35,7 @@ extern "C" { #include #include -#include "liblte/config.h" +#include "srslte/config.h" typedef _Complex float cf_t; diff --git a/lte/phy/lib/CMakeLists.txt b/srslte/lib/CMakeLists.txt similarity index 100% rename from lte/phy/lib/CMakeLists.txt rename to srslte/lib/CMakeLists.txt diff --git a/lte/phy/lib/agc/src/agc.c b/srslte/lib/agc/src/agc.c similarity index 94% rename from lte/phy/lib/agc/src/agc.c rename to srslte/lib/agc/src/agc.c index 5d1add9ff..ae22aa3d0 100644 --- a/lte/phy/lib/agc/src/agc.c +++ b/srslte/lib/agc/src/agc.c @@ -32,11 +32,11 @@ #include #include -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/utils/debug.h" -#include "liblte/phy/agc/agc.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/agc/agc.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" int agc_init (agc_t *q) { diff --git a/lte/phy/lib/ch_estimation/src/chest_dl.c b/srslte/lib/ch_estimation/src/chest_dl.c similarity index 98% rename from lte/phy/lib/ch_estimation/src/chest_dl.c rename to srslte/lib/ch_estimation/src/chest_dl.c index 8e77af263..c9d400d33 100644 --- a/lte/phy/lib/ch_estimation/src/chest_dl.c +++ b/srslte/lib/ch_estimation/src/chest_dl.c @@ -34,11 +34,11 @@ #include #include -#include "liblte/config.h" +#include "srslte/config.h" -#include "liblte/phy/ch_estimation/chest_dl.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/convolution.h" +#include "srslte/phy/ch_estimation/chest_dl.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/convolution.h" #define CHEST_RS_AVERAGE_TIME 2 #define CHEST_RS_AVERAGE_FREQ 3 diff --git a/lte/phy/lib/ch_estimation/src/refsignal_dl.c b/srslte/lib/ch_estimation/src/refsignal_dl.c similarity index 97% rename from lte/phy/lib/ch_estimation/src/refsignal_dl.c rename to srslte/lib/ch_estimation/src/refsignal_dl.c index a69874e54..5ee1ae5be 100644 --- a/lte/phy/lib/ch_estimation/src/refsignal_dl.c +++ b/srslte/lib/ch_estimation/src/refsignal_dl.c @@ -32,11 +32,11 @@ #include #include -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/ch_estimation/refsignal_dl.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/debug.h" -#include "liblte/phy/common/sequence.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/ch_estimation/refsignal_dl.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" +#include "srslte/phy/common/sequence.h" uint32_t refsignal_cs_v(uint32_t port_id, uint32_t ref_symbol_idx) { diff --git a/lte/phy/lib/ch_estimation/src/refsignal_ul.c b/srslte/lib/ch_estimation/src/refsignal_ul.c similarity index 98% rename from lte/phy/lib/ch_estimation/src/refsignal_ul.c rename to srslte/lib/ch_estimation/src/refsignal_ul.c index 842876c9a..8985d0450 100644 --- a/lte/phy/lib/ch_estimation/src/refsignal_ul.c +++ b/srslte/lib/ch_estimation/src/refsignal_ul.c @@ -31,11 +31,11 @@ #include #include -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/ch_estimation/refsignal_ul.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/debug.h" -#include "liblte/phy/common/sequence.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/ch_estimation/refsignal_ul.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" +#include "srslte/phy/common/sequence.h" #include "ul_rs_tables.h" diff --git a/lte/phy/lib/ch_estimation/src/ul_rs_tables.h b/srslte/lib/ch_estimation/src/ul_rs_tables.h similarity index 100% rename from lte/phy/lib/ch_estimation/src/ul_rs_tables.h rename to srslte/lib/ch_estimation/src/ul_rs_tables.h diff --git a/lte/phy/lib/ch_estimation/test/CMakeLists.txt b/srslte/lib/ch_estimation/test/CMakeLists.txt similarity index 100% rename from lte/phy/lib/ch_estimation/test/CMakeLists.txt rename to srslte/lib/ch_estimation/test/CMakeLists.txt diff --git a/lte/phy/lib/ch_estimation/test/chest_test_dl.c b/srslte/lib/ch_estimation/test/chest_test_dl.c similarity index 99% rename from lte/phy/lib/ch_estimation/test/chest_test_dl.c rename to srslte/lib/ch_estimation/test/chest_test_dl.c index 8b60a23c0..3691a3642 100644 --- a/lte/phy/lib/ch_estimation/test/chest_test_dl.c +++ b/srslte/lib/ch_estimation/test/chest_test_dl.c @@ -31,7 +31,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" lte_cell_t cell = { 6, // nof_prb diff --git a/lte/phy/lib/ch_estimation/test/chest_test_dl_mex.c b/srslte/lib/ch_estimation/test/chest_test_dl_mex.c similarity index 98% rename from lte/phy/lib/ch_estimation/test/chest_test_dl_mex.c rename to srslte/lib/ch_estimation/test/chest_test_dl_mex.c index 54a26b730..75b4525c5 100644 --- a/lte/phy/lib/ch_estimation/test/chest_test_dl_mex.c +++ b/srslte/lib/ch_estimation/test/chest_test_dl_mex.c @@ -26,7 +26,7 @@ */ #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" #ifdef UNDEF_BOOL #undef bool #endif @@ -47,7 +47,7 @@ void help() { mexErrMsgTxt - ("[estChannel, avg_refs, output] = liblte_chest(cell_id, nof_ports, inputSignal,[sf_idx|freq_filter]," + ("[estChannel, avg_refs, output] = srslte_chest(cell_id, nof_ports, inputSignal,[sf_idx|freq_filter]," "[time_filter])\n\n" " Returns a matrix of size equal to the inputSignal matrix with the channel estimates\n " "for each resource element in inputSignal. The inputSignal matrix is the received Grid\n" diff --git a/lte/phy/lib/ch_estimation/test/chest_test_dl_mex.mexa64 b/srslte/lib/ch_estimation/test/chest_test_dl_mex.mexa64 similarity index 100% rename from lte/phy/lib/ch_estimation/test/chest_test_dl_mex.mexa64 rename to srslte/lib/ch_estimation/test/chest_test_dl_mex.mexa64 diff --git a/lte/phy/lib/ch_estimation/test/refsignal_pusch_mex.c b/srslte/lib/ch_estimation/test/refsignal_pusch_mex.c similarity index 97% rename from lte/phy/lib/ch_estimation/test/refsignal_pusch_mex.c rename to srslte/lib/ch_estimation/test/refsignal_pusch_mex.c index 0200c88dd..ba89c9260 100644 --- a/lte/phy/lib/ch_estimation/test/refsignal_pusch_mex.c +++ b/srslte/lib/ch_estimation/test/refsignal_pusch_mex.c @@ -26,8 +26,8 @@ */ #include -#include "liblte/phy/phy.h" -#include "liblte/mex/mexutils.h" +#include "srslte/phy/phy.h" +#include "srslte/mex/mexutils.h" /** MEX function to be called from MATLAB to test the channel estimator */ @@ -39,7 +39,7 @@ void help() { mexErrMsgTxt - ("[seq] = liblte_refsignal_pusch(ueConfig, puschConfig)\n\n"); + ("[seq] = srslte_refsignal_pusch(ueConfig, puschConfig)\n\n"); } extern int indices[2048]; diff --git a/lte/phy/lib/ch_estimation/test/refsignal_ul_test.c b/srslte/lib/ch_estimation/test/refsignal_ul_test.c similarity index 99% rename from lte/phy/lib/ch_estimation/test/refsignal_ul_test.c rename to srslte/lib/ch_estimation/test/refsignal_ul_test.c index f2966d0af..2f2602163 100644 --- a/lte/phy/lib/ch_estimation/test/refsignal_ul_test.c +++ b/srslte/lib/ch_estimation/test/refsignal_ul_test.c @@ -31,7 +31,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" lte_cell_t cell = { 100, // nof_prb diff --git a/lte/phy/lib/channel/src/ch_awgn.c b/srslte/lib/channel/src/ch_awgn.c similarity index 97% rename from lte/phy/lib/channel/src/ch_awgn.c rename to srslte/lib/channel/src/ch_awgn.c index 05dadf975..5a84f712b 100644 --- a/lte/phy/lib/channel/src/ch_awgn.c +++ b/srslte/lib/channel/src/ch_awgn.c @@ -32,7 +32,7 @@ #include #include "gauss.h" -#include "liblte/phy/channel/ch_awgn.h" +#include "srslte/phy/channel/ch_awgn.h" float ch_awgn_get_variance(float ebno_db, float rate) { float esno_db = ebno_db + 10 * log10f(rate); diff --git a/lte/phy/lib/channel/src/gauss.c b/srslte/lib/channel/src/gauss.c similarity index 100% rename from lte/phy/lib/channel/src/gauss.c rename to srslte/lib/channel/src/gauss.c diff --git a/lte/phy/lib/channel/src/gauss.h b/srslte/lib/channel/src/gauss.h similarity index 100% rename from lte/phy/lib/channel/src/gauss.h rename to srslte/lib/channel/src/gauss.h diff --git a/lte/phy/lib/common/src/fft.c b/srslte/lib/common/src/fft.c similarity index 96% rename from lte/phy/lib/common/src/fft.c rename to srslte/lib/common/src/fft.c index 772f4e849..be09ba9fb 100644 --- a/lte/phy/lib/common/src/fft.c +++ b/srslte/lib/common/src/fft.c @@ -31,11 +31,11 @@ #include #include -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/utils/dft.h" -#include "liblte/phy/common/fft.h" -#include "liblte/phy/utils/debug.h" -#include "liblte/phy/utils/vector.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/utils/dft.h" +#include "srslte/phy/common/fft.h" +#include "srslte/phy/utils/debug.h" +#include "srslte/phy/utils/vector.h" int lte_fft_init_(lte_fft_t *q, lte_cp_t cp, uint32_t nof_prb, dft_dir_t dir) { int symbol_sz = lte_symbol_sz(nof_prb); diff --git a/lte/phy/lib/common/src/phy_common.c b/srslte/lib/common/src/phy_common.c similarity index 99% rename from lte/phy/lib/common/src/phy_common.c rename to srslte/lib/common/src/phy_common.c index 36b7bb047..a717ff1cf 100644 --- a/lte/phy/lib/common/src/phy_common.c +++ b/srslte/lib/common/src/phy_common.c @@ -32,7 +32,7 @@ #include #include -#include "liblte/phy/common/phy_common.h" +#include "srslte/phy/common/phy_common.h" const uint32_t tc_cb_sizes[NOF_TC_CB_SIZES] = { 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, diff --git a/lte/phy/lib/common/src/sequence.c b/srslte/lib/common/src/sequence.c similarity index 98% rename from lte/phy/lib/common/src/sequence.c rename to srslte/lib/common/src/sequence.c index 4eac18a74..6efe9e16f 100644 --- a/lte/phy/lib/common/src/sequence.c +++ b/srslte/lib/common/src/sequence.c @@ -30,7 +30,7 @@ #include #include -#include "liblte/phy/common/sequence.h" +#include "srslte/phy/common/sequence.h" #define Nc 1600 diff --git a/lte/phy/lib/common/src/timestamp.c b/srslte/lib/common/src/timestamp.c similarity index 98% rename from lte/phy/lib/common/src/timestamp.c rename to srslte/lib/common/src/timestamp.c index a2a894e59..f1a24651f 100644 --- a/lte/phy/lib/common/src/timestamp.c +++ b/srslte/lib/common/src/timestamp.c @@ -25,7 +25,7 @@ * */ -#include "liblte/phy/common/timestamp.h" +#include "srslte/phy/common/timestamp.h" #include "math.h" int timestamp_init(timestamp_t *t, time_t full_secs, double frac_secs){ diff --git a/lte/phy/lib/common/test/CMakeLists.txt b/srslte/lib/common/test/CMakeLists.txt similarity index 100% rename from lte/phy/lib/common/test/CMakeLists.txt rename to srslte/lib/common/test/CMakeLists.txt diff --git a/lte/phy/lib/common/test/fft_test.c b/srslte/lib/common/test/fft_test.c similarity index 99% rename from lte/phy/lib/common/test/fft_test.c rename to srslte/lib/common/test/fft_test.c index 407d80b3c..3ac367af6 100644 --- a/lte/phy/lib/common/test/fft_test.c +++ b/srslte/lib/common/test/fft_test.c @@ -32,7 +32,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" int nof_prb = -1; lte_cp_t cp = CPNORM; diff --git a/lte/phy/lib/fec/src/convcoder.c b/srslte/lib/fec/src/convcoder.c similarity index 98% rename from lte/phy/lib/fec/src/convcoder.c rename to srslte/lib/fec/src/convcoder.c index d62507f87..9c3d67b31 100644 --- a/lte/phy/lib/fec/src/convcoder.c +++ b/srslte/lib/fec/src/convcoder.c @@ -31,7 +31,7 @@ #include #include -#include "liblte/phy/fec/convcoder.h" +#include "srslte/phy/fec/convcoder.h" #include "parity.h" int convcoder_encode(convcoder_t *q, uint8_t *input, uint8_t *output, uint32_t frame_length) { diff --git a/lte/phy/lib/fec/src/crc.c b/srslte/lib/fec/src/crc.c similarity index 98% rename from lte/phy/lib/fec/src/crc.c rename to srslte/lib/fec/src/crc.c index d252c6598..58a70dc88 100644 --- a/lte/phy/lib/fec/src/crc.c +++ b/srslte/lib/fec/src/crc.c @@ -29,8 +29,8 @@ #include #include -#include "liblte/phy/utils/pack.h" -#include "liblte/phy/fec/crc.h" +#include "srslte/phy/utils/pack.h" +#include "srslte/phy/fec/crc.h" void gen_crc_table(crc_t *h) { diff --git a/lte/phy/lib/fec/src/parity.c b/srslte/lib/fec/src/parity.c similarity index 100% rename from lte/phy/lib/fec/src/parity.c rename to srslte/lib/fec/src/parity.c diff --git a/lte/phy/lib/fec/src/parity.h b/srslte/lib/fec/src/parity.h similarity index 100% rename from lte/phy/lib/fec/src/parity.h rename to srslte/lib/fec/src/parity.h diff --git a/lte/phy/lib/fec/src/rm_conv.c b/srslte/lib/fec/src/rm_conv.c similarity index 99% rename from lte/phy/lib/fec/src/rm_conv.c rename to srslte/lib/fec/src/rm_conv.c index 876c5d824..72973d06a 100644 --- a/lte/phy/lib/fec/src/rm_conv.c +++ b/srslte/lib/fec/src/rm_conv.c @@ -29,7 +29,7 @@ #include #include -#include "liblte/phy/fec/rm_conv.h" +#include "srslte/phy/fec/rm_conv.h" #define NCOLS 32 #define NROWS_MAX NCOLS diff --git a/lte/phy/lib/fec/src/rm_turbo.c b/srslte/lib/fec/src/rm_turbo.c similarity index 99% rename from lte/phy/lib/fec/src/rm_turbo.c rename to srslte/lib/fec/src/rm_turbo.c index b7ad8e1ac..8f2c5dab7 100644 --- a/lte/phy/lib/fec/src/rm_turbo.c +++ b/srslte/lib/fec/src/rm_turbo.c @@ -32,7 +32,7 @@ #include #include -#include "liblte/phy/fec/rm_turbo.h" +#include "srslte/phy/fec/rm_turbo.h" #define NCOLS 32 #define NROWS_MAX NCOLS diff --git a/lte/phy/lib/fec/src/tc_interl_lte.c b/srslte/lib/fec/src/tc_interl_lte.c similarity index 93% rename from lte/phy/lib/fec/src/tc_interl_lte.c rename to srslte/lib/fec/src/tc_interl_lte.c index b77c04779..0ead94ab6 100644 --- a/lte/phy/lib/fec/src/tc_interl_lte.c +++ b/srslte/lib/fec/src/tc_interl_lte.c @@ -29,10 +29,10 @@ #include #include -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/fec/tc_interl.h" -#include "liblte/phy/fec/turbocoder.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/fec/tc_interl.h" +#include "srslte/phy/fec/turbocoder.h" +#include "srslte/phy/utils/debug.h" /************************************************ * diff --git a/lte/phy/lib/fec/src/tc_interl_umts.c b/srslte/lib/fec/src/tc_interl_umts.c similarity index 94% rename from lte/phy/lib/fec/src/tc_interl_umts.c rename to srslte/lib/fec/src/tc_interl_umts.c index 25e4d620a..51a4967a9 100644 --- a/lte/phy/lib/fec/src/tc_interl_umts.c +++ b/srslte/lib/fec/src/tc_interl_umts.c @@ -30,8 +30,8 @@ #include #include -#include "liblte/phy/fec/tc_interl.h" -#include "liblte/phy/fec/turbocoder.h" +#include "srslte/phy/fec/tc_interl.h" +#include "srslte/phy/fec/turbocoder.h" #define TURBO_RATE 3 diff --git a/lte/phy/lib/fec/src/turbocoder.c b/srslte/lib/fec/src/turbocoder.c similarity index 93% rename from lte/phy/lib/fec/src/turbocoder.c rename to srslte/lib/fec/src/turbocoder.c index 5429aa521..26a24b3f5 100644 --- a/lte/phy/lib/fec/src/turbocoder.c +++ b/srslte/lib/fec/src/turbocoder.c @@ -29,7 +29,7 @@ #include #include -#include "liblte/phy/fec/turbocoder.h" +#include "srslte/phy/fec/turbocoder.h" #define NOF_REGS 3 diff --git a/lte/phy/lib/fec/src/turbodecoder.c b/srslte/lib/fec/src/turbodecoder.c similarity index 94% rename from lte/phy/lib/fec/src/turbodecoder.c rename to srslte/lib/fec/src/turbodecoder.c index 89c784966..4fb442eb0 100644 --- a/lte/phy/lib/fec/src/turbodecoder.c +++ b/srslte/lib/fec/src/turbodecoder.c @@ -32,8 +32,8 @@ #include #include -#include "liblte/phy/fec/turbodecoder.h" -#include "liblte/phy/utils/vector.h" +#include "srslte/phy/fec/turbodecoder.h" +#include "srslte/phy/utils/vector.h" /************************************************ * diff --git a/lte/phy/lib/fec/src/viterbi.c b/srslte/lib/fec/src/viterbi.c similarity index 98% rename from lte/phy/lib/fec/src/viterbi.c rename to srslte/lib/fec/src/viterbi.c index 7d9a93c33..06a568acf 100644 --- a/lte/phy/lib/fec/src/viterbi.c +++ b/srslte/lib/fec/src/viterbi.c @@ -32,8 +32,8 @@ #include #include -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/fec/viterbi.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/fec/viterbi.h" #include "parity.h" #include "viterbi37.h" #include "viterbi39.h" diff --git a/lte/phy/lib/fec/src/viterbi37.h b/srslte/lib/fec/src/viterbi37.h similarity index 100% rename from lte/phy/lib/fec/src/viterbi37.h rename to srslte/lib/fec/src/viterbi37.h diff --git a/lte/phy/lib/fec/src/viterbi37_port.c b/srslte/lib/fec/src/viterbi37_port.c similarity index 100% rename from lte/phy/lib/fec/src/viterbi37_port.c rename to srslte/lib/fec/src/viterbi37_port.c diff --git a/lte/phy/lib/fec/src/viterbi39.h b/srslte/lib/fec/src/viterbi39.h similarity index 100% rename from lte/phy/lib/fec/src/viterbi39.h rename to srslte/lib/fec/src/viterbi39.h diff --git a/lte/phy/lib/fec/src/viterbi39_port.c b/srslte/lib/fec/src/viterbi39_port.c similarity index 100% rename from lte/phy/lib/fec/src/viterbi39_port.c rename to srslte/lib/fec/src/viterbi39_port.c diff --git a/lte/phy/lib/fec/test/CMakeLists.txt b/srslte/lib/fec/test/CMakeLists.txt similarity index 100% rename from lte/phy/lib/fec/test/CMakeLists.txt rename to srslte/lib/fec/test/CMakeLists.txt diff --git a/lte/phy/lib/fec/test/crc_test.c b/srslte/lib/fec/test/crc_test.c similarity index 99% rename from lte/phy/lib/fec/test/crc_test.c rename to srslte/lib/fec/test/crc_test.c index 5f53c5f87..bb7555dbf 100644 --- a/lte/phy/lib/fec/test/crc_test.c +++ b/srslte/lib/fec/test/crc_test.c @@ -33,7 +33,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" #include "crc_test.h" int num_bits = 5001, crc_length = 24; diff --git a/lte/phy/lib/fec/test/crc_test.h b/srslte/lib/fec/test/crc_test.h similarity index 98% rename from lte/phy/lib/fec/test/crc_test.h rename to srslte/lib/fec/test/crc_test.h index 40b48979d..14ddf5ac5 100644 --- a/lte/phy/lib/fec/test/crc_test.h +++ b/srslte/lib/fec/test/crc_test.h @@ -27,7 +27,7 @@ #include -#include "liblte/phy/fec/crc.h" +#include "srslte/phy/fec/crc.h" typedef struct { int n; diff --git a/lte/phy/lib/fec/test/rm_conv_test.c b/srslte/lib/fec/test/rm_conv_test.c similarity index 99% rename from lte/phy/lib/fec/test/rm_conv_test.c rename to srslte/lib/fec/test/rm_conv_test.c index 09ffc2b01..6fb1e207c 100644 --- a/lte/phy/lib/fec/test/rm_conv_test.c +++ b/srslte/lib/fec/test/rm_conv_test.c @@ -34,7 +34,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" int nof_tx_bits=-1, nof_rx_bits=-1; diff --git a/lte/phy/lib/fec/test/rm_turbo_rx_mex.c b/srslte/lib/fec/test/rm_turbo_rx_mex.c similarity index 95% rename from lte/phy/lib/fec/test/rm_turbo_rx_mex.c rename to srslte/lib/fec/test/rm_turbo_rx_mex.c index 747800727..a7e356dad 100644 --- a/lte/phy/lib/fec/test/rm_turbo_rx_mex.c +++ b/srslte/lib/fec/test/rm_turbo_rx_mex.c @@ -26,8 +26,8 @@ */ #include -#include "liblte/phy/phy.h" -#include "liblte/mex/mexutils.h" +#include "srslte/phy/phy.h" +#include "srslte/mex/mexutils.h" /** MEX function to be called from MATLAB to test the channel estimator */ @@ -41,7 +41,7 @@ void help() { mexErrMsgTxt - ("[out] = liblte_rm_turbo_rx(in, trblkin, rv)\n\n"); + ("[out] = srslte_rm_turbo_rx(in, trblkin, rv)\n\n"); } /* the gateway function */ diff --git a/lte/phy/lib/fec/test/rm_turbo_test.c b/srslte/lib/fec/test/rm_turbo_test.c similarity index 99% rename from lte/phy/lib/fec/test/rm_turbo_test.c rename to srslte/lib/fec/test/rm_turbo_test.c index 81a023d72..c7f78eb25 100644 --- a/lte/phy/lib/fec/test/rm_turbo_test.c +++ b/srslte/lib/fec/test/rm_turbo_test.c @@ -34,7 +34,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" int nof_tx_bits = -1, nof_rx_bits = -1; int nof_filler_bits = -1; diff --git a/lte/phy/lib/fec/test/turbodecoder_test.c b/srslte/lib/fec/test/turbodecoder_test.c similarity index 99% rename from lte/phy/lib/fec/test/turbodecoder_test.c rename to srslte/lib/fec/test/turbodecoder_test.c index eca44ccb4..08fef4dfc 100644 --- a/lte/phy/lib/fec/test/turbodecoder_test.c +++ b/srslte/lib/fec/test/turbodecoder_test.c @@ -35,7 +35,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" #include "turbodecoder_test.h" diff --git a/lte/phy/lib/fec/test/turbodecoder_test.h b/srslte/lib/fec/test/turbodecoder_test.h similarity index 100% rename from lte/phy/lib/fec/test/turbodecoder_test.h rename to srslte/lib/fec/test/turbodecoder_test.h diff --git a/lte/phy/lib/fec/test/turbodecoder_test_mex.c b/srslte/lib/fec/test/turbodecoder_test_mex.c similarity index 95% rename from lte/phy/lib/fec/test/turbodecoder_test_mex.c rename to srslte/lib/fec/test/turbodecoder_test_mex.c index b34d39b6f..c176ef093 100644 --- a/lte/phy/lib/fec/test/turbodecoder_test_mex.c +++ b/srslte/lib/fec/test/turbodecoder_test_mex.c @@ -26,8 +26,8 @@ */ #include -#include "liblte/phy/phy.h" -#include "liblte/mex/mexutils.h" +#include "srslte/phy/phy.h" +#include "srslte/mex/mexutils.h" /** MEX function to be called from MATLAB to test the channel estimator */ @@ -40,7 +40,7 @@ void help() { mexErrMsgTxt - ("[decoded_bits] = liblte_turbodecoder(input_llr, nof_iterations)\n\n"); + ("[decoded_bits] = srslte_turbodecoder(input_llr, nof_iterations)\n\n"); } /* the gateway function */ diff --git a/lte/phy/lib/fec/test/viterbi_test.c b/srslte/lib/fec/test/viterbi_test.c similarity index 99% rename from lte/phy/lib/fec/test/viterbi_test.c rename to srslte/lib/fec/test/viterbi_test.c index c1803e52e..6973567f9 100644 --- a/lte/phy/lib/fec/test/viterbi_test.c +++ b/srslte/lib/fec/test/viterbi_test.c @@ -33,7 +33,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" #include "viterbi_test.h" diff --git a/lte/phy/lib/fec/test/viterbi_test.h b/srslte/lib/fec/test/viterbi_test.h similarity index 100% rename from lte/phy/lib/fec/test/viterbi_test.h rename to srslte/lib/fec/test/viterbi_test.h diff --git a/lte/phy/lib/fec/test/viterbi_test_mex.c b/srslte/lib/fec/test/viterbi_test_mex.c similarity index 94% rename from lte/phy/lib/fec/test/viterbi_test_mex.c rename to srslte/lib/fec/test/viterbi_test_mex.c index 1a59785e7..757694c28 100644 --- a/lte/phy/lib/fec/test/viterbi_test_mex.c +++ b/srslte/lib/fec/test/viterbi_test_mex.c @@ -26,8 +26,8 @@ */ #include -#include "liblte/phy/phy.h" -#include "liblte/mex/mexutils.h" +#include "srslte/phy/phy.h" +#include "srslte/mex/mexutils.h" /** MEX function to be called from MATLAB to test the channel estimator */ @@ -39,7 +39,7 @@ void help() { mexErrMsgTxt - ("[decoded_bits] = liblte_viterbi(input_llr, type)\n\n"); + ("[decoded_bits] = srslte_viterbi(input_llr, type)\n\n"); } /* the gateway function */ diff --git a/lte/phy/lib/filter/src/dft_precoding.c b/srslte/lib/filter/src/dft_precoding.c similarity index 94% rename from lte/phy/lib/filter/src/dft_precoding.c rename to srslte/lib/filter/src/dft_precoding.c index 8874f7f33..9b6678daf 100644 --- a/lte/phy/lib/filter/src/dft_precoding.c +++ b/srslte/lib/filter/src/dft_precoding.c @@ -34,11 +34,11 @@ #include #include -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/utils/debug.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/dft.h" -#include "liblte/phy/filter/dft_precoding.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/utils/debug.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/dft.h" +#include "srslte/phy/filter/dft_precoding.h" /* Create DFT plans for transform precoding */ int dft_precoding_init(dft_precoding_t *q, uint32_t max_prb) diff --git a/lte/phy/lib/filter/src/filter2d.c b/srslte/lib/filter/src/filter2d.c similarity index 95% rename from lte/phy/lib/filter/src/filter2d.c rename to srslte/lib/filter/src/filter2d.c index 3d5428bda..a13f31d9e 100644 --- a/lte/phy/lib/filter/src/filter2d.c +++ b/srslte/lib/filter/src/filter2d.c @@ -30,13 +30,13 @@ #include #include -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/utils/debug.h" -#include "liblte/phy/resampling/interp.h" -#include "liblte/phy/filter/filter2d.h" -#include "liblte/phy/utils/matrix.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/resampling/interp.h" +#include "srslte/phy/filter/filter2d.h" +#include "srslte/phy/utils/matrix.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" /* Useful macros */ #define intceil(X, Y) ((X-1)/Y+1) diff --git a/lte/phy/lib/io/src/binsource.c b/srslte/lib/io/src/binsource.c similarity index 98% rename from lte/phy/lib/io/src/binsource.c rename to srslte/lib/io/src/binsource.c index f4cd3043e..3c2ff169a 100644 --- a/lte/phy/lib/io/src/binsource.c +++ b/srslte/lib/io/src/binsource.c @@ -30,8 +30,8 @@ #include #include -#include "liblte/phy/io/binsource.h" -#include "liblte/phy/utils/bit.h" +#include "srslte/phy/io/binsource.h" +#include "srslte/phy/utils/bit.h" #define DIV(a,b) ((a-1)/b+1) diff --git a/lte/phy/lib/io/src/filesink.c b/srslte/lib/io/src/filesink.c similarity index 98% rename from lte/phy/lib/io/src/filesink.c rename to srslte/lib/io/src/filesink.c index f68bff002..84f241aec 100644 --- a/lte/phy/lib/io/src/filesink.c +++ b/srslte/lib/io/src/filesink.c @@ -32,7 +32,7 @@ #include -#include "liblte/phy/io/filesink.h" +#include "srslte/phy/io/filesink.h" int filesink_init(filesink_t *q, char *filename, data_type_t type) { bzero(q, sizeof(filesink_t)); diff --git a/lte/phy/lib/io/src/filesource.c b/srslte/lib/io/src/filesource.c similarity index 98% rename from lte/phy/lib/io/src/filesource.c rename to srslte/lib/io/src/filesource.c index 72e8c2cd1..7057fb49d 100644 --- a/lte/phy/lib/io/src/filesource.c +++ b/srslte/lib/io/src/filesource.c @@ -30,7 +30,7 @@ #include #include -#include "liblte/phy/io/filesource.h" +#include "srslte/phy/io/filesource.h" int filesource_init(filesource_t *q, char *filename, data_type_t type) { bzero(q, sizeof(filesource_t)); diff --git a/lte/phy/lib/io/src/netsink.c b/srslte/lib/io/src/netsink.c similarity index 98% rename from lte/phy/lib/io/src/netsink.c rename to srslte/lib/io/src/netsink.c index f01525264..812afd5b8 100644 --- a/lte/phy/lib/io/src/netsink.c +++ b/srslte/lib/io/src/netsink.c @@ -37,7 +37,7 @@ #include -#include "liblte/phy/io/netsink.h" +#include "srslte/phy/io/netsink.h" int netsink_init(netsink_t *q, char *address, int port, netsink_type_t type) { bzero(q, sizeof(netsink_t)); diff --git a/lte/phy/lib/io/src/netsource.c b/srslte/lib/io/src/netsource.c similarity index 98% rename from lte/phy/lib/io/src/netsource.c rename to srslte/lib/io/src/netsource.c index 23cc35eca..76b093a13 100644 --- a/lte/phy/lib/io/src/netsource.c +++ b/srslte/lib/io/src/netsource.c @@ -35,7 +35,7 @@ #include #include -#include "liblte/phy/io/netsource.h" +#include "srslte/phy/io/netsource.h" int netsource_init(netsource_t *q, char *address, int port, netsource_type_t type) { bzero(q, sizeof(netsource_t)); diff --git a/lte/phy/lib/mimo/src/layermap.c b/srslte/lib/mimo/src/layermap.c similarity index 98% rename from lte/phy/lib/mimo/src/layermap.c rename to srslte/lib/mimo/src/layermap.c index acfe362a3..a351546c7 100644 --- a/lte/phy/lib/mimo/src/layermap.c +++ b/srslte/lib/mimo/src/layermap.c @@ -30,8 +30,8 @@ #include #include -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/mimo/layermap.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/mimo/layermap.h" diff --git a/lte/phy/lib/mimo/src/precoding.c b/srslte/lib/mimo/src/precoding.c similarity index 98% rename from lte/phy/lib/mimo/src/precoding.c rename to srslte/lib/mimo/src/precoding.c index e0725ecc6..8beec14d7 100644 --- a/lte/phy/lib/mimo/src/precoding.c +++ b/srslte/lib/mimo/src/precoding.c @@ -31,9 +31,9 @@ #include #include -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/mimo/precoding.h" -#include "liblte/phy/utils/vector.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/mimo/precoding.h" +#include "srslte/phy/utils/vector.h" /************************************************ diff --git a/lte/phy/lib/mimo/test/CMakeLists.txt b/srslte/lib/mimo/test/CMakeLists.txt similarity index 100% rename from lte/phy/lib/mimo/test/CMakeLists.txt rename to srslte/lib/mimo/test/CMakeLists.txt diff --git a/lte/phy/lib/mimo/test/layermap_test.c b/srslte/lib/mimo/test/layermap_test.c similarity index 99% rename from lte/phy/lib/mimo/test/layermap_test.c rename to srslte/lib/mimo/test/layermap_test.c index 61cd5b8c8..0a24fe046 100644 --- a/lte/phy/lib/mimo/test/layermap_test.c +++ b/srslte/lib/mimo/test/layermap_test.c @@ -34,7 +34,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" int nof_symbols = 1000; int nof_cw = 1, nof_layers = 1; diff --git a/lte/phy/lib/mimo/test/precoding_test.c b/srslte/lib/mimo/test/precoding_test.c similarity index 99% rename from lte/phy/lib/mimo/test/precoding_test.c rename to srslte/lib/mimo/test/precoding_test.c index 6374175ad..11e961e60 100644 --- a/lte/phy/lib/mimo/test/precoding_test.c +++ b/srslte/lib/mimo/test/precoding_test.c @@ -34,7 +34,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" #define MSE_THRESHOLD 0.00001 diff --git a/lte/phy/lib/modem/src/demod_hard.c b/srslte/lib/modem/src/demod_hard.c similarity index 98% rename from lte/phy/lib/modem/src/demod_hard.c rename to srslte/lib/modem/src/demod_hard.c index 75a170a89..869f4e985 100644 --- a/lte/phy/lib/modem/src/demod_hard.c +++ b/srslte/lib/modem/src/demod_hard.c @@ -29,7 +29,7 @@ #include #include -#include "liblte/phy/modem/demod_hard.h" +#include "srslte/phy/modem/demod_hard.h" #include "hard_demod_lte.h" diff --git a/lte/phy/lib/modem/src/demod_soft.c b/srslte/lib/modem/src/demod_soft.c similarity index 96% rename from lte/phy/lib/modem/src/demod_soft.c rename to srslte/lib/modem/src/demod_soft.c index 4b3f6cdce..5631580d4 100644 --- a/lte/phy/lib/modem/src/demod_soft.c +++ b/srslte/lib/modem/src/demod_soft.c @@ -29,9 +29,9 @@ #include #include -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/bit.h" -#include "liblte/phy/modem/demod_soft.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/bit.h" +#include "srslte/phy/modem/demod_soft.h" #include "soft_algs.h" diff --git a/lte/phy/lib/modem/src/hard_demod_lte.c b/srslte/lib/modem/src/hard_demod_lte.c similarity index 99% rename from lte/phy/lib/modem/src/hard_demod_lte.c rename to srslte/lib/modem/src/hard_demod_lte.c index 94176acd1..d5adbe5c2 100644 --- a/lte/phy/lib/modem/src/hard_demod_lte.c +++ b/srslte/lib/modem/src/hard_demod_lte.c @@ -30,7 +30,7 @@ #include #include -#include "liblte/phy/modem/demod_hard.h" +#include "srslte/phy/modem/demod_hard.h" #include "hard_demod_lte.h" diff --git a/lte/phy/lib/modem/src/hard_demod_lte.h b/srslte/lib/modem/src/hard_demod_lte.h similarity index 100% rename from lte/phy/lib/modem/src/hard_demod_lte.h rename to srslte/lib/modem/src/hard_demod_lte.h diff --git a/lte/phy/lib/modem/src/lte_tables.c b/srslte/lib/modem/src/lte_tables.c similarity index 99% rename from lte/phy/lib/modem/src/lte_tables.c rename to srslte/lib/modem/src/lte_tables.c index b16a6172e..a7f326462 100644 --- a/lte/phy/lib/modem/src/lte_tables.c +++ b/srslte/lib/modem/src/lte_tables.c @@ -31,7 +31,7 @@ #include #include -#include "liblte/phy/modem/modem_table.h" +#include "srslte/phy/modem/modem_table.h" #include "lte_tables.h" void LLR_approx_params(const cf_t* table, soft_table_t *soft_table, int B); diff --git a/lte/phy/lib/modem/src/lte_tables.h b/srslte/lib/modem/src/lte_tables.h similarity index 100% rename from lte/phy/lib/modem/src/lte_tables.h rename to srslte/lib/modem/src/lte_tables.h diff --git a/lte/phy/lib/modem/src/mod.c b/srslte/lib/modem/src/mod.c similarity index 96% rename from lte/phy/lib/modem/src/mod.c rename to srslte/lib/modem/src/mod.c index 6bfc6a6c4..06ea5082c 100644 --- a/lte/phy/lib/modem/src/mod.c +++ b/srslte/lib/modem/src/mod.c @@ -30,8 +30,8 @@ #include #include -#include "liblte/phy/utils/bit.h" -#include "liblte/phy/modem/mod.h" +#include "srslte/phy/utils/bit.h" +#include "srslte/phy/modem/mod.h" /** Low-level API */ diff --git a/lte/phy/lib/modem/src/modem_table.c b/srslte/lib/modem/src/modem_table.c similarity index 97% rename from lte/phy/lib/modem/src/modem_table.c rename to srslte/lib/modem/src/modem_table.c index e62ca981e..60ffabb8a 100644 --- a/lte/phy/lib/modem/src/modem_table.c +++ b/srslte/lib/modem/src/modem_table.c @@ -33,8 +33,8 @@ #include #include -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/modem/modem_table.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/modem/modem_table.h" #include "lte_tables.h" /** Internal functions */ diff --git a/lte/phy/lib/modem/src/soft_algs.c b/srslte/lib/modem/src/soft_algs.c similarity index 99% rename from lte/phy/lib/modem/src/soft_algs.c rename to srslte/lib/modem/src/soft_algs.c index 9cd00b384..0811c6556 100644 --- a/lte/phy/lib/modem/src/soft_algs.c +++ b/srslte/lib/modem/src/soft_algs.c @@ -34,7 +34,7 @@ #include #include "soft_algs.h" -#include "liblte/phy/utils/vector.h" +#include "srslte/phy/utils/vector.h" #define QAM16_THRESHOLD 2/sqrt(10) #define QAM64_THRESHOLD_1 2/sqrt(42) diff --git a/lte/phy/lib/modem/src/soft_algs.h b/srslte/lib/modem/src/soft_algs.h similarity index 100% rename from lte/phy/lib/modem/src/soft_algs.h rename to srslte/lib/modem/src/soft_algs.h diff --git a/lte/phy/lib/modem/test/CMakeLists.txt b/srslte/lib/modem/test/CMakeLists.txt similarity index 100% rename from lte/phy/lib/modem/test/CMakeLists.txt rename to srslte/lib/modem/test/CMakeLists.txt diff --git a/lte/phy/lib/modem/test/modem_test.c b/srslte/lib/modem/test/modem_test.c similarity index 99% rename from lte/phy/lib/modem/test/modem_test.c rename to srslte/lib/modem/test/modem_test.c index 45378f107..9e926c43d 100644 --- a/lte/phy/lib/modem/test/modem_test.c +++ b/srslte/lib/modem/test/modem_test.c @@ -34,7 +34,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" time_t start, finish; struct timeval x, y; diff --git a/lte/phy/lib/modem/test/soft_demod_test.c b/srslte/lib/modem/test/soft_demod_test.c similarity index 99% rename from lte/phy/lib/modem/test/soft_demod_test.c rename to srslte/lib/modem/test/soft_demod_test.c index 065ff6ccd..b39539cf9 100644 --- a/lte/phy/lib/modem/test/soft_demod_test.c +++ b/srslte/lib/modem/test/soft_demod_test.c @@ -34,7 +34,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" int nof_frames = 10; int num_bits = 1000; diff --git a/lte/phy/lib/phch/src/cqi.c b/srslte/lib/phch/src/cqi.c similarity index 91% rename from lte/phy/lib/phch/src/cqi.c rename to srslte/lib/phch/src/cqi.c index 2136ab555..294b37f94 100644 --- a/lte/phy/lib/phch/src/cqi.c +++ b/srslte/lib/phch/src/cqi.c @@ -34,11 +34,11 @@ #include #include -#include "liblte/phy/phch/cqi.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/utils/bit.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/phch/cqi.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/utils/bit.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" int cqi_hl_subband_pack(cqi_hl_subband_t *msg, uint32_t N, uint8_t *buff, uint32_t buff_len) diff --git a/lte/phy/lib/phch/src/dci.c b/srslte/lib/phch/src/dci.c similarity index 99% rename from lte/phy/lib/phch/src/dci.c rename to srslte/lib/phch/src/dci.c index d11855886..afc55cfde 100644 --- a/lte/phy/lib/phch/src/dci.c +++ b/srslte/lib/phch/src/dci.c @@ -34,11 +34,11 @@ #include #include -#include "liblte/phy/phch/dci.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/utils/bit.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/phch/dci.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/utils/bit.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" /* Creates the DL PDSCH resource allocation grant from a DCI message diff --git a/lte/phy/lib/phch/src/harq.c b/srslte/lib/phch/src/harq.c similarity index 96% rename from lte/phy/lib/phch/src/harq.c rename to srslte/lib/phch/src/harq.c index 6e444e2a7..0a96ae131 100644 --- a/lte/phy/lib/phch/src/harq.c +++ b/srslte/lib/phch/src/harq.c @@ -34,12 +34,12 @@ #include #include -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/phch/ra.h" -#include "liblte/phy/phch/harq.h" -#include "liblte/phy/fec/turbodecoder.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/phch/ra.h" +#include "srslte/phy/phch/harq.h" +#include "srslte/phy/fec/turbodecoder.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" #define MAX_PDSCH_RE(cp) (2 * CP_NSYMB(cp) * 12) diff --git a/lte/phy/lib/phch/src/pbch.c b/srslte/lib/phch/src/pbch.c similarity index 98% rename from lte/phy/lib/phch/src/pbch.c rename to srslte/lib/phch/src/pbch.c index 63ccd9b26..649e163b8 100644 --- a/lte/phy/lib/phch/src/pbch.c +++ b/srslte/lib/phch/src/pbch.c @@ -35,11 +35,11 @@ #include #include "prb_dl.h" -#include "liblte/phy/phch/pbch.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/utils/bit.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/phch/pbch.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/utils/bit.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" const uint8_t crc_mask[4][16] = { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, diff --git a/lte/phy/lib/phch/src/pcfich.c b/srslte/lib/phch/src/pcfich.c similarity index 97% rename from lte/phy/lib/phch/src/pcfich.c rename to srslte/lib/phch/src/pcfich.c index c645ad347..7d686008d 100644 --- a/lte/phy/lib/phch/src/pcfich.c +++ b/srslte/lib/phch/src/pcfich.c @@ -34,12 +34,12 @@ #include #include -#include "liblte/phy/phch/regs.h" -#include "liblte/phy/phch/pcfich.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/utils/bit.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/phch/regs.h" +#include "srslte/phy/phch/pcfich.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/utils/bit.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" // Table 5.3.4-1 static uint8_t cfi_table[4][PCFICH_CFI_LEN] = { diff --git a/lte/phy/lib/phch/src/pdcch.c b/srslte/lib/phch/src/pdcch.c similarity index 98% rename from lte/phy/lib/phch/src/pdcch.c rename to srslte/lib/phch/src/pdcch.c index 7ad32ebf6..697477760 100644 --- a/lte/phy/lib/phch/src/pdcch.c +++ b/srslte/lib/phch/src/pdcch.c @@ -33,13 +33,13 @@ #include #include -#include "liblte/phy/phch/dci.h" -#include "liblte/phy/phch/regs.h" -#include "liblte/phy/phch/pdcch.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/utils/bit.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/phch/dci.h" +#include "srslte/phy/phch/regs.h" +#include "srslte/phy/phch/pdcch.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/utils/bit.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" #define PDCCH_NOF_FORMATS 4 #define PDCCH_FORMAT_NOF_CCE(i) (1< #include "prb_dl.h" -#include "liblte/phy/phch/pdsch.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/utils/bit.h" -#include "liblte/phy/utils/debug.h" -#include "liblte/phy/utils/vector.h" +#include "srslte/phy/phch/pdsch.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/utils/bit.h" +#include "srslte/phy/utils/debug.h" +#include "srslte/phy/utils/vector.h" #define MAX_PDSCH_RE(cp) (2 * CP_NSYMB(cp) * 12) diff --git a/lte/phy/lib/phch/src/phich.c b/srslte/lib/phch/src/phich.c similarity index 98% rename from lte/phy/lib/phch/src/phich.c rename to srslte/lib/phch/src/phich.c index e628d9dbc..7a93c00dd 100644 --- a/lte/phy/lib/phch/src/phich.c +++ b/srslte/lib/phch/src/phich.c @@ -34,12 +34,12 @@ #include #include -#include "liblte/phy/phch/regs.h" -#include "liblte/phy/phch/phich.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/utils/bit.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/phch/regs.h" +#include "srslte/phy/phch/phich.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/utils/bit.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" /** Table 6.9.1-2 */ const cf_t w_normal[PHICH_NORM_NSEQUENCES][4] = { { 1, 1, 1, 1 }, diff --git a/lte/phy/lib/phch/src/prach.c b/srslte/lib/phch/src/prach.c similarity index 99% rename from lte/phy/lib/phch/src/prach.c rename to srslte/lib/phch/src/prach.c index 63e8e3673..3cbb0085a 100644 --- a/lte/phy/lib/phch/src/prach.c +++ b/srslte/lib/phch/src/prach.c @@ -27,9 +27,9 @@ #include #include -#include "liblte/phy/phch/prach.h" -#include "liblte/phy/utils/debug.h" -#include "liblte/phy/utils/vector.h" +#include "srslte/phy/phch/prach.h" +#include "srslte/phy/utils/debug.h" +#include "srslte/phy/utils/vector.h" #define N_SEQS 64 // Number of prach sequences available #define N_RB_SC 12 // Number of subcarriers per resource block diff --git a/lte/phy/lib/phch/src/prb_dl.c b/srslte/lib/phch/src/prb_dl.c similarity index 98% rename from lte/phy/lib/phch/src/prb_dl.c rename to srslte/lib/phch/src/prb_dl.c index 51e31c28c..ed9549876 100644 --- a/lte/phy/lib/phch/src/prb_dl.c +++ b/srslte/lib/phch/src/prb_dl.c @@ -30,7 +30,7 @@ #include #include "prb_dl.h" -#include "liblte/phy/common/phy_common.h" +#include "srslte/phy/common/phy_common.h" //#define DEBUG_IDX diff --git a/lte/phy/lib/phch/src/prb_dl.h b/srslte/lib/phch/src/prb_dl.h similarity index 100% rename from lte/phy/lib/phch/src/prb_dl.h rename to srslte/lib/phch/src/prb_dl.h diff --git a/lte/phy/lib/phch/src/pucch.c b/srslte/lib/phch/src/pucch.c similarity index 95% rename from lte/phy/lib/phch/src/pucch.c rename to srslte/lib/phch/src/pucch.c index 606739c5a..248dcf288 100644 --- a/lte/phy/lib/phch/src/pucch.c +++ b/srslte/lib/phch/src/pucch.c @@ -34,13 +34,13 @@ #include #include -#include "liblte/phy/phch/pucch.h" -#include "liblte/phy/phch/uci.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/utils/bit.h" -#include "liblte/phy/utils/debug.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/filter/dft_precoding.h" +#include "srslte/phy/phch/pucch.h" +#include "srslte/phy/phch/uci.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/utils/bit.h" +#include "srslte/phy/utils/debug.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/filter/dft_precoding.h" #define MAX_PUSCH_RE(cp) (2 * CP_NSYMB(cp) * 12) diff --git a/lte/phy/lib/phch/src/pusch.c b/srslte/lib/phch/src/pusch.c similarity index 98% rename from lte/phy/lib/phch/src/pusch.c rename to srslte/lib/phch/src/pusch.c index 4411eb1f5..5fd92a48c 100644 --- a/lte/phy/lib/phch/src/pusch.c +++ b/srslte/lib/phch/src/pusch.c @@ -34,13 +34,13 @@ #include #include -#include "liblte/phy/phch/pusch.h" -#include "liblte/phy/phch/uci.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/utils/bit.h" -#include "liblte/phy/utils/debug.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/filter/dft_precoding.h" +#include "srslte/phy/phch/pusch.h" +#include "srslte/phy/phch/uci.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/utils/bit.h" +#include "srslte/phy/utils/debug.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/filter/dft_precoding.h" #define MAX_PUSCH_RE(cp) (2 * CP_NSYMB(cp) * 12) diff --git a/lte/phy/lib/phch/src/ra.c b/srslte/lib/phch/src/ra.c similarity index 98% rename from lte/phy/lib/phch/src/ra.c rename to srslte/lib/phch/src/ra.c index 590d33791..d8c4b8482 100644 --- a/lte/phy/lib/phch/src/ra.c +++ b/srslte/lib/phch/src/ra.c @@ -29,12 +29,12 @@ #include #include #include -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/utils/bit.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/debug.h" -#include "liblte/phy/phch/ra.h" -#include "liblte/phy/utils/bit.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/utils/bit.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" +#include "srslte/phy/phch/ra.h" +#include "srslte/phy/utils/bit.h" #include "tbs_tables.h" diff --git a/lte/phy/lib/phch/src/regs.c b/srslte/lib/phch/src/regs.c similarity index 99% rename from lte/phy/lib/phch/src/regs.c rename to srslte/lib/phch/src/regs.c index e83d7f0b7..4e80c0406 100644 --- a/lte/phy/lib/phch/src/regs.c +++ b/srslte/lib/phch/src/regs.c @@ -30,9 +30,9 @@ #include #include -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/phch/regs.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/phch/regs.h" +#include "srslte/phy/utils/debug.h" #define REG_IDX(r, i, n) r->k[i]+r->l*n*RE_X_RB diff --git a/lte/phy/lib/phch/src/sch.c b/srslte/lib/phch/src/sch.c similarity index 98% rename from lte/phy/lib/phch/src/sch.c rename to srslte/lib/phch/src/sch.c index 76055f134..6854df09a 100644 --- a/lte/phy/lib/phch/src/sch.c +++ b/srslte/lib/phch/src/sch.c @@ -34,13 +34,13 @@ #include #include -#include "liblte/phy/phch/pusch.h" -#include "liblte/phy/phch/sch.h" -#include "liblte/phy/phch/uci.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/utils/bit.h" -#include "liblte/phy/utils/debug.h" -#include "liblte/phy/utils/vector.h" +#include "srslte/phy/phch/pusch.h" +#include "srslte/phy/phch/sch.h" +#include "srslte/phy/phch/uci.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/utils/bit.h" +#include "srslte/phy/utils/debug.h" +#include "srslte/phy/utils/vector.h" int sch_init(sch_t *q) { diff --git a/lte/phy/lib/phch/src/sequences.c b/srslte/lib/phch/src/sequences.c similarity index 96% rename from lte/phy/lib/phch/src/sequences.c rename to srslte/lib/phch/src/sequences.c index 497f479e2..6d045a2bd 100644 --- a/lte/phy/lib/phch/src/sequences.c +++ b/srslte/lib/phch/src/sequences.c @@ -27,8 +27,8 @@ #include -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/common/sequence.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/common/sequence.h" /** * 36.211 6.6.1 diff --git a/lte/phy/lib/phch/src/tbs_tables.h b/srslte/lib/phch/src/tbs_tables.h similarity index 100% rename from lte/phy/lib/phch/src/tbs_tables.h rename to srslte/lib/phch/src/tbs_tables.h diff --git a/lte/phy/lib/phch/src/uci.c b/srslte/lib/phch/src/uci.c similarity index 97% rename from lte/phy/lib/phch/src/uci.c rename to srslte/lib/phch/src/uci.c index da6198254..17e1198ed 100644 --- a/lte/phy/lib/phch/src/uci.c +++ b/srslte/lib/phch/src/uci.c @@ -34,14 +34,14 @@ #include #include -#include "liblte/phy/phch/uci.h" -#include "liblte/phy/phch/harq.h" -#include "liblte/phy/fec/convcoder.h" -#include "liblte/phy/fec/crc.h" -#include "liblte/phy/fec/rm_conv.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/phch/uci.h" +#include "srslte/phy/phch/harq.h" +#include "srslte/phy/fec/convcoder.h" +#include "srslte/phy/fec/crc.h" +#include "srslte/phy/fec/rm_conv.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" /* Table 5.2.2.6.4-1: Basis sequence for (32, O) code */ static uint8_t M_basis_seq_pusch[32][11]={ diff --git a/lte/phy/lib/phch/test/CMakeLists.txt b/srslte/lib/phch/test/CMakeLists.txt similarity index 100% rename from lte/phy/lib/phch/test/CMakeLists.txt rename to srslte/lib/phch/test/CMakeLists.txt diff --git a/lte/phy/lib/phch/test/dci_unpacking.c b/srslte/lib/phch/test/dci_unpacking.c similarity index 98% rename from lte/phy/lib/phch/test/dci_unpacking.c rename to srslte/lib/phch/test/dci_unpacking.c index 32b69ef77..f6cdf9153 100644 --- a/lte/phy/lib/phch/test/dci_unpacking.c +++ b/srslte/lib/phch/test/dci_unpacking.c @@ -31,7 +31,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" void usage(char *prog) { printf("Usage: %s nof_prb length_bits Word0 Word1 ...\n", prog); diff --git a/lte/phy/lib/phch/test/dlsch_encode_test_mex.c b/srslte/lib/phch/test/dlsch_encode_test_mex.c similarity index 95% rename from lte/phy/lib/phch/test/dlsch_encode_test_mex.c rename to srslte/lib/phch/test/dlsch_encode_test_mex.c index e597fc51f..f6d4a0c8e 100644 --- a/lte/phy/lib/phch/test/dlsch_encode_test_mex.c +++ b/srslte/lib/phch/test/dlsch_encode_test_mex.c @@ -26,8 +26,8 @@ */ #include -#include "liblte/phy/phy.h" -#include "liblte/mex/mexutils.h" +#include "srslte/phy/phy.h" +#include "srslte/mex/mexutils.h" #define UECFG prhs[0] #define PUSCHCFG prhs[1] @@ -38,7 +38,7 @@ void help() { mexErrMsgTxt - ("[cwout] = liblte_dlsch_encode(ue, chs, outlen, trblkin)\n\n"); + ("[cwout] = srslte_dlsch_encode(ue, chs, outlen, trblkin)\n\n"); } /* the gateway function */ diff --git a/lte/phy/lib/phch/test/pbch_file_test.c b/srslte/lib/phch/test/pbch_file_test.c similarity index 99% rename from lte/phy/lib/phch/test/pbch_file_test.c rename to srslte/lib/phch/test/pbch_file_test.c index 9e661cf4f..ddf1de679 100644 --- a/lte/phy/lib/phch/test/pbch_file_test.c +++ b/srslte/lib/phch/test/pbch_file_test.c @@ -31,7 +31,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" char *input_file_name = NULL; diff --git a/lte/phy/lib/phch/test/pbch_test.c b/srslte/lib/phch/test/pbch_test.c similarity index 99% rename from lte/phy/lib/phch/test/pbch_test.c rename to srslte/lib/phch/test/pbch_test.c index 4e40c56d4..60450895c 100644 --- a/lte/phy/lib/phch/test/pbch_test.c +++ b/srslte/lib/phch/test/pbch_test.c @@ -32,7 +32,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" lte_cell_t cell = { 6, // nof_prb diff --git a/lte/phy/lib/phch/test/pbch_test_mex.c b/srslte/lib/phch/test/pbch_test_mex.c similarity index 96% rename from lte/phy/lib/phch/test/pbch_test_mex.c rename to srslte/lib/phch/test/pbch_test_mex.c index c64604c37..364314c28 100644 --- a/lte/phy/lib/phch/test/pbch_test_mex.c +++ b/srslte/lib/phch/test/pbch_test_mex.c @@ -26,8 +26,8 @@ */ #include -#include "liblte/phy/phy.h" -#include "liblte/mex/mexutils.h" +#include "srslte/phy/phy.h" +#include "srslte/mex/mexutils.h" /** MEX function to be called from MATLAB to test the channel estimator */ @@ -39,7 +39,7 @@ void help() { mexErrMsgTxt - ("[decoded_ok, symbols, bits] = liblte_pbch(enbConfig, rxWaveform)\n\n"); + ("[decoded_ok, symbols, bits] = srslte_pbch(enbConfig, rxWaveform)\n\n"); } /* the gateway function */ diff --git a/lte/phy/lib/phch/test/pcfich_file_test.c b/srslte/lib/phch/test/pcfich_file_test.c similarity index 99% rename from lte/phy/lib/phch/test/pcfich_file_test.c rename to srslte/lib/phch/test/pcfich_file_test.c index 2e83cbd60..2b188644e 100644 --- a/lte/phy/lib/phch/test/pcfich_file_test.c +++ b/srslte/lib/phch/test/pcfich_file_test.c @@ -31,7 +31,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" char *input_file_name = NULL; char *matlab_file_name = NULL; diff --git a/lte/phy/lib/phch/test/pcfich_test.c b/srslte/lib/phch/test/pcfich_test.c similarity index 99% rename from lte/phy/lib/phch/test/pcfich_test.c rename to srslte/lib/phch/test/pcfich_test.c index ab90f1358..8b21a30a6 100644 --- a/lte/phy/lib/phch/test/pcfich_test.c +++ b/srslte/lib/phch/test/pcfich_test.c @@ -31,7 +31,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" lte_cell_t cell = { diff --git a/lte/phy/lib/phch/test/pcfich_test_mex.c b/srslte/lib/phch/test/pcfich_test_mex.c similarity index 96% rename from lte/phy/lib/phch/test/pcfich_test_mex.c rename to srslte/lib/phch/test/pcfich_test_mex.c index 2535bb816..5f389d44b 100644 --- a/lte/phy/lib/phch/test/pcfich_test_mex.c +++ b/srslte/lib/phch/test/pcfich_test_mex.c @@ -26,8 +26,8 @@ */ #include -#include "liblte/phy/phy.h" -#include "liblte/mex/mexutils.h" +#include "srslte/phy/phy.h" +#include "srslte/mex/mexutils.h" /** MEX function to be called from MATLAB to test the channel estimator */ @@ -39,7 +39,7 @@ void help() { mexErrMsgTxt - ("[cfi] = liblte_pdcch(enbConfig, rxWaveform)\n\n"); + ("[cfi] = srslte_pdcch(enbConfig, rxWaveform)\n\n"); } /* the gateway function */ diff --git a/lte/phy/lib/phch/test/pdcch_file_test.c b/srslte/lib/phch/test/pdcch_file_test.c similarity index 99% rename from lte/phy/lib/phch/test/pdcch_file_test.c rename to srslte/lib/phch/test/pdcch_file_test.c index 4c5e3defd..5bcbc533b 100644 --- a/lte/phy/lib/phch/test/pdcch_file_test.c +++ b/srslte/lib/phch/test/pdcch_file_test.c @@ -31,7 +31,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" char *input_file_name = NULL; diff --git a/lte/phy/lib/phch/test/pdcch_test.c b/srslte/lib/phch/test/pdcch_test.c similarity index 99% rename from lte/phy/lib/phch/test/pdcch_test.c rename to srslte/lib/phch/test/pdcch_test.c index 42492f3d2..caf877a8e 100644 --- a/lte/phy/lib/phch/test/pdcch_test.c +++ b/srslte/lib/phch/test/pdcch_test.c @@ -31,7 +31,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" lte_cell_t cell = { 6, // nof_prb diff --git a/lte/phy/lib/phch/test/pdcch_test_mex.c b/srslte/lib/phch/test/pdcch_test_mex.c similarity index 97% rename from lte/phy/lib/phch/test/pdcch_test_mex.c rename to srslte/lib/phch/test/pdcch_test_mex.c index d92c3cf97..e1f05c845 100644 --- a/lte/phy/lib/phch/test/pdcch_test_mex.c +++ b/srslte/lib/phch/test/pdcch_test_mex.c @@ -26,8 +26,8 @@ */ #include -#include "liblte/phy/phy.h" -#include "liblte/mex/mexutils.h" +#include "srslte/phy/phy.h" +#include "srslte/mex/mexutils.h" /** MEX function to be called from MATLAB to test the channel estimator */ @@ -50,7 +50,7 @@ const uint32_t nof_common_formats = 2; void help() { mexErrMsgTxt - ("[decoded_ok, llr, rm, bits, symbols] = liblte_pdcch(enbConfig, RNTI, rxWaveform)\n\n"); + ("[decoded_ok, llr, rm, bits, symbols] = srslte_pdcch(enbConfig, RNTI, rxWaveform)\n\n"); } /* the gateway function */ diff --git a/lte/phy/lib/phch/test/pdsch_file_test.c b/srslte/lib/phch/test/pdsch_file_test.c similarity index 99% rename from lte/phy/lib/phch/test/pdsch_file_test.c rename to srslte/lib/phch/test/pdsch_file_test.c index 5c648ad1a..8dffe028f 100644 --- a/lte/phy/lib/phch/test/pdsch_file_test.c +++ b/srslte/lib/phch/test/pdsch_file_test.c @@ -31,7 +31,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" #define MAX_CANDIDATES 64 diff --git a/lte/phy/lib/phch/test/pdsch_test.c b/srslte/lib/phch/test/pdsch_test.c similarity index 99% rename from lte/phy/lib/phch/test/pdsch_test.c rename to srslte/lib/phch/test/pdsch_test.c index 5ba1dda21..355713af6 100644 --- a/lte/phy/lib/phch/test/pdsch_test.c +++ b/srslte/lib/phch/test/pdsch_test.c @@ -32,7 +32,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" lte_cell_t cell = { 6, // nof_prb diff --git a/lte/phy/lib/phch/test/pdsch_test_mex.c b/srslte/lib/phch/test/pdsch_test_mex.c similarity index 97% rename from lte/phy/lib/phch/test/pdsch_test_mex.c rename to srslte/lib/phch/test/pdsch_test_mex.c index 4b781beb9..d3ea38cc5 100644 --- a/lte/phy/lib/phch/test/pdsch_test_mex.c +++ b/srslte/lib/phch/test/pdsch_test_mex.c @@ -26,8 +26,8 @@ */ #include -#include "liblte/phy/phy.h" -#include "liblte/mex/mexutils.h" +#include "srslte/phy/phy.h" +#include "srslte/mex/mexutils.h" /** MEX function to be called from MATLAB to test the channel estimator */ @@ -41,7 +41,7 @@ void help() { mexErrMsgTxt - ("[decoded_ok, llr, rm, bits, symbols] = liblte_pdsch(enbConfig, pdschConfig, trblklen, rxWaveform)\n\n"); + ("[decoded_ok, llr, rm, bits, symbols] = srslte_pdsch(enbConfig, pdschConfig, trblklen, rxWaveform)\n\n"); } extern int indices[2048]; diff --git a/lte/phy/lib/phch/test/phich_file_test.c b/srslte/lib/phch/test/phich_file_test.c similarity index 99% rename from lte/phy/lib/phch/test/phich_file_test.c rename to srslte/lib/phch/test/phich_file_test.c index 501690476..71111f4a6 100644 --- a/lte/phy/lib/phch/test/phich_file_test.c +++ b/srslte/lib/phch/test/phich_file_test.c @@ -31,7 +31,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" char *input_file_name = NULL; char *matlab_file_name = NULL; diff --git a/lte/phy/lib/phch/test/phich_test.c b/srslte/lib/phch/test/phich_test.c similarity index 99% rename from lte/phy/lib/phch/test/phich_test.c rename to srslte/lib/phch/test/phich_test.c index 06aff23fe..edffbfe3b 100644 --- a/lte/phy/lib/phch/test/phich_test.c +++ b/srslte/lib/phch/test/phich_test.c @@ -31,7 +31,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" lte_cell_t cell = { diff --git a/lte/phy/lib/phch/test/prach_test.c b/srslte/lib/phch/test/prach_test.c similarity index 98% rename from lte/phy/lib/phch/test/prach_test.c rename to srslte/lib/phch/test/prach_test.c index bf8d8f0ec..c051adf94 100644 --- a/lte/phy/lib/phch/test/prach_test.c +++ b/srslte/lib/phch/test/prach_test.c @@ -6,7 +6,7 @@ #include #include -#include "liblte/phy/phch/prach.h" +#include "srslte/phy/phch/prach.h" #define MAX_LEN 70176 typedef _Complex float cf_t; diff --git a/lte/phy/lib/phch/test/prach_test_mex.c b/srslte/lib/phch/test/prach_test_mex.c similarity index 96% rename from lte/phy/lib/phch/test/prach_test_mex.c rename to srslte/lib/phch/test/prach_test_mex.c index d3bd74d37..d782a974a 100644 --- a/lte/phy/lib/phch/test/prach_test_mex.c +++ b/srslte/lib/phch/test/prach_test_mex.c @@ -26,8 +26,8 @@ */ #include -#include "liblte/phy/phy.h" -#include "liblte/mex/mexutils.h" +#include "srslte/phy/phy.h" +#include "srslte/mex/mexutils.h" /** MEX function to be called from MATLAB to test the channel estimator */ @@ -39,7 +39,7 @@ void help() { mexErrMsgTxt - ("waveform = liblte_prach(ueConfig, prachConfig)\n\n"); + ("waveform = srslte_prach(ueConfig, prachConfig)\n\n"); } /* the gateway function */ diff --git a/lte/phy/lib/phch/test/prach_test_multi.c b/srslte/lib/phch/test/prach_test_multi.c similarity index 98% rename from lte/phy/lib/phch/test/prach_test_multi.c rename to srslte/lib/phch/test/prach_test_multi.c index 516b28e72..dea67a4f7 100644 --- a/lte/phy/lib/phch/test/prach_test_multi.c +++ b/srslte/lib/phch/test/prach_test_multi.c @@ -6,7 +6,7 @@ #include #include -#include "liblte/phy/phch/prach.h" +#include "srslte/phy/phch/prach.h" #define MAX_LEN 70176 typedef _Complex float cf_t; diff --git a/lte/phy/lib/phch/test/pusch_encode_test_mex.c b/srslte/lib/phch/test/pusch_encode_test_mex.c similarity index 98% rename from lte/phy/lib/phch/test/pusch_encode_test_mex.c rename to srslte/lib/phch/test/pusch_encode_test_mex.c index af5b2ef80..dc6ea6ada 100644 --- a/lte/phy/lib/phch/test/pusch_encode_test_mex.c +++ b/srslte/lib/phch/test/pusch_encode_test_mex.c @@ -26,8 +26,8 @@ */ #include -#include "liblte/phy/phy.h" -#include "liblte/mex/mexutils.h" +#include "srslte/phy/phy.h" +#include "srslte/mex/mexutils.h" /** MEX function to be called from MATLAB to test the channel estimator */ @@ -43,7 +43,7 @@ void help() { mexErrMsgTxt - ("sym=liblte_pusch_encode(ue, chs, trblkin, cqi, ri, ack)\n\n"); + ("sym=srslte_pusch_encode(ue, chs, trblkin, cqi, ri, ack)\n\n"); } /* the gateway function */ diff --git a/lte/phy/lib/phch/test/pusch_test.c b/srslte/lib/phch/test/pusch_test.c similarity index 99% rename from lte/phy/lib/phch/test/pusch_test.c rename to srslte/lib/phch/test/pusch_test.c index d70a30781..f4f98352b 100644 --- a/lte/phy/lib/phch/test/pusch_test.c +++ b/srslte/lib/phch/test/pusch_test.c @@ -32,7 +32,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" lte_cell_t cell = { 6, // nof_prb diff --git a/lte/phy/lib/phch/test/signal.1.92M.amar.dat b/srslte/lib/phch/test/signal.1.92M.amar.dat similarity index 100% rename from lte/phy/lib/phch/test/signal.1.92M.amar.dat rename to srslte/lib/phch/test/signal.1.92M.amar.dat diff --git a/lte/phy/lib/phch/test/signal.1.92M.dat b/srslte/lib/phch/test/signal.1.92M.dat similarity index 100% rename from lte/phy/lib/phch/test/signal.1.92M.dat rename to srslte/lib/phch/test/signal.1.92M.dat diff --git a/lte/phy/lib/phch/test/signal.10M.dat b/srslte/lib/phch/test/signal.10M.dat similarity index 100% rename from lte/phy/lib/phch/test/signal.10M.dat rename to srslte/lib/phch/test/signal.10M.dat diff --git a/lte/phy/lib/phch/test/ulsch_encode_test_mex.c b/srslte/lib/phch/test/ulsch_encode_test_mex.c similarity index 97% rename from lte/phy/lib/phch/test/ulsch_encode_test_mex.c rename to srslte/lib/phch/test/ulsch_encode_test_mex.c index 031a02946..e63481e08 100644 --- a/lte/phy/lib/phch/test/ulsch_encode_test_mex.c +++ b/srslte/lib/phch/test/ulsch_encode_test_mex.c @@ -26,8 +26,8 @@ */ #include -#include "liblte/phy/phy.h" -#include "liblte/mex/mexutils.h" +#include "srslte/phy/phy.h" +#include "srslte/mex/mexutils.h" #define UECFG prhs[0] #define PUSCHCFG prhs[1] @@ -40,7 +40,7 @@ void help() { mexErrMsgTxt - ("[cwout] = liblte_pusch_encode(ue, chs, trblkin, cqi, ri, ack)\n\n"); + ("[cwout] = srslte_pusch_encode(ue, chs, trblkin, cqi, ri, ack)\n\n"); } /* the gateway function */ diff --git a/lte/phy/lib/resampling/src/decim.c b/srslte/lib/resampling/src/decim.c similarity index 94% rename from lte/phy/lib/resampling/src/decim.c rename to srslte/lib/resampling/src/decim.c index 6853c3921..41af9a6f9 100644 --- a/lte/phy/lib/resampling/src/decim.c +++ b/srslte/lib/resampling/src/decim.c @@ -27,8 +27,8 @@ #include #include -#include "liblte/phy/resampling/decim.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/resampling/decim.h" +#include "srslte/phy/utils/debug.h" /* Performs integer linear decimation by a factor of M */ diff --git a/lte/phy/lib/resampling/src/interp.c b/srslte/lib/resampling/src/interp.c similarity index 98% rename from lte/phy/lib/resampling/src/interp.c rename to srslte/lib/resampling/src/interp.c index 0aeb13616..d6b5f3c12 100644 --- a/lte/phy/lib/resampling/src/interp.c +++ b/srslte/lib/resampling/src/interp.c @@ -30,9 +30,9 @@ #include #include -#include "liblte/phy/resampling/interp.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/resampling/interp.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" /*************** STATIC FUNCTIONS ***********************/ diff --git a/lte/phy/lib/resampling/src/resample_arb.c b/srslte/lib/resampling/src/resample_arb.c similarity index 98% rename from lte/phy/lib/resampling/src/resample_arb.c rename to srslte/lib/resampling/src/resample_arb.c index 49ef39895..1d5b82fca 100644 --- a/lte/phy/lib/resampling/src/resample_arb.c +++ b/srslte/lib/resampling/src/resample_arb.c @@ -27,8 +27,8 @@ #include #include -#include "liblte/phy/resampling/resample_arb.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/resampling/resample_arb.h" +#include "srslte/phy/utils/debug.h" float resample_arb_polyfilt[RESAMPLE_ARB_N][RESAMPLE_ARB_M] = {{0,0.002400347599485495,-0.006922416132556366,0.0179104136912176,0.99453086623794,-0.008521087756729117,0.0008598969867484128,0.0004992625165376107}, diff --git a/lte/phy/lib/resampling/test/CMakeLists.txt b/srslte/lib/resampling/test/CMakeLists.txt similarity index 100% rename from lte/phy/lib/resampling/test/CMakeLists.txt rename to srslte/lib/resampling/test/CMakeLists.txt diff --git a/lte/phy/lib/resampling/test/resample_arb_bench.c b/srslte/lib/resampling/test/resample_arb_bench.c similarity index 91% rename from lte/phy/lib/resampling/test/resample_arb_bench.c rename to srslte/lib/resampling/test/resample_arb_bench.c index c911f8dc1..680481bbd 100644 --- a/lte/phy/lib/resampling/test/resample_arb_bench.c +++ b/srslte/lib/resampling/test/resample_arb_bench.c @@ -5,8 +5,8 @@ #include #include -#include "liblte/phy/phy.h" -#include "liblte/phy/resampling/resample_arb.h" +#include "srslte/phy/phy.h" +#include "srslte/phy/resampling/resample_arb.h" typedef _Complex float cf_t; diff --git a/lte/phy/lib/resampling/test/resample_arb_test.c b/srslte/lib/resampling/test/resample_arb_test.c similarity index 94% rename from lte/phy/lib/resampling/test/resample_arb_test.c rename to srslte/lib/resampling/test/resample_arb_test.c index 78b491691..3c512c40a 100644 --- a/lte/phy/lib/resampling/test/resample_arb_test.c +++ b/srslte/lib/resampling/test/resample_arb_test.c @@ -5,8 +5,8 @@ #include #include -#include "liblte/phy/phy.h" -#include "liblte/phy/resampling/resample_arb.h" +#include "srslte/phy/phy.h" +#include "srslte/phy/resampling/resample_arb.h" typedef _Complex float cf_t; diff --git a/lte/phy/lib/scrambling/src/scrambling.c b/srslte/lib/scrambling/src/scrambling.c similarity index 98% rename from lte/phy/lib/scrambling/src/scrambling.c rename to srslte/lib/scrambling/src/scrambling.c index 3e7aead4f..4802f7503 100644 --- a/lte/phy/lib/scrambling/src/scrambling.c +++ b/srslte/lib/scrambling/src/scrambling.c @@ -29,7 +29,7 @@ #include #include #include -#include "liblte/phy/scrambling/scrambling.h" +#include "srslte/phy/scrambling/scrambling.h" void scrambling_f(sequence_t *s, float *data) { scrambling_f_offset(s, data, 0, s->len); diff --git a/lte/phy/lib/scrambling/test/CMakeLists.txt b/srslte/lib/scrambling/test/CMakeLists.txt similarity index 100% rename from lte/phy/lib/scrambling/test/CMakeLists.txt rename to srslte/lib/scrambling/test/CMakeLists.txt diff --git a/lte/phy/lib/scrambling/test/scrambling_test.c b/srslte/lib/scrambling/test/scrambling_test.c similarity index 99% rename from lte/phy/lib/scrambling/test/scrambling_test.c rename to srslte/lib/scrambling/test/scrambling_test.c index 75053ae00..52e907cf4 100644 --- a/lte/phy/lib/scrambling/test/scrambling_test.c +++ b/srslte/lib/scrambling/test/scrambling_test.c @@ -34,7 +34,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" char *sequence_name = NULL; bool do_floats = false; diff --git a/lte/phy/lib/sync/src/cfo.c b/srslte/lib/sync/src/cfo.c similarity index 94% rename from lte/phy/lib/sync/src/cfo.c rename to srslte/lib/sync/src/cfo.c index 204fb9d43..ae4303597 100644 --- a/lte/phy/lib/sync/src/cfo.c +++ b/srslte/lib/sync/src/cfo.c @@ -29,10 +29,10 @@ #include #include -#include "liblte/phy/utils/cexptab.h" -#include "liblte/phy/sync/cfo.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/utils/cexptab.h" +#include "srslte/phy/sync/cfo.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" int cfo_init(cfo_t *h, uint32_t nsamples) { int ret = LIBLTE_ERROR; diff --git a/lte/phy/lib/sync/src/cp.c b/srslte/lib/sync/src/cp.c similarity index 100% rename from lte/phy/lib/sync/src/cp.c rename to srslte/lib/sync/src/cp.c diff --git a/lte/phy/lib/sync/src/find_sss.c b/srslte/lib/sync/src/find_sss.c similarity index 98% rename from lte/phy/lib/sync/src/find_sss.c rename to srslte/lib/sync/src/find_sss.c index d3b4371f1..542ef3549 100644 --- a/lte/phy/lib/sync/src/find_sss.c +++ b/srslte/lib/sync/src/find_sss.c @@ -30,8 +30,8 @@ #include #include -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/sync/sss.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/sync/sss.h" #define MAX_M 3 diff --git a/lte/phy/lib/sync/src/gen_sss.c b/srslte/lib/sync/src/gen_sss.c similarity index 99% rename from lte/phy/lib/sync/src/gen_sss.c rename to srslte/lib/sync/src/gen_sss.c index daf408f19..4a71f9e96 100644 --- a/lte/phy/lib/sync/src/gen_sss.c +++ b/srslte/lib/sync/src/gen_sss.c @@ -28,7 +28,7 @@ #include -#include "liblte/phy/sync/sss.h" +#include "srslte/phy/sync/sss.h" /** * @brief Function documentation: initSSStables() diff --git a/lte/phy/lib/sync/src/pss.c b/srslte/lib/sync/src/pss.c similarity index 98% rename from lte/phy/lib/sync/src/pss.c rename to srslte/lib/sync/src/pss.c index 7eab9ab3b..7f82114f1 100644 --- a/lte/phy/lib/sync/src/pss.c +++ b/srslte/lib/sync/src/pss.c @@ -32,11 +32,11 @@ #include #include -#include "liblte/phy/sync/pss.h" -#include "liblte/phy/utils/dft.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/convolution.h" -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/sync/pss.h" +#include "srslte/phy/utils/dft.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/convolution.h" +#include "srslte/phy/utils/debug.h" int pss_synch_init_N_id_2(cf_t *pss_signal_time, cf_t *pss_signal_freq, uint32_t N_id_2, uint32_t fft_size) { diff --git a/lte/phy/lib/sync/src/sfo.c b/srslte/lib/sync/src/sfo.c similarity index 97% rename from lte/phy/lib/sync/src/sfo.c rename to srslte/lib/sync/src/sfo.c index 43df2a872..98b340bce 100644 --- a/lte/phy/lib/sync/src/sfo.c +++ b/srslte/lib/sync/src/sfo.c @@ -28,7 +28,7 @@ #include #include -#include "liblte/phy/sync/sfo.h" +#include "srslte/phy/sync/sfo.h" /* Estimate SFO based on the array of time estimates t0 * of length len. The parameter period is the time between t0 samples diff --git a/lte/phy/lib/sync/src/sss.c b/srslte/lib/sync/src/sss.c similarity index 96% rename from lte/phy/lib/sync/src/sss.c rename to srslte/lib/sync/src/sss.c index dd66aa29b..2f0577404 100644 --- a/lte/phy/lib/sync/src/sss.c +++ b/srslte/lib/sync/src/sss.c @@ -32,10 +32,10 @@ #include #include -#include "liblte/phy/sync/sss.h" -#include "liblte/phy/utils/dft.h" -#include "liblte/phy/utils/convolution.h" -#include "liblte/phy/utils/vector.h" +#include "srslte/phy/sync/sss.h" +#include "srslte/phy/utils/dft.h" +#include "srslte/phy/utils/convolution.h" +#include "srslte/phy/utils/vector.h" void generate_sss_all_tables(struct sss_tables *tables, uint32_t N_id_2); void convert_tables(struct fc_tables *fc_tables, struct sss_tables *in); diff --git a/lte/phy/lib/sync/src/sync.c b/srslte/lib/sync/src/sync.c similarity index 98% rename from lte/phy/lib/sync/src/sync.c rename to srslte/lib/sync/src/sync.c index 6a6dfae4c..4e728dcf7 100644 --- a/lte/phy/lib/sync/src/sync.c +++ b/srslte/lib/sync/src/sync.c @@ -29,11 +29,11 @@ #include #include -#include "liblte/phy/utils/debug.h" -#include "liblte/phy/common/phy_common.h" -#include "liblte/phy/sync/sync.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/sync/cfo.h" +#include "srslte/phy/utils/debug.h" +#include "srslte/phy/common/phy_common.h" +#include "srslte/phy/sync/sync.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/sync/cfo.h" #define MEANPEAK_EMA_ALPHA 0.2 #define CFO_EMA_ALPHA 0.01 diff --git a/lte/phy/lib/sync/test/CMakeLists.txt b/srslte/lib/sync/test/CMakeLists.txt similarity index 100% rename from lte/phy/lib/sync/test/CMakeLists.txt rename to srslte/lib/sync/test/CMakeLists.txt diff --git a/lte/phy/lib/sync/test/cfo_test.c b/srslte/lib/sync/test/cfo_test.c similarity index 98% rename from lte/phy/lib/sync/test/cfo_test.c rename to srslte/lib/sync/test/cfo_test.c index 5c6086c15..9a3c01172 100644 --- a/lte/phy/lib/sync/test/cfo_test.c +++ b/srslte/lib/sync/test/cfo_test.c @@ -34,7 +34,7 @@ #include #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" #define MAX_MSE 0.1 diff --git a/lte/phy/lib/sync/test/pss_mex.c b/srslte/lib/sync/test/pss_mex.c similarity index 94% rename from lte/phy/lib/sync/test/pss_mex.c rename to srslte/lib/sync/test/pss_mex.c index c1e53e6f4..5359fc818 100644 --- a/lte/phy/lib/sync/test/pss_mex.c +++ b/srslte/lib/sync/test/pss_mex.c @@ -26,8 +26,8 @@ */ #include -#include "liblte/phy/phy.h" -#include "liblte/mex/mexutils.h" +#include "srslte/phy/phy.h" +#include "srslte/mex/mexutils.h" /** MEX function to be called from MATLAB to test the channel estimator */ @@ -40,7 +40,7 @@ void help() { mexErrMsgTxt - ("[offset,corr] = liblte_pss(enbConfig, inputSignal)\n\n"); + ("[offset,corr] = srslte_pss(enbConfig, inputSignal)\n\n"); } /* the gateway function */ diff --git a/lte/phy/lib/sync/test/pss_usrp.c b/srslte/lib/sync/test/pss_usrp.c similarity index 99% rename from lte/phy/lib/sync/test/pss_usrp.c rename to srslte/lib/sync/test/pss_usrp.c index 29e6b31ab..7ea5e1b85 100644 --- a/lte/phy/lib/sync/test/pss_usrp.c +++ b/srslte/lib/sync/test/pss_usrp.c @@ -35,8 +35,8 @@ #include -#include "liblte/phy/phy.h" -#include "liblte/cuhd/cuhd.h" +#include "srslte/phy/phy.h" +#include "srslte/cuhd/cuhd.h" #ifndef DISABLE_GRAPHICS @@ -335,7 +335,7 @@ extern cf_t *tmp2; #ifndef DISABLE_GRAPHICS -#include "liblte/graphics/plot.h" +#include "srslte/graphics/plot.h" plot_real_t pssout; //plot_complex_t pce; diff --git a/lte/phy/lib/sync/test/sss_mex.c b/srslte/lib/sync/test/sss_mex.c similarity index 96% rename from lte/phy/lib/sync/test/sss_mex.c rename to srslte/lib/sync/test/sss_mex.c index 67ba089d8..ab44d8862 100644 --- a/lte/phy/lib/sync/test/sss_mex.c +++ b/srslte/lib/sync/test/sss_mex.c @@ -26,8 +26,8 @@ */ #include -#include "liblte/phy/phy.h" -#include "liblte/mex/mexutils.h" +#include "srslte/phy/phy.h" +#include "srslte/mex/mexutils.h" /** MEX function to be called from MATLAB to test the channel estimator */ @@ -41,7 +41,7 @@ void help() { mexErrMsgTxt - ("[N_id_1,sf_idx,corr_output_m0,corr_output_m1] = liblte_sss(enbConfig, inputSignal, [Algorithm])\n" + ("[N_id_1,sf_idx,corr_output_m0,corr_output_m1] = srslte_sss(enbConfig, inputSignal, [Algorithm])\n" "\tinputSignal must be aligned to the subframe. CP length is assumed Normal.\n" "\tAlgorithm is an optional parameter: Can be 'partial','diff','full'\n\n"); } diff --git a/lte/phy/lib/sync/test/sync_test.c b/srslte/lib/sync/test/sync_test.c similarity index 99% rename from lte/phy/lib/sync/test/sync_test.c rename to srslte/lib/sync/test/sync_test.c index d007485d6..b99374fd6 100644 --- a/lte/phy/lib/sync/test/sync_test.c +++ b/srslte/lib/sync/test/sync_test.c @@ -35,7 +35,7 @@ #include -#include "liblte/phy/phy.h" +#include "srslte/phy/phy.h" int cell_id = -1, offset = 0; lte_cp_t cp = CPNORM; diff --git a/lte/phy/lib/ue/src/ue_cell_search.c b/srslte/lib/ue/src/ue_cell_search.c similarity index 98% rename from lte/phy/lib/ue/src/ue_cell_search.c rename to srslte/lib/ue/src/ue_cell_search.c index 6baa2e31c..4699ec664 100644 --- a/lte/phy/lib/ue/src/ue_cell_search.c +++ b/srslte/lib/ue/src/ue_cell_search.c @@ -31,10 +31,10 @@ #include #include -#include "liblte/phy/ue/ue_cell_search.h" +#include "srslte/phy/ue/ue_cell_search.h" -#include "liblte/phy/utils/debug.h" -#include "liblte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" +#include "srslte/phy/utils/vector.h" float tmp_pss_corr[32*10000]; float tmp_sss_corr[31*10000]; diff --git a/lte/phy/lib/ue/src/ue_dl.c b/srslte/lib/ue/src/ue_dl.c similarity index 99% rename from lte/phy/lib/ue/src/ue_dl.c rename to srslte/lib/ue/src/ue_dl.c index 4db4b5d87..5b6b080be 100644 --- a/lte/phy/lib/ue/src/ue_dl.c +++ b/srslte/lib/ue/src/ue_dl.c @@ -25,7 +25,7 @@ * */ -#include "liblte/phy/ue/ue_dl.h" +#include "srslte/phy/ue/ue_dl.h" #include #include diff --git a/lte/phy/lib/ue/src/ue_mib.c b/srslte/lib/ue/src/ue_mib.c similarity index 98% rename from lte/phy/lib/ue/src/ue_mib.c rename to srslte/lib/ue/src/ue_mib.c index 15661c7b8..28401e03d 100644 --- a/lte/phy/lib/ue/src/ue_mib.c +++ b/srslte/lib/ue/src/ue_mib.c @@ -31,10 +31,10 @@ #include #include -#include "liblte/phy/ue/ue_mib.h" +#include "srslte/phy/ue/ue_mib.h" -#include "liblte/phy/utils/debug.h" -#include "liblte/phy/utils/vector.h" +#include "srslte/phy/utils/debug.h" +#include "srslte/phy/utils/vector.h" int ue_mib_init(ue_mib_t * q, lte_cell_t cell) diff --git a/lte/phy/lib/ue/src/ue_phy.cc b/srslte/lib/ue/src/ue_phy.cc similarity index 100% rename from lte/phy/lib/ue/src/ue_phy.cc rename to srslte/lib/ue/src/ue_phy.cc diff --git a/lte/phy/lib/ue/src/ue_sync.c b/srslte/lib/ue/src/ue_sync.c similarity index 98% rename from lte/phy/lib/ue/src/ue_sync.c rename to srslte/lib/ue/src/ue_sync.c index a38eb3d5d..c5a62320f 100644 --- a/lte/phy/lib/ue/src/ue_sync.c +++ b/srslte/lib/ue/src/ue_sync.c @@ -32,11 +32,11 @@ #include -#include "liblte/phy/ue/ue_sync.h" +#include "srslte/phy/ue/ue_sync.h" -#include "liblte/phy/io/filesource.h" -#include "liblte/phy/utils/debug.h" -#include "liblte/phy/utils/vector.h" +#include "srslte/phy/io/filesource.h" +#include "srslte/phy/utils/debug.h" +#include "srslte/phy/utils/vector.h" #define MAX_TIME_OFFSET 128 diff --git a/lte/phy/lib/ue/src/ue_ul.c b/srslte/lib/ue/src/ue_ul.c similarity index 99% rename from lte/phy/lib/ue/src/ue_ul.c rename to srslte/lib/ue/src/ue_ul.c index 8df7208a3..779cb5be0 100644 --- a/lte/phy/lib/ue/src/ue_ul.c +++ b/srslte/lib/ue/src/ue_ul.c @@ -29,7 +29,7 @@ #include #include -#include "liblte/phy/ue/ue_ul.h" +#include "srslte/phy/ue/ue_ul.h" #define CURRENT_FFTSIZE lte_symbol_sz(q->cell.nof_prb) #define CURRENT_SFLEN SF_LEN(CURRENT_FFTSIZE) diff --git a/lte/phy/lib/utils/src/bit.c b/srslte/lib/utils/src/bit.c similarity index 98% rename from lte/phy/lib/utils/src/bit.c rename to srslte/lib/utils/src/bit.c index 3707cb147..f1ebd7158 100644 --- a/lte/phy/lib/utils/src/bit.c +++ b/srslte/lib/utils/src/bit.c @@ -29,7 +29,7 @@ #include #include -#include "liblte/phy/utils/bit.h" +#include "srslte/phy/utils/bit.h" void bit_pack_vector(uint8_t *bits_unpacked, uint8_t *bits_packed, int nof_bits) { diff --git a/lte/phy/lib/utils/src/cexptab.c b/srslte/lib/utils/src/cexptab.c similarity index 98% rename from lte/phy/lib/utils/src/cexptab.c rename to srslte/lib/utils/src/cexptab.c index fb9109f6c..f04d9ba28 100644 --- a/lte/phy/lib/utils/src/cexptab.c +++ b/srslte/lib/utils/src/cexptab.c @@ -31,7 +31,7 @@ #include #include -#include "liblte/phy/utils/cexptab.h" +#include "srslte/phy/utils/cexptab.h" int cexptab_init(cexptab_t *h, uint32_t size) { uint32_t i; diff --git a/lte/phy/lib/utils/src/convolution.c b/srslte/lib/utils/src/convolution.c similarity index 97% rename from lte/phy/lib/utils/src/convolution.c rename to srslte/lib/utils/src/convolution.c index 6630b7354..d71dee5be 100644 --- a/lte/phy/lib/utils/src/convolution.c +++ b/srslte/lib/utils/src/convolution.c @@ -29,9 +29,9 @@ #include #include -#include "liblte/phy/utils/dft.h" -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/convolution.h" +#include "srslte/phy/utils/dft.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/convolution.h" int conv_fft_cc_init(conv_fft_cc_t *q, uint32_t input_len, uint32_t filter_len) { diff --git a/lte/phy/lib/utils/src/debug.c b/srslte/lib/utils/src/debug.c similarity index 97% rename from lte/phy/lib/utils/src/debug.c rename to srslte/lib/utils/src/debug.c index 3541c4b5b..dd9edc903 100644 --- a/lte/phy/lib/utils/src/debug.c +++ b/srslte/lib/utils/src/debug.c @@ -25,7 +25,7 @@ * */ -#include "liblte/phy/utils/debug.h" +#include "srslte/phy/utils/debug.h" int verbose = 0; diff --git a/lte/phy/lib/utils/src/dft.c b/srslte/lib/utils/src/dft.c similarity index 98% rename from lte/phy/lib/utils/src/dft.c rename to srslte/lib/utils/src/dft.c index 8a8424220..8ad401c91 100644 --- a/lte/phy/lib/utils/src/dft.c +++ b/srslte/lib/utils/src/dft.c @@ -31,8 +31,8 @@ #include #include -#include "liblte/phy/utils/dft.h" -#include "liblte/phy/utils/vector.h" +#include "srslte/phy/utils/dft.h" +#include "srslte/phy/utils/vector.h" #define dft_ceil(a,b) ((a-1)/b+1) #define dft_floor(a,b) (a/b) diff --git a/lte/phy/lib/utils/src/matrix.c b/srslte/lib/utils/src/matrix.c similarity index 98% rename from lte/phy/lib/utils/src/matrix.c rename to srslte/lib/utils/src/matrix.c index 484ad37e1..db31926d9 100644 --- a/lte/phy/lib/utils/src/matrix.c +++ b/srslte/lib/utils/src/matrix.c @@ -32,7 +32,7 @@ #include #include -#include "liblte/phy/utils/matrix.h" +#include "srslte/phy/utils/matrix.h" int matrix_init(void ***q, int sz_x, int sz_y, int elem_sz) { int i; diff --git a/lte/phy/lib/utils/src/mux.c b/srslte/lib/utils/src/mux.c similarity index 100% rename from lte/phy/lib/utils/src/mux.c rename to srslte/lib/utils/src/mux.c diff --git a/lte/phy/lib/utils/src/pack.c b/srslte/lib/utils/src/pack.c similarity index 97% rename from lte/phy/lib/utils/src/pack.c rename to srslte/lib/utils/src/pack.c index d925df7de..2cc10065e 100644 --- a/lte/phy/lib/utils/src/pack.c +++ b/srslte/lib/utils/src/pack.c @@ -25,7 +25,7 @@ * */ -#include "liblte/phy/utils/bit.h" +#include "srslte/phy/utils/bit.h" void pack_bits(uint32_t value, uint8_t **bits, int nof_bits) { diff --git a/lte/phy/lib/utils/src/vector.c b/srslte/lib/utils/src/vector.c similarity index 99% rename from lte/phy/lib/utils/src/vector.c rename to srslte/lib/utils/src/vector.c index 989eef1f8..5be506846 100644 --- a/lte/phy/lib/utils/src/vector.c +++ b/srslte/lib/utils/src/vector.c @@ -31,8 +31,8 @@ #include #include -#include "liblte/phy/utils/vector.h" -#include "liblte/phy/utils/bit.h" +#include "srslte/phy/utils/vector.h" +#include "srslte/phy/utils/bit.h" #ifdef HAVE_VOLK #include "volk/volk.h" diff --git a/lte/phy/lib/utils/test/CMakeLists.txt b/srslte/lib/utils/test/CMakeLists.txt similarity index 100% rename from lte/phy/lib/utils/test/CMakeLists.txt rename to srslte/lib/utils/test/CMakeLists.txt diff --git a/lte/phy/lib/utils/test/dft_test.c b/srslte/lib/utils/test/dft_test.c similarity index 98% rename from lte/phy/lib/utils/test/dft_test.c rename to srslte/lib/utils/test/dft_test.c index bc3596ff0..d45111cad 100644 --- a/lte/phy/lib/utils/test/dft_test.c +++ b/srslte/lib/utils/test/dft_test.c @@ -6,7 +6,7 @@ #include #include -#include "liblte/phy/utils/dft.h" +#include "srslte/phy/utils/dft.h" typedef _Complex float cf_t;